Class Libraries

proKrastinate

Member
Joined
Sep 14, 2002
Messages
15
I wanted to create a class library from vb.net. However, I only have vb.net and not vs.net. Is the ability to create class libraries only available to those who purchase not just vb.net but vs.net? I thought that by purchasing vb.net I would have the ability to create everything and anything that vb.net has to offer and wouldnt be restricted by not having the other programs C#, etc.
 
I own VS.NET Pro, and when the New Project dialog shows,
the second icon in the Visual Basic Projects is to create a Class
Library. If its not there for you, then I guess it is not possible in
just VB.NET.
 
A Class.VB and a Form.VB is exactly the same thing only the Class doesnt Import the Windows.Forms...
I cant see why you wouldnt be able to create a Class.
 
I cant see why you wouldnt be able to create a Class.

Neither can I, but Microsoft apparently thought we shouldnt be able to. Visual Basic .NET Standard Edition doesnt have a Class Library project type. Youd either need to upgrade to VS.NET Professional, or create a new project type by using the Visual Studio scripting system.
 
visual studio scripting system? could you explain to me what this is or how i could go about using it to create a new project type?

or if anyone wants to buy a basically brand new copy of vb.net for low price?
 
Last edited by a moderator:
sweet, much thanx :D

are there other project types that vb.net doesnt have that vs.net does? I am assuming that these files are free to d/l anywhere so why would ms make u go thru so much trouble?
----
are we supposed to be all the files in the located in the zip into the location
C:\Program Files\Microsoft Visual Studio .NET\Vb7\VBProjects or are some of the files go into some other folder?
 
Last edited by a moderator:
im probably doing this wrong but here goes, i put everything in the zip file into my VB7 folder, not C:/.../VB7/... and when starting vb7 there was no extra projects listed in the project menu under any of the 4 folders available. So I put the zip file in the C:/.../VB7/VBProjects folder and then I saw the extra projects but this is what I got:

1 project type of "Class Library" with a windows unidentified object icon (the one thats white and has the windows symbol in the middle)
1 project type of "ClassLibrary" with an icon much like the Windows Application icon but with a world in the icon
1 project type of "UserControl" with an icon like the "ClassLibrary"
1 project type of "Windows Control Library" with an icon like that of "Class Library"

When I try to open the first one {"Class Library"} I get an error that says this :
"Default.js or Default.vbs not found in C:\Program Files\Microsoft Visual Studio .NET\Vb7\VBWizards\ClassLibrary\Scripts\1033"

When I open the second one {"ClassLibrary"} I can see from my Solution Explorer that a project has been created but no form ever appears or no code window presents itself but I stay at the start page.

When I open the third {"User Control"} the same thing happens as when I try to open a {"ClassLibrary"} project, nothing but the solution explorer saying there has been a creation of a project.

When I open the last {"Windows Control Library"} I get the same error as when I open {"Class Library"}, an error occurs and says almost the same thing "Default.js or Default.vbs not found in C:\Program Files\Microsoft Visual Studio .NET\Vb7\VBWizards\WindowsControlLibrary\Scripts\1033"

What am I doing wrong?
 
Open the ZIP file you downloaded, click Extract All or whatever it
is in your zip program, and type C:\Program Files\Microsoft Visual
Studio .NET\Vb7\ into the box. Make sure that it has the option
set to extract the entire directory structure, not just the files.

Click OK. Now it should work.
 
worked perfectly, sorry for my ignorance but i didnt know that it would unzip everything to its proper directory. everytime i have ever used winzip it just extracted everything into the directory specified. how do you get it to do that by the way?

Thx again

and is there a way to change the icons? is it difficult? It doesnt matter really.
 
Back
Top