|
The answer doesn't change. There is nothing that "records" what the user does, short of using the Windows CBT Hook. CBT stands for Computer Based Training. The hook calls your application before activating, creating, destroying, minimizing, maximizing, moving, or sizing a window; before completing a system command; before removing a mouse or keyboard event from the system message queue; before setting the input focus; or before synchronizing with the system message queue. Essentially, you get all the window, mouse, and keyboard messages before they are processed, enabling you to record them if you want.
The down side is that this is a complicated API to use and you MUST have an in-depth knowledge of how Windows works if you expect to use this API properly.
Documentation[^] on the CBTProc callback.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Thanks Dave for your kind help, I'll go thru the documentation, once again thanks a lot
|
|
|
|
|
help guys... how can i store the .wmv file in ms access - database???
thanks!!!
|
|
|
|
|
hi,
i need to use split() but i need to split string depends on complete word such as "welcome" and i put split("welcome") but the problem that the string include just three welcome but it gave me more that 60 when i asked
lines.length-1
and when i but instead of welcome "w" letter and used split("w") it gave me the wanted value which is 3
i dont know why , i need to split whole word please help me
kilany
|
|
|
|
|
It looks like VB is "helpful" here, and automatically converts your string to an array of characters, so that you are splitting on any of the characters in the string, not the whole string.
Put the string in an array of strings and use the array in the call to Split.
If you only want to count the occurances, a Regex is better suited for this.
---
b { font-weight: normal; }
|
|
|
|
|
Hello !
I've been trying to rename accounts in Active Directory.
Where I can easily modify sn, givenName, UserPrincipalName, samAccountName or DisplayName, I can't figure a way to modify the cn.
Is there a way to modify a cn ?
I always get an error -2147016682 / 0x80072016.
The same applies to distinguishedName or canonicalName. No idea if they can be modified. If I try I get a constraint violation -2147016654 / 0x8007202f.
Do I have to clone the account with the new name ? or is there an obvious way to do that ?
I'm not too sure this belongs to the VB section of the boards but couldn't figure where to put it.
Thanks a lot !!
|
|
|
|
|
|
Hi,
I am Jats.I have a requirement in my project to connect to various Search engines no net & find out the plagiarism in the particular sentence or a file.
I am thinking to devl. a software(vb.net) which can connect to various search engines & search for plagiarism's in the text inputted.
I am not able to figure out how to connect my application to search engine and how to pass the text to the search engine.
Can any one plz help regarding this. Any links or suggestions.
Plz help...
Jats
|
|
|
|
|
I think you're gonna have one helluva time with this one.
I think your best bet for trying to achieve something like this is to use Google search API's. Here are two links that may help.
SOAP Search API[^]and look for Google Search Appliance API's halfway down this[^] page.
|
|
|
|
|
I want to store Images as OLE Object in Access OLE Object Field using ADO as database accessing object in VB6. What code will be useful to solve the task?
Kiran Sajanikar
Software Engineer
CleverBIT softwares.
Pune.
|
|
|
|
|
What does Google tell you with this as the search string?
store Images as OLE Object in Access OLE Object Field
Shreekar
http://shreekarishere.blogspot.com
|
|
|
|
|
|
Private Sub grd_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles grd.KeyDown
If e.KeyCode = Keys.Return Then
'do something
ElseIf e.KeyCode = Keys.Escape Then
'do something
ElseIf e.KeyCode = Keys.Right Then
'do something
ElseIf e.KeyCode = Keys.Left Then
'do something
ElseIf e.KeyCode = Keys.Up Then
'do something
ElseIf e.KeyCode = Keys.Down Then
'do something
End If
End Sub
hope this helps...
nathan
|
|
|
|
|
|
|
Message was deleted.
"Same sausage, different gravy" means that the answer to his question is the same as another question he asked previously.
|
|
|
|
|
I am translating a VB program to VB.net and cant find any information on toggle buttons. If one button is clicked(True) then in another Sub I want to use it for a comparison.
Old VB code:
If caddaily.Value = True And cadx.Value = False Then cadtrade = True
where caddaily,cadx are toggle buttons that stays depressed once clicked.
What would the code be in VB.net to do the same thing?
Thanks in advance.
|
|
|
|
|
The CheckBox has a property to show a button instead of a little box. It supports button images that stay "pushed".
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
|
I am translating a program to VB.net and when I created the form in VB.net, the toggle button does not stay down(visually) like it does in the old VB. I have read about picking the style in properties, but that option is not in my properties for that button. Thanks in advance.
|
|
|
|
|
hi, i have a problem on how to make a shortcut of a web page using vb.net! i am creating my own internet explorer and i am having a problem on how to make a favorite inside the hard disk?
at first i was making a "refresh to that page by doing this:
"" & vbCrLf & "" & vbCrLf & "" & "<title>" & wbWeb.Url.Host & "" & vbCrLf & "" & vbCrLf & "Locating " & vbCrLf & "" & vbCrLf & "" & vbCrLf & ""
Can someone help me in this pls because its not working .. its refreshing every 0 secs in the same website ?
Adrian De Battista: .Net Programmer, Java Programmer and Web Designer.
|
|
|
|
|
how to make the combobox readonly.. without making the user to write in it!! i want it just to search in it only not to write in it! how can i make this happen pls?
Adrian De Battista: .Net Programmer, Java Programmer and Web Designer.
|
|
|
|
|
They have a property called "DropDownStyle". This property has "Simple", "DropDown" and "DropDownList". You want the last one.
|
|
|
|
|
yeye 10x alot m8!
can i tell you another question pls? if you know .. how can i make an image into an item inside a combobox?? because in internet explorer .. when choosing Favorites and Add Favorites .. a window pop outs with a comboxbox (Create To) with an image (Star) behind the first item. how can i make this happen??
Adrian De Battista: .Net Programmer, Java Programmer and Web Designer.
|
|
|
|
|
Im not sure. But here are a couple articles that may help you.
http://www.codeproject.com/vb/net/ExpCombo.asp
http://www.codeproject.com/useritems/IconComboBox.asp
|
|
|
|