Home » Developer & Programmer » Forms » remove hardcode
remove hardcode [message #183698] Sat, 22 July 2006 04:32 Go to next message
ranikaran
Messages: 6
Registered: June 2006
Location: hyderabad
Junior Member
hi



IN my application total is
hardcoded.that is in each module i wrote like d:\bttb\lonin.fmb.(according to the requirement i gave the different file names but the d:\bttb is same )In bttb folder i have all my
.fmb,.fmx,.mmb and .rdf file in folder REPORTS which is there in BTTB
folder.


i will give the bttb folder to client.but he may put it on any drive.so when ever he will try to run the application it will check the modules in d drve only. so it will give error
plese help me how to remove hardcoding.
pls help me
bye
Re: remove hardcode [message #183700 is a reply to message #183698] Sat, 22 July 2006 04:51 Go to previous message
saadatahmad
Messages: 452
Registered: March 2005
Location: Germany/Paderborn
Senior Member

If you put your forms in forms60_path, you don't need to hardcode in forms.
Instead of d:\bttb\lonin.fmb, you can just write lonin if your source is in forms60_path.
You need to change this path in registry.
Search this forum for forms60_path and you can find many threads.

regards,
Saadat Ahmad
Previous Topic: if record cancel mark strikethrough
Next Topic: Invoke TKPROF from the client machine
Goto Forum:
  


Current Time: Fri Sep 20 08:15:22 CDT 2024