\r\n\r\n
Go Back  Xtreme Visual Basic Talk > Visual Basic .NET (2002/2003/2005/2008, including Express editions) > .NET General > Literal substitution - instantiate form objects using variables as literals


\r\n \r\n
 
 
Thread Tools Display Modes

\r\n\r\n\r\n
What I need to do is create comboboxes populated with values from a CSV for each class object selected from an Active Directory schema.
\r\n
\r\nSo lets say twelve classes are selected, the next form will display the class names in a checkedlistbox and will require twelve comboboxes for associating AD classes to CSV fields. Since the number of AD classes selected will always vary, is there a practical way to code it so that the objects can be instantiated from values stored in a variable?
\r\n
\r\nOther languages support macro substitution, where the variable\'s value is interpreted as a literal at runtime.
\r\n
\r\nDeveloping in Visual Studio 2005, VB version 8 .netFramework 2.0xxx
\r\n \r\n\r\n
\r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n
\r\n \r\n \r\n \r\n \r\n Reply With Quote\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n \r\n\r\n
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n \r\n \r\n \r\n \r\n\r\n\r\n\r\n\r\n'; pd[1308809] = '\r\n\r\n \r\n\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n\r\n\r\n\r\n\r\n\r\n \r\n\r\n\r\n\r\n \r\n
\r\n
\r\n  \r\n #2  \r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n
\r\n \r\n Old\r\n \r\n 10-23-2008, 08:34 AM\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
AtmaWeapon\'s Avatar\r\n\r\n
\r\n \r\n AtmaWeapon\r\n AtmaWeapon is offline\r\n\r\n\r\n
Prev Previous Post   Next Post Next
  #1  
Old 10-23-2008, 07:19 AM
bryggya bryggya is offline
Newcomer
 
Join Date: Jan 2008
Posts: 8
Default Literal substitution - instantiate form objects using variables as literals


What I need to do is create comboboxes populated with values from a CSV for each class object selected from an Active Directory schema.

So lets say twelve classes are selected, the next form will display the class names in a checkedlistbox and will require twelve comboboxes for associating AD classes to CSV fields. Since the number of AD classes selected will always vary, is there a practical way to code it so that the objects can be instantiated from values stored in a variable?

Other languages support macro substitution, where the variable's value is interpreted as a literal at runtime.

Developing in Visual Studio 2005, VB version 8 .netFramework 2.0xxx
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->