By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,945 Members | 1,648 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,945 IT Pros & Developers. It's quick & easy.

Problem running deployed app

P: n/a
I have a VB.NET winform app that I created that uses an ActiveX control
(cwui.ocx).

I created a setup project for it and it installs fine on my machine. The
app runs fine too.

When I run it on another machine it installs fine, but when I run the
program I get this error:
-------
MyApp.exe - Common Language Runtime Debugging Services
Application has generated an exception that could not be handled.
Process id=0x11c(284), Thread id=0x68(104).
Click OK to terminate the application.
Click CANCEL to debug the application.
-----

Any ideas???
Nov 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
I need HELP!!! :(

Here's more info...

My program is small and uses:
A custom class I created uses System.Timers.Timer and the timer's
constructor shows frmMain.
frmMain has an unmanaged ActiveX control on it (from the cwui.ocx file).
I've included the OCX file with the package.
The program references an XML file for it's settings. I've included the XML
file with the package.
I also configured this assembly for "Full Trust" on the the machine.

Again, the error it gets is below...

Any ideas would be appreciated. Thanks!

"VB Programmer" <gr*********@go-intech.com> wrote in message
news:ei**************@tk2msftngp13.phx.gbl...
I have a VB.NET winform app that I created that uses an ActiveX control
(cwui.ocx).

I created a setup project for it and it installs fine on my machine. The
app runs fine too.

When I run it on another machine it installs fine, but when I run the
program I get this error:
-------
MyApp.exe - Common Language Runtime Debugging Services
Application has generated an exception that could not be handled.
Process id=0x11c(284), Thread id=0x68(104).
Click OK to terminate the application.
Click CANCEL to debug the application.
-----

Any ideas???

Nov 20 '05 #2

P: n/a
Never mind.

"VB Programmer" <gr*********@go-intech.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
I need HELP!!! :(

Here's more info...

My program is small and uses:
A custom class I created uses System.Timers.Timer and the timer's
constructor shows frmMain.
frmMain has an unmanaged ActiveX control on it (from the cwui.ocx file).
I've included the OCX file with the package.
The program references an XML file for it's settings. I've included the XML file with the package.
I also configured this assembly for "Full Trust" on the the machine.

Again, the error it gets is below...

Any ideas would be appreciated. Thanks!

"VB Programmer" <gr*********@go-intech.com> wrote in message
news:ei**************@tk2msftngp13.phx.gbl...
I have a VB.NET winform app that I created that uses an ActiveX control
(cwui.ocx).

I created a setup project for it and it installs fine on my machine. The app runs fine too.

When I run it on another machine it installs fine, but when I run the
program I get this error:
-------
MyApp.exe - Common Language Runtime Debugging Services
Application has generated an exception that could not be handled.
Process id=0x11c(284), Thread id=0x68(104).
Click OK to terminate the application.
Click CANCEL to debug the application.
-----

Any ideas???


Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.