'Snapping' To 3rd Party Application

May 28, 2009

I am writing a small application that will display some info to my end user. I have another program that the end user will have open while running my appplication. What I am trying to do is have my application launch itself (and maintain positioning if other app location changes) and "tether" itself to the other application.Ideally the top left of my application would attach to the top right of the other application.I have tried for countless hours working with the GetWindowPos API but the values returned are either all zeros or it just doesn't work.I do a Try/Catch to see if the other app is running and I fetch the Handle of the process. This works fine. Then I try to get the positioning of this process and set my .Left property to the returned RECT's .Left property. no dice.This is Visual Basic 2005 ExpressOther application is a PuTTY window that is not a fullscreen app.

View 3 Replies


ADVERTISEMENT

Interface And Graphics :: Grid In UI And Snapping To It?

Oct 27, 2010

it's been forever since I've been here Now the question, sorry my math brain just doesn't work like it used to.I have a panel that displays an image as the base. That image needs to have a grid over it with 72x72 pixel squares. I have another image that I use as a hover image for the mouse, what I need is for that image to jump to the next square rather than moving smoothly.

Basically it's just a map where you can place building tiles. However you can't place building tiles everywhere so the "place" image needs to move to the next available building spot.

View 3 Replies

VS 2010 : Form Snapping To Edge Of Desktop?

Oct 10, 2011

I've got a borderless form that I'm handling the MouseDown, MouseMove & MouseUp events to do the dragging and re-sizing which I have working just fine but I started thinking how neat it would be if I could have the borderless windows snap to each other and to the edges of the screen(s), this part I'm stuck on. I've got them snapping together just but and I've got it snapping to the edge of the screen but I have a dual monitor set up at home and I can't move it to my right side secondary screen with the code I have now. I'm attaching a sample VS2010 project with only the relevant code for this.Eventually I might add in the snapping to the desktop edge or to another note window's edge when resizing too, but that's not my focus right now.

View 4 Replies

- Alter The Window Of A 3rd Party Application?

Jul 8, 2008

Is there a way alter the window of a 3rd party application? Resize, Minimizie, Make Transparent..

View 14 Replies

3rd Party Tool To Analyze .NET Application?

Sep 21, 2009

We would like to know if there are any recommended tools in .NET that can scan through a VB .NET project & do an analysis.It should report on the Lines Of Code, provide no. of Routines, No. of 3rd party Tools, No. of Variables, Forms Diagrams, No. of Classes etc.

View 1 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

How To Read Data From XML For 3rd Party Application

Feb 5, 2012

I want to read the data from the following website:[URL]..I have attached an image the details, from which I wish to read the data: getting the details as mentioned above?

And also let me know how the data is supposed to be extracted every time when required.I will be using this XML data in VB10. This will simply allow me to create a widget that will show me the cricket score update that frequently.

View 2 Replies

Read Text From A 3rd Party Application?

Oct 9, 2008

I am trying to read text from a 3rd party application. I can create a catalogue of all possible letter variations. I can store every possible character I encounter as a small bmp, or perhaps as an array/matrix of pixel values. For example:

xxxxOOxxxx
xxxxOOxxxx
xxxxOOxxxx
xxxxOOxxxx
xxxxOOxxxx

the letter "I" could be represented in a 10x5 array or matrix as above. Where x represents a wildcard pixel value, but O represents the expected/pre-defined RGB value.

I want to search specific areas of the screen, pixel by pixel where I expect to find the information I'm after. And convert this to usable information. What method gives the best trade-off for simplicity and speed? And how can I implement this method? How do I search for a bmp within a bmp at specific coordinates?

View 1 Replies

Third Party Registration Providers For VB Application?

Jul 13, 2011

what third party software is around that I can use in my VB web application to 'call home' to my website to get a registration key.I saw something that did this a while back but can't remember what it was called.

View 1 Replies

Update An Ini File From A 3rd Party Application?

Jan 9, 2011

I need to update an ini file from a 3rd party application (From within my VB.net app)

The ini file does not have any [Section]'s, what method should I use to readwrite values to this file?

+----------------------------+
| SERVER |
+----------------------------+

[Code]....

View 1 Replies

Windows Application Using Third Party Dll Not Working

May 5, 2010

i have developed windows application using VS 2005 to print PDF documents using third party software PDFCreator. This application is working fine in my system but when i try it another system its not working and there is no error thrown as well.

Sample code which i use in my application is given below:

Dim PDFCtrl as new PDFCreator.clsPDFCreator
PDFCtrl.cPrintFile("c:file1.pdf")

View 6 Replies

(WCF) --> CMD File --> 3rd Party App - Method - Which Call From Another Application

May 24, 2011

I have a self-hosted WCF service (VB) residing on a server. This service has a method, which I call from another application, that is supposed to kick off a .cmd file which calls a 3rd party program.

My WCF has used both the old Shell() command and the Process() object. Both can call the .cmd file (located on the server's local drive). The .cmd file looks like this:

CODE:

Now I know the .cmd file (saved as Letter.cmd) is firing because when I check the txt file after testing my app, the before/after statements have been written. However, the 3rd party application does not start.

Now the weird part -- if I double click the cmd file from explorer, the test statements are written to the text file AND the 3rd party application kicks off. Runs great.

I've double-checked the application and corresponding files to make sure NETWORK_SERVICE has permissions and my service is running under that account.

View 1 Replies

Any Third Party Dll That Can Be Incorporated In A WPF Application To Obtain On Fly Encryption?

Jul 4, 2010

Is there any third party dll that can be incorporated in a WPF (vb.net) application to obtain a on the fly encryption?

View 2 Replies

Change Regional Settings Of 3rd Party Application?

Nov 3, 2011

I am developing an application that uses Sendkeys function to output data in another application such as Notepad. But if the user changes the regional settings some characters like "/" change according to the language. Can I retrieve and set the regional settings of another application such as Notepad ? Is there another way to do that ?

View 3 Replies

Embedded 3rd Party Software Into An Application For Installation?

Apr 2, 2009

IDE: VS 2005 Pro
Language: VB

I am trying to figure out the right steps to have an installer for my application. My application is dependent on a 3rd party software application and obviously needs to be part of the installtion process. I am able to utilize the features of the 3rd party software via ActiveX control or COM.

1. What options do I have for sucessfully installiing theses softwares?

2. I have noticed there is "Interop.3rdPartyApp.dll" in the "release" folder. How do I use this? Where can I get more details on this file?

View 2 Replies

Embedded 3rd Party Software Into Application For Installation?

Mar 31, 2010

IDE: VS 2005 ProLanguage: VBI am trying to figure out the right steps to have an installer for my application. My application is dependent on a 3rd party software application and obviously needs to be part of the installtion process.

View 7 Replies

Scripting Error - Using An Application Provided By A Third Party ?

Jul 31, 2010

We are using an application provided by a third party. We applied their hotfix and are now receiving the error below. So far they haven't been able to provide us with a solution/answer as to why this is happening and how to fix it. They say we are the first customers with this problem.

Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC30560: 'FileSystemObject' is ambiguous in the namespace 'Scripting'.

Source Error:

CODE:

View 1 Replies

WinForms - Clicking Button On 3rd Party Application

Oct 19, 2010

I am launching a 3rd party application from my windows form
System.Diagnostics.Process.Start("C:Program Filesabcabc.exe")
There is a "SAVE" button and a tool bar on the is application. Is it possible to click the button on this application as soon as it is launched or click (Alt + F) on the toolbar programmatically without clicking the mouse or keyboard.

View 2 Replies

3rd Party Spell Checker That Will Work With VB 2008 In A Non Web Application?

Feb 1, 2009

does anybody know of a 3rd party spell checker that will work with VB 2008 in a non web application??

View 2 Replies

Access A 3rd Party Application In The Background With The SendMessage Method?

Jul 27, 2009

I want to access a 3rd Party application in the background with the SendMessage method. It just needs to send a "space" to the software to trigger an action. It is important that this is done in the background because its a periodic event (ca. every 10 seconds), and it should be possible to simultaneously work on the same machine.

I tried to use the same approach which is shown in [URL]

The code I used is as follows:

Const WM_CHAR = &H102
Const BM_CLICK As Long = &HF5&
Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd

[Code].....

View 11 Replies

Application Provided By A Third Party Facing A Scripting Error?

Jul 31, 2010

We are using an application provided by a third party. We applied their hotfix and are now receiving the error below. So far they haven't been able to provide us with a solution/answer as to why this is happening and how to fix it. They say we are the first customers with this problem.

I thought maybe the .net forum here will be able to guide me on how to solve the scripting error.

[code]...

View 2 Replies

Force Multiple Instance Of A Standalone (3rd Party) Application

Jul 14, 2009

I need to be able to run multiple instances of a standalone (3rd party) application. This application prevents multiple instances from being ran from within the application. I need to basically override this.

I know it can be accomplished by hexing the original executable, however I would like to stay away from this method as I'd like for other users to be able to use my application from the get go without needing to hex the 3rd party app themselves or me having to send them the hexed app. Is there any way to achieve this or am I just taking crazy pills?

View 2 Replies

How To Make 3rd Party Application's GUI Framework Lie Within The GUIFramework Of Mine

Jan 27, 2012

I am working on automation project for a 3rd party Application. This application has given APIs for various automation tasks (like, Menu automation, toolbar automation, etc)

My code is in VB.NET.

Automation could be made in client-server mode, my code being client, this 3rd party App being server. When I create an instance of 3rd party App ( using CreateObject(<progID>), it brings up its own GUI Framework.

I have my own GUI Framework with customised menu items as well as my some more automation code.

At present, both the GUI frameworks are floating in a dis-jointed and independent manner. I would like to contain the 3rd party GUI Framework within my own GUI framework whenever it is moved around.

View 7 Replies

VS 2010 - Create An VB Application To Compress Files, Without Using A 3rd Party App?

Jul 28, 2011

I'm just wondering if it is possible to create an vb.net application to compress files, without using a 3rd party app. If yes, can you please point me in the right direction, give me some tips, tutorials or sample code?

View 5 Replies

VS 2008 Create An Interface Between A Third Party Application Which Can Make Use Of C/C++ DLLs

Nov 30, 2010

I am trying to create an interface between a third party application which can make use of C/C++ DLLs, but no interface directly to .NET. What I was hoping to accomplish (not sure if possible though), is create a very basic C++ DLL (not .NET), which the third party application would call directly. This DLL would contain a basic method such as "DoSomething()". Somehow, from my .NET application, I want to "listen" to this DLL and "takeover" the DoSomething() method, and then returning the result back to the DLL, which will in turn return the result back to the calling third party application.

I don't even know if this is possible because I'm sure I would somehow have to get a hold of the memory space of the DLL as initiated by the third party application. Also, it seems that creating a managed DLL does not work, based on feedback from other individuals who have tried this.

View 1 Replies

VS 2010 - Monitor 3rd Party Child Application Dialog Caption

Feb 10, 2011

I would like to know if its possible for my vb.net app to monitor a 3rd party application that it starts. I'd like it to check every 0.5 seconds to see if the child app has a dialog box visible with a specific text string caption. If it does then I want to close my app but if isn't yet visible, keep looping until it is. I'm asking because the 3rd party app has "no event firing when the application starts to load and then displays the dialog so there is no way for the 3rd party app to report back" to my vb.net app when this is loaded.

This came from the Technical Support from the 3rd party app after I asked if using waitforinputidle() in my app would allow me to detect when their app finishes loading and enters an idle state (sadly not). However they have suggested that it might be possible to monitor their app for a specific dialog caption and then close my app but this is beyond my novice understanding just now. How to go about such a process?

View 1 Replies

Configure A Button In A .net Healthcare Application With The Aid Of A Wizard That Allows 3rd Party Integrations With Other Applications?

Jun 19, 2012

im trying to configure a button in a .net healthcare application with the aid of a wizard that allows 3rd party integrations with other applications.The process has been documented, including the scripting in a PDF document produced by the manufacturer (siemens) and distributed to me as an IT administrator.Im now trying to configure the integration button and thankfully there is a test button as part of the wizard that verifys the script - which is returning the error: "Expression is a value and therefore cannot be the target of an assignment"

here is the script:

Option Strict Off
Imports System
Imports System.Windows.Forms

[code]....

the line below "create command" seems be be causing the problem. This is the executable that should launch, displaying the same patient in ialauncher.exe?

View 2 Replies

VS 2010 : Close A Third-party Window (application) If A Specified String Was Found In The Window Title?

May 2, 2012

Excuse me for posting this, but I have searched both Google along with this forum before asking this question, maybe I'm not using the right keywords but I apologize if it's easy to find.I would like to know how one could close a third-party window (application) if a specified string was found in the window title.

View 2 Replies

Close A Third-party Window (application) If A Specified String Was Found In The Window Title

Nov 30, 2010

I would like to know how one could close a third-party window (application) if a specified string was found in the window title.

View 4 Replies

VS 2008 Getting Text From A 3rd Party Application Text Box

Jan 23, 2010

I've been browsing around but the examples I find to do this are either for older VB (which I don't dominate that well and are having some trouble 'fixing') or quite basic and don't allow me to do what I want. Basically, what I want it to get the text on some of the text boxes on a 3rd party application. After some research I concluded these are considered child windows and... Well and from then on I found scattered pieces of information that keep me awake at night So, in order to get the text I want, what should I do?

View 4 Replies







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