Recording Sequential Updates?

Jun 16, 2009

My 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 Replies


ADVERTISEMENT

Passing Array Values (sequential) To A Range (non-sequential)?

Jun 12, 2009

I am trying to copy the values to another sheet but not in any sequence eg.A1,B2,C4,D7 ........and so on. I am trying this slick way of doing it by the code below ( found on the web) without success so far but I got a feeling I am close to the solution. I am new to any kind of Programming. This is my first attempt. (so a chuckle or two is ok after seeing my "difficult" problem)

(This is an excel VBA Prblem)
Sub justdoit()
Dim s As Variant

[code].....

View 2 Replies

Use 2 Buttons One For Recording And One To Stop Recording?

Sep 5, 2009

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]...

View 9 Replies

MP3 Recording From Microphone

Nov 14, 2011

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 Replies

MP3 Recording From Microphone?

Nov 15, 2011

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 2 Replies

Recording Wav From Speakers?

Jun 11, 2009

i 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.

View 20 Replies

MP3 Recording From Microphone VS 2010?

Nov 14, 2011

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 Replies

Recording Data To A List?

Aug 26, 2010

Am 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]...

View 11 Replies

Recording Key Strokes In The Background?

Jan 30, 2009

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 Replies

Recording Sound From Form?

Mar 19, 2012

How can I record sound that come out of Form1 (I don't need whole computer sound).

View 1 Replies

What Is A Sequential File

Oct 13, 2009

My teacher as asked me to allow a user to input three pieces of information about a DVD (the ID, the title and the running time) and for the program to add that data to a sequential file. My textbook fails to explain it and I am at a loss as to where my book from last semester is located at the moment.

1. What is a sequential file?

2. How do I display information from it into a messge box?

View 3 Replies

Argument On Mouse Recording Tool?

Apr 9, 2012

Getting a argument exception

Public Class Form1
Dim Result As Integer
Private Declare Function GetASyncKeyState Lib "user32" (ByVal vKey As Long) As Long

[code]....

View 8 Replies

Automatically Stop Recording After Some Seconds?

Sep 8, 2009

I 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]....

View 1 Replies

Avicap32 Unresponsive When Recording A Video?

Oct 17, 2010

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

View 1 Replies

C# - Recording And Saving Sounds From Applications?

Oct 17, 2009

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?

View 1 Replies

Datasource DateTimePicker Not Recording Info?

Aug 12, 2010

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 Replies

Recording An Audio Signal In .NET 2010?

May 24, 2011

I 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 Replies

Recording And Saving Sound From Mic Using Vb,net2008?

Aug 11, 2009

I'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 Replies

Recording Sound From Microphone In VB 2005 EE?

Feb 17, 2007

how to record sound from microphone in VB 2005 EE?. If you would be so kind anything simply.

View 1 Replies

Select Recording Control Device?

Oct 13, 2008

I 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.

View 1 Replies

Stop Recording With Avicap32.dll Without Saving?

Oct 17, 2010

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?

View 1 Replies

Verify That LINE IN Is Selected For Recording?

Oct 27, 2009

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 Replies

Voice Recording / Saving And Playing

Feb 11, 2010

I 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.

View 6 Replies

VS 2008 - Voice Recording And LAN Stream

Jul 19, 2011

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.

View 1 Replies

VS 2008 How To Make Live Recording

Mar 7, 2010

how would i record a live .avi video on to a network stream?

View 1 Replies

Webcam Recording But Will Not Save To File

Jun 10, 2012

I have downloaded a program which is used to capture an image via the webcam on my laptop. That works fine. I added the required code to record and save the recorded video to an .avi file. The record function appears to be working fine. When I click on the Stop Record button the save file dialog appears and I enter in a file name to save the recorded video. But the message WM_CAP_FILE_SAVEAS does not appear to work as no file ever gets created in the location I choose (desktop).

'Start recording
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
DeviceID = lstDevices.SelectedIndex
OpenPreviewWindow()
SendMessage(hHwnd, WM_CAP_SEQUENCE, 0, 0)
[Code] .....

View 16 Replies

Array Subscript Have To Be Sequential?

May 6, 2009

First... does the array subscript have to be sequential? (0,1,2,3,4) Or could I pull the system date and use that? i.e. dim Beer() could have Beer(33939) for today, and then not record anything for three weeks and the next entry would be Beer(33960), etc.Along the same lines, and pointless if the answer above is yes...I'm writing a prog to handle inventory for a bar. The bar has 230 different beers at the moment. Could I create a 2-dimensional array using a product number, date for the subscript?

i.e. - for received data... recBeer(a,b)recBeer(229,33939) = 48(Meaning 48 bottles of beer #229 arrived on date 33939)SO... a is the product, b is the date. Any searches for (229,*) would provide me with the complete history of that product being received. any searches for (*,33939) would tell me all of what was received on that date.Will that work?(And yes, I'm stuck with a flat file to make this work. Much rather have a db involved.)

View 1 Replies

Arrays And Sequential Files

Feb 13, 2010

i am coding an application where I want to populate an array with the contents of a sequential file that is already populated as salary.txt in the debug folder. Basically, I want to copy the contents of that file to an array so that I may use a code to go with the intSubscript of the array. Right now it functions as just an array for this purpose, but I want to populate the array with the sequential file first. All attempts to do this, with stream writer etc and readline, I am just getting the first item in the file. I have tried to loop it and still only the first is accessable. Driving me batty, turning to the masses for guidence.[code]

View 1 Replies

How To Check For Sequential Numbers

Jul 9, 2009

I have a working piece of code that checks that 4 out of 5 random numbers are in sequence. The numbers correspond to 5 dice rolls. I'm trying to learn VB and I think the code can be improved since it's so cumbersome. The sub checks to see if any of the numbers are duplicated and reassigns one of the duplicates to an arbitrary "11" which is outside of the 1-6 range of a single dice roll. Then the values are inserted in an array and sorted and the sequence check takes place. score of 30 is assigned if 4 of 5 of the (sorted) numbers are in order. If not in order, a score of 0 is set.

Code follows:
Private Sub OtherScores4()
'Check if any of the rolls are duplicated and reset one of the die to arbitrary "11".
If Dice1 = Dice2 Then
Dice1 = 11
End If
If Dice1 = Dice3 Then
Dice1 = 11
[Code] .....

View 3 Replies

Reading Sequential Files?

Mar 2, 2010

I am suppose to create a module level array name Product and populate a list box with the contents of a file (ItemInfo.txt) The file contains the Item ID and price of the item. (Line 1 is an item, Line 2 is a price for Line 1, Line 3 is an item, Line 4 is a price for Line 3, and so on.) The problem i'm having is when i populated the list box, I only wanted to populate the list box with the items, not everyline from the file. I guess I wanted to put elements [0], [2], [4], [6], and [8] from the Product array in the list box, but I am putting everything in there. What am I missing?here is my code so far:

' Name: Glovers Project
' Purpose: Displays the price of an item
' Programmer: <Paul J. Williams> on <February 27, 2010>

[code]......

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved