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 / ASP.NET / General / October 2005

Tip: Looking for answers? Try searching our database.

How to call VB.Net components from user control

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bon - 29 Oct 2005 16:18 GMT
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
S.M. Altaf [MVP] - 29 Oct 2005 16:44 GMT
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

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.