943,981 Members | Top Members by Rank

Ad:
  • VB.NET Discussion Thread
  • Unsolved
  • Views: 1978
  • VB.NET RSS
Sep 16th, 2009
0

Visual Basic Overlay

Expand Post »
Hey all, I've recently begun learning visual basic using visual basic express 2008 with plans to purchase visual studio 2008 (it'll be worth it as I've used C++ for a very long time, I just wanted to learn vb and vb.net). What I'm very interested in right now is creating an application that will create an overlay while another application is running. Say I am playing a game, and I want this program to overlay my game once I enter a key combination such as ctrl+s without minimizing my game/application. Is this possible? If so, does anyone mind pointing me in the direction of where I can learn to being the structure for this. PLEASE do not hand me the source code, I really need to learn to do this myself, I would just like some insight as to if it is possible, and if it is, where I may begin learning about it. Thank you.
Similar Threads
Reputation Points: 15
Solved Threads: 6
Junior Poster in Training
Maulth is offline Offline
65 posts
since Mar 2008
Sep 16th, 2009
0

Re: Visual Basic Overlay

i've tried something similar and found out that the "TopMost" property from the application will not show the form while you are ingame. i found two possibilities.
1. create a directX/openGL (depends on your game) window to overlay your game or
2. do the easy way (which i did choose) and just write on the current game window. for this you have to look how to find the game window and using the drawing.2D namespace.
Featured Poster
Reputation Points: 208
Solved Threads: 168
Practically a Master Poster
GeekByChoiCe is offline Offline
692 posts
since Jun 2009
Sep 16th, 2009
0

Re: Visual Basic Overlay

1. create a directX/openGL (depends on your game) window to overlay your game or
2. do the easy way (which i did choose) and just write on the current game window. for this you have to look how to find the game window and using the drawing.2D namespace.


Thank you for both of those. I will try the first, although I'm going to have to make some sort of login hook. My goal is to create an easy lookup application for Combat Arms that will let you directly connect to a database to see if someone or a gaming clan is a known "dirty" (hacking clan/user) so that you can avoid playing with/against them.
Reputation Points: 15
Solved Threads: 6
Junior Poster in Training
Maulth is offline Offline
65 posts
since Mar 2008
Sep 16th, 2009
0

Re: Visual Basic Overlay

You can set you form's topmost property to true, to keep it above other forms. You can set the form's opacity property by percentage to see thru your form.
Reputation Points: 84
Solved Threads: 48
Posting Whiz
TomW is offline Offline
342 posts
since Sep 2009
Sep 16th, 2009
0

Re: Visual Basic Overlay

Click to Expand / Collapse  Quote originally posted by TomW ...
You can set you form's topmost property to true, to keep it above other forms. You can set the form's opacity property by percentage to see thru your form.
That would work ONLY if I was trying to make a specific form show above other forms in the SAME application, right?
Reputation Points: 15
Solved Threads: 6
Junior Poster in Training
Maulth is offline Offline
65 posts
since Mar 2008
Sep 17th, 2009
0

Re: Visual Basic Overlay

that works for all applications but not if they run in fullscreen.
you might see a little flickering of your form on your game screen but thats it.
Featured Poster
Reputation Points: 208
Solved Threads: 168
Practically a Master Poster
GeekByChoiCe is offline Offline
692 posts
since Jun 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in VB.NET Forum Timeline: What is wrong with this?!
Next Thread in VB.NET Forum Timeline: Datagrid Controls





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC