Bon,
It really depends on what the .vb files are for. What sort of components are they? Are they merely classes? As long as they're in your solution explorer, you should be able to simply declare a class of the type given in the .VB file.
You'll really need to elaborate more on what you're doing, and more importantly, WHAT the .vb files are.
-Altaf
--------------------------------------------------------------------------------
All that glitters has a high refractive index.
www.mendhak.com
Hello all
How to call VB .NET components from user control?
My folder structures are: the upper folder called Bon and then there
are two sub-folders. One is called UserControls which is used to store
.aspx files and another one is called Components which is used to store
.vb files.
What code I should put in the .aspx file in order to call .vb file?
Thank you
Best regards
Bon
Bon - 30 Oct 2005 15:35 GMT
Hello Altaf
The .VB files are classes, which contains methods for connecting
database and extracting data from database in order to show them in the
.aspx pages. For example, I have a drop down list box in the .aspx
page. When the user select the desired item, it will pass a parameter
to one of the methods in the .VB file. Then, the .VB file will return
the dataset to the .aspx page and display the data.
I have compile the .VB file and generate .dll file. By the way, do I
need to compile and generate .dll file? I am using ASP .NET Web Matrix
for creating my website.
Thanks
Bon
S.M. Altaf [MVP]
> Bon,
>
[quoted text clipped - 23 lines]
> Best regards
> Bon