Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Necromis

    FindWindowLike

    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...
  2. Necromis

    FindWindowLike

    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.
  3. Necromis

    FindWindowLike

    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.
  4. Necromis

    FindWindowLike

    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'."
  5. Necromis

    FindWindowLike

    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.
  6. Necromis

    FindWindowLike

    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...
  7. Necromis

    ODS Feeds and Attachmate

    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...
  8. Necromis

    Issue with SendMessage and EXTRA! 6.4 in VB.net

    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.
  9. Necromis

    Issue with SendMessage and EXTRA! 6.4 in VB.net

    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
  10. Necromis

    Issue with SendMessage and EXTRA! 6.4 in VB.net

    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...
  11. Necromis

    Issue with SendMessage and EXTRA! 6.4 in VB.net

    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...
  12. Necromis

    Issue with SendMessage and EXTRA! 6.4 in VB.net

    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...
  13. Necromis

    Issue with SendMessage and EXTRA! 6.4 in VB.net

    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?
  14. Necromis

    Issue with SendMessage and EXTRA! 6.4 in VB.net

    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...

Part and Inventory Search

Back
Top