|
-
November 18th, 2011, 05:09 AM
#1
VB6 show vbModal problem in Windows 2008
Hi,
We recently moving a old system which develop under VB6 to Windows 2008, we facing some problem when a main MDI form calling an ActiveX EXE form (another EXE, call by set obj = CREATEOBJECT("obj.clsCallForm")) in "vbModal" mode, the application some time (not all time) will be like "Hang" (both the main MDI and the ActiveX form cannot click, and the windows look like Hang can't click anything), then we try click on the Windows Start button (by press on the keyboard), after the Start Menu pop up then the ActiveX form can use already. But when click Ctrl+Alt+Del the ActiveX form will hide at the back (not show up), then must go to Task Manager at the "Process" tab End the process. Wondering why? any solution for this?
*In the ActiveX form we use below code set the main MDI to bottom before show the new form (in vbModal):
SetWindowPos hwMainMDI&, 1, 0, 0, 0, 0, &H80 'Hide Form
SetWindowPos hwMainMDI&, 1, 0, 0, 0, 0, &H40 'Show Form
SetWindowPos hwMainMDI&, 1, 0, 0, 0, 0, &H10
Thanks & Regards,
Wilson
-
November 18th, 2011, 12:19 PM
#2
Re: VB6 show vbModal problem in Windows 2008
The new server has a lot more security than any other. You'll have to read up. I suggest a Virtual Machine running the old OS. You can open a REMOTE DESKTOP connection to it, and even map it's drives.
Look up Hyper-V
-
November 19th, 2011, 08:09 AM
#3
Re: VB6 show vbModal problem in Windows 2008
 Originally Posted by dglienna
The new server has a lot more security than any other. You'll have to read up. I suggest a Virtual Machine running the old OS. You can open a REMOTE DESKTOP connection to it, and even map it's drives.
Look up Hyper-V
Thanks for suggestion, but the management instead want to use latest OS and license already bought. Hope somebody can give me some good solution for the problem.
-
November 19th, 2011, 01:35 PM
#4
Re: VB6 show vbModal problem in Windows 2008
Windows Server 2008 R2 is the latest...
-
November 19th, 2011, 06:39 PM
#5
Re: VB6 show vbModal problem in Windows 2008
 Originally Posted by dglienna
Windows Server 2008 R2 is the latest...
Yes, we are using Windows Server 2008 R2
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|