在win2k下如何打开 打印机 设置面板?(50分)

  • 主题发起人 jason_fox
  • 开始时间
J

jason_fox

Unregistered / Unconfirmed
GUEST, unregistred user!
在 win9x 下使用
rundll32.exe shell32.dll,Control_RunDLL main.cpl @2
但在 win2k 下不行! 那位高手告知,不胜感谢。
 
var x:cardinal;
begin
{启动控制面板}
x:=winexec('rundll32.exe shell32.dll,Control_RunDLL',9);
end;
 
参数不足!
 
printdialog1.Execute
or printersetupdialog1.Execute
我看了它们的源文件,好像是用API函数的,不太明白,自己看吧。
 
用不着那么复杂吧?!
 
顶部