Link to home
Start Free TrialLog in
Avatar of fferdinan
fferdinan

asked on

How can play an avi video stored in an access database using Visual Basic

Hi,

How can I play an avi video stored in an access database in a binary field using mciSendStringA in Visual Basic 6.0 without using a temporal file. (I think using a stream, some example?)

Thanks.
 
Avatar of Ark
Ark
Flag of Russian Federation image

Avatar of fferdinan
fferdinan

ASKER

Ark, stored in a database no in a dll.....
No difference - just fill array from BLOB field and set lpData = VarPtr(arrData(0)). Probably, you'll need GlobalAlloc/GlobalLock API to lock memory area and pass lpData pointer, returned by GlobalLock API.
ASKER CERTIFIED SOLUTION
Avatar of Ark
Ark
Flag of Russian Federation image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial