I wonder if you can open a file .exe inside the Form. And this .exe file does not exit the Form. E.g. create a process that clicking on the button will open the Windows calculator, but the calculator will is stuck in the Form.
I have an executable that I was able to get working on all XP machines by registering all the .dll's associated with it.On Vista, however, I go through the exact same registration process but right when I open the executable it goes to a "WindowsApplication1 has stopped working" dialog. I registered the DLLs in the SysWOW64 folder. I also ran Dependency Walker which came up with IEFrame.dll as flagged, don't know if that is relevant though.
I have a program that outputs a file. I want the user to be able to just double-click the output file and launch the program, just like Word and Excel. In Word for instance, one doesn't necessarily have to open WORD then click on File--> Open and locate another Word doc. He can just go to the folder and open the Word doc. I want to implement the exact scenario in my program.
So far I have tried creating TextFile and added it to the Resources. On FormLoading, I simply I stream-read the Resouce file, but I can't write to the Resource on FormClosing, since the Resource is ReadOnly. Also, the Resource is built & compiled so I suppose you can't add anything to it at run time.How you lunch an output file without launching the Executable program that created it?
[code]When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.
I want to open a text file to a richtextbox inside a form named frmMain. I have a form named frmStartpage and it contains a button named open. When I click the button open, an open dialog must show and select a text file then open it on the frmMain..
i want to open a pdf file from a form. i am using VB6. can anyone help me. i could open the file using acrodrd32.exe and file. but i want make package and send to my customers also.
I have a large Form1.vb (design). I had to do that so I can see the pictures and buttons scattered all over.The running code does not need a large sapce.I created location for all of the parts to fit inside 800x500.My design time form is almost 1100x800.How to create the executable to be a specific size?
Easy simplification of companion programs I.E. chat programs, clipboard, etc. Also, you could have a transparent, noborder, location locked notification program on top of a fullscreen application. (: Get notices about email while playing MW2 or whatever.Is it possible to program something in VB to "implant" a windows form into an existing application? So say whenever I open my office program a windows form I made comes up in addition to the office program (without changing how the other app functions) and possibly independent of the office program (when one is closed the other remains).I have a project with a windows form, it's just a form with 2 text boxes, a label, a progress bar, a button, and a timer, we'll call this program A.Program B is a basic word processor program (word pad, works writer, etc). Program C is the implanting program.Programs A and C are visual basic applications. Program B is any given windows program.
When program C runs it takes a copy of program A and finds program B. It implants program A into program B and then quits. Then when program B launches, there is no difference in program B's functionality, but an extra windows form (program A) launches simultaneously to program B. When looking at the task manager the user sees one process, program B's process. Finally, if the user re-runs program C it finds program B again and removes program A. My actual question is can you give me some code examples or theory help for program C, the implant/remove program.
My challenge is to prepare for a presentation using a GUI interface to access a program written in Fortran.The Fortran program reads a data file and then writes an output file.For the presentation I need to be able to change a variable value in a VB form, update the data file, and run the Fortran program from the VB form.I also need to be able to create graphs using VB forms using the output file generated by the Fortran program.
I'm trying to make a login form thats opened by a button. I know how to make the button open a new form but I want the form to have a admin login,guest login and a new user button that only a logged in admin can open, it should also have a 'only admins can create new users' type messagebox. If your still understanding me I also want it to stay in the file, like you press the login button and it brings you up to the page. I don't know if it could have account control like user from limited to admin.
I made a buttom that saves info from RichTextBox to selected location now My problem is I want this file to be loaded when program loads so basicly folder will look like this
myprogram.exe CustomNamesFolder > Inside that folder there will be a file called names.txt how can I doit so that name.txt file loads in my ComboBox? so when user downloads the exe they can just go in to folder edit the .txt file and add names they want and when they start program it will load this list in to the ComboBox of my program
How can I achive this ? I looked at 6 pages of Loading Files in program but non told me what I wanted to know above ;s
I develop my application with VBNET2008 express and SQL server express 2005 but a little problem appears,my executable file is always READONLY.However,I make modifications in my code file,it stills unchangeable in the Executable File How can i do for this?
I'm trying to make a program that has command buttons, each running a different file. I have added some files so far, but I encountered a problem with a couple of them.
For example, I want to run Zuma's Revenge! right from the program, but it is not working. If I run the game from outside the program, it runs perfectly, but when I try running it from the program, it keeps saying "Zumas Revenge! - Adventure has stopped working."
What really confused me, is that the game is running normally if I run it from its folder or by using the shortcut, while from the program it isn't.I'm using Windows 7, with Visual Basic 2010 Express.
'Here's the code I'm using:
Private Sub Zumas_Revenge_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Zumas_Revenge.Click Process.Start(My.Application.Info.DirectoryPath & "umas Revenge! - AdventureumasRevengeAdventure.exe") End Sub
How do i download a executable file like andrews done here with the image:[url] and would like to do get the response data and save that into a file instead of directly downloading it.Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth. - "Sherlock holmes" "speak softly and carry a big stick" - theodore roosevelt.
I am trying to start an executable file, example.exe. When I run this code I get the fallowing error.
Dim start As String Dim location As String = TextBox1.Text start= Shell(location & "example.exe", vbNormalFocus) AppActivate(start) Error:AppActivate(Result) --> Process '5476' was not found.
Every time I start the program I get a new Process error, like 5572 or 5252. What is the reason for this error? Also how can I error trap this so I can find out what the error really is.
Part of the app I am writing allows users to create an encrypted, password-protected output file that they can email safely to a central store. I can't have the users choose their own password for the encryption as the central store needs to access the contents of all the output files emailed to it. So there is one password that gets set within my vb app.I am worried that security will be compromised if the vb executable is somehow deconstructed? Is it possible to read the contents of an exe file (and thus find out the password)?
I am looking for a way to execute a file (executable) using GetManifestResourceStream. Either that or load it into a Stream or Byte. edit: I've noticed that sometimes you need certain names for this to work, so here is what I currently have: