Open A File With Specific Program?
Jun 9, 2010
I have an embedded EXE file, that my program extracts. I want to open a specific file with this program. How do I do this?
BTW: If you want to extract an embedded resource in one line, here it is: My.Computer.FileSystem.WriteAllBytes(PathToExtract,ResourceFile, PutFalseIfYouWantToOverwrite)
View 16 Replies
ADVERTISEMENT
Oct 8, 2009
im having trouble opening adobe from my coding, also is my file ok or do i need to call from its folder location within the program.i need to be able to open a specific .pdf file from a whole range of file located in the program.what im getting the user to do is press 1 of about 14 buttons to select a brand. then in textbox1,enter the first part of the file name so in this case a274 (adobe runs in .pdf format so the file would be a274.pdf).at the moment i get a win32 error high lighting startinfo as the problem so im thinking its the adobe.exe is the problem. [code]
View 9 Replies
Feb 22, 2011
I am developing an application with a number of windows forms. The first form I designed is the one that opens when I run the program. This was fine all during the development and testing.
Now I want to add a Login form but can't figure out how to get it to be the opening form when a user starts the program.
View 3 Replies
Dec 7, 2011
I am wondering how to open a specific program with the textbox contents. Here is my situation: I want the text in the textbox to be saved to a html file and then open that html file in a specific browser.
View 5 Replies
Jan 14, 2009
i'm trying to make a program that searches for a specific file in a specific file, so when the program loads it "writes" in checked list box the names of the drives installed to the computer, but what i want to do is: when the user checks the box, i want it to search for the file in that drive, but i don't know how to do it...
I'm using:
Imports System.IO
Imports System.Collections.ObjectModel
Public Class Form1
[Code].....
how to make it search in the other drives using the checked listbox?
View 8 Replies
Apr 16, 2011
I'm making a program to open specific web pages with button clicks. I have a form with the buttons and 'WebBrowser1'. Everything works ok, except that when clicking on certain links within a website, it opens a full-screen window of Internet Explorer.How can I prevent it from opening a new window. It should just navigate to the link within the WebBrowser1 window.
View 6 Replies
Jun 13, 2011
At the moment I am using this:
Dim Open As New OpenFileDialog
Open.ShowDialog()
TextBox2.Text = Open.FileName
But that only allows me to open specific files. Can I make it so I can open a folder?
View 7 Replies
Sep 30, 2010
What I need is to have a specific file on my desktop open when I click a cell in my datagrid. In one of the columns in my datagrid I have a list of file pathways. I have a code that will open my file, but it is not specific:
Partial Class Database1DataSet
Partial Class EMR_master_listDataTable
Private Sub EMR_master_listDataTable_ColumnChanging(ByVal sender As System.Object,
[Code].....
This works just fine, but would I would like it to do is have the file path be whatever is specified in the cell.
View 3 Replies
Feb 9, 2010
I have my program set up with four buttons, each of which I would like to open a specific mp3 file in Windows Media Player when I click on it. I have WMP in the program already, but I can't figure out how to set the buttons to call up the specific files, and autoplay them
View 11 Replies
Apr 8, 2009
I use DocTools to Create a Compiled HTML Help File. I want to link to a specific topic in the help file from my program, but the filenames of the html files are generated randomly.
Is there any way to open a CHM to a specific topic by name?
I created a wrapper for DocTools, so I could have the command line piped to a text box and then I could obtain the Topics from there and save them in an INI file that I read when I call the help, but I don't know how to pipe the command line to a textbox.
View 2 Replies
Dec 6, 2010
I am loading a KJV.rtf file at program startup into RichTextBoxDisplay. When I want to select, lets say, Matthew Chapter 1, I want the program to take me to Matthew Chapter 1. I know I could just load a seperate file into the rtbDisplay, but do you know how many chapters and books are in the Bible..
View 2 Replies
May 21, 2009
I want to create a program in vb .net that let me know who is using a specific file? Because I often update an .exe file but if it's in use I can't overwrite it. So if I know who is using the .exe I can call him to tell him o close the app.
View 1 Replies
Jun 22, 2010
Whenever I use this code, I get a File Not Found exception, even though the file paths are all correct. [code]...
View 3 Replies
Apr 26, 2009
i made a program that manage file (picture text etc.), and i want when i right click the file and select open with->myprogram, it do the function that add the file to my program! (similarly WinRAR)
View 2 Replies
Sep 11, 2009
How can I open up a file with my program? Like the notepad does {right click, open with, notepad}Or swf file opener {right click, open with, swf player}etc...
View 9 Replies
Jun 4, 2010
I am trying to write a section of Access VB code that opens the Windows dialog box and allows my user to select and open a file to verify it is the correct one. (Then I use the file path and name to copy, rename and move the file). I have been trying to use the OpenFileName structure and have succeeded in capturing the file path and name my user selected... My main problem in all of this is getting the file to actually open so the user can verify it before I commit the actions noted. This probably can be done as a part of the OpenFileName dialog if I understood it better, but but isn't there also a trivial way to open a file if you have the path and name?
View 2 Replies
Jun 3, 2009
I need to make my program open a file, write a length of 142 bytes over an existing 142 bytes and save. Please help. I have gotten no where with it so far...
View 3 Replies
Aug 2, 2009
How can i open a file (like .mp3 , .avi) or a folder (like C:program files ) using my program? I use visual basic
View 8 Replies
Apr 30, 2011
I have a multithread program and in a thread i read a stram from ftp server and write them to a file and close it and in another thread open saved file and read it for process.but sometime when i want to open saved file i receive a error that say : cannot open file , because another user open it .i create 2 filter that surly file saved and closed , but i don't success.
View 5 Replies
Jan 29, 2010
I know shell command but i want to know another solution.
View 2 Replies
Mar 19, 2009
How can i open chm file in VB.net 2005 ?
View 1 Replies
Apr 24, 2007
I have an excel file,having lot or micros, connecting to database, doing some complex calculation..inshot that excel file is itself an application.
Now I want to open that excel in VB.net form, on button click. I prefer to open that excel in vb.net form itself having all the excel tool bar etc, If that is not possible then opening in separate window using excel will also solve my purpose (coz when we open in excel it self we will get all the toolbar option etc automatically)
View 6 Replies
Oct 7, 2009
I want to find the full path of the program that will open a given file type. e.g. '.txt' is opened by c:windowssystem32 otepad.exe
I've done a bit of searching but i keep just finding how to create an association, not read one. I've also tried looking in the registery, but it looks like all that's there is a link to the program ID or something.
View 4 Replies
Sep 18, 2009
I'm using the windows media player (wmp.dll) in vb.net 2008 and would like to know if it's possible to play a specific portion of the video. For example, I would like to start to play the video X minutes from the start and for Y amount of time.
View 1 Replies
Mar 25, 2011
I am having Beta Testers go through my program. For some reason, the help file doesn't open but crashes the program. But it is in the program folder... I'm not sure why it is having a problem finding it.I created a try catch format because it seemed to have a problem at one point between looking in the 32 bit program folder or the 64 bit even though the program itself is in 64 bit...[code].....
View 4 Replies
Mar 17, 2009
I have a program that runs some data manipulation on a file when it is double-clicked and then displays this to the user.However, when I double click on the same file type of a different file it opens in a separate instance of my program instead of the same instance already running, i.e. some message that says would you like to reload file, YesNo, and then given the answer perform the action required.I have found some code to stop a second instance from opening, but this is inconvienient for the user to close out of the program everytime they want to view a new file.[code]
View 6 Replies
Jul 27, 2011
I got this chunk of code off the internet, i think the sample program was called "store images and files on sql server" i added the delete routine, so it is a little better than when i found it, but it opens pictures in big picturebox at the very last line, i was wondering if there's a way to call windows photo editor or something newer instead of the form it's calling
View 6 Replies
Jan 30, 2011
How do I open this .REG file in Visual Basic 2010?
I'm trying to make a program that will launch this registry file that I've put already in the Resources folder of the program.
BTW if you're curious it's not a harmful program I'm making.
So all I've done so far is put the file in the resources folder of the program, but I don't know how to actually launch it.
View 10 Replies
Nov 6, 2009
Open a pdf file with user password in vb 2008
View 6 Replies
Apr 25, 2011
I have a need to do some extensive editing on some SGML files. SGML is, of course, just tagged ASCII files. But, I need to convert that SGML to nice, neat MS Word files, with paragraph styles. I need to do extensive searching and replacing. VBA does not have the necesary regular expression support, so, I need to use VB.Net. But, I'm at a loss to do the most basic thing. I just need to know how I can open a Word file in VB.Net.
View 5 Replies