ActiveX multithreading

Reply

Join Date: Sep 2006
Posts: 3
Reputation: misiom is an unknown quantity at this point 
Solved Threads: 0
misiom misiom is offline Offline
Newbie Poster

ActiveX multithreading

 
1
  #1
Sep 8th, 2006
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.
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 2,413
Reputation: Comatose is a jewel in the rough Comatose is a jewel in the rough Comatose is a jewel in the rough Comatose is a jewel in the rough 
Solved Threads: 211
Team Colleague
Comatose's Avatar
Comatose Comatose is offline Offline
Taboo Programmer

Re: ActiveX multithreading

 
0
  #2
Sep 8th, 2006
Are you sure it is properly registered in the registry?
Reply With Quote Quick reply to this message  
Join Date: Sep 2006
Posts: 3
Reputation: misiom is an unknown quantity at this point 
Solved Threads: 0
misiom misiom is offline Offline
Newbie Poster

Re: ActiveX multithreading

 
0
  #3
Sep 10th, 2006
Originally Posted by Comatose View Post
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
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 2,413
Reputation: Comatose is a jewel in the rough Comatose is a jewel in the rough Comatose is a jewel in the rough Comatose is a jewel in the rough 
Solved Threads: 211
Team Colleague
Comatose's Avatar
Comatose Comatose is offline Offline
Taboo Programmer

Re: ActiveX multithreading

 
0
  #4
Sep 10th, 2006
Cool, let me know if that fixes the problem...
Reply With Quote Quick reply to this message  
Join Date: Sep 2006
Posts: 3
Reputation: misiom is an unknown quantity at this point 
Solved Threads: 0
misiom misiom is offline Offline
Newbie Poster

Re: ActiveX multithreading

 
0
  #5
Sep 12th, 2006
Originally Posted by Comatose View Post
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
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 2,413
Reputation: Comatose is a jewel in the rough Comatose is a jewel in the rough Comatose is a jewel in the rough Comatose is a jewel in the rough 
Solved Threads: 211
Team Colleague
Comatose's Avatar
Comatose Comatose is offline Offline
Taboo Programmer

Re: ActiveX multithreading

 
0
  #6
Sep 12th, 2006
Hmn, that seems pretty strange.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Visual Basic 4 / 5 / 6 Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC