Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reference table syntax from a .h file
Message
From
08/07/2010 17:07:45
 
 
To
08/07/2010 16:55:54
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Windows XP SP2
Network:
Novell 6.x
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01471923
Message ID:
01471925
Views:
39
Use an enum

But you shouldn't hardcode a path.

>I want to put define table references in a .h file and be able to reference them in my program, but it does not seem to work.
>
>example
>
>#DEFINE _TABLENAME_S \\SERVERNAME\VOLUME\FOLDER\maintable.dbf alias maintable shared
>
>when I try to
>use _TABLENAME_S in the program it will not recognize the variable _TABLENAME_S
>
>the program does have the #include hfilename.h in it.
>
>any ideas?
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform