.net - Controlling 3rd Party Program?

Jun 12, 2010

my program launches a 3rd party program with a few switches to update itself.Once these updates are complete I need to manually click save from the applications menu. This can be done via the keyboard (Alt Gr + M then Alt Gr + S)

The application will take several seconds to load at which point the application will open maximised and the save option will be enabled.

View 1 Replies


ADVERTISEMENT

Drag-and-drop From Program To Third-party Program?

Jun 15, 2012

I am trying to open multiple files using a third-party program, by calling it from VB.NET. By default, the program I am using, through command line, only opens one file at a time - and if I call it again, it opens a new instance. (when started in GUI, I can drop many files on it).

Now I open it with

Shell("program file")

If the program is running, I want to add "file" on top of the running instance instead of starting a new instance.

Something like:

If Not procExists then
Shell("program file")
else

[Code].....

Unfortunately, just like Shell("program filename"), it opened lots of instances of "program", instead o loading all the files in the same instance.

View 1 Replies

Controlling And Manipulating Data In An External Program?

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

VS 2008 Controlling Events From Multiple Program Instances?

Mar 20, 2010

I'm having a lot of trouble finding a solution to my problem, and its probably because I don't know exactly how to ask the right question - can anyone here point me in the right direction?

View 3 Replies

Create With A Third Party Program A Setup To App?

Feb 4, 2012

I create with a third party program a setup to my app.Do I need to install this files too?

[Code]...

View 2 Replies

Get Location Of A 3rd Party Application With Program?

Jul 22, 2009

I am trying to write an application that will get the X and Y coordinates of a 3rd party application like Notepad or Word in VB.NET, but I am unsure how to accomplish this. I know some VB.NET but I am still a novice.

View 7 Replies

One Vb Program To View 2 Or More 3rd Party Software

Jul 27, 2009

i have to develop a project..that is requirement for my graduation this october... b

3 to 4 software that can monitor network activity.. and put it in one program....

its like 1 vb program for all of the software...

View 4 Replies

Putting A 3rd Party Program Inside A MDI Parent?

Jan 29, 2010

Is it possible to put a "3rd party program" (an already compiled EXE thats added as a resource), into a MDI Parent form?

View 2 Replies

Make A Program That Will Remind Me To Fill Out Twitter Party's?

Nov 30, 2009

Im trying to make a program in vb that will remind Me To fill out twitter party's. Where you Put the date and the time its at. hit the enter button Save the info then i messege pop up on your screen when it time for the party. And how to make it run when your computer start up.

View 10 Replies

2008 Write A Program That Will Allow A Usert O Track The Invitation List For A Party?

Dec 4, 2009

I have to write a program that will allow a usert o track the invitation list for a party. The user can enter the name of a person to be invited. When the send Invitatin button is clicked, the name appears in the checked listbox. This counts as an invited person.When an invited person confirms that they will be attending, the user will check the name in the checked listbox. this counts as a confirmed person.

What I am having a hard time figuring out is the codes! What would I declare my integer variables to hold the count of invited persons and the count of confirmed persons? And how would I code a loop to check if the name enetered in the name textbox already appears in the list box, if so, display a message telling the user that this person has already been invited?

View 3 Replies

VS 2005 Schema .ini DateFormat - Program That Is Desinged To Read A 3rd Party Text File Database

Jan 8, 2011

I am having a problem with my program that is desinged to read a 3rd party text file database. I posted previosuly about a problem inserting an item in a new row and the column was expectig a different data type. It appears that sometimes the column is being determined to be of decimal value, I dont understand why. the fields contain information such as

Col1
F123456
CLW-12321 etc....

So my column fills with
123456
12321 the letters just get chopped off

So I added MaxScanRows = 0 to my schema file and that took care of the problem

Except now several of my columns that contain Date Values are coming back

9/24/2010 00:00:00

without the setting MaxScanRows = 0
The date returned 9/24/2010

Here is the code for my schema ini file I am creating:

HTML

Dim fs As New FileStream("Schema.ini", FileMode.Create, FileAccess.Write)
Dim writer As New StreamWriter(fs)
[CODE]............

I have been trying different settings hence the dimmed out lines

Here is the code to fill the datatable:

HTML

[CODE].............

I am thinking that without the MaxScanRows = 0 setting the datatype for Col1 is being incorrectly determined

I am not sure what is happening with other columns that contain date values. Apparently If i use MaxScan Rows=0 all columns are being pulled over as string value which creates numerous problems. If I dont use maxscanrows then all columns appear to be correct except Col21 MLSNUM which is being pulled in as a decimal. Can I change that in the schema file?

View 1 Replies

C# - Controlling Cmd.exe From Winforms

Nov 5, 2010

Question: I want to control cmd.exe from winforms. I DO NOT mean every command in a single process, with startupinfo, and then stop. I mean for example start the (My) SQL or GDB command prompt, send command, receive answer, send next command, receive next answer, stop SQL command prompt exit process. Basically I want to write a GUI on top of any console application.

[Code]...

View 4 Replies

Controlling A Download?

Jan 3, 2010

Ok, so I've been doing some looking around lately, trying to figure out how I can get maximum control over a download. So I can control things like:Download speedWhere to start the transaction(Byte Offset, like in a Stream?)Where to end the transaction (Byte Offset, like in a Stream?)

View 6 Replies

Controlling One Player With Other In VB?

Mar 9, 2010

if i have two media players in form1 and form2 respectively....how can i control the media player in form2 with media player in form1....so that if i pause media player in form1...the media player in form2 should get passed and if i scrub the seek bar in player1 the seek bar in player in form2 should move along with it...how can i do that.......means how to play single video in both players at once...

View 1 Replies

Controlling The Min Max Buttons?

Jan 23, 2009

I want to have a min and a max functionality to my app. When the user clicks the minimize button I want the form to go to taskbar which is easily done.

However the user clicks on the maximize button i want the form to go to a specific size (470,999) to be exact.

Private Sub app_Resize(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Resize
If Me.WindowState = FormWindowState.Maximized Then

[Code]....

but it maximizes to the screen size. how to control the maximize screen button? I don't want to change the formborder style setting from sizeable because I like the way it looks like this. I just want to get the min max buttons to go to sizes that I want them to go to.

another thing is there a way to save the size of the app that the user has it set to before they send it to taskbar then when the user brings it off the taskbar is there a way to bring it back to that size?

View 4 Replies

Controlling The TabControl?

Nov 4, 2009

I was working with TabControl on a form.I wish to restrict the selection of the tabs on the form...For example, The user will start with the 0 index Tab selected by default.As he selects an option from that tab pane n confirms his selection, The next tab gets selected. I could develop a code for this like this tabcontrol1.selectedindex = 1 'Or 2 or 3 according to the need But Now I find that at runtime I can switch back to some other previous tabs or some forward tabs.... Which I do not want. I simply want the tabs to be activate in a flow...

View 5 Replies

Controlling - Resize Already Open App?

Dec 16, 2010

if i already have the vb app. open and i double click it again, is there a way i can control the one that is already open? for instance... could i resize the app. already open?

View 3 Replies

Controlling A PowerPoint Presentation

Aug 28, 2009

I am using Visual Basic Express Edition 2008 and Office 2007

View 3 Replies

Controlling A Webbrowser Via Code?

May 14, 2010

I thought this would be easy, and I'm sure it is... but I'm not getting the response I want.

Here's the code..

[Code]...

What I'm trying to do is load a URL and grab the text from it.The text on the file I'm using is simply a 1, that's all. However, when the messagebox shows, it's empty. I've tried using google.com as the URL and got the same response, so that means it's somewhere in my code here.

View 1 Replies

Controlling An External Application

Aug 15, 2009

I am currently working on making a macro in visual basic that will control an external application. I need to know how I can click the menu options in this program. Here is the code I have so far, which makes the application window active.[code]

View 3 Replies

Controlling Button On Form?

Jun 21, 2010

i have an external board controlling various things on the board is a button which i would like when pressed activates code within a button on my vb form i have tried button1.select but that only well selects the button on my form rather than activate the code this code is in a timer which scans all 5 pushbuttons on my hardware

[ If ReadDigitalChannel(2) = True Then
Button1.Select()
End If ]

this is the code that the button on my form runs

[ If table1 = False Then
Button1.Text = "Off"
table1 = True
d1 = TimeOfDay

[code]....

View 5 Replies

Controlling Client From Server

Apr 30, 2011

i have created 2 app one as server and one as clinet i need to be able controling the clinet from server ex: 2 media player clinet/server i must be able to stop,play,mute song from server i will put the code server :

[Code]...

View 3 Replies

Controlling DataGridView With ComboBox?

Apr 1, 2011

I feel like this is simply but I can get a straight answer anywhere. I basically have a database hooked up to my program and what I'm wanting to do is have the database query "thedate" and only display the rows that much that selection.

View 12 Replies

Controlling Multiple Downloads

Nov 30, 2011

When I use My.Computer.Network.DownloadFile this will sometimes start downloading two copies of the file simultaneously. I wonder if there is a code to check whether there are more than one file being download at a moment, and if there is a code to cancel some of the downloads.

View 1 Replies

Controlling The Input In A Textbox?

Oct 12, 2010

A requirement my thesis panelists ask of me is that I should be able to control the text input in a textbox. For example, in a textbox that's for inputting student numbers, it should only accept numbers and the dash character (-

View 4 Replies

Controlling The Serial Port?

Apr 23, 2006

I know things have changed in VB2005.net and i have Express and i want to controll the serial port. I have a program from VB6 that i understand and i tried to convert it but i get alot of errors and i have know idead what they mean. As you can tell i haven't been programming very long.

If someone can point me in the right direction for programming the serial port in VB2005 .net i would appreciate it or tell me what differences there may be.

View 12 Replies

Controlling Time With A For..next Loop?

Mar 20, 2009

[code]...

View 12 Replies

Controlling Tools From Different Procedures?

Nov 30, 2011

If I write many subs and functions in my code, the tools on the interface will stop responding to some of the subs and functions. What can I do about that?

View 1 Replies

VS 2008 Controlling OpenFileDialog?

May 25, 2011

With many of the programs that I use, I have noticed that the file dialog boxes automatically enter a new folder (if I create a folder thru the dialog box). But my OpenFileDialog boxes don't do that in my programs.When I open the OpenFileDialog and press the New Folder button, the box stays in the current directory and I am forced to click into the new folder. I have researched the OpernFileDialog and I don't understand how to change this behavior. I want to eliminate this extra click to enter the new folder.

View 7 Replies

VS 2010 Controlling Msgboxes?

Aug 3, 2011

I have 3 msgboxes in my program which should appear sequentially. However, sometimes they appear sequentially and at other times they appear randomly.

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved