Click to See Complete Forum and Search --> : Deploying VB.NET Application
shafiqm
10-07-2004, 09:07 AM
Hi,
I have created a small VB program which runs the browser. The application is working fine on my computer. When I try to copy to another computer the whole directory it does not work and gives error message. Kindly let me know what steps are involved in deployment.
Thanks
Sahfiq
:rolleyes:
jugomkd
10-07-2004, 11:17 AM
Before you build and run your app go under BUILD -- choose CONFIGURATION MANAGER and when dialog window open make ACTIVE SOLUTION CONFIGURATION to be RELEASE instead DEBUG .... then just save your app, build up and press run (F5) then go in your PROJECT FOLDER and see another folder "obj" open that and open release ... there is you app (EXE) ready for deployment
kind regards
shafiqm
10-07-2004, 12:04 PM
Thanks.
I just only need EXE file to run it from any PC. Just to confirm that deployed PC should have .NET Framework.
Thanks
Shafiq
Phil Weber
10-07-2004, 03:45 PM
Yes, the target PC must have the .NET Framework installed.
shafiqm
10-07-2004, 04:13 PM
I can run fine from Visual Studio.Net but when clicking on EXE file it gives me the following error message.
Error Message is attached. When Click on the debug
File Not Found Exception for the following file AxInterop.SHDocVw.dll
These two files are present in the obj folder.
AxInterop.SHDocVw.dll
Interop.SHDocVw.dll
Kindly Guide
Thanks
Shafiq
darren
10-11-2004, 05:48 PM
When you reference a COM (ActiveX) control and use it in VB.Net, it will generate the axInterop.xxx.dll and Interop.xx.dll files. These files are required and must exist in the same folder as the EXE file.
In addition, the ActiveX control/COM object whose library is named "xxx" must be distributed and registered on the target system.
In VB6, you would have needed to distribute and register this COM object, and you must do the same here. If instead you had used only .NET framework objects, you would only need your EXE and the .Net framework.
I looked up shdocvw quickly and it appears that it may be part of IE or the operating system. So, requiring a specific version of IE or the same target OS may fix your problem.
devx.com
Copyright Internet.com Inc. All Rights Reserved