I know this has probably been replied to many times. This works hFile = OPEN "wxaprs.ini" FOR INPUT
This works hFile = OPEN "./wxaprs.ini" FOR INPUT This fails with access forbidden DIM hFile1 AS File hFile1 = OPEN "./wxaprs.ini" FOR OUTPUT CREATE This fails with access forbidden DIM hFile1 AS File hFile1 = OPEN "wxaprs.ini" FOR OUTPUT CREATE This works DIM hFile1 AS File hFile1 = OPEN "/home/jeffjohnson/aprs/wxaprs.ini" FOR OUTPUT CREATE I need to either determine the full working path so I can make it hFile1 = OPEN $Path & "wxaprs.ini" FOR OUTPUT CREATE or the correct way to create a file Any ideas of where I fell off the trolley? ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
