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
"Bon" <bo***********@gmail.com> wrote in message news:11*********************@o13g2000cwo.googlegro ups.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