Title: Meddelelse
Hi Mikael,
 
try looking for FileSystemObject and GetSpecialFolder in your VB / VBA online help.
 
The following function would display the user's temp path in a MessageBox
 
Sub test()
 
    Dim oFileSystemObject As Object
   
    Set oFileSystemObject = CreateObject("Scripting.FileSystemObject")
    MsgBox oFileSystemObject.GetSpecialFolder(2)
 
End Sub
Hope this helps.
 
Have a nice weekend, 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

-----Urspr�ngliche Nachricht-----
Von: Mikael Dalg�rd [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 2. April 2004 10:11
An: [EMAIL PROTECTED]
Betreff: [development-axapta] Windows Temp Path in Visual Basic

Hi there
 
Can anybody tell me how to get the Windows temp path in a Visual Basic Code.
 
I need this for a Excel report generator witch does handle input from Axapta 3.0.
 
br. Mikael
 


Yahoo! Groups Links

Reply via email to