Article View: pl.comp.lang.vbasic
Article #92182Otwieranie Autocada z Excela
From: mariusz
Date: Mon, 17 Oct 2005 03:28
Date: Mon, 17 Oct 2005 03:28
29 lines
1414 bytes
1414 bytes
Witam!
Po ruchomieniu takiego programu w Excelu:
Sub test()
Dim ACADApp As AutoCAD.AcadApplication
Set ACADApp = New AutoCAD.AcadApplication
ACADApp.Visible = True
End Sub
otrzymuję komunikat:
Run-time error '429':
ActiveX component can't create object
Dodam że w menu Tools->References zaznaczyłem bibliotekę "AutoCad 2000
Type Library"
Jeżeli uruchomie ten sam kod tylko zamiast AutoCada podstawie Worda,
Excela albo Accessa nie ma problemu. Czy ktoś może mi pomóc bo help nie
pomaga w rozwiązaniu problemu a i google też przeszukałem.
Z góry dziękuję
Mariusz
Technical Details
Message-ID:
<div5qh$an1$1@nemesis.news.tpi.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news2.onet.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news2.onet.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail From: mariusz <mariusz@nospam.pl> Newsgroups: pl.comp.lang.vbasic Subject: Otwieranie Autocada z Excela Date: Mon, 17 Oct 2005 05:28:54 +0200 Organization: tp.internet - http://www.tpi.pl/ Lines: 29 Message-ID: <div5qh$an1$1@nemesis.news.tpi.pl> NNTP-Posting-Host: bgp.pl Mime-Version: 1.0 X-Trace: nemesis.news.tpi.pl 1129519761 10977 213.25.14.130 (17 Oct 2005 03:29:21 GMT) X-Complaints-To: usenet@tpi.pl NNTP-Posting-Date: Mon, 17 Oct 2005 03:29:21 +0000 (UTC) User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: pl, en-us, en Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit