-
How to use .vb files?
Hello,
In a web application,I want to shift my VB dll functions into a class
file in .net(file with .vb extention but not .aspx.vb).Can somebody please
expain me hot to use it and deploy?
Regards,
Anu
-
Re: How to use .vb files?
"Anu" <anu@email.com> wrote:
>
>Hello,
>
> In a web application,I want to shift my VB dll functions into a class
>file in .net(file with .vb extention but not .aspx.vb).Can somebody please
>expain me hot to use it and deploy?
>
>Regards,
>Anu
If I am understanding you. You want convert your VB6 DLLs to .NET do this
by adding a class and your aspx.vb files (code behind) call the .vb files
in a similar way that you would call them in VB6
cSupportMember is a .vb file
Dim cSupport As New cSupportMember()
cSupport.insMemberPassword(AccountID, MemberID, UserID, UserID, True, EditorID)
-
Re: How to use .vb files?
Hello Sr,
I read somewhere that all .vb files need to be converted to dll and must
be placed in bin directory while deploying.Do you know more about it?
Regards,
Anu
"sr" <vb.@127.0.0.1> wrote:
>
>"Anu" <anu@email.com> wrote:
>>
>>Hello,
>>
>> In a web application,I want to shift my VB dll functions into a
class
>>file in .net(file with .vb extention but not .aspx.vb).Can somebody please
>>expain me hot to use it and deploy?
>>
>>Regards,
>>Anu
>
>If I am understanding you. You want convert your VB6 DLLs to .NET do this
>by adding a class and your aspx.vb files (code behind) call the .vb files
>in a similar way that you would call them in VB6
>
>cSupportMember is a .vb file
>
>Dim cSupport As New cSupportMember()
>cSupport.insMemberPassword(AccountID, MemberID, UserID, UserID, True, EditorID)
>
-
Re: How to use .vb files?
Anu,
Are you using VS.NET?
Simply add your .vb files to your ASP.NET project, when you compile the
project they will automatically be included in the .dll that is created for
all of your .aspx.vb files. This DLL will be placed in the bin folder of
your web project.
Alternatively you can create a Class Library project, place all of your .vb
files in this Class Library, then reference the Class Library from your Web
Project. VS.NET will place the DLL in your bin folder.
If you are not using VS.NET, you will need to manually compile your .vb
files into a class library (.dll) then place this dll in the bin folder of
your web project. From within your aspx pages you will need to manually
reference and import this class library.
Hope this helps
Jay
"Anu" <anu@email.com> wrote in message news:3f1d19bd$1@tnews.web.devx.com...
>
> Hello,
>
> In a web application,I want to shift my VB dll functions into a
class
> file in .net(file with .vb extention but not .aspx.vb).Can somebody please
> expain me hot to use it and deploy?
>
> Regards,
> Anu
-
Re: How to use .vb files?
Hi Jay Harlow,
Thank you for information.
Yeah,I am using VS.net.So you mean all .vb(.aspx.vb and .vb) files will
be referred through a single Dll thats placed in Bin directory?
OK!!
I will try and if I get any more doubts will get back on this forum.
Regards,
Anu
"Jay B. Harlow [MVP - Outlook]" <Jay_Harlow@email.msn.com> wrote:
>Anu,
>Are you using VS.NET?
>
>Simply add your .vb files to your ASP.NET project, when you compile the
>project they will automatically be included in the .dll that is created
for
>all of your .aspx.vb files. This DLL will be placed in the bin folder of
>your web project.
>
>Alternatively you can create a Class Library project, place all of your
.vb
>files in this Class Library, then reference the Class Library from your
Web
>Project. VS.NET will place the DLL in your bin folder.
>
>If you are not using VS.NET, you will need to manually compile your .vb
>files into a class library (.dll) then place this dll in the bin folder
of
>your web project. From within your aspx pages you will need to manually
>reference and import this class library.
>
>Hope this helps
>Jay
>
>"Anu" <anu@email.com> wrote in message news:3f1d19bd$1@tnews.web.devx.com...
>>
>> Hello,
>>
>> In a web application,I want to shift my VB dll functions into a
>class
>> file in .net(file with .vb extention but not .aspx.vb).Can somebody please
>> expain me hot to use it and deploy?
>>
>> Regards,
>> Anu
>
>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks