Argument On Mouse Recording Tool?
Apr 9, 2012Getting a argument exception
Public Class Form1
Dim Result As Integer
Private Declare Function GetASyncKeyState Lib "user32" (ByVal vKey As Long) As Long
[code]....
Getting a argument exception
Public Class Form1
Dim Result As Integer
Private Declare Function GetASyncKeyState Lib "user32" (ByVal vKey As Long) As Long
[code]....
i'm trying to make a "mouse recorder" program which will record mouse activity and then play it back using 2 timers.I'm comfortable recording and playing back mouse positions, but I'm having some trouble recording mouse clicks.I'm planning on using the "mouse_event" function to simulate the clicks during play back but I'm not really sure how I can record the configuration of the mouse during the recording process.
View 1 RepliesI have seen that there are many "Mouse & Keyboard Macros/Recorders" out there & I was wondering how they are being created in visual basic. I have looked within the Microsoft forums, but havent really seen any specific coding that works for the kind of recorder that I'm trying to create.
[Code]...
I have this problem for some days now and i did not figure it out yet.When i use 2 buttons one for recording and one to stop recording is just fine, but when i use a timer to stop recording does not stop.
Here`s my First i have a button named start recording which calls the Public Sub record and enables timerRecordStop to TRUE.
[Code]...
I made this procedure re-use a select query:
[code..]
And I use it like this if I would want the selected value placed in a textbox and it works fine
[code...]
However if I want the value to be passed in a string like so:
[code...]
The string ends up having an empty string value. How do I assign the value I queried to that String?
I want to make a Tool Bar in my task bar such as windows media player tool bar.
I'm using VS2005.net Windows xp Professional Edition.
how to put the tool tip text in status bar label this in form load event
View 14 RepliesI have two custom action listers. One that handles Mouse.Click and one that handles Mouse.MouseDown. My question to you is, can I delay the mouse down event so that it does not intefere with the code of the Mouse.Click event? I have tried adding a timer and waiting x amount then setting a bool value to true, but the code executes to fast and it skips the other code.
View 6 RepliesWhat is the code for Hiding a mouse and make it go back when going to
Desktop1.vb
Cursor.Hide()
works
Cursor.Show()
is not working when going to Desktop1.vb .vb its still hiding what am i doing wrong here is my code.
[Code]...
I am trying to record many small MP3 files from my computer's microphone. There are numberous examples using mciSendString Library "Winmm.dll" to record .wav files. I find the .wav quality to be lacking and I really want to record straight into the MP3 format rather than converting my .wav files.
View 1 RepliesI am trying to record many small MP3 files from my computer's microphone. There are numberous examples using mciSendString Library "Winmm.dll" to record .wav files. I find the .wav quality to be lacking and I really want to record straight into the MP3 format rather than converting my .wav files.
View 2 Repliesi recently downloaded a demo game "Delta Force Xtreme 2 BETA". the game it's self, looks like vb3 does when compared to vb.net 2oo8.. one thing about it, on the startup screen, it plays a decent track of music..
i want to record that sound, in wav format, i guess, directly from my speakers. i googled all day, hoping to learn something about playing/recording sound, and i got nowhere.. so i finally decided to post here, after searching the forum for answers, again, without any luck..
i'm not looking for links to sites that the code is not tested before the link is posted.
just a form with 3 buttons. 1 to record, 2 to stop and save, and 3 to play. again, the sound should be recorded directly from the speakers.
I am trying to record many small MP3 files from my computer's microphone. I know how to do this using mciSendString with the "Winmm.dll" to record .wav files. I need to record straight into the MP3 format from Visual Basic 2010.
View 1 RepliesAm new to the VB platform and have only been messing around with 2008 for a few months,off and on.Have built a rotational inertia based Dynamometer for personal use in my R/C hobby.Have written some code that allows me to read roller frequency,that is then figured to roller RPM,and eventually ,vehicle ground speed.
Now before anyone shoots me down,( I don't mean this to be sarcastic,but I have received negativity on other forums) I know that ,because of various interupts on my P.C.,that the windows timers aren't all that accurate,causing me to miss incoming signals that screw up my measurements, and the best thing is an external aquisition unit.Let me just say that I run my VB program parallel to an external frequency counter,and have at any given time a difference of max. 8 hz at higher revs.Also I use an external timer based counter that figures the ground speed ,and it also is within a half KmH.This is only a hobby for me and that's close enough.Someday I may build something that does the computing externally and gives it to VB,but for now.........So now to the good part
Here's my question: How can I write code that will let me record the RPM ,from TextBox2, at each timer interval,and have them listed?
I need this to calculate the RPM changes per interval in order to establish "angular acceleration" ,for further calculations.
In Addition,I need a way for my program to know when something changes or does'nt.If I start my programm and don't run the dyno ( no signals) then it will start saving a bunch of zero's that I don't need,and when I get to the end of the run,the RPM will top off(no change in signals)but keep saving.The best would be,start recording when the 1st signal is detected and stop recording when the signals stop changing, and tell me I can stop.
But I'm not that advanced.........yet.
The next problem is that I have no idea,depending on what vehicle I test, how many intervals will be recorded, as one may or may not take longer to reach max.RPM.
Heres what I have so far:
Public Class Form1
Dim product1 As Double
Dim product2 As Double
[code]...
I am absolutely not making a key logger. Second of all, this is for personal use only, I just want to try it out since I am trying to build a virus scanner. What code would assist me in recording key strokes in the background?
View 6 RepliesMy project uses an MS Access Database, and amongst other things records the current cost of a series of categories which are regularly updated, thereby erasing the previous entry. However, I need to retain all previous costs to produce a history graph for given periods. I have considered importing an Excel spreadsheet, but having a functioning database it seems sensible to use it.
View 4 RepliesHow can I record sound that come out of Form1 (I don't need whole computer sound).
View 1 RepliesI achieve to record and stop recording (manually with a button).
Now i want somehow to automatically stop recording after some seconds.
I used the following methods which did not work:
1. Used a timer to call the stoprecording function (I found out that while recording the timer did not work) I tested it with an msgbox and i was right, the msg box appeared 5 secs after pressing the stoprecording button!!!!
2. Used the System.Timers.Timer but nothing
3. I tried the CAPTUREPARMS structure but i`m doing something wrong and it doesn`t record.
Here`s my initialization:
Dim MyParams As New CAPTUREPARMS
With MyParams
.dwRequestMicroSecPerFrame = 66667
[Code]....
when i record a video with avicap32 all become unresponsive what is the best way to procede?
how do u force avicap32 to record on a separated thread
I Would like to make an appliaction in c# (or vb.net) that records every sound that comes out from the speakers when i tell it to, and when im finished i want to push a button and save it as an mp3 (or some other format).
So far i have only found APIs that can record something from a microphone.
Is there anything in the .NET framework or is there some API for making this possible?
I have a database in MSSQL that I'm using in a VB.NET project. Three of the fields are dates, so I leave the default DateTimePicker as the means of entry. The problem is, when I make a new record, the date from the DateTimePicker only makes it to the database if I select a date. If I leave it as the default(today), then the information does not record, leaving a NULL in the database.
View 3 RepliesI have been all over this site looking at and trying example code, but none of it seems to work properly on my computer. I just want a simple program in VB.NET 2010 that can record a .wav file from my computer / line-in microphone. I am somewhat familiar with VB, but I still consider myself a novice and I don't really know all of the audio jargin. [URL]..
View 5 RepliesI'm working on a project and i need to record and save a users voice from the mic for like 1o min, does any one know how i can do this?NIMA -- Visit: [URL]..
View 1 Replieshow to record sound from microphone in VB 2005 EE?. If you would be so kind anything simply.
View 1 RepliesI want to select either "Wave" or "What U Hear" or "Microphone" or "Analog Mix" (LineIn) in the Windows Recording Control applet, i.e. as if I clicked the applicable "Select" checkbox.
I got this VB6 code on the Net (not sure where) and tried to convert it to VB2008. It is very near to correct I think, but the last part does not work.
1) how do you stop recording with avicap32.dll without saving the file?
2) How do you remove the recorded file
3) Where the recorded file is stored during recording? is it possible to give an address before starting to record?
I need a simple program that makes sure that the LINE IN is the selected input for recording. I can handle the program itself, I just can't find how to check the selected input at any given time. Note that I shouldn't interfere with any running program.
View 5 RepliesI want to have an application, that records voice, saves and play it. I have a 3 buttons
btnrecord
btnsave
btnplay
What I did is
Process.Start("SoundRecorder.exe")
How can I make the sound recorder.exe start recording. It only opens the application.
I am trying to make a program that can send voice over LAN. I already have the connection between the computers working, but I can't really seem to find a way to actually record + stream sound.
I've found out that I can use
Private Declare Function mciSendString Lib "winmm.dll" Alias "mciSendStringA" (ByVal lpstrCommand As String, ByVal lpstrReturnString As String, ByVal uReturnLength As Integer, ByVal hwndCallback As Integer) As Integer
and then
mciSendString("open new Type waveaudio Alias recsound", "", 0, 0)
mciSendString("record recsound", "", 0, 0)
mciSendString("save recsound *PATH*", "", 0, 0)
to save and record sound.
But I haven't really been able to find any documentation on that function, so I haven't been able to find out for myself, how I can send the recorded sound over LAN, instead of saving it on the computer.
how would i record a live .avi video on to a network stream?
View 1 Replies