Annette,

Maybe there is a problem with the RunAt = "called from"

The two tier would definitely call that on the client, the three tier probably calls it on the server. Have you tried wrapping this winAPI::execute() in another class in a static method, then you could explicitly set the RunAt property of that class to the "Client".

Michael Mayle
Disk Makers
Pennsauken, NJ

-----Original Message-----
From: Theissen, Annette [mailto:[EMAIL PROTECTED]
Sent: Friday, October 24, 2003 7:45 AM
To: [EMAIL PROTECTED]
Subject: AW: [development-axapta] Axapta startup and WinAPI and 3tier


Hi Pascal,


thanks for the suggestion. I already tried that, but it doesn't work :(

Annette

-----Ursprüngliche Nachricht-----
Von: Pascal Dutour Geerling
[mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 24. Oktober 2003 13:41
An: [EMAIL PROTECTED]
Betreff: Re: [development-axapta] Axapta startup and WinAPI and 3tier



Hi Annette,

Try to use the Application::StartUpPost...then it should also work for
3-tier.


Best Regards,


Pascal
_______________________

Connor Software
Populierenweg 39a
3421 TX Oudewater
The Netherlands

T :+31 (0)348 - 566550
F: +31 (0)348 - 556559
@: [EMAIL PROTECTED]


|---------+---------------------------> | | "Theissen, | | | Annette" | | | <[EMAIL PROTECTED]> | | | | | | 24-10-2003 13:33| | | Please respond | | | to | | | development-axap| | | ta | | | | |---------+--------------------------->

---------------------------------------------------------------------------
-----------------------------------------------------------|
 |
|
 |        To:      [EMAIL PROTECTED]
|
 |        cc:
|
 |        Subject: [development-axapta] Axapta startup and WinAPI and 3tier
|

---------------------------------------------------------------------------
-----------------------------------------------------------|



Hi everybody,

I am trying to startup a file automatically after the user logged in, using
a call to the WinAPI. I inserted my function call at the very end of
Application::startup().

During startup, the code works fine on 2tier clients, but not on 3tier
clients.
After the startup, when calling the code explicitly, it works fine both on
2tier and 3tier clients.

So it seems to me, that on 3tier clients, Application::startup() is too
soon
to call a winApi function ...

Does anybody have a idea, how I can show the file (different code,
different
time during startup to execute code)?

TIA, Annette


Mit freundlichen Grüßen / Best regards Dipl. Phys. Annette Theißen System Software Entwicklung ______________________________________________ Viscom AG - Carl-Buderus-Str. 9-15 - D-30455 Hannover Phone: +49/511/94996-0 - Fax: +49/511/94996-900 mailto:[EMAIL PROTECTED] - http://www.viscom.de






Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/












Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



Yahoo! Groups Sponsor ADVERTISEMENT
click here


Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

Reply via email to