VS 2008 Control External Program
Aug 4, 2011
i have an external program, i got his and w.e else is needed.... i want to know how do i tick a checkbox from my vb.net program. to this external software. to tick this checkbox and then the checkbox will do what it supposed to do, and not just change the gui to ticked without doing a thing,
View 2 Replies
ADVERTISEMENT
Jan 9, 2010
I need to manipulate an external edit control from with in my program. (IE: Get new text whenver it's being enter into edit control and parse the infomation in my program).So, is it possible to create an edit control in my program that base on the handle of an existing application using win32 api or something
View 4 Replies
Jun 29, 2009
I am using VB 2005. I am trying to open an external program, make it invisible, and then control it. It is fine if the external program shows up in the Windows Task Manager, but I don't want anything showing up in the Windows taskbar. I already know how to open the program I want to use. For that I am using:
Code:
System.Diagnostics.Process.Start("C:Program FilesSomeProgram.exe")
[code]....
View 12 Replies
Apr 21, 2009
I am using this code to open an Outlook 2007 application.
Dim psInfo As New System.Diagnostics.ProcessStartInfo("C:ProgramDataMicrosoftWindowsStart MenuProgramsMicrosoft OfficeMicrosoft Office Outlook 2007.lnk")
psInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Minimized
[code].....
View 6 Replies
Mar 5, 2010
I've been doing bits of research, and im yet to find a direct way to be able to get the processID of a window like "notepad.exe",
View 5 Replies
Jun 6, 2009
I am making a Windows Service and i need to play either a WAV or MP3 from within the service (no using external program like WMP) May I ask which is the easiest way to go about this with built in stuff on VS 08. I don't mind which I use whether its WAV or MP� but I only need to use one of them.
View 3 Replies
Jul 7, 2011
Is it possible to run a external program/process example notepad in thread of you vb application?
View 2 Replies
May 3, 2009
So I have my form, I add one combobox (combobox1) and a button that says "Launch..."Button 1's
Process.Start(ComboBox1.SelectedItem)
When you select a program from the combobox (combobox1) and click launch, it launches that program, for example, cmd.exe (command prompt) when I click the button, it launches the command prompt, but if I select a game (for example chess.exe, for vista), it says it can't find the file, this is because the search for the file is only: WindowsSystem32, how can I change that? OR, how can I add a reference that searches the WHOLE Disk, not just WindowsSystem32?
View 6 Replies
Feb 27, 2010
im having trouble getting my program to call an external application. the only thing is that im trying to get the path from a setting
my.settings.e1p
so far i've tried this
System.Diagnostics.Process.Start(My.Settings.e1p)
View 5 Replies
Dec 25, 2010
I start an external Program using System.Diagnostics.Process.Start I want monitoring when a user has started a new file, saves or opens another file and get the info of the file in current process
View 1 Replies
Feb 3, 2011
i can't find to another application controls handle and name. i searched to samples but i can't understand. How i write to API's for this.
i'm working to API declare and the some API functions. And i've got a right Main hWnd. But i can't get controls hWnd (button, textbox etc..).. ?
Example : FindWindowEx, AccessibleObjectFromPoint, AccessibleObjectFromEvent, AccessibleObjectFromWindow..
View 1 Replies
May 2, 2012
I have some issue can't control combobox on external application since used .Net Application
View 4 Replies
Jun 8, 2009
So, I'm using shell to start up an external application at the press of a button, but the application requires several other external files with it in order for it to work. How could I make it work? Note: I'm a newbie
View 7 Replies
Apr 4, 2012
i am trying to get some text form an external program. Currently i am using this code:
Dim lngHWND As Long
Dim lngHWNDF As Long
Dim lngID As Long
[Code]....
I am getting values for both the lngHWND, lngHWNDF and the lngChild. However, they are only values (numbers) and not the text itself.
Here is an image of the program i am trying to get the text from:
How can i go about getting the text from those items it finds?
View 1 Replies
May 31, 2010
i wanna know how to launch an external program as administrator Like tick a tick box and it launchs the program as admin if you tick it and push the button.
View 5 Replies
Oct 11, 2009
What I'm wanting to do is gonna sound pretty strange. I play a game called Wonderland Online. Usually while playing, I will have between 3-4 instances of the game going at the same time, each instance running a different character. Also, I will have open another program that I wrote that helps me figure out what I need to manufacture a certain item in the game. The running game is an 800x600 window, and I have all 5 of these windows open at once, where I am constantly moving things around, minimizing and maximizing.I want to create a app that would basically be a frame for the game. Creating the frame would not be hard, but this is the first time I have tried to get an external EXE to basically run inside of my program. Is this even possible? And if so, I would imagine I could run multiple EXEs and flip between them inside my frame. I could integrate my manufacturing program into the frame, as well as control which instance of the game is visible inside the frame.
View 1 Replies
Jan 26, 2010
Some time ago I saw a code to host an exe from within a visual basic form, acting as its parent. How would I go about doing this in vb.net? I havent programmed in ages, but recently have gotten an interest again in order to complement
View 3 Replies
Dec 25, 2010
I start an external Program using System.Diagnostics.Process.Start I want monitoring when a user has started a new file, saves or opens another file and get the info of the file in current process
View 2 Replies
Jan 30, 2010
I have a MS Access database set up, with a Period field that has either values 1, 2, 3, 4 or 5. I retrieve these values using a database connection and I would like to reference a particular control based on what period was grabbed from the database.
Here's example code, pseudo of course.
TextBox(dr(3)).Text = dr(0)
dr(3) contains the period, and dr(0) contains the content I would like to put into the text box. I have these text boxes on my form: TextBox1, TextBox2, TextBox3, TextBox4 and TextBox5.
So if dr(3) contained 2 then I would want to reference TextBox2.
View 1 Replies
Apr 14, 2012
I have a windows form that have 5 webbrowser control. I also have serveral links of URLs and each webbrowser will open them. My problem is that after all links already opened, when I close my windows forms, sometimes my application suddenly open my default browser automatically and open url that on my URL list. I already tried to make all webbrowser to navigate to "about:blank"to make sure there are not loading any webpage before I close my application but the problem is still occur. This has given me a headache since this problem is not always occur when I close my application.
View 6 Replies
Nov 30, 2010
I am trying to read data from an external device using MSComm control but the problem is I am getting wrong data. I am recieving 1 byte data but the first three bits are wrong so anything greater than 31 sent from the external devices is recieved wrongly. eg. if I am sending 63(111111) from the device then the input from MSComm control gives me 159(10011111).Due to this reason I tried SerialPort from .Net framework and was surprised to see that it is working properly.
View 3 Replies
Jun 21, 2009
I'm trying to write a vb.net application that works with a 3rd party application called FuzzyTech. Unfortionalty FuzzyTech is quite old so the only way I can interact with it is buy using DDE. FuzzyTech acts as a DDE server. After a bit of research I found a library called NDde which enables me to use DDE. I understand that vb.net does not natively supprt it as it is an old technology.
Now fuzzyTech seems to only respond to the DDE connect and pokes when in debug mode. The only way I can find to get the program in to debug mode is from the menu bar (Debug > Interactive). So I have written an application that runs fuzzyTech, grabs the window and then accesses the menu to put it in to debug mode. My code can then use DDE. I have all of this working ok (although it does feel like a bit of a hack). The problem is I don't want users to be able to see this happening.
I want fuzzyTech to be hidden.After more research I found I could hide the window on startup by using fuzzypProcess.StartInfo.WindowStyle = ProcessWindowStyle.Hidden. However when I do this my code to grab the window and send the menu commands then fails. I think this is because the window title becomes blank when hidden.So I need to know a way of controlling the program after it is hidden or hiding it after it is in debug mode. This is where I am stuck. I'm very new to programming and this has got me completely stumped.
Here is some of the code I am using:
Private fuzzypProcess As Process = New Process()
Private Sub LoadFuzzyTech()
Try
fuzzypProcess.StartInfo.FileName = projectPath & projectTitle & ".ftl"
[code]....
View 2 Replies
Aug 29, 2011
I am working in windows forms with Vb.NET 2008. I am trying to read text in from an external program. So far I have been able to read text in from a standard text box or button, however I am trying to read data in from an external data grid.
When I try to use the following I get no information about the grid
ChildHandle = FindWindowEx(ParentHandle, IntPtr.Zero, "classnameofexternaldatagrid", Nothing)
Dim Hndl As IntPtr = Marshal.AllocHGlobal(2000)
NumText = SendMessage(ChildHandle, WM_GETTEXT, 2000, Hndl)
Text = Marshal.PtrToStringUni(Hndl)
Usually if it is a standard text box I will get the text data with no problem, but it is a standard data grid and there are no further sub handles to try and read from. If WM_GETTEXT wont read information from an external data grid then how would I read in the data?
View 3 Replies
Feb 18, 2009
I can launch my external program which is a Virtual Keyboard, but once it launchs then I have to click the textbox on my form or no text appears when I use the Virtual Keyboard. How can I make my form be the focus after the Virtual Keyboard launches?
View 1 Replies
May 23, 2011
The VB.Net program in question creates several files, adds them into a zip file (using DotNetZip), and saves the zip file into a given directory (which the user chooses). This comes out just fine. But when I use it to save directly to my USB flash drive, I can't eject the drive without shutting down the program first.I've tried disposing the zip object (from the DotNetZip library), doesn't work. I also tried setting FileIO.FileSystem.CurrentDirectory to somewhere else on the machine, still no.
View 1 Replies
Jul 19, 2011
I have a program that I am working on and I would like to have it embed and run an AntiVirus program , but I am not sure if this can be accomplished with the use of a button.
[Code]...
View 5 Replies
Jul 27, 2011
Is it possible to get this information from a drag&drop Startup path of a external program that was dragged over my app? The process name of the external program that was dragged over my app? This is what I already got. Private Sub Main_DragDrop(ByVal sender As Object, ByVal e As System.Windows.Forms.DragEventArgs) Handles Me.DragDrop
[Code]...
View 12 Replies
May 30, 2009
I know how to check for the version information from inside a VB2005 application:
Dim version as String= String.Format("Version {0}", My.Application.Info.Version.ToString)
That works fine. But let's say I have two applications, A and B. App A wants to find out what app B's version is. Is there a way to do that?
View 2 Replies
Mar 26, 2011
I am placing an external program into my application. The current code is as follows:
Const SW_HIDE As Integer = 0
Const SW_SHOWNORMAL As Integer = 1
Const SW_NORMAL As Integer = 1
[Code].....
What I want is for "notepad" to open up maximized and without a border. I already have it maximized, but I want the border gone.
Also how can I make my current form the same size as the process?
View 2 Replies
Jan 6, 2009
At my house we got 6 computers and 5 laptops. Not I want to be able to control them remotely without using external dekstop management or something else. So i can control when my kids can use the computer or not
So I came up with the idea of creating an irc server that listens to commands that I type from my main computer. The commands are no problem for me to program but the irc server itself looks pretty hard. I've been looking on google but cant find a good source to learn it. some other ideas than using irc protocol?
View 1 Replies