473,587 Members | 2,492 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Using VB.net to Complete Forms in Another Application

4 New Member
Hello!

I'm currently trying to fill in a dialogue box (from an external program) using a VB.Net app. I've succeeded in finding the window handle for the external program (using the FindWindowByCap tion function), but am having some difficulty finding the handles for the child windows (which, in this case, would be text boxes). Most tutorials that I've found online suggest using Spy ++ (or other programs) that I don't have access to on this computer. Is there a programmatic way to step through the child windows until I find one with a certain class or name?

Once I have window handles for the child windows, I should be ready to go, as I'm planning on using the SendMessage function.

Does anyone have any ideas about how best to accomplish my task?

Thanks,
-cj
Jan 18 '10 #1
7 2554
tlhintoq
3,525 Recognized Expert Specialist
Spy ++ (or other programs) that I don't have access to on this computer.
How do you *not* have access to Spy++ ? It is installed with Visual Studio. Are you working on your own machine or trying to hack someone else's?
Jan 19 '10 #2
ChrisJensen
4 New Member
My office doesn't tend to do a lot of coding (I'm essentially writing this utility as a one-off), so I'm using the Express edition of VB 2008, which means that I do not have access to Spy++. Also, our administrator has locked down our ability to download and execute utilities. For both of these reasons, I'm attempting to solve the problem programmaticall y.
Jan 20 '10 #3
tlhintoq
3,525 Recognized Expert Specialist
I hate to seem uncooperative but... If you don't have the cooperation of your administrative team, then it sounds like you aren't part of the corporate (read "authorized ") development team that is *supposed* to have these resources or trying to hack a way into this other program.
Jan 21 '10 #4
ChrisJensen
4 New Member
Here is the explicit description of what I've been asked to do: my company works uses a web-based Exchange server, which means that it does not authenticate automatically.. . My task is to push the user's name / password into the Outlook dialog box so that the users are not irritated by having to enter this information twice (once at logon and again when they first access their email accounts).

In terms of "support" or "cooperatio n," it is not that I'm doing anything below the board, but rather than I am part of an under-staffed and under-funded IT team for a small business. No one in my office has a full copy of Visual Studio, and I was only authorized to download it in order to complete this one task. It is quite possible that I will not have to do any other programming during the course of my tenure here.

Not that any of this matters (as I've mostly solved this problem on my own by this point), but I must admit that I respond negatively to being insulted (i.e., called a liar or a hacker), even in the anonymous forum provided by the internet. No offense is meant to tlhintoq, who I'm sure is attempting to make sure that his technical expertise is used for good instead of evil, but I do take exception to these accusations.
Jan 22 '10 #5
Frinavale
9,735 Recognized Expert Moderator Expert
Hi Chris,

I have no experience at all with managing exchange servers so I took a quick look on MSDN to see if there is a way to configure a web-based exchange server to use windows logins....

Apparently there is a way but it requires you to use Active Directory...whi ch may require you to re-design your entire network for your business....

Anyways, you can configure your exchange server to use Digest Authentication. This type of authentication uses the user's windows logon to authenticate against the exchange server.

If your interested, check out this article:Digest Authentication

PS: the MSDN Library is the best resource to use when developing in .NET :) I recommend bookmarking it and checking there first if you get stuck on anything .NET (or even Microsoft) related.

-Frinny
Jan 25 '10 #6
tlhintoq
3,525 Recognized Expert Specialist
PS: the MSDN Library is the best resource to use when developing in .NET :) I recommend bookmarking it and checking there first if you get stuck on anything .NET (or even Microsoft) related.
I find another good system is to use Google to find what you want on MSDN. If you google with "MSDN" plus what you are trying to find out more about, like for "MSDN Active Directory" you tend to get a better set of matches than the search on MSDN itself.
Jan 25 '10 #7
Frinavale
9,735 Recognized Expert Moderator Expert
I do the same thing when I the MSDN library doesn't show what I'm looking for...
Google just seems to do a better job than Bing
Jan 25 '10 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

1
1695
by: Brad L. Meyer | last post by:
Hi all! Happy Holidays to all! I work for a nonprofit 501.3.c case management agency. All of the computers have MS ACCESS database software installed. Is it possible to recreate agency forms in access (complete with logos) and have Access complete needed forms? For example: We take some identifing information at the first contact.
19
4083
by: James Fortune | last post by:
I have a lot of respect for David Fenton and Allen Browne, but I don't understand why people who know how to write code to completely replace a front end do not write something that will automate the code that implements managing unbound controls on forms given the superior performance of unbound controls in a client/server environment. I can...
4
6697
by: Terry | last post by:
I'm building some dll assemblies that have in them the implementation of an abstract class defined in a different assembly. I'm trying to create objects of the type defined in the dlls with "Activator.CreateInstance". Everything was working fine until I started to fill out the class def with some implementation. At some point the...
17
2229
by: Venkatesh | last post by:
Hi All I am a newbie to C# .I am currently developing windows application.Can anyone suggest good books or links for developing Windows Applications using C#.
12
2044
by: bj7lewis | last post by:
I am working on a project I want to add a few files as resource to access(copy them to FS and use) at runtime. So far in VS.NET IDE, I Add Files to the project and set its Build Action to Embedded Resource... Now where should look next... Any help...
4
3514
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The objective in utilizing this new deployment method is to reduce the maintenance overhead as well as making it easier for my users to setup and run the...
6
2352
by: Smithers | last post by:
I am looking to implement a search feature into a Windows Forms MDI application. Specifically I plan to embed 3 textboxes into a toolbar; one for LastName, another for FirstName, and one for CustomerID. When the user starts typing into any of these textboxes I would like to pop up another form that shows the user a dynamic list of the closest...
4
10871
by: Hexman | last post by:
Code below ---- I've asked a similar question on this forum earlier. This is a slightly different situation. Previous Question ---- I'm trying to save some specific web pages to disk as text files. I searched the Internet and found a basic example which I changed to fit my needs. I tested it out first on a single URL and it worked...
6
4483
by: Scott Gravenhorst | last post by:
Windows XP SP3 My application is set to open a SaveFile dialog when an exit is requested. When I click the app's close button, the save dialog opens, but when I click to change the folder, the exception occurs pointing to FileSaveDialog1.ShowDialog(). The exception also indicates some problem with system.drawing.dll. The exception text...
3
4282
by: shobhitguptait | last post by:
How to Run C#.NET Windows App on N/W with centralized DB using SQL SERVER 2000 Hello All...i m really grate full to c such a website where developers try to help people like us who face problems in s/w develepment...I am shobhit Gupta...23 years of age prusuing B.Tech in I.T. Engg. Final Year from Kurukshetra University, Kurukshetra. Recently,...
0
7920
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7849
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
1
7973
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8220
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5718
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3844
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2358
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1454
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1189
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.