Solved

Attn: WDB  please read

Posted on 1998-10-13
4
136 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
  • 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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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

Suggested Solutions

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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…

830 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