Solved

Attn: WDB  please read

Posted on 1998-10-13
4
138 Views
Last Modified: 2011-04-14
The app you helped me with has a small problem I can't seem to fix.
Please look at http//members.localnet.com/~bbender/helpme/home.htm
and download the project there. Its small and in VB5.0
Thanks...
0
Comment
Question by:rfb
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 2

Expert Comment

by:WDB
ID: 1439764
I placed an updated VB5 project here:
http://www.wwwebit.com/billmich/code/answer.html

Let me know if you have any questions about the code.
0
 
LVL 1

Author Comment

by:rfb
ID: 1439765
WDB..I'm going to give you an "A". Everything works fine. I just have one more question. If I make a frame visible, how can I make it so that it is "on top" of everything else on the desk top?. I want it to be a warning screen that the user HAS to click ok on to continue working.
would you consider offering your e-mail to me for future help?
bob
bbender@cidcorp.com

0
 
LVL 2

Accepted Solution

by:
WDB earned 90 total points
ID: 1439766
This is a separate question all together. Normally I wouldn't answer this unless it was posted as a separate question since it has nothing to do with your original one, but since the answer is quick I'll let it slide this time. Add the follwing code to your module.

Declare Function SetWindowPos& Lib "user32" (ByVal hwnd As Long, ByVal hWndInsertAfter As Long, ByVal x As Long, ByVal y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long)

Global Const HWND_TOPMOST = -1

Then, when your form loads call :
   SetWindowPos(Form1.hwnd,HWND_TOPMOST,Starting Xpos,Starting YPos,Width,Height,0)

' You must specify Starting Xpos,Starting YPos,Width and Height

Your form should now remain on top of all other windows even if it's disabled.


0
 
LVL 1

Author Comment

by:rfb
ID: 1439767
thanks much...
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question