473,396 Members | 1,892 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Viewing AVI, MPG Jpg, etc in a VB.NET (2.0) application

Hi all..

Just want to know the best way to view AVI's, JPG's, MPG's and similar
files in one control in a VB.NET application? The application will be
an advertising display tool.

Is there a simple control that can accomplish this (Free or
commercial), or are there controls/possibiliites already built into
the Framework (V2)?

Thanks for any responses...

Robert

Feb 16 '07 #1
4 2134
The easiest way to accomplish this is the Windows Media Player. You can
download the WMP SDK from Microsoft.

"RB0135" <ro****@joshie.com.auwrote in message
news:11**********************@a75g2000cwd.googlegr oups.com...
Hi all..

Just want to know the best way to view AVI's, JPG's, MPG's and similar
files in one control in a VB.NET application? The application will be
an advertising display tool.

Is there a simple control that can accomplish this (Free or
commercial), or are there controls/possibiliites already built into
the Framework (V2)?

Thanks for any responses...

Robert
Feb 16 '07 #2
"Ryan S. Thiele" <ad***********@carriercompanion.comschrieb:
The easiest way to accomplish this is the Windows Media Player. You can
download the WMP SDK from Microsoft.
.... another simple way is to use MCI:

<URL:http://www.mentalis.org/soft/class.qpx?id=1>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Feb 16 '07 #3
Using the directx api is as simple as creating a Video object using a
constructor using the filename. Then you can use the Play() method of the
object to play the video. There are other methods for stopping and setting
the position of the video (if it supports it).

All in all it is very simple and all system should have directx support of
some kind. I recently updated to Vista (painful) but my app went from using
directx 9 on XP to 10 on Vista without a hicup.

Go to microsoft home page and select For Developers. The link for the
latest SDK is under Popular Downloads.

Lloyd Sheen

"Ryan S. Thiele" <ad***********@carriercompanion.comwrote in message
news:79**********************************@microsof t.com...
The easiest way to accomplish this is the Windows Media Player. You can
download the WMP SDK from Microsoft.

"RB0135" <ro****@joshie.com.auwrote in message
news:11**********************@a75g2000cwd.googlegr oups.com...
>Hi all..

Just want to know the best way to view AVI's, JPG's, MPG's and similar
files in one control in a VB.NET application? The application will be
an advertising display tool.

Is there a simple control that can accomplish this (Free or
commercial), or are there controls/possibiliites already built into
the Framework (V2)?

Thanks for any responses...

Robert
Feb 16 '07 #4
On Feb 16, 1:47 pm, "Lloyd Sheen" <a...@b.cwrote:
Using the directx api is as simple as creating a Video object using a
constructor using the filename. Then you can use the Play() method of the
object to play the video. There are other methods for stopping and setting
the position of the video (if it supports it).

All in all it is very simple and all system should have directx support of
some kind. I recently updated to Vista (painful) but my app went from using
directx 9 on XP to 10 on Vista without a hicup.

Go to microsoft home page and select For Developers. The link for the
latest SDK is under Popular Downloads.

Lloyd Sheen

"Ryan S. Thiele" <administra...@carriercompanion.comwrote in messagenews:79**********************************@m icrosoft.com...
The easiest way to accomplish this is the Windows Media Player. You can
download the WMP SDK from Microsoft.
"RB0135" <rob...@joshie.com.auwrote in message
news:11**********************@a75g2000cwd.googlegr oups.com...
Hi all..
Just want to know the best way to viewAVI's,JPG's,MPG'sand similar
files in one control in aVB.NETapplication? Theapplicationwill be
an advertising display tool.
Is there a simple control that can accomplish this (Free or
commercial), or are there controls/possibiliites already built into
the Framework (V2)?
Thanks for any responses...
Robert- Hide quoted text -

- Show quoted text -
Thanks...

I didn't even think about WMP or DirectX..

I will investigate.

Robert

Feb 16 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Marc R. Bertrand | last post by:
Hello, I am trying to make this as simple as I can. At this very initial design type of stage, just the overall plain blueprint so to speak would be a good start....
12
by: Scott Simonson | last post by:
Does anyone have any idea why Access's module editor doesn't scroll with the mouse. I noticed this behavor in Access 2k also. While viewing code in a module (or any thing for that matter) the wheel...
2
by: Matthias H. | last post by:
Hi guys, Our team has a very strange problem. I hope anybody can help. We have a class called webpage and all our aspx-pages bases on it. Then we have a SYS.IO.File Class which have a...
2
by: crjunk | last post by:
I'm having problems viewing ASPX pages in the VS.NET browser. For some unknown reason, it just stooped working. The status bar at the bottom just says "Downloading...". So far I haven't been...
1
by: dk | last post by:
Any idea why the response time is slow when running a system tray app when viewing the properties form? There is one primary loop and a timer control which executes every 3minutes. Is having the...
3
by: sss024 | last post by:
Word document viewing in RichTextBox control
10
by: NH | last post by:
I have a girdview with paging enabled. How can I add a message in the footer to say "Viewing records 1-15 of 45" etc Thanks
2
by: yossimotro | last post by:
Hi guys, I'd like to add a feature of viewing who is online to my website. Right now whenever a user logs on to my website I create a Session variable for him containing his ID. I'd to have...
0
by: David P. Donahue | last post by:
This is the first time I've had any problems viewing a report in any of my applications, so I'm not sure where to begin. But when I try to render my report in a report viewer, the application...
12
bartonc
by: bartonc | last post by:
Here's something cool that I just discovered (on IE7, I wonder about the others): I was viewing a long code block with some really long lines in it. Since the horizontal scroll bar was WAY of my...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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,...

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.