Is there any way I can make visual basic auto-add the winsock control to the toolbox everytime it loads like the other tools (textbox, command button, etc.). Help appreciated. ;D
Press CTRL+T and remember how many times you have to press M to get to microsoft winsock control. Then press spacebar and enter.
No I mean when I load VB. I want VB to do it for me so I don't have to do it manually! :-/
public sub Main()
shell "c:\path\to\vb.exe",vbmaximized
sleep 10 * 1000
sendkeys whatever the code for ctrl+t is, m a bunch of times, space, enter
end sub
file->make youlazywh0re.exe
Anyone know the code for CTRL+T for sendkeys? :P
QuoteAnyone know the code for CTRL+T for sendkeys? :P
Now, come on Haze. You have to admin that posting on a forum for how to send Ctrl_T to SendKeys is lazy. Your MSDN Online works just as good as the next person's.