Controlling Specific Feature On An External Application
Dec 11, 2009
at work here we use a Remote Machine Viewer called FitNet which is proprietary to NCR and WalMart. However, I had no hand in developing this application and the developers no longer are emplyed here or did they assign anyone to take it over. I was asked to take a look at it and see if I could come up with something. The application is a .NET app but when I use .NET Reflector to get an idea aboutthe code it says no CLI header found.
[Code]...
View 1 Replies
ADVERTISEMENT
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
Jun 18, 2009
I need a quick way to control an external application. For example, I want to be able to... let's say... click a button and open up paint and zoom to 200%. This isn't my intention but that's basically the functionality that I need. I figured there must be a simple way to do this. I need to open the application, make choices (not all have keyboard shortcuts) and type in information.I've come across "shell" but that doesn't get me anywhere except opening the application.
View 5 Replies
Dec 22, 2009
I am trying to control an external application using visual basic. I have spy++ in order to get the windows handles of all the tool bars/buttons etc. Can someone refer me to some code/ tutorials on how i can control the application. I will need to perform mouse clicks (ex clicking file>open) and sending key strokes in that application.
View 2 Replies
Sep 2, 2010
I have a Microsoft LifeCam Cinema Webcam. I have written a simple application thats STARTS the video capture, STOPS the video capture, captures a STILL image and CLEARS the still image on one form using TWO picture boxes....one to hold the STILL image and the other to show the VIDEO from the Webcam.
View 3 Replies
May 23, 2011
I have a Microsoft LifeCam Cinema Webcam. I have written a simple application thats STARTS the video capture, STOPS the video capture, captures a STILL image and CLEARS the still image on one form using TWO picture boxes....one to hold the STILL image and the other to show the VIDEO from the Webcam.I am using the VFW(Video for Windows) API to interface to the Webcam and everything in the application is working as intended with NO PROBLEMS. I use No DirectX, No ActiveX/COM, No Intermediary file, just live video stream.I do however wish to control the ZOOM feature of the camera using the VFW API.(increase and decrease)
View 2 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
Dec 18, 2006
I would like to build an application in vb.net which is some what similar to old net meeting and one of main feature I would like to implement is application sharing. I tried the netmeeting sdk provided by microsoft but it is very complicated (I'm new to vb.net and samples are in c++). developing this application or whether there is any third party sdks available for the same.
View 3 Replies
Mar 2, 2011
I have 2 applications, "Application A" and "Application B" In application B, there is a loop that do some work Now, from Application A, I want to control this loop, in application B, so the loop gets run once each time Application A say so Up to this point, There is no problem, I just created a Mutex that I pass from an application to the other.
The problem comes when Application A want to stop the game -If application A terminate its thread without closing the Mutex, Application B does take it and the loop goes on non stop. But what I want is to exit the loop.I can immagine 3 ways to terminate the loop, but none of them apears to be the good way to do
1) Closing the mutex in application A. This will create an exception in Application B, which I can catch to terminate the loop
2) Create a custom windows message for Application A to notify Application B that the mutex needs to be close so Application B can exit the loop and close the mutex. ( However, I am using a mutex to avoid to use this windows message pathern, I do not want the UI thread to be involve in the mecanism )
3) Create another mutex that would be own by application A and that will be blocking another thread in Application B. This way, Application A by releasing this mutex can permit this other thread to set a boolean flag telling the thread in the loop to exit the loop.
To illustrate this, I made this short code. It implement the option 1) which is using the exception to exit the loop
Application A
Public Class Form1
Dim MutexA As Threading.Mutex
[code]....
View 8 Replies
Apr 25, 2011
I'm running a VB.NET application 24 hours a day on a dedicated machine. I'd like to be able to receive status updates and also control/debug the application remotely (i.e. from another computer via the internet).It would be an advantage if the communication was lightweight (in terms of bytes sent and received) so I can control the thing without needing a fast internet connection. Also, I'm running the application from within the IDE at the moment because there are some unhandled exceptions and it's easier to debug this way. It would be nice if I didn't have to compile it and catch all the errors.What is the easiest way to set something like this up, and what do I need to be aware of in terms of security?
Update:To clarify what input I need to give the application - in theory, none. If all went to plan I'd just set the application off and reading some sort of log would be fine. The problem is that it is unstable (mainly because it calls a web service which is very unstable and returns all sorts of weird things) and therefore seems to need constant input on my part.
It was my thinking that the only way I could do this sort of debugging remotely is by catching every error I could, reading the log, and somehow instructing the application to behave properly in future.
View 3 Replies
Mar 26, 2012
I wanted to develop a tool in which i want to use words Macro Like feature.In an Application there will be front-end (i.e. form) which will accepts basic information like name,age,gender,Marital Status,Address,Locality,Contact number etc... In a backend i will be having few fix text fromate in the database as a string or BLOB.( instead of databaes, i can even keep words text template)
Now what i want to do is:when user submites the form data, my app should use this submitted data and replace all the marked location in text formate with the data provided by form. and once the complete text string is generated , i want to generate word file ( and/or Pdf) file from this.How can i acheive this with any one of this language .NET( web or Desktop ) , QML ,QT,Java ?( Text Fromates : because most of the containts of the text will be the same, only few words (fileds) will be diffrent for each copy generated)
View 2 Replies
Apr 18, 2009
I'm trying to make an application which has a feature of an event calendar. I am quite familiar with the MonthCalendar tool in the toolbox, but that's not really what I'm looking for. I would like to make a calendar that somewhat resembles 'iCal' in Mac OS X. If any of you use Microsoft Groove Workspaces, the calendar in that is very close to what I'm thinking of. I want the user to be able to double click the day and add new events which will show the title of the events in that day on the calendar when the events are saved. Also i would like to have the user be able to make recurring events. Is this even possible with Visual Basic '08?
View 5 Replies
Dec 21, 2009
I use ClickOnce Deployment on my application to get the update feature.But i really do not like the deployment and the setup Is their a way I can use the Visual Studio setup feature to make a msi package for my application but still have the update feature?
View 4 Replies
Feb 10, 2011
I have a question about application settings.Is it possible to update application settings or are they read-only?
If I program an auto-login feature, am I able to store the login details and use it next time user logs in. Would them settings remain after application is closed and opened again?
View 6 Replies
Mar 30, 2012
Just finished a database for stock management system in local terms and language. All according to their request and agreement. Now they need me to add undo/redo functionality to the application and I just dont know where to start. I am looking first for a general tip on where to begin:
I have one form, for e.g., that manages their stores. Then another for catagories...now they need the undo for all this things and am not sure if it is even possible cos datas are related.
View 4 Replies
Aug 17, 2011
I Have one Windows Application in which i have one MDI Form (Say App1). And I too have another Windows Application in which I have a Child Form (Say App2). So now i want to Call App2 from App1 .. And want to Display App2 form As MDIChild in App1 MDI Form . I am Able to open the Form of App2 , But how to set It As App1' Child .
View 2 Replies
Jan 23, 2010
I use SetParent to make an external application a "child" of my Main .Net application. This works fine.What I need to know is why can't I use Me.MDIChildren(0)I thought that using SetParent would increase the number of children by 1, thus allowing me to reference it with the above code, but it shows there are no children in the array.I have been trying, without luck, for 2 days to try to maximize an external app being displayed in my app. I can get it to display, but I would love it if it could Dock to the same size as its container (a panel)
View 3 Replies
Oct 3, 2009
I have a quick, yet simple (i think?) question. How can i use the address bar to send commands to a external application?
Example:
AOL Instant Messenger I havent used this application in a long time. But i remembered if you wanted to add a friend to AIM from their online profile it directed them to a link such as:
aim:addfriend=contactID and AIM would pick this up and add it the contactID to the application. The link i posted is more than likely not the correct link they use but it shows what im trying to accomplish.
Im looking to achieve something along the lines of: myApplication:command=commandValue
View 3 Replies
Jan 18, 2010
I am buidling an application that users can use to submit text data and attachments to email recipients. Certain fields, quite a few in fact from the textboxes in the app will be in the email body, and some in the subject line.This is how I am doing it right now, but I figured there has to be a better way. In VB it is one single line of code, not many like it is here. Ideally I would like to be able to better control the positioning in the message body.
mail.Body = String.Concat(Label1.Text, " ", TextBox1.Text, " ", Label2.Text, " ", TextBox3.Text, " ", Label5.Text, " ", DateTimePicker1.Text, " ", Label3.Text, " ", TextBox2.Text, " ", Label6.Text, " ", RichTextBox1.Text, " ", Label7, " ", RichTextBox2.Text)
View 2 Replies
Jun 3, 2011
I'm trying to use the Shell to have my application call an external application but its not working...I don't understand why. I get the following error: 'System.windows.shell' is a namespace and cannot be used as an expression!
Heres my code....any ideas what I'm doing wrong. Its got to be a simple...stupid error.
Private Sub mnuUpgrade_Click(ByVal Ctrl As Microsoft.Expression.Web.Interop.Legacy.CommandBarButton, ByRef CancelDefault As Boolean) Handles mnuUpgrade.Click
[CODE].....................
View 2 Replies
Mar 23, 2012
how to center an external app on the screen, an example would be Adobe Reader, using either Process.Start or Shell. I've 'attempted' both but haven't found anything to control the position. I've also found some code using Api32 functions, FindWindow, MoveWindow, etc, but have not been successful at those either.
View 3 Replies
Mar 17, 2009
I have looked all over for an answer to this question and have failed to find one. I have two applications. App1: I have no control over anything in this application aside from standard user inteface options. (Enter text, apply, ok) Someone else has created this program and I have no direct access to the database or any code. I can not make any changes to this application.App2: This is the application that I am currently creating. All changes will need to be made here.I currently have a program set up to copy information from App2 to App1. A user clicks a button in App2 and then goes to App1 and hits F8. App2 is waiting to get F8 and when it does it proceeds to use a series of sendkeys to enter the information from App2 into App1.Question 1: Is there a better way to get info from App2 into App1?I am trying to "smarten" my program up a bit. I would like it to read fields from App1 and compare them to certain variables and then do an action. I have tried to use sendkeys to copy from App1. This sometimes works, and other times the clipboard says object not collected it is not a valid format. So this method is obviously not reliable enough for me.Question 2: How do I copy data from a text box in App1? Sendkeys seems to not work. Again, keep in mind that I don't know textbox names in App1 so as far as I know, I can't do anything like textbox1.copy.
View 2 Replies
May 1, 2012
How can I move an external application. For example, notepad.location = 200, 200
how would I tell the program what notepad is?
View 4 Replies
May 19, 2012
I want to be able to activate my application through my website. Like AIM, they have a protocol "aim?.." what ever, I was wondering how I might go about that? My application is standalone, I wonder if this would reduce the chances of this being possible.
View 2 Replies
May 1, 2011
I have got Skype configured to launch minimized on windows starts.Now I need to bring Skype to front from a button from my full screen application button. I have got this code:
For Each p As Process In Process.GetProcessesByName("skype")
ShowWindow(p.MainWindowHandle, SHOW_WINDOW.SW_NORMAL)
Next p
View 1 Replies
Dec 17, 2009
In VB.NET, you can set focus to an external application using
AppActivate("Windows Name")
or
AppActivate(processID As Integer)
Now this works fine if you do for example:
Dim intNotePad As Integer = Shell("C:WINNTNotepad.exe",
AppWinStyle.MinimizedNoFocus)
AppActivate(intNotePad)
But when I do:
For Each theprocess As Process In processlist
If InStr(theprocess.ProcessName, "DWG") Then
strProcessList += String.Format("Process: {0} ID: {1}", theprocess.ProcessName, theprocess.Id) + vbCrLf
AppActivate(theprocess.ID)
[code]....
then it doesn't find the window, even if it's open and even if it finds the window using the window title.But I need it by process ID.How can I do that?I need it to set focus on a 3rd party installer in a windows installer setup project.
View 2 Replies
Jun 6, 2011
I am developing a program where I will save the information from a "Log file" from an external application..I have a biometrics system that reads and saves the log file to disk,once the user logs to the system, the system will save the file to a log file after that the system that i will develop will read the data from the "log file"(probably a text file) and send it to sql server.
View 3 Replies
Oct 21, 2009
I am developing a program where I will save the information from a "Log file" from an external application..example: I have a biometrics system that reads and saves the log file to disk,once the user logs to the system, the system will save the file to a log file after that the system that i will develop will read the data from the "log file"(probably a text file) and send it to sql server what event should I use?
View 2 Replies
Apr 23, 2010
i'm working on visual basic with an external program and want to lunch this program from visual basic like withe the shell but what i need the most is to make him incorporated into the form means that the executable is lunched within the form included into it in order to make them like one part for the user is there any way to make it with any version of VB or .net or visual studio even the 2010 ?
View 12 Replies
Aug 9, 2009
I'm wondering if there is any way to exit an external batch application. My project is to make a server auto Restarting program, and the application that runs the server is titled runserver.bat I am using Visual Basic 2010 Beta 1 (with .NET 4.0 framework),
[Code]...
View 2 Replies