Multimedia control in VB6 learning edition

Status
Niet open voor verdere reacties.

PC-user

Gebruiker
Lid geworden
19 mrt 2003
Berichten
363
Weet iemand hoe je de multimedia control (mci32.ocx) in de learning edition kunt installeren en gebruiken?

Zo niet, weet er iemand een goed alternatief?
 
Ik kan hier niet echt veel wijzer uit worden hoor........, kan en wil je het svp uitleggen wat je bedoelt :confused:
 
zoek eens op je computer naar mci32.ocx ! Heb je hem ??
 
nee, ik heb hem niet

Ik heb wel een bestand dat er qua naam erg op lijkt, maar 1 letter van de extentie klopt niet
 
hier heb je de file:

registreer hem even door te doen:

start > uitvoeren > regsvr32 mci32.ocx [enter]

in visual basic kies je dan in project > components > bladeren > zoek de file op in windows\system > ok
 
Laatst bewerkt:
License information for this component not found. You do not hava an appropriate license to use this functionality in the design environment.

Dat is de melding die ik krijg, ik denk dat dit komt omdat ik de learning edition heb. Maar misschien weet je een andere oplossing of weet je misschien een andere manier waarop het op te lossen is.

Ik wil namelijk een soort van muziek-wisselaar maken die uit een database te weten krijgt welk nummer hij als volgende moet draaien. Omdat er geen stilte mag vallen, moeten twee spelers naast elkaar draaien, en de ene al spelen terwijl de andere nog bezig is. Kan dit ook met andere components?
 
Dit is trouwens de uitleg die VB geeft:

"You tried to place an ActiveX control on a form at design time or tried to add a form to a project with an ActiveX control on it, but the associated information in the registry could not be found.
The information in the registry may have been deleted or become corrupted. Reinstall the ActiveX control or contact the control vendor.
"
 
<a href="http://support.microsoft.com/support/kb/articles/Q194/7/51.ASP">FILE: VB6Cli.exe Fixes License Problems with Visual Basic 6.0</a>
 
En zelfs dan lukt het niet, omdat in die tabel staat dat multimedia control alleen voor P en E (Pro en enterprise is)

Wat betekent PM trouwens :(
 
sorry,

dan denk ik toch dat je over moet stappen naar een andere versie van visual basic .........
 
Kan het niet met "real player active X control" of de "windows media player control"???

Zijn er misschien nog alternatieve editors te koop, want Visual Basic Pro of Enterprise zijn niet goedkoop?
 
Ik snap hem, en ben er bijna uit. Ik ga toch maar overstappen naar Pro of Enterprise

Bedankt voor je hulp
 
Laatst bewerkt:
Probleem is opgelost, ik heb de Enterprise gekocht

Nog 1 vraagje, hoe maak ik zo'n statusbalkje waar de speeltijd en positie van een track op staat (het hoeft niet persee met een balkje, gewoon in een label of textbox mag ook). Het gaat om de totale tijd en de huidige speeltijd
 
Helaas kan ik er niet zo veel mee omdat het niet is wat ik bedoel

Als je in Windows Media Player 9 kijkt terwijl een liedje speelt, dan zie rechts onderin de totale tijd en de tijd waar media player op dat moment aan het spelen is, het gaat mij om die twee dingen. Ik heb wel wat gelezen in de MSDN library maar ik snap het niet helemaal, ik zal het even plakken

Specifies the time format used to report all position information.

Syntax

[form.]MMControl.TimeFormat[ = format&]

Remarks

The following table lists the TimeFormat property settings for the Multimedia MCI control.

Value Setting/Time format
0 mciFormatMilliseconds
Milliseconds are stored as a 4-byte integer variable.

1 mciFormatHms
Hours, minutes, and seconds are packed into a 4-byte integer. From least significant byte to most significant byte, the individual data values are:
Hours (least significant byte)
Minutes
Seconds
Unused (most significant byte)

2 mciFormatMsf
Minutes, seconds, and frames are packed into a 4-byte integer. From least significant byte to most significant byte, the individual data values are:
Minutes (least significant byte)
Seconds
Frames
Unused (most significant byte)

3 mciFormatFrames
Frames are stored as a 4-byte integer variable.

4 mciFormatSmpte24
24-frame SMPTE packs the following values in a 4-byte variable from least significant byte to most significant byte:
Hours (least significant byte)
Minutes
Seconds
Frames (most significant byte)
SMPTE (Society of Motion Picture and Television Engineers) time is an absolute time format expressed in hours, minutes, seconds, and frames. The standard SMPTE division types are 24, 25, and 30 frames per second.

5 mciFormatSmpte25
25-frame SMPTE packs data into the 4-byte variable in the same order as 24-frame SMPTE.

6 mciFormatSmpte30
30-frame SMPTE packs data into the 4-byte variable in the same order as 24-frame SMPTE.

7 mciFormatSmpte30Drop
30-drop-frame SMPTE packs data into the 4-byte variable in the same order as 24-frame SMPTE.

8 mciFormatBytes
Bytes are stored as a 4-byte integer variable.

9 mciFormatSamples
Samples are stored as a 4-byte integer variable.

10 mciFormatTmsf
Tracks, minutes, seconds, and frame are packed in the 4-byte variable from least significant byte to most significant byte:
Tracks (least significant byte)
Minutes
Seconds
Frames (most significant byte)
Note MCI uses continuous track numbering.


Note Not all formats are supported by every device. If you try to set an invalid format, the assignment is ignored.

The current timing information is always passed in a 4-byte integer. In some formats, the timing information returned is not really an integer, but single bytes of information packed in the long integer. Properties that access or send information in the current time format are: From, Length, Position, Start, To, TrackLength, TrackPosition.

Data Type

Long (Enumerated)



Maar hoe moet ik dat dan gebruiken?
 
heb daar zelf nog niet mee gespeeld, maar ergens staat dit:

Val
Constant
Setting/Time format
Type

0 mciFormatMilliseconds
Milliseconds stored as a long integer.
Wav, Mid

3 mciFormatFrames
Frames stored as a long integer.
AVI

10 mciFormatTmsf
Track (LSB), minutes, seconds, frame
CDaudio

dus voor wav, midi 0; 3 voor avi bestanden en 10 voor cd-audio !!

zie:

http://216.239.41.104/search?q=cach...Iplay.doc+MMControl.TimeFormat&hl=nl&ie=UTF-8
 
Status
Niet open voor verdere reacties.
Terug
Bovenaan Onderaan