Home > Software engineering >  Consult a VB problem.
Consult a VB problem.

Time:10-25

I am novice level, recently got a thing
MSFLEXGRID access database data, according to a particular column value to take out the URL, below the interface and a page,

Question, every turn a page, will go according to this URL to download the HTML file to the local, but after add this function, and found it very card page,,,, don't know how to do,

1. This can use multithreading? Looked at the online, seems to be really tough, and unstable,
2. Originally wanted to a way, the another EXE under go to, so this procedure will not have the card, but how to pass arguments? Elder brother also don't know,,,
3. Good idea, attach code is best,, ha ha,

In this thank you,

CodePudding user response:

VB does not support multithreading,

If you want to use the program parameters, you can then create a VB program, written in the Form_Load MsgBox Command
Used in your program
ShellExecute Me Hwnd, "open," App. Path & amp; "\ exe2 exe", "parameters", App. Path, SW_SHOW
(API complemented his prototype)

CodePudding user response:

Parameter through another program can use the command string, vb own.
Reference: http://so.360.cn/s? Q=VB E5 8 b A8 E7 % % % % % E5 BA 8 f % % % % 90% AF E5 8 f E5 A8 8 a % % % % 95% % 82% % E6 B0 & amp; Pq=VB E5 8 b A8 E7 % % % % % BA 8 E5 f % % % 95% % 82% % E6 B0 & amp; f src=https://bbs.csdn.net/topics/srp
  • Related