Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Extensibility / December 2004

Tip: Looking for answers? Try searching our database.

Template Arguments

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mythran - 29 Oct 2004 17:01 GMT
I have a custom wizard for VB.Net applications, libraries, and web controls
which generate full solutions that have just about everything except for the
logic and schema code setup.  Basically, it saves us 1 to 2 days of work
(work days) of usual project / folder and virtual directory setup time.
This is all great and dandy for what we need...but now, I am at the point
where I would like to pass some arguments to the custom.js file from the
wizard (IDTWizard) library.

Sample Template Snip:

Public Class [!output SAFE_CLASS_NAME]
   ' My Comment Here
   ' More Comments with [!output MyValueFromIDTWizard]

End Class

In the IDTWizard library, I am using the following:

Dim MyValueFromIDTWizard As String = "More Comments"

(EnvDTe.Project Object Here).AddFromTemplate(yaddayaddayadda)

How can I do this?

Thanks in advance,
Mythran
Mythran - 07 Dec 2004 21:12 GMT
>I have a custom wizard for VB.Net applications, libraries, and web controls
>which generate full solutions that have just about everything except for
[quoted text clipped - 22 lines]
> Thanks in advance,
> Mythran

Figured it out :)

Mythran

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.