Have An App Interact With Another Running Application?
Aug 3, 2011
At user login, launch an app I have created. This app opens a web site in a webbrowser control, logs the user in to the web site, and parses links from the resulting web page. These links are links to launch citrix sessions on another farm.
Create another app that appears on the start menu for the logged in user. User clicks on this app, it communicates with the launch app to basically click the href associated with the citrix app within the webbrowser control. Then this app will go away...
I have already coded the first app and figured out how to click links within the webbrowser control. What I can't figure out is how to go about implementing the second app, that runs as a separate app, but communicates with the first app to do its business. I see a plethora of options such as MFC, AppDomains, RPC, and so on. My question is which is the best practice to have one app interact with another and have the other app take actions based on that interaction? I prefer to stick completely to vb.net.
A good example of how I would like this to work - a web browser (IE, FF, whatever) is open on the desktop, user clicks a link in an email, link opens in running browser. An action in the mail client causes action in the browser.
View 4 Replies
ADVERTISEMENT
Oct 17, 2009
When it comes to threading. I've managed to adapt one of JMcIllhinney's backgroundworker codebank examples to somewhat suit my needs, but not completely. I have a main form, and a second form that appears while I'm running through a for loop. It informs the user what is currently happening. I set up a backgroundworker that allowed me to continue to use the main form during the for loop, but the other "status" form was completely frozen, and any labels or graphics were shown as white boxes. I am struggling to figure out how to be able to move/interact with both forms while the loop is running.
View 4 Replies
Jun 14, 2011
I'm using SHDocVw.InternetExplorerClass to scrape a webpage. It works fine in XP, but when I try to run it in windows 7 I get an error:The interface is unknown. (Exception from HRESULT: 0x800706B5)
When I run visual studio in administrator mode it works fine, but the published application has to be run in administrator mode too, which isn't acceptable.
Is there any way to get around running the application in administrator mode?
View 1 Replies
Apr 24, 2011
I've search numerous hours, but I haven't been able to find the appropriate solution. What I want to do: Get the html of a certain webpage (Lets say in this case url...this html within my wpf application, so that you can see the content of the page you requested. Then I want to be able to trigger events on the html that has been loaded from the URL. Like I want you to be able to click on a certain node in the HTML and I want to be able to link this node to a certain value. Basically a crawler application that let's you request a page, see the page in a control and allows you to click in the loaded HTML and link values to predefined values you set. So basically I want to be able to get a webpage displayed within my application and be able to trigger events on the html (For example a click on the html which would need me to know on what node you clicked in the html, or for example be able to edit the html by clicking in it).
View 1 Replies
Oct 10, 2011
I'm doing a project in VB.NET, in which the application will interact with SQL Server 2008 database. I know how to develop that application. But after created executable version of that application(.exe) i will install it in another machine. How will that application interact with database at that machine??
View 6 Replies
May 26, 2010
I am writing a desktop database application. I want my application to use SQL database.
View 1 Replies
Jul 13, 2010
Write a class in each and make its variables interact in one application?
View 3 Replies
Apr 24, 2010
I had done one application using api which send the message to given number. The working of software is very fine without any error working on windows XP SP2. I heard that vista already contain the .net frame work so didnt installed .net frame work in machine. I checked in vista it shows .net frame work is in machine. But when same code i tried to run on Vista it gives the error. Error is as follows
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at SmsSendingApplication.frmSingleMessage.InternetOpenUrl(Int64 hInternetSession, String& lpszUrl, String& lpszHeaders, Int64 dwHeadersLength, Int64 dwFlags, Int64
[Code].....
View 7 Replies
Jun 4, 2011
what account for this error message in ls beta 2?'' The last change wasn't successfully persisted.Please shot down the running application.
View 1 Replies
Jul 12, 2011
Which is the best way to store application and user settings of an application running with multiple instances?My problem is that using the vb's "Application Settings" one instance would overwrite the other one.I want to identify each instance with a number passed via command line argument. I could use this number to identify the appropriate settings of the running instance, but I see in a local INI o XML file a better way to handle that.
View 1 Replies
Apr 9, 2011
Let's say 10 desktop shortcuts, all with different names/icons, point to and can start the same exe application from the same directory. Is there any means for the application to know the distinct name of the shortcut that was doubled_clicked. Also is there any means for a running application to know if it was started by command line, by a double_click on the exe, by a double_click on a shortcut that points to it, or by another process' call?
View 4 Replies
Oct 21, 2010
I am trying to use Setup project. Want my setup to create a desktop shortcut with my application.I donot understand how to do it. Clicked on User's desktop, I created Shortcut to User's desktop, changed the properties Target and Working Folder as 'Application Folder'But it does not connect with MyApplication.exe When I ran the setup and tested Desktop short cut, it took me to the folder where application was installed, instead of running the application.How to make the application run using this shortcut?
View 1 Replies
Dec 25, 2011
I need to run an external JAR file (which is minecraft) within the window (form) of a VB.NET application, so like having the program in the center and additional text I like around it.
Is this possible, and if so, how?
View 1 Replies
Mar 15, 2012
Is it possible to reload a form of the running application from one computer when I executed a function from my other computer with the same application? co'z I want to see the changes of data on my datagrid view?
View 2 Replies
Oct 21, 2009
I am not sure if it proper forum for this question. anyone explain how to run a easy VB.net program in a website.I know there are other programming tools for this purpose but I'd like to use VB.net.
View 3 Replies
May 11, 2009
I have an application that provides core services for a series of other applications.When another of these applications is started, I want to check that the service application is running and if not shutdown.What is the best method to check for the existence of the other app? I'm thinking that I should be using a global mutex in the services app and checking for it's existence in the other apps. Is this the correct way to proceed?
View 4 Replies
Apr 12, 2011
how to get the name of control on the screen that is running in a different appliation. The getwindowname only gets the title bar and controls don't have title bars. I can get the text from each control , but I can seem to find a way to get the name of it.
View 6 Replies
Mar 21, 2009
I am using Windows XP and Visual Studio 2008. Now, i am writing an application which under testing runs fine under XP but when i try to run it under Vista, when i click on the program i keep getting an error saying:System File Intergrator has stopped working.How do i get my application to run on Vista as well as XP?
View 11 Replies
Nov 29, 2011
I'd like to block unwanted application from running in my system, mostly setup until given access by my application. I would have a white list of allowed application.
how do i imoplemnt this in vb.net
View 1 Replies
Jan 21, 2009
I want to be able to test if an Excel application is already running on the computer. If it is, I want to use it to create and save a new file. Excel will remain open.If no Excel application is running, I will open Excel, create and save a new file, and then close Excel.
View 8 Replies
May 16, 2010
I am trying to delete a running application is this possible. Here is what i meanIf you have a program running you know when you try to delete it, a message pops up " this program is being used Bla Bla Bla ..." want to delete that program even if its being used.
View 5 Replies
Aug 4, 2009
Is it possible to disable F12 key when my application is running using framwork 2.0
View 1 Replies
Mar 9, 2010
I can't find why my application is working in some pc's. i have install the net framework 1.1 and when i run it i am getting system runtime.interopservices.comexception occurred in system.windows.forms.dll additional information class not registered i understand that something missing because i am usuing also activex controls i does't seems to be register problem because in some other pc's is working.if io install vb6 the problem is solved.what is missing?
View 6 Replies
Oct 4, 2011
So I'm writing this VB.NET application, and it's doing things. But whenever I press a button to start some process, it does what it does except I can't click the window until it's finished. Otherwise the whole thing freezes. This essentially stops me from doing more than 1 thing at a time, because if I click another button (or anywhere) when something's running, it just freezes my program.
View 1 Replies
Nov 2, 2010
will .net framework3.0 application run on 64 bit operating system
View 5 Replies
Nov 19, 2009
I am writing a program that is connected to an rs232 port and I need it to constantly be monitoring the incoming data. I think there are a few ways of doing this like checking the buffer but I need this to be running while I am connected to the port. I have a play button and a pause button for the port. When the play button is pressed, the port is open and the button is no longer enabled until the pause button is pressed. I need to have a while loop running the entire time the play button is no enabled, or pressed. I am having a hard time knowing where to implement it in the code.
View 2 Replies
Dec 14, 2008
I'm a beginner and I have a problem with Visual basic 2008 Express edition . I would like to launch a *.wmv movie when you click on a button. First i tried it with shell command, but it seems it only works with vb created exe files. So I would like to: -Open a file, which is in the same directory as the program
View 1 Replies
Mar 20, 2010
Is it possible to run my application in the background so there is no minimised window on the bottom bar and, if possible, so an icon appears in the taskbar? If so, how would I do it?
View 2 Replies
Mar 8, 2009
I have been running my project using F5, it says Ready and then nothing happens. It goes it debugging mode )Play button is disabled, pause and
View 9 Replies
Mar 16, 2009
I'd like to create an application that will run on the background. Any sites that I can refer to or idea?
View 3 Replies