944,135 Members | Top Members by Rank

Ad:
Sep 8th, 2006
1

ActiveX multithreading

Expand Post »
Hello,

I have a Activex exe, that makes use of multi threading. I have two PCs. A and B. When I run the program on A ( both in debug and compiled exe) it executes fine. I then created a package, installed it on PC B and the exe ran fine.

I did an upgrade on PC A, uninstalled it on B , copied and reinstalled on B, and now I cannot get the exe to work on B. If I run it in Debug mode on B it works fine.

I fails on the definition of the multi-thread class. Its properties are

DataBindingBehaviour = 0 vbNone
Instancing = 5 MultiUse
Persistance = 0 NotPersistable

The class consists of
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
  1. Sub cProcessCD(Optr As Long, MainFormHandle As Long, wSource As String)
  2. Dim Frm As New frmProcessCD
  3. Load Frm
  4. Frm.lblSource.Caption = wSource
  5. Set Frm = Nothing
  6. End Sub
Any help would be welcome

Regards
Mike
Last edited by Comatose; Sep 10th, 2006 at 9:45 pm.
Similar Threads
Reputation Points: 13
Solved Threads: 0
Newbie Poster
misiom is offline Offline
3 posts
since Sep 2006
Sep 8th, 2006
0

Re: ActiveX multithreading

Are you sure it is properly registered in the registry?
Team Colleague
Reputation Points: 361
Solved Threads: 214
Taboo Programmer
Comatose is offline Offline
2,413 posts
since Dec 2004
Sep 10th, 2006
0

Re: ActiveX multithreading

Click to Expand / Collapse  Quote originally posted by Comatose ...
Are you sure it is properly registered in the registry?
Hi,

Thanks for the response. I have tried installing it on a different PC. I works no problem. I am currently re-installing windows XP on the PC that is giving me the problem. I did this because I suspected the registry was corrupted.

Regards
Mike
Reputation Points: 13
Solved Threads: 0
Newbie Poster
misiom is offline Offline
3 posts
since Sep 2006
Sep 10th, 2006
0

Re: ActiveX multithreading

Cool, let me know if that fixes the problem...
Team Colleague
Reputation Points: 361
Solved Threads: 214
Taboo Programmer
Comatose is offline Offline
2,413 posts
since Dec 2004
Sep 12th, 2006
0

Re: ActiveX multithreading

Click to Expand / Collapse  Quote originally posted by Comatose ...
Cool, let me know if that fixes the problem...
Hi,

Everything seems to be ok on thenew PC, except I occasionally get a Run-time error '-2147287010 (8003001e)': Automation error. A disk error during read operation. This happens just as I try to creat my class. I cant seem to determine what is the cause as it does not happen all the time and is cured usually with a reboot.

Regards
Mike
Reputation Points: 13
Solved Threads: 0
Newbie Poster
misiom is offline Offline
3 posts
since Sep 2006
Sep 12th, 2006
0

Re: ActiveX multithreading

Hmn, that seems pretty strange.
Team Colleague
Reputation Points: 361
Solved Threads: 214
Taboo Programmer
Comatose is offline Offline
2,413 posts
since Dec 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: A Box in PicBox
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: create os with visual basic





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC