473,473 Members | 1,899 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

how to conect media player using VB

17 New Member
Plz Assit.....i Wana Get Media Player On My Form Working
Mar 1 '07 #1
5 2669
willakawill
1,646 Top Contributor
Hi What are the problems you are having?
Mar 4 '07 #2
majidmajid
17 New Member
Hi What are the problems you are having?

i hve got embed it on the form.............then i dont hve any material ..how to get it run...............
i want to run some multimedia files...............
Mar 5 '07 #3
slapshock
57 New Member
to have a media player on you form, you need to add the components of windows media player, then drag it to yuor form.....

and to play video in the player...just code this

for example the name of the media player is wmp
wmp.url="the path where the videos are saved"
media player has a default buttons for play, pause and etc...
just explore what are the functions of its components...
hope that it will help



Soulfly
Mar 7 '07 #4
majidmajid
17 New Member
thnks....
but i really cant get those routines... any whre
plz write a small code to get it .
also how to explore our harddisk through vb.
plz write bck.
Mar 12 '07 #5
knychtell
65 New Member
[Hi, maybe this could help

add a windows media player, it is located toolbar, right click toolbar then go to add buttons, then go to com components, im not sure but there's only two choices the com components and the other one
not browse to that then select and add the windows media player
then drag it to the form


the code runs like this

1ST DOUBLE CLICK THE MEDIA PLAYER THEN COPY ITS NAME "AXMEDIAPLAYER_CLICK"


you could just add a TIMER if you want to,

In timer
add this
________________________________
timer1.interval=100
THEN (COPY THE EXACT NAME OF THE MEDIA PLAYER)
END IF
______________________________


OR YOU COULD JUST PUT THE CODE WITH AXMEDIAPLAYER_CLICK EVENT @ THE FORMS EVENT

DOUBLE CLICK THE FORM ITSELF (FORM1)

IT WILL GET YOU TO THE CODE VIEW OF FORM LOAD

THEN PASTE THE CODE TOGETHER WITH THE AXMEDIAPLAYER1_CLICK EVENT

THIS (MEDIAPLAYER)WILL RUN EVERYTIME YOU OPEN THE 1ST FORM
Mar 13 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Stephen Adam | last post by:
Hi there, Have spent a while trying to find out how to connect to Windows Media Player through COM. Unfortunately there doesnt seem to be much stuff about it on the web. What I need to do is...
1
by: Shane | last post by:
I'm trying to access the media player (V10) mediacollection object from my ..NET web service to return a list of media files. For some reason when i call getByAttribute("MediaType", "Audio") ...
3
by: UJ | last post by:
I have a .avi file that uses the Divx codec. If I load it with windows media player program it works fine. If I load it using my control in a program, it doesn't display. Over standard media files...
19
by: Tony | last post by:
I'm working on project that plays movies using Windows Media Player and I'm controlling everything with JavaScript. Per the client I only need to support IE 6 or greater which happens to make...
2
riptide2049
by: riptide2049 | last post by:
I really have a problem here. I have a code that is suppost to take the href of a link from the right class;value of a link maked toreturn false. the value is a Media file the file is sent to...
1
by: =?Utf-8?B?Y2h1ZA==?= | last post by:
I am using vista and every song that i download or rip into my media player becomes corrupt. at the last 20 second mark of every song it skips. it only happens if i play the song using the media...
5
by: Fred Chateau | last post by:
I am currently using an Object element of type "application/x-mplayer2" to create a media player in ASP.NET 3.5, and was wondering if there is a better way to instantiate WMP in a browser. I'm...
3
by: hurricane_number_one | last post by:
I want to be able to play/pause/next/back the tracks in whatever media player app is running. So if iTunes is running, it will receive those commands, if Windows Media Player is, it will receive...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.