BASIC/Visual Basic >> VB Programmer
Posted by kpyro on 23:09:00 01-11-2002
I am new to this site and looking for someone to help me with VB. I have read a book or two and want to learn more.
Posted by fsvara on 12:12:00 01-12-2002
lol, you're not sure wether you have read one or two books?
Posted by IbYdI on 12:59:00 01-12-2002

well i you read two books that would be enough knowledge for you to start programming.
but if you wont more, then programm.
it'll come.
Posted by IbYdI on 13:00:00 01-12-2002
*want
Posted by robost86 on 17:02:00 01-12-2002
Don't post a new message, just click on 'edit' on the old one, and edit the text
Posted by Peter on 20:57:00 01-12-2002
I'd suggest you to read some tutorials on the Internet and check some sourcecode... and as IbdY said, program . That's the only real way to learn...
Posted by KaGez on 02:51:00 01-13-2002
true... you can read 1000s of books, and only knowledge won't bring you further x(
I've seen that when I was reading my OpenGL book while I was in germany last year without a comp... I've read the whole book, and then ... "how do I use that stuff" ?
maybe you should give yourself some tasks to do about the stuff you've read in the last chapter of the book or something
[addsig]
Posted by kpyro on 16:35:00 01-14-2002
I have been programming in VB for about a year now but I still want to learn more. I have created a basic encryption program and a text editor, but, well I dunnno...
Posted by laurencechen on 09:07:00 11-16-2002
How to record sound from microphone by VB or VC and so that the data form microphone can be written into a matrix, and the matrix can be read, processed and written to file, such as .wav file?
Posted by dxprog on 10:00:00 11-16-2002
'Tis an easy thing to do. You don't have to write it to a matrix and then save it. Using the mciSendString API it will do everything for you. Here's the code:

Private Declare Function mciSendString Lib "winmm.dll" Alias "mciSendStringA" (ByVal lpstrCommand As String, ByVal lpstrReturnString As String, ByVal uReturnLength As Long, ByVal hwndCallback As Long) As Long

Sub StartRecording()
mciSendString("open new type waveaudio alias recwave", 0, 0, 0&) ' Open new device
mciSendString("record recwave",0, 0, 0&)
End Sub

Sub EndRecording
mciSendString("save recwave c:\wavefile.wav", 0, 0, 0&)
mciSendString("close recwave", 0, 0, 0&) ' you MUST close the recording device at some point or you're liable to lock up your computer!!!
End Sub

I've used VB for the example, but the code is basically the same for VC++. To find out more about MCI goto http://www.geocities.com/smigman.geo/mci/home.html. They have just about everything you'll need to know. Hope it works for you and good luck.

_________________
When I got VB, i could have flown without thrusters and shot down TIE Interceptors just by spitting at them.

[ This Message was edited by: dxprog on 2002-11-16 10:01 ]
Posted by themaximus on 22:49:00 05-31-2003
Thanks DX. I'm new to API stuffins. [addsig]
Posted by Yjo on 01:16:00 06-01-2003
what was all that about sound 'matrices' ?