uses shellapi;调用:
Shellexecute(handle,'',filename,'','',SW_SHOW);
Shellexecute(handle,'',filename,'','',SW_SHOW);
解决方案 »
- dbgird中如何回到首列!
- 比如一个时间是2003年5月1日1时3分2秒,另一个是Now(),怎样求他们之差并以秒为单位?
- 报表的传递问题~~~~~~
- 各位帮忙,急!
- 请大这帮助我一下,谢谢指教.
- 如何用串口读取手机短信信息
- 请问为什么TrayIcon看不住我的应用?
- 白送分的问题!
- 高手请进:如何在richtx32.ocx上实现分栏和分页?
- 请教高手:如何关闭一个窗口或隐藏一个窗口?我是新手,我只知在工程-->设置了autocreate,那一运行就出现一个登录窗口,输入密码正确我就show主窗口,但登录窗口就关不掉了!
- 为什么我发贴子时,只能给分啊?
- 开发繁体字(Big5)的Delphi应用程序
HINSTANCE ShellExecute( HWND hwnd, // handle to parent window
LPCTSTR lpOperation, // pointer to string that specifies operation to perform
LPCTSTR lpFile, // pointer to filename or folder name string
LPCTSTR lpParameters, // pointer to string that specifies executable-file parameters
LPCTSTR lpDirectory, // pointer to string that specifies default directory
INT nShowCmd // whether file is shown when opened
);可以这样用:
ShellExecute(0, Nil, 'notepad.exe', Nil, Nil, SW_NORMAL);
shellexecute(0,nil,'http://www.csdn.net',nil,nil,SW_NORMAL);
发email:
shellexecute(0,nil,'mailto:[email protected]',nil,nil,SW_NORMAL);