代碼如下:private
{ Private declarations }
btapp,btformat,btdb:variant;
strFilePath:string;
procedure TReelIDPrintFrm.uCreatBTApp(btw:string);
begin
strFilePath:=ExtractFilePath(Application.ExeName)+'Test.btw';
if FileExists(strFilePath) then
begin
try
btapp:=createoleobject('Bartender.application');//程式在這行報錯
//xxx.exe raised exception class EOleSysError with message 存取被拒
btapp.visible:=false;
except
raise exception.Create('No Find Bartender Application');
end;
end
else Application.MessageBox(Pchar(strFilePath + ' File not exist!'), Pchar('prompting'), 0);
end;我已經有安裝 BarTender 8.0,
請各位路過的朋友幫忙一下吧.謝謝.
{ Private declarations }
btapp,btformat,btdb:variant;
strFilePath:string;
procedure TReelIDPrintFrm.uCreatBTApp(btw:string);
begin
strFilePath:=ExtractFilePath(Application.ExeName)+'Test.btw';
if FileExists(strFilePath) then
begin
try
btapp:=createoleobject('Bartender.application');//程式在這行報錯
//xxx.exe raised exception class EOleSysError with message 存取被拒
btapp.visible:=false;
except
raise exception.Create('No Find Bartender Application');
end;
end
else Application.MessageBox(Pchar(strFilePath + ' File not exist!'), Pchar('prompting'), 0);
end;我已經有安裝 BarTender 8.0,
請各位路過的朋友幫忙一下吧.謝謝.
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货