Search:
Type: Posts; User: kembreg
Search:
Search took 0.01 seconds.
-
On a US keyboard, one could have code like :
If Lettertyped = "A" then ....
How does one go about capturing letters on a Russian keyboard?
i.e.
If lettertyped = "Л" then...
If...
-
The weirdest thing.
I have a .wav file with a length of 0.2s. (typewriter key-stroke sound)
Here is my code:
With MainForm.MMControl
.Wait = true
.Shareable = False
...
-
Hey all.
I know there is an API call "ShowCursor" which can be used to temporarily turn off the cursor.
The disadvantage is that suddenly turning off the cursor, moving it and then turning on...
-
I think there is an error in The Trick's code and I would like to offer a correction.
.cbSize = Len(dstFormat) 'Incorrect
.cbSize = 16 'Correct
If mmioWrite(hWave, dstFormat,...
-
I figured out how to skip X samples at the beginning to account for the MP3 encoding process.
I used TheTrick's code and added this routine to remove the front end bytes from the array:
Sub...
-
I tried this:
Dim SampleCounter As Long
SampleCounter = SampleCounter + 1
If SampleCounter >= SampleStartPoint Then
If mmioWrite(hWave, buffer(0), acmHdr.cbDstLengthUsed) = -1 Then
...
-
Much appreciated The Trick.
Огромное спасибо :)
I tried it out and it works.
Great.
Now a request...
The Lame encoder adds 1052 samples to the front of any MP3 file.
-
Olaf,
I am indeed familiar with the WAV format and headers etc.
My problem is that I cannot figure out where the data is stored in TheTrick's code.
For example, I have code already to save a...
-
Olaf,
My preference would be 'not' to add extra size to the app and instead to use the "DX8-Typelib".
Can you point me to a working example that uses the DX8-Typelib to convert an MP3 to a WAV?...
-
Vielen Dank Olaf.
The only concern I have is the RC5 reference.
I googled and found out you are referring to the vbrichclient (I believe).
Is there a specific process for including this...
-
When I run your code, I get an error :
"Wrong number of arguments or invalid property assignment"
at this line:
If 1 <> acm.ConvertData(0, realout, , , usedlen) Then
...
-
Dear The Trick.
I downloaded the code and ran it.
Very impressive.
I don't have enough ability to build a "Save as wav" routine from your code though.
Could you throw something together?...
-
I downloaded the code and ran it.
Very impressive.
I don't have enough ability to build a "Save as wav" routine from your code though.
Could you throw something together?
Would be very much...
-
The code provide by Danielo apparently only encodes MP3's.
I'm looking for VB6 code to decode an MP3 and save it as a WAV file.
Can you provide any code to do this?
Thanks,
David
-
I found code at this link:
http://www.vbforums.com/showthread.php?358703-VB6-ACM-%28e-g-WAV-MP3-conversion%29
Is that the right link?
What I tried it out, it did not work.
MP3 Dec
-
Thanks.
Do you have a link to the appropriate post in the codebank?
-
Thanks for writing.
Apparently DirectSound8 will not run on anything laster than Vista (including Vista)
Any comments?
David
-
Thanks for writing back.
A couple of lines of code is all that is needed.
MCISendstring(String to open an MP3 file)
MCISendstring(String to copy the MP3 to another voice)
MCISendstring(String...
-
Navion,
Good to hear.
Have googled trying to find some code.
Could you post some code for this?
Would be much appreciated.
David
-
Hi all.
I want to load an MP3 file and save it as a WAV file.
Should be elementary.
As it turns out, it seems not to be.
The mmcontrol will only save with a sampling rate of 11kHz,...
-
Hey all.
I have a list box control with the sort property set to true.
The list box does not however sort this list:
Russian
ÉÓÐÁÎÓËÉÊ
ËÁÔÁÌÏÎÓËÉÊ
ÁÎÇÌÉÊÓËÉÊ
-
Hi all.
Have used the MMcontrol for years with no problem.
Just ran some VB6 code on a Dell with Windows 7. (executable)
Every time a wav file plays, there is an audible click at the...
-
Just a tip... don't use the dir function to check if files exist.
It will muck up any other functions you have which use dir in a loop.
David
-
I am trying to follow the logic of Elroy's code.
I simplified the code in the process:
Public Sub HyperLinkJump(ByVal sUrl As String, hWnd As Long)
Dim s As String
Dim iFle As Long
Dim...
-
It seems to me that Elroy's code checks if Chrome is installed on the machine.
Would it not be better to check it Chrome is the default browser or if html files are associated with Chrome?
That...
-
I can load in a WAV file as a binary and look at each sample.
This is because WAV files are stored as PCM.
How would I do the same with an MP3 file?
I am using the MicroSoft Multimedia Control...
-
The last response was in 2005. Thanks so much for your post. It helped me in Sept 2014!
-
I've always none the modal / modeless choice as one to make when the .show method is evoked.
I have no idea how to make the main form modal or modeless.
I don't think it's a form property.
-
Any help would be appreciated.
-
yes, very good laugh. Could you help? If I switch back to my application and close a modeless form I would expect to see the form that called the .show method. Why would I see an application from...
-
Now some very odd behaviour.
Main Form - modal (Full screen)
Sub Form - modeless (Full screen)
My app opens with Main Form
I click on a button to open the Sub Form.
The form opens, full...
-
Hi all.
Followed the advice and made the sub-section forms "modeless".
Solves the problem but introduces another.
Using this API:
GetForegroundWindow
Now the the forms are modeless, when...
-
Form 1 (Main Form, Full screen, modal)
Form 2 (1 part of the software, Full screen, modal)
Form 3 (Little Window showing name of current sub. As each sub is entered, the name of the sub is shown...
-
I have a software package with a main window
I have 6 different sections, all of which are full screen, and are each "forms".
I would like to open a modeless form on top of one of these forms.
-
==============================================
Can't show non-modal form when modal form is displayed (Error 401)
See Also
When a modal form is displayed, you cant display another non-modal...
-
Hello all.
I am aware of the rule that a modeless form cannot be shown while a modal form is open.
Can someone let me know a work around?
If have written a diagnostics routine whereby at the...
-
DataMiser,
Thanks for answering.
Also, thanks for the idea.
For a WAV file it worked and for an MP3 file it did not.
I added the line ".TimeFormat = 0" and now it works fine for both WAV...
-
Hi all.
Using the MMControl I can play portions of a WAV file;
MMControl.Notify = True
MMControl.Wait = False
MMControl.From = 3900
MMControl.To = 5000
-
Hi all.
I am using setdibits to paint onto a form.
It works but when I switch to another application and then back, the drawing is gone.
Any idea what's up?
---------------
Dim...
-
Thanks to Tanner's suggestions, it worked.
Tanner's comment also got me thinking... The BitMapInfo is redundant. It doesn't need to be passed. it can be created based on the width and height.
...
|
Click Here to Expand Forum to Full Width
|