07-07-2015 02:53 AM
eg:\\bissstorage\Backups\sudhir
i want to write inside ths folder...how to get path
i tried this one
iFile = OpenFile ("\\bissstorage\\Backups\\sudhir\\TransducersDetails\\TransducersDetails.txt" , VAL_READ_WRITE, VAL_APPEND, VAL_ASCII);
but its not working im using cvi 5.5
thank you
Sudhir
07-07-2015 04:32 AM - edited 07-07-2015 04:33 AM
In a network pathname, some backslashes are doubled due to UNC naming rules: you must reflect this in your string, considering that each backslash character must be doubled to be used as is and not as an escape marking; that is, this string should work:
iFile = OpenFile ("\\\\bissstorage\\Backups\\sudhir\\TransducersDetai
The same applies in case you want to build up the path with MakePathname: in this case you should do the following:
char file[512];
MakePathname ("\\\\bissstorage", "Backups", file);
MakePathname (file, "sudhir", file);
MakePathname (file, "TransducersDetai
MakePathname (file, "TransducersDetails.txt" , file);
iFile = OpenFile (file , VAL_READ_WRITE, VAL_APPEND, VAL_ASCII);
07-07-2015 04:47 AM
thank you sir its working now...
one question sir evry time i post you will give ans...how you got this much knowledge...??
07-07-2015 07:23 AM
It's just that I've been working with CVI for many years... and you ask questions I can answer!
07-07-2015 09:19 PM
how can i improve my knowldge.. i have 2 year exp in dsp and cvi...what and all i shuold study ..
07-08-2015 01:26 AM - edited 07-08-2015 01:26 AM
I don't know how to answer, I'm a self-taught programmer, no books or courses.
Instead, I analized every single piece of code I could put my hands on, from shipped examples to user contributions on this and other forum, MSDN documentation, manuals...; I studied CVI documentation, the Programmer Reference for first down to single instructions help.
Most of all, I consider myself still learning: I know I could find unknown aspects of C and CVI, and indeed I'm still finding programming gems in forum posts!
07-10-2015 02:29 AM
hi iam using cvi 5.5 version from fast 5 yrs we using cvi 5.5...how to change my appliction icon..i want to add picture