Vbscript open file with default application


















Jun 11th, , PM 3. It's an asp page in a network program. Jun 11th, , PM 4. Nope, but your original post says you're opening it in VB. Jun 11th, , PM 5. Incidentally, if you're doing this with VB, your best bet would be to use the CommonDialog control to open the file.

Jun 12th, , AM 6. Jun 12th, , AM 7. Jun 12th, , AM 8. Should be: Code:. Jun 12th, , AM 9. Jun 12th, , AM Try putting a MsgBox txtBrowse. MsgBox txtBrowse. Value, 0, 0, 3. Your original post says.

Opening "calc. The Overflow Blog. Podcast Making Agile work for data science. Stack Gives Back Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually.

Related 2. Hot Network Questions. Question feed. The beginning. To support office you could put in win. Asociations are per user and per machine with per user settings overriding machine settings. That is it was started as a DDE server then had fileopen commands sent to it with the name of the file to be opened New Ways of Opening Files.

Files are now opened using COM. The program registers IDropTarget under above keys. Context menu handlers can override the above. They are also registered above.

The best way is to shellexec the file. It will just open like it was double clicked. David Candy David Candy 5 5 silver badges 8 8 bronze badges. Sign up or log in Sign up using Google. Sign up using Facebook.

Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. You can use this CreateObject "WScript. Yusuf M Yusuf M 19 5 5 bronze badges. Both upvoter should be ashamed. Sarfraz Sarfraz k 70 70 gold badges silver badges bronze badges. It not good I need the action as double click on the file. Sign up or log in Sign up using Google.

Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Making Agile work for data science.



0コメント

  • 1000 / 1000