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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 21.07.2009, 10:05   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
lcash: Using document handling to add image in Demo VM
Источник: http://blogs.msdn.com/lcash/archive/...n-demo-vm.aspx
==============

Is you are using the AX2009 Refresh 2 demo VM and are using document handling this note will interest you. When you try to add a image, for file attachment you will get an error about “no valid runable code”.



It is a small change :

1. Press CRTL+D to got to the AOT.

2. Expand Classes



3. Locate the DocuActionArchive class



4. Double click on the add method.



5. Move the line of code FormRun parentForm above the function.



6. Click the Save button.



Then close the code window and AOT and you will be able to add the image etc in document handling.

Cheers

Lachlan

Original post at http://blogs.msdn.com/lcash



Источник: http://blogs.msdn.com/lcash/archive/...n-demo-vm.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
chrisfie: Microsoft Dynamics AX 2009 and Microsoft Project Server 2007 Demo Image Blog bot DAX Blogs 2 03.07.2009 20:05
lcash: Entering dates (2006) or no access to development in Refresh1 VM Blog bot DAX Blogs 0 03.07.2009 08:05
Ruslan Goncharov: How to add a document into AX programmically? (Document handling) Blog bot DAX Blogs 0 29.12.2007 19:50
dax-lessons: Document Handling in AX - setup and Example Blog bot DAX Blogs 0 27.08.2007 23:00
Axapta Lessons: FORM SalesTable (3): Add a document to the button Posting Blog bot DAX Blogs 0 28.10.2006 18:22

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

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

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