AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 25.08.2008, 18:05   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
msdynamicsax: VB script that test the com connector for Dynamics Ax 4.0
Источник: http://msdynamicsax.wordpress.com/20...ynamics-ax-40/
==============


Some of you might have had problems testing the com-connector for Dynamics Ax 4.0 in an environment without IIS. The trick is to just create a new text file and rename it to something.vbs afterwards.

Edit the file and paste the following:

‘ VB Script to test the Axapta COM Connector.
Dim ComConnector
dim result


Set comConnector = CreateObject(”AxaptaComConnector.Axapta3″)
comConnector.Logon “”, “”, “”, “”
result = “Com Connector ” & comConnector.callStaticClassMethod(”xInfo”, “BuildNo”) _
                        & ” built on ” & comConnector.callStaticClassMethod(”xInfo”, “compilationDate”) _
                          & ” at ” & comConnector.callStaticClassMethod(”xInfo”, “compilationTime”)
msgbox (result)
comConnector.logoff
set comConnector = nothing


You should get a message box telling you the build num and date/time of the Ax installation. If not, you have a problem with the com connector setup.




Источник: http://msdynamicsax.wordpress.com/20...ynamics-ax-40/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
msdynamicsax: Dynamics Ax 2009 SDK Blog bot DAX Blogs 0 13.08.2008 14:05
msdynamicsax: Upgrading a database from Ax 4.0 SP1 to Ax 2009 Blog bot DAX Blogs 1 13.08.2008 14:02
Khue Trinh: AX 2009 Quality Management - Quality Control Blog bot DAX Blogs 1 04.07.2008 16:01
Pokluda: SysTest part IV.: Test/Suite initialization and cleaning; Execution isolation Blog bot DAX Blogs 0 28.10.2006 17:43

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 08:04.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.