vb.net Setup Issue New to VB

K

Keith Kowalski

Hello I have a vb.net windows application that I need to make
re-Distributable, I can run it on my development machine fine, I can also
run it on my old development machine fine, When I try to run it on any other
machine I get an error .... An exception
'System.Runtime.InteropServices.COMException' has occurred. (Debug [Yes /
No])

When I answer yes to debug I get:
An Unhandled exception of type
'System.Runtime.InteropServices.COMException' occurred in
system,.windows.forms.dll Class not found


When I use setup a message pops up that says....
The following files may have dependencies that cannot be
determined automatically, Please confirm that all dependencies have been
added to the project.
C:\Windows\System32\imagxpr7.dll
C:\Windows\System32\printpro3.dll

These are in the dependencies list, When I check on the Dependencies of
these 2 dll's the following is listed
Microsoft.VisualC.dll Ver. 7.0.3300.0
mscorlib.dll Ver. 1.0.3300.0
System.dll "
System.Drawing.dll "
System.Windows.Forms.dll "

However I add these but the versions seem to be newer Insead of
#.#.3300.# I have #.#.50000.#.


Please help, None of this makes sense to me......
 
C

Chris Dunaway

When I answer yes to debug I get:
An Unhandled exception of type
'System.Runtime.InteropServices.COMException' occurred in
system,.windows.forms.dll Class not found

Please help, None of this makes sense to me......

Just a quick "off the top of my head" thought:

Since you're using COM, have you registered any COM components on the
target machine? Since the error is "Class not found", it sounds like a
..dll needs to be registered.

--
Chris

dunawayc[AT]sbcglobal_lunchmeat_[DOT]net

To send me an E-mail, remove the "[", "]", underscores ,lunchmeat, and
replace certain words in my E-Mail address.
 
K

Keith Kowalski

You were right, I needed to add 3 dlls ,
Thank yuo for the reply.

Keith K. kowalski


Chris Dunaway said:
When I answer yes to debug I get:
An Unhandled exception of type
'System.Runtime.InteropServices.COMException' occurred in
system,.windows.forms.dll Class not found

Please help, None of this makes sense to me......

Just a quick "off the top of my head" thought:

Since you're using COM, have you registered any COM components on the
target machine? Since the error is "Class not found", it sounds like a
.dll needs to be registered.

--
Chris

dunawayc[AT]sbcglobal_lunchmeat_[DOT]net

To send me an E-mail, remove the "[", "]", underscores ,lunchmeat, and
replace certain words in my E-Mail address.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top