How do I create a VB Template that will appear in the "New Project"/"Visual Basic Projects" dialog?

In vb6, I have a very simple app that consists of a windows form, a multiline textbox, some SQL connection strings and a simple method to output text to the multiline textbox. I use this template when I create throw-away test projects to see if something works or not.

This was REAL SIMPLE to have it show up in VB6: I just put the project into the ...vb98\Template... directories and it just worked.

How do I do the same thing in VS.Net 2003? I found some similar looking directories, but putting the solution files there did nothing.

Help would be most greatly appreciated.
Big Smile [:D]
6/13/2005 10:15:20 PM 3502 articles. 0 followers. Follow

1 Replies

Similar Articles

[PageSpeed] 40

Well, I almost have it. I found some examples in MSDN, but they were for creating an enterprise template. I attempted to modify the procedure to make it work with a VB.NET project, but it doesn't work. The project shows up in the new dialog, but when I select it I get the following error:

"Invalid procedure call or argument"


6/15/2005 4:26:04 PM

Similar Artilces:

Difference between "Creating new website" and "Creating new web project"
Hello (Using VS2008) I would like to know the difference between "Creating a New Website" and "Creating a New Web project". Thanks a lot. Hi, the first one creates a web site using the web site project model (default in VS2005) which is based on that you don't have a standalone project file, but project contents are defined by physical directory structure. Basically a web site project has also slightly different compilation model, for example not everything in the project is necessarily built into single assembly, and you don't necessarily ha...

Precedence of "where" ("of", "is", "will")?
Nobody on #perl6 today could answer this one. Is: Str | Int where { $_ } the same as: (Str | Int) where { $_ } or: Str | (Int where { $_ }) ? Followup questions, Mr. President: What kind of operators are "where", "of", "is", and "will"? Is there a reason that S03 doesn't list them? What are their precedence(s)? -- Chip Salzenberg - a.k.a. - <> Open Source is not an excuse to write fun code then leave the actual work to others. Chip Salzenberg writes: &...

In Visual Studio 2005 whats difference between "new Project" and "new website".
In Visual Studio 2005 whats difference between "new Project" and "new website".  Is new project for non web realted stuff.   Hi Parms,New Project enables you to add projects to your solution for non-web related projects -- for example: windows applications, class libraries, etc.  New Website adds a project specific to web UI developmnet.Hope this helps,Scott Hi Scott --On a related subject: I've got a VS 2003 solution with three web apps. The third web app is really just a library of classes that are shared between the other two web apps.app_1: a real web app (references ...

.ALLCOL("%COLUMN%", " ", ", ", ", ")
Do you know anyway for me to exclude a subset of columns returned by this function. We have two columns (rec_user and rec_datetime) which are in all of our tables, but when generating triggers I want automatically generate a script which does not include those two columns but does include all other columns in that table. Bruce I should add that I am using PD Bruce "Bruce Lamb" <> wrote in message > Do you know anyway for me to exclude a subset of columns returned by this > function. ...

[Delphi XE2] "Search projects" missing in "Add to Project" dialog box [Edit]
"Search projects" missing in "Add to Project" dialog box when using windows classic theme (windows 7 64bits). Notepad on the contrary still have the "Seacrh ..." box in its open file dialog. Check the images below(they are not mine but show the issue) This one does have the "search document" box in the upper right corner. This one does not have it. Any help on this matter will be greatly appreciated. ...

quotes, quotes, quotes...
I am getting this error and I know what is causing it, but I have no idea how to fix it, any help would be great. The script steps through the /var/log/messages file on a linux server and puts The entries into a mysql database. However when it gets to the 'hlt' line in the messages file it just barfs. The single quotes are freaking it out. I know about quotes but not how to use in this situation. Thanks, Paul Error: May 27 17:53:00 localhost kernel: Checking 'hlt' instruction... OK. <----- doesn't like this in the messages file DBD::mysql::st exec...

"Link-", "Libs-" and "Import-" -entries in CB2010-project file
Hi. Could anyone explain to me, what the meaning of the different "link/lib/import"-entries in the project-file is? I'm confused. Using the GUI there is only the "Runtime package"-list - the reason and function for that one, I do understand. But what do the others? And which one *is* the "Runtime package"-list?? <LinkPackageStatics></LinkPackageStatics> <LinkPackageImports></LinkPackageImports> <PackageImports></PackageImports> <AllPackageLibs></AllPackageLibs> Thanks a lot! Best Regards Eike Pete...

Replacing "\\" with "\"
Hi all I'm getting this value from a CheckBoxList control - a location of file, i have to remove "\\" and replace it with "\" and pass it to Query, how to do it, i tried with Replace, but coud'nt suceed. "\\\\Blaze10xp\\BLZ_SFS_07\\Sample Excel Files\\Excel Files\\report2.xls" thank's in advance - Prakash.C you tried Replace like this? string newstring = oldstring.Replace(@"\\",@"\");Plese, do not forget to click "Mark as Answer" on the post that helped you. Thanx!My blog: Scenes From A Developer Memory yes i tr...

"Using" or "With"
Hi all Please can someone enlighten to me as regards the difference with the "Using" and "With" statement when accessing data - which is better, what are the limitations and/or any pointers. Many thanks. Regards DaveDavid WinchesterPlease mark as answer if this is the solution.  using gives you the ability to use the connection and it closes the connection directlly after you finish using it. and there is no need to try- cach - finaly. there is no limitation on using USING keywordMuhanad YOUNISMCSD.NETMy Blog || My Photos || LinkedIn I have a dataobject the re...

switch project from "file" to "web"?
I've taken over a project from another for a webservice. He originally set it up as "file" based, so it's showing up as "c:\path\to\site" in the solution manager. This is causing issues and it should be setup as a website with http://virtual/to/site. Is there a way to switch a file based one to a web based one and have it use IIS ?   Nevermind... just readded it manually to the solution, seemed to work Hi: I think you are talking about an ASP.NET 2.0 application? You can simply make a File System application work smoothly with IIS, by creating a new website poiting to the folder ...

Using "+" or "||"
Using SQLAnywhere 5.5.04, I've gotten into the habit of using "||" in ISQL to indicate a string concatenation. I needed to paste my SQL statement into the PowerBuilder script painter for some embedded SQL, and PB didn't like the "||" very much at all. I changed it to "+" and it seems to be ok. Do these two operators indicate ~exactly~ the same thing? moin, afaik these two's are not the same! if you're using "||" and any term is NULL then in the resultstring the term will be ignored if you use "+" then the resu...

replace the "." with a ","
Oi.... I need to build a small programm in ASP.NET and chose to use C# for it.Now i got everything working but there's one little problem.the first textbox is a double. I need to make it so that when someone enters a "." then it gets replaced by a ","any ideas?Ghan  string blah = "";blah = blah.Replace(".", ",");Ryan Ryan OlshanASPInsider | Microsoft MVP, ASP.NEThttp://ryanolshan.comHow to ask a question...

double quote
hello there...  i tried everything of think but not working the way i wanted to be... not sure what i'm missing...i'm generating a <span> in code behind and then using in javascript.... here is what i'm doing code behind: int i=0string _keywordID = "keyword";string _name = row["visit_info_nm"].ToString().Trim(); String _getElementByID = String.Format("<span id='{0}' OnClick = \"document.getElementById('{1}').value='{2}';\">{3}</span><br>", i, _keywordID, _name, _name); here is what it generate : <span id='1' OnClick = \"document.getElementById('keyword')...

"-" not "_"
I wrote a SQL statement in the data tab. I wrote a bunch of alaises as example ' word-type ' but when I hit the layout tab it converts the "-" to "_". So now my field name is ' word_type '. Is there any way to prevent this? CardGunner Don' use a hypen ( - ).  It isn't a valid character for column names.   See,289625,sid87_gci1188931,00.html   Here's an excerpt about column names: Letters as defined in the Unicode Standard 2.0 Decimal numbers from either B...

Web resources about - How do I create a VB Template that will appear in the "New Project"/"Visual Basic Projects" dialog? -

Resources last updated: 1/13/2016 10:26:22 AM