well I was able to modify the code I got from a MSDN API example to do what I need. Essentially it fills a list box with all the running applications. I then run this list box thru a like comparision till I find the application I am wanting, and then assign that indexes value as a string to a...
I have a strange occurance with this when I ran it a second time. It seems to jump out of the function/loop w/o finding the window. I may just also use sendkeys with an appactivate.
ok, I found the issue with that. The API in your code was not complete and it seems to work fine so far. Now to do some testing with the hwnd value and sendmessage.
running into an exception with one of your api calls. Note I have a class where I store all of the API functions called Win32API. Here is the exception thrown.
System.EntryPointNotFoundException was unhandled
Message="Unable to find an entry point named 'GetClassName' in DLL 'user32'."
Thanks I will give that code a try. It is a simple gui I am trying to make, but the handle is a pain when the name can be "Program Name 1.x." Hopefully this will allow me to grab the right window.
Ok, I am lost on this function. I know it worked prior to vb.net. I currently am using VB Express 2005. I know how to use the normal findwindow and sendmessage API calls. However, I have an application that has various versions so the title bar has different version numbers after the Main title...
Ok, I have been doing great with the help I rcvd previously regarding Attachmate, Extra, and have been able to create a couple of simple applications that do the trick. However, our AppDev dept prefers to use ODS fees with the sessions and I am having no luck locating information on how to...
Great. That did it. I appreciate it. Now I have all the pieces of my code working properly and can actually put them all together to build my application. This will help me out tremendously. Thanks everyone for all your help.
ok, one last question, hopefully. Using the code in the last post is fine for opening, but I am running into an issue when I try to close the sessions. I just need the command that would close all open sessions of Extra!. Thanks
I was able to find this option and it seems to work. I do appreciate all the help. Now I am able to send the input I need while having the session either minimized or hidden by changing its visible state to 0. Thanks everyone.
System = New EXTRA.ExtraSystem
Sessions = System.Sessions...
ok, I correct myself on this last post. I have found the options to make putstring work. However, now I am running into another issue. How do you define an option to select the session you wish to interact with when you have multiple sessions running? My code has been modified as below. Realize...
Skie, as I indicated in my previous post, sendkeyes won't work for my purposes. Also I have looked into putstring, but it does not seem to be within VB.net coding. Or I am not finding it at the least. I am looking for solutions within the vb.net framework to automate this process. If I hvae to I...
well that is fine to a degree. However the standard inputs for text, that I am aware of, in EXTRA are SendKeys and SendInput. SendKeys has to have focus and SendInput requires you not to be typing. These won't work in my case. How else would you send a batch of text to an extra session?
I am running into an issue with my code. Here is the issue and strange part of it. It is accepting sendmessage when I use the WM_KEYDOWN/UP commands. However, when I use WM_SETTEXT to send my string it is not imputing the string to the session window. Does anyone know why an app would work with...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.