AnsweredAssumed Answered

vrf File Open?

Question asked by VRFuser on Oct 30, 2003
Latest reply on Oct 30, 2003 by VRFuser
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"><META content="MSHTML 6.00.2800.1170" name=GENERATOR></HEAD><BODY style="BACKGROUND-POSITION: left top; FONT-WEIGHT: normal; FONT-SIZE: 10pt; BACKGROUND-IMAGE: url(http://skins.hotbar.com/skins/mailskins ... g148_1.jpg); MARGIN: 0px; COLOR: #000000; BACKGROUND-REPEAT: no-repeat; FONT-STYLE: normal; FONT-FAMILY: Arial; BACKGROUND-COLOR: #f7fbff" bgColor=#f7fbff stationery_tag_mark hbtype="st" hmark="hotbar_element"><DIV><!--mail_content--><SPAN id=hotbar_element_used stationery_tag_mark><SPAN class=854541717-31102003>We currently are using VEE 5.01 with Windows 2000. To check if a data file is open we use a "To File" object then take a look at the error output. We recently upgraded the PC and changed to Windows 2000 from NT. This "To File" with the error check worked with NT, but now what it does is create the file after the "To File" object has executed, if the file has not already created. Downstream of this check of the file being open we use a "From File" to see if the file already exists. If it does we write our data, if it does not we write headers for each column, then the data. If the data file is a new data file it gets created when "To File" is checked to see if it open, downstream it checks to see if the file has been created, which it has, but there is no header.</SPAN></SPAN></DIV><DIV><SPAN stationery_tag_mark><SPAN class=854541717-31102003>Is there another way to check if a file is open?</SPAN></SPAN></DIV><DIV><SPAN stationery_tag_mark><SPAN class=854541717-31102003></SPAN></SPAN> </DIV><DIV><SPAN stationery_tag_mark><SPAN class=854541717-31102003>Thank you.</SPAN></SPAN></DIV><DIV><SPAN stationery_tag_mark><SPAN class=854541717-31102003></SPAN></SPAN> </DIV><DIV><SPAN stationery_tag_mark><SPAN class=854541717-31102003>John Wing</SPAN></SPAN></DIV>---<BR>You are currently subscribed to vrf as: rsb@soco.agilent.com<BR>To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".<BR>To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".<BR>To send messages to this mailing list,  email "vrf@it.lists.it.agilent.com".  <BR>If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".</BODY></HTML>  

Outcomes