04-03-2012 01:06 PM
Hi Alll,
I have a case in which I am running a WMP in a Browser using ActiveX container , the problem I am facing is on every run its asking me to replace the existing html file in the folder , Is there a way to get rid of that, I dnt want to click replace every time. Is there a easy way of doing this.
Please let me know.
Ankit
Solved! Go to Solution.
04-04-2012 05:15 PM
Hi AnkitG,
What is the VI inside your sequence structure? Could you post a code snippet instead of a .jpg?
Thanks,
04-05-2012 07:16 AM
Hi,
Here is the vi in sequence structure.
@_Perky wrote:
Hi AnkitG,
What is the VI inside your sequence structure? Could you post a code snippet instead of a .jpg?
Thanks,
04-05-2012 08:18 AM
The dialog is being caused by the Write Characters to File VI that you are using. If the file already exists, it will ask you if you want to replace it. Instead of using those VIs, just use the Read From Text File and Write to Text File functions that are in the File I/O palette.
Your code has another issue: your use of the Current VI Path constant. See Why Does My Executable Not Work When Using the Current VI's Path Constant?
04-05-2012 12:52 PM
Thanks, It was very helpfull
@smercurio_fc wrote:
The dialog is being caused by the Write Characters to File VI that you are using. If the file already exists, it will ask you if you want to replace it. Instead of using those VIs, just use the Read From Text File and Write to Text File functions that are in the File I/O palette.
Your code has another issue: your use of the Current VI Path constant. See Why Does My Executable Not Work When Using the Current VI's Path Constant?
@smercurio_fc wrote:The dialog is being caused by the Write Characters to File VI that you are using. If the file already exists, it will ask you if you want to replace it. Instead of using those VIs, just use the Read From Text File and Write to Text File functions that are in the File I/O palette.
Your code has another issue: your use of the Current VI Path constant. See Why Does My Executable Not Work When Using the Current VI's Path Constant?