How to get the 'Common Files' Folder?

Got a problem you cannot solve? Try here.
MikeFieger
Posts: 52
Joined: Thu Jan 26, 2006 9:09 am

How to get the 'Common Files' Folder?

Postby MikeFieger » Thu Mar 09, 2006 11:10 am

Hi!

It´s me again....

I also need to copy files to the 'Common Files' folder but I just can´t get the 'Common Files' folder....

The Help file says it would be stored in the variable COMMONFILES but it isn´t.
If I try to use the command 'Get Folder Location' I can´t find an appropriate enty in the combobox to choose from.

I hope you can help me out again :?

Mike

jimo
Posts: 342
Joined: Fri Aug 19, 2005 10:59 am
Location: Atlanta, GA
Contact:

Postby jimo » Thu Mar 09, 2006 12:02 pm

In my environment the $COMMONFILES$ variable returns the correct value everytime.
Try Creating a messagebox with $COMMONFILES$ for the text and see what comes up when you run the app, or the tool I prefer is the "Runtime Debug" plugin from mdTools. Which you can download from
http://www.casic.de/.

MikeFieger
Posts: 52
Joined: Thu Jan 26, 2006 9:09 am

Postby MikeFieger » Fri Mar 10, 2006 4:30 am

I already found the 'bug'...

Usually the variable is initialized like this:
Get Common Folder Location System->Program Files Directory into COMMONFILES

This line was missing :oops:


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 179 guests