LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Windows media player in browser asking to replace html file every time

Solved!
Go to solution

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

0 Kudos
Message 1 of 5
(2,738 Views)

Hi AnkitG,

 

What is the VI inside your sequence structure? Could you post a code snippet instead of a .jpg?

 

Thanks,

KyleP
Applications Engineer
National Instruments
0 Kudos
Message 2 of 5
(2,716 Views)

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,


 

0 Kudos
Message 3 of 5
(2,709 Views)

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?

 

Message 4 of 5
(2,705 Views)
Solution
Accepted by topic author AnkitG
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?

 


 

0 Kudos
Message 5 of 5
(2,702 Views)