G
Guest
I'm trying to create a dll (vb) that I can add to my ASP.NET project, thus
encapsulating and protecting (from viewing) the code (class).
In VS 6.0 this was easy, create a project as a dll and write your code then
save and compile. Register it, then my asp pages would see the objects and I
was good to go. The run time files would be added automatically.
Now in VS.NET I create a .vb file with my code and it appears I have to
manually compile it to create the dll. I first moved my .vb file to the same
directory as the vbc.exe file to compile it. I then used suggested command
line arguments but keep getting errors. I've tried to reference the
appropriate references but I still get errors. I.e. response is not declared,
but I reference system.web.dll and system.dll ???????????
There has to be an easier way. What am I missing? thanx.
Ideally, I would liek to create this via the VS.NET enviroment, ie.e like VS
6.0.
encapsulating and protecting (from viewing) the code (class).
In VS 6.0 this was easy, create a project as a dll and write your code then
save and compile. Register it, then my asp pages would see the objects and I
was good to go. The run time files would be added automatically.
Now in VS.NET I create a .vb file with my code and it appears I have to
manually compile it to create the dll. I first moved my .vb file to the same
directory as the vbc.exe file to compile it. I then used suggested command
line arguments but keep getting errors. I've tried to reference the
appropriate references but I still get errors. I.e. response is not declared,
but I reference system.web.dll and system.dll ???????????
There has to be an easier way. What am I missing? thanx.
Ideally, I would liek to create this via the VS.NET enviroment, ie.e like VS
6.0.