|
-
Aug 23rd, 2007, 04:38 AM
#1
Thread Starter
Hyperactive Member
-
Aug 23rd, 2007, 05:08 AM
#2
Re: Is MDI form multithread?
Nothing in VB is Multithread...
In order to achieve multithread you must use ActiveX exe's
-
Aug 23rd, 2007, 05:24 AM
#3
Thread Starter
Hyperactive Member
Re: Is MDI form multithread?
Can you give me a tip on it?
Thank you.
-
Aug 23rd, 2007, 05:29 AM
#4
Re: Is MDI form multithread?
That was a tip... What are you thinking of???
Last edited by randem; Aug 23rd, 2007 at 05:32 AM.
-
Aug 23rd, 2007, 05:32 AM
#5
Re: Is MDI form multithread?
Create an ActiveX exe to do just the downloading. That way you can have as many threads as you need.
-
Aug 23rd, 2007, 05:37 AM
#6
Thread Starter
Hyperactive Member
Re: Is MDI form multithread?
Ok, but how do I execute an activeX exe?
I need a tip on this!
-
Aug 23rd, 2007, 05:40 AM
#7
Re: Is MDI form multithread?
Good answers require good questions...
Use ShellExecute API
-
Aug 23rd, 2007, 05:47 AM
#8
Thread Starter
Hyperactive Member
Re: Is MDI form multithread?
could you give me an explicit example on how to use ShellExecute with an ActiveX exe?
(is (ShellExecute<>Shell) ?)
Thank you.
-
Aug 23rd, 2007, 05:50 AM
#9
Re: Is MDI form multithread?
You use it the same way as with a regular exe...
You could also instantiate it the same way you would a dll, if you needed to communicate with it (or it you).
Please when asking question type out the whole question (is (ShellExecute<>Shell) ?) doesn't mean much to me in English...
-
Aug 23rd, 2007, 06:01 AM
#10
Thread Starter
Hyperactive Member
Re: Is MDI form multithread?
Ok. So, to use an ActiveX EXE do I will need to create a new VB project?
Are "ShellExecute" and "Shell" different commands?
If you say that I can use a activeX EXE as a regular EXE, why my ActiveX EXE doesn't show my form?
My StartUp object is "Sub Main"
Code:
'module code
Option Explicit
Public Sub Main()
Dim frm As New Form1
frm.Show
End Sub
-
Aug 23rd, 2007, 06:19 AM
#11
Re: Is MDI form multithread?
Try creating the ActiveX exe then setting a reference to it in your app the same way you would a dll.
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
|