Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

That would defeat the aim of creating a standalone executable.

 

By "standalone executable" I mean an application that only needs the .NET framework to run.

 

And what if I use AVI files instead of MPEGs? Are they supported natively by VB.NET?

 

you can use Microsoft.DirectX.AudioVideoPlayback, though I'm not sure if you need to download the DirectX SDK first.

Pasquale Esposito

Perugia - Italy

http://www.geocities.com/espositosoftware

Posted

I'm sorry, I don't understand what you mean. Anyway, what I would like to know is if it is possible to execute AVI files in VB.NET natively, i.e. without resorting to external applications.

 

This way all you have to do in order to make your application work on the destination computer is copy your exe from your computer to the other.

 

This is what I mean by "standalone executable", that is a self-sufficient exe file created with VB.NET which could run on any operating systems supporting the .NET framework.

 

I'm trying to find the words "standalone executable" in your thread but can't seem to.

Pasquale Esposito

Perugia - Italy

http://www.geocities.com/espositosoftware

Posted

This is bad news. Why didn't Microsoft think about it?

 

Do you know if it is possible to play an AVI file in a Picturebox making some calls to the Windows API?

 

This is something I can do in VB6 but I don't know if that code is portable to VB.NET and, besides, I don't know how to convert the API calls.

 

As far as I know, .NET framework does not contain any classes for playing video files right now.

Pasquale Esposito

Perugia - Italy

http://www.geocities.com/espositosoftware

Posted

Hi, Just use the mciSendString command interface. It is completely compatible with Windows 95 and Above. You won't need to include anything extra in your setup file for your program either. The only thing you could run into is, the user may not have a certain codec installed to play certain formats ( eg: quicktime movies) But for the most part. You should not have any problems at all. I have a few things on my website that will help you. MCI tutorial, ect.. Take care.

 

 

 

Jason

  • *Experts*
Posted
As far as I know, the reason that the .NET framework does not contain any multimedia functionality is because MS is trying to make the framework compatible with other platforms. The way multimedia works between the different operating systems is just too different to make it work reliably.
Posted

Don't you think Microsoft should have engineered some new multimedia technology for the .NET framework to manage video files?

 

If the framework does nor rely on any OS for its functionalities, as they say, nothing should prevent them from creating new multimedia devices.

 

P.S. I know this is not the right place for linguistic questions, but I would like to know if in English you say "Microsoft is" or "Microsoft are". Thanks.

 

As far as I know, the reason that the .NET framework does not contain any multimedia functionality is because MS is trying to make the framework compatible with other platforms. The way multimedia works between the different operating systems is just too different to make it work reliably.

Pasquale Esposito

Perugia - Italy

http://www.geocities.com/espositosoftware

Posted

Thanks. The more I go on with VB.NET, the more I realize that managing the Win32 API under this new programming language is not that different from the way we used to make API calls under VB6.

 

Hi, Just use the mciSendString command interface. It is completely compatible with Windows 95 and Above. You won't need to include anything extra in your setup file for your program either. The only thing you could run into is, the user may not have a certain codec installed to play certain formats ( eg: quicktime movies) But for the most part. You should not have any problems at all. I have a few things on my website that will help you. MCI tutorial, ect.. Take care.

 

 

 

Jason

Pasquale Esposito

Perugia - Italy

http://www.geocities.com/espositosoftware

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...