Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Visual Foxpro question

- - - - -

  • Please log in to reply
1 reply to this topic




  • Member
  • 46 posts
  • OS:XP Pro x86
  • Country: Country Flag

Hi, I dug out an old VFP program, re-installed VFP v9 on an XP computer to make some modifications on the program. But I soon got stuck on a banal problem:


I create a variable like X = "\e:\My Documents\Visual Foxpro Projects\MyProject"


and try to use it like




But that is impossible, I get invalid path error.


The same code has worked before, why not now? I haven't tried to boot up my Win7 drive to test it there,  yet but since I will keep using XP as long as possible, I hope there may be a solution.

How to remove advertisement from MSFN



    The Finder

  • Developer
  • 14,212 posts
  • OS:none specified
  • Country: Country Flag

Cannot say specifically in Visual Fox Pro, but a path has NOT a leading backslash, it begins with either the drive letter (followed by a colon) or the "special" "." or ".." directories for relative paths.



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

How to remove advertisement from MSFN