[development-axapta] plz help me 'bout savefile through OLE

2004-04-15 Thread tracy pippo







hi all,
In my project, I use OLE object to embed the MS word/ MS excel. But when I save file by method "savetofile" of OLE object, it encrypt my file. So does anyone can help me this? I can't see my file.
 
plz help me
 
thanx a bunch
 
tracy_pippo
 


I won't make you smile when you're sad,but I'll cry with you! 
tracy_pippo 
		Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [development-axapta] Using document handling classes

2004-04-15 Thread Malcolm Burtt
Title: Message





Hi
 
I'm not 
sure, but I think you misunderstood.
 
I want to 
simulate clicking the document handling command menu item, and then clicking New 
-> File, entering a file to attach all through code. I don't need a new type 
of document.
 
To put it in 
context, I'm writing a batch class that reads a users mailbox. Each message is 
read and results in a new record being created in a table.  If there are 
files attached to any of the mail messages then I want to create document 
handling attachments to the records that I create.
 
Is that any 
clearer?
 
Malcolm.

  
  -Original Message-From: ax 
  [mailto:[EMAIL PROTECTED] Sent: 15 April 2004 13:45To: 
  [EMAIL PROTECTED]Subject: Re: 
  [development-axapta]Hi,1.In your new class you 
  have to extend lets say DocuActionComWord andimplement method 
  'description' in order to give this class unique name.2.After that, you 
  have to create new recod in 
  basic->setup->documentmanagement->document types and in job 
  description select your new classname. (new class can be seen only after 
  restarting Ax client).3, document types options you have to select table 
  you want this documentbecome active4. and finally you have to select 
  template file of the document (also inoptions).5, don't forget to 
  check 'check table' in general .This means that yourdocument is active and 
  uses template file.this is it, you have new document in document 
  handling.Kuni- Original Message - From: "Malcolm 
  Burtt" <[EMAIL PROTECTED]>To: "Axapta E-Group 
  (E-mail)" <[EMAIL PROTECTED]>Sent: Thursday, April 
  15, 2004 2:16 PMSubject: [development-axapta]> Hi 
  All>> I'm having some trouble getting my head around the 
  Document Handlingclasses. Can anyone give me a simple code sample for 
  adding a document(file)  to a specific record (say a CustTable 
  record) through code.>> Thanks in advance>> 
  Malcolm Burtt> Global IT Group> 
  Yahoo! Groups Links>







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [development-axapta] Debugger

2004-04-15 Thread Don Price










FYI, we had a firewall issue of the ax32
not talking to the debugger.  This
applies to 2tier as well as the they talk via tcp/udp. 



 

Don 

 



-Original Message-
From: Don Price
[mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, April 14, 2004 4:34 PM
To: [EMAIL PROTECTED]
Subject: [development-axapta]
Debugger

 

Hi,

 

  Axapta 3.0 SP1 2-tier – Error
connecting to Debugger – Does anybody have any idea what might be
wrong?  I set a breakpoint and the
debugger comes up, but there is nothing in the source window gives the above
error message. You can close the debugger and it just returns to the app.  

 

Thanks,

Don

 










Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












RE: [development-axapta] Debugger

2004-04-15 Thread Richard Wasson





I had 
the same issue, the only way I could fix it was to reinstall my entire 
machine.  Microsoft has been made aware of the issue, but they were less 
than forthcoming.
 
    You might try their suggestion that they sent me, you might 
get lucky:
 

Do a search for Axdebug.exe 
and once found right-click on it and choose Properties, there you can check the 
version of this executable.  This executable should be the same version as 
Axapta, in this case with SP1 it should be 3.0.1951.18.  If it isn't then 
replace it with the Axdebug.exe from the SP1 CD.  Remember to take off the 
read-only properties.
    Good luck,
    Rich

  -Original Message-From: Don Price 
  [mailto:[EMAIL PROTECTED]Sent: Wednesday, April 14, 2004 
  4:34 PMTo: [EMAIL PROTECTED]Subject: 
  [development-axapta] Debugger
  
  Hi,
   
    Axapta 3.0 SP1 2-tier - Error 
  connecting to Debugger - Does anybody have any idea what might be wrong?  I set a breakpoint and the debugger 
  comes up, but there is nothing in the source window gives the above error 
  message. You can close the debugger and it just returns to the app.  
   
  Thanks,
  Don







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[development-axapta] Image formats for picture on report

2004-04-15 Thread Thomas Kristiansen




Can anyone tell me which image formats that I can use
when including pictures on a report? I cannot find any
documentation anywhere. I would like to use GIF or
TIFF, but they don't seem to work.

On the report I have placed a bitmap object which
fetches the company logo through the data method (like
on the SalesInvoice). Then I have replaced the company
logo to see which image formats work.

BMP: OK
JPEG: OK
GIF: Error: "ImageGear extension not present or could
not be loaded"
TIFF: Error: "The IG LZW Extension is not loaded and
is required to load this image"

Thanks,
Thomas



  
    
__
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html









Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










Re: [development-axapta]

2004-04-15 Thread ax




Hi,
1.In your new class you have to extend lets say DocuActionComWord and
implement method 'description' in order to give this class unique name.
2.After that, you have to create new recod in basic->setup->document
management->document types and in job description select your new class
name. (new class can be seen only after restarting Ax client).
3, document types options you have to select table you want this document
become active
4. and finally you have to select template file of the document (also in
options).
5, don't forget to check 'check table' in general .This means that your
document is active and uses template file.

this is it, you have new document in document handling.

Kuni
- Original Message - 
From: "Malcolm Burtt" <[EMAIL PROTECTED]>
To: "Axapta E-Group (E-mail)" <[EMAIL PROTECTED]>
Sent: Thursday, April 15, 2004 2:16 PM
Subject: [development-axapta]


> Hi All
>
> I'm having some trouble getting my head around the Document Handling
classes. Can anyone give me a simple code sample for adding a document
(file)  to a specific record (say a CustTable record) through code.
>
> Thanks in advance
>
> Malcolm Burtt
> Global IT Group
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>










Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[development-axapta]

2004-04-15 Thread Malcolm Burtt




Hi All

I'm having some trouble getting my head around the Document Handling classes. Can anyone give me a simple code sample for adding a document (file)  to a specific record (say a CustTable record) through code.

Thanks in advance

Malcolm Burtt
Global IT Group 










Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[development-axapta] Lookup in a dialogfield

2004-04-15 Thread Wolfgang Puttinger




Hi,

I have made my own Lookup-Form for priceDiscGroup.
How can I merge them in a class to a diaogfield??

dialog_pwGroup = dialog.addFieldValue(typeid
(PriceGroupId),pgi,"Gruppe");

Thanks for help
puwo










Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










Re: [development-axapta] Re: Axapta Permissions

2004-04-15 Thread Hans-Walter Bous



Hello Michel,
 
you should taken into consideration that there are two levels of permission
a) level --> menuitem
b) level --> tables
 
In the form where you allocate permissions there are (normally) the nodes according to the main-menu, and there are nodes for 'Miscellaneous' and 'Tables'.
 
So, you have to give permission on tables (e.g. full control on CustTable) AND 
on menuitems (e.g. ReadOnly on CustTable).
 
So maybe it's a good way to work with user-group permissions is
to create user-group(s) for permissions on tables AND user-groups for permissions on level menuitems.
 
Hope this helps
abcdplkm <[EMAIL PROTECTED]> wrote:
Hi Bruce,I'm also dealing with some questions about permissions in axapta. Your post is from january, so your probably already an expert in it:)I want to grant permissions for users on the basis of the "main menu" (user groups -> permissions -> view = main menu). When i grant the permission of "full control" to a menu-item, i would think that the user could see and use that menu-item. That's not the case, because there's a button i have to push that set's permissions to other related menu-items. When that button is clicked, the user can finally see and use the menu-item. But other related menu-items are now also granted "full control". I should think that the user also could see and use these menu-items. But that's again not always the case. Some related menu-items are visible, but can not be used (no permission).
 Is this a nomrmal way of working? How does this work with you? Do you have docuemntation that explains this, because i didn't finf it anywhere?Any help that clearifies permissions is welcome!Thanks!Regards,Michel--- In [EMAIL PROTECTED], "panelite616" <[EMAIL PROTECTED]> wrote:> Does anyone know of any references for applying Axapta Permissions > to user groups? Trying to apply permissions to certain menus,tables > and buttons is very hard to find. While in the permissions menu is > there any search features to fine the path to a certain item. Any > help would be great.> Thanks> Bruce
		Mit schönen Grüßen von Yahoo! Mail.
Mit dem Yahoo! Messenger können Sie Freunde noch schneller erreichen!







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [development-axapta] Can't open Licence file

2004-04-15 Thread Don Price











Hey Erik,

 

 
Are you sure the cclicens.lic is in the
share\include folder?  I got this when
copied our application to different directory manually and I missed this file. 

 

Don

 

 

-Original Message-
From: Erik Hansen
[mailto:[EMAIL PROTECTED]] 
Sent: Thursday, April 15, 2004 5:02 AM
To: [EMAIL PROTECTED]
Subject: [development-axapta] Can't open Licence file

 

Hi,

 

I'm trying to upgrade an axapta 2.5 SP4 to
a 3.0 SP2. 

 

I have moved the data from oracle 8.1 to
oracle 9.2, when I’m trying to start axapta (2.5 SP4) i get the
logon screen, but after the logon screen i get an error "Can't open
licence file.

 

Erik

 

 

 










Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












RE: [development-axapta] Re: Inserting data into a table

2004-04-15 Thread Anil Ozay




Hi,

You can override the "modified" method of Name field on the data 
source of form.

public void modified() {

CustTable Customers;   
;
Super();

SELECT Customers WHERE Customers.Name == CustTable.Name;
 if(Customers)
 {
  if(box::yesno("Do you want to 
continue?",DialogButton::Yes,"Continue?","") == DialogButton::No)
  {
   CustTable_ds.delete();   // delete current record from data source
  }
 }
}

Regards,

Anil Ozay












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[development-axapta] Can't open Licence file

2004-04-15 Thread Erik Hansen



Hi,
 
I'm 
trying to upgrade an axapta 2.5 SP4 to a 3.0 SP2. 
 
I 
have moved the data from oracle 8.1 to oracle 9.2, when I’m trying to start 
axapta (2.5 SP4) i get the logon screen, but after the logon screen i get an 
error "Can't open licence file.
 
Erik
 
 







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.









RE: [development-axapta] Re: Inserting data into a table

2004-04-15 Thread Morten Aasheim




The validataWrite method is a Boolean method. That means you can return
false if you don't want to insert the record.

Mvh,
Morten

-Original Message-
From: k_otickashka [mailto:[EMAIL PROTECTED] 
Sent: 15. april 2004 01:46
To: [EMAIL PROTECTED]
Subject: [development-axapta] Re: Inserting data into a table

I did that and got the part working where the user clicks "yes" but 
for the "no" part i am not sure on which method to call to clear the 
newly appended record.

--- In [EMAIL PROTECTED], "Morten Aasheim" 
<[EMAIL PROTECTED]> wrote:
> Hi, you could try overwrite the validateWrite method on the 
DataSource.
> 
> Morten
> 
> -Original Message-
> From: k_otickashka [mailto:[EMAIL PROTECTED] 
> Sent: 15. april 2004 01:20
> To: [EMAIL PROTECTED]
> Subject: [development-axapta] Inserting data into a table
> 
> I would like enable a user to insert a customer to insert a record 
> with the same customer name. After inserting the record by typing 
> the customer information, I would like a prompt to indicate that 
the 
> user is adding a customer that has the same name as another 
customer 
> in the table. This would be followed by a yes or no box to 
indicate 
> if the user should proceed or not. If the user says no then it 
> should delete the appended record, if yes then it should go ahead 
> and insert into the database. In which method can I make this 
> modification?
> 
> 
> 
> 
>  
> Yahoo! Groups Links




 
Yahoo! Groups Links



 













Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[development-axapta] Re: Axapta Permissions

2004-04-15 Thread abcdplkm




Hi Bruce,

I'm also dealing with some questions about permissions in axapta. 
Your post is from january, so your probably already an expert in it:)

I want to grant permissions for users on the basis of the "main 
menu" (user groups -> permissions -> view = main menu). When i grant 
the permission of "full control" to a menu-item, i would think that 
the user could see and use that menu-item. That's not the case, 
because there's a button i have to push that set's permissions to 
other related menu-items. When that button is clicked, the user can 
finally see and use the menu-item. But other related menu-items are 
now also granted "full control". I should think that the user also 
could see and use these menu-items. But that's again not always the 
case. Some related menu-items are visible, but can not be used (no 
permission). 

Is this a nomrmal way of working? How does this work with you? Do 
you have docuemntation that explains this, because i didn't finf it 
anywhere?

Any help that clearifies permissions is welcome!

Thanks!


Regards,
Michel

--- In [EMAIL PROTECTED], "panelite616" 
<[EMAIL PROTECTED]> wrote:
> Does anyone know of any references for applying Axapta Permissions 
> to user groups? Trying to apply permissions to certain 
menus,tables 
> and buttons is very hard to find. While in the permissions menu is 
> there any search features to fine the path to a certain item. Any 
> help would be great.
> Thanks
> Bruce










Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.