不是vb,在delphi中:
winexec('c:\notepad.exe',nil);//启动程序handle hand:=getwindow(nil,"notepad"); //程序名MoveWindow(hand,x,y,width,height,true); //
winexec('c:\notepad.exe',nil);//启动程序handle hand:=getwindow(nil,"notepad"); //程序名MoveWindow(hand,x,y,width,height,true); //
var s:string;
begin
s:= 'c:\program files\Internet Explorer\IEXPLORE.exe www.sohu.com ';
winexec(pchar(s),SW_MAXIMIZE);
end;
shellexecute(handle,'open','http://www.csdn.net',nil,nil,0);
要是想法电子邮件,就吧连接地址改成邮件地址就行了