OOPS!
I'm very Sorry! I did not read the question properly...! I was thinking that you wanted to code for disabling the Close...
Well If you want to handle disble all the KeyEvents then you need to define your own Callback function and associate it with you Form window.
The API function...
Hi Adric,
try this code
Declare Function GetMenuItemCount Lib "user32" _
(ByVal hMenu As Long) As Long
Declare Function GetSystemMenu Lib "user32" _
(ByVal hwnd As Long, ByVal bRevert As Long) As Long
Declare Function DrawMenuBar Lib "user32" _
(ByVal hwnd As...
Implementing a TelnetApp. using Winsock control!
A Preview
[img http://www.geocities.com/kaleatul/telnet.jpg ]
Assumptions...
sckTelnet -> WinSock control
sckTelnet.Protocal = sckTCPProtocal
timerTel -> Timer Control with Interval 500...
To Allow Multiple Check Outs:
Open the Visual SourceSafe Database [srcsafe.ini] from the SourceSafe Admin tool. Open the Options Dialog Box (Tools->Options) and on the General Tab, put a Check mark on the "Allow Multiple Checkouts" checkbox.
It Controls whether many people can check...
Hi Ableken,
You need to check if you have set a reference to the required library.
To user the FileSystemObject you need to set a reference to "Windows Scripting Host library". Once you do that you will not face the error.
I assumed that you are getting this as a Compiler error...
Hi,
You can implemnents a Flag mechanism to check if the user is already logged in. It could bedone by simple keeping a boolean session variable (Let's say isLogged) whose values be default would be false.
You check for the value of the Variable, if it is false then you proceed with Logon...
Hi there,
you can try and call the "ShowWindow" API Function to do so.
SW_SHOWMAXIMIZED = 3
SW_SHOWMINIMIZED = 2
When you want to Maximize the IE Window just say...
Call ShowWindow(CLng(IE.hwnd), SW_SHOWMAXIMIZED)
And to minimize...
Call ShowWindow(CLng(IE.hwnd)...
Hi Ed,
By looking at the problems you hae mentioned, I guess that there is Little more explanation needed.
First, about the "Temp" folder.
The Temp folder is in 2 locations.
Assume that you have installed Win2k (i.e. 2000)on C: then.. there will be "C:\Temp" and...
Hi Ed,
Thisis one of the common problems faced. However, there are several reason for which this
problem can occur
1. Check out the Temp Directory :-
If you donnot have the Tempdirectory then this may happen. Since VB creates
temporary files in the same location. It could even be a space...
Hey Pal,
It's very Simple. Use the Hex coonversion function which will return a Hexadecimal equivalent of it.
Instead of writing...
txtColor = cdbOpenSave.Color
try this...
txtColor = Hex(cdbOpenSave.Color)
It should work properly.
All the Best.
Atul
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.