Computers & Internet Logo

Related Topics:

Posted on Sep 10, 2008
Answered by a Fixya Expert

Trustworthy Expert Solutions

At Fixya.com, our trusted experts are meticulously vetted and possess extensive experience in their respective fields. Backed by a community of knowledgeable professionals, our platform ensures that the solutions provided are thoroughly researched and validated.

View Our Top Experts

Visual basic tell me how to add multimedia control with simple vb application.

1 Answer

Anonymous

Level 3:

An expert who has achieved level 3 by getting 1000 points

Superstar:

An expert that got 20 achievements.

All-Star:

An expert that got 10 achievements.

MVP:

An expert that got 5 achievements.

  • Master 1,049 Answers
  • Posted on Sep 12, 2008
Anonymous
Master
Level 3:

An expert who has achieved level 3 by getting 1000 points

Superstar:

An expert that got 20 achievements.

All-Star:

An expert that got 10 achievements.

MVP:

An expert that got 5 achievements.

Joined: Jul 23, 2008
Answers
1049
Questions
2
Helped
286731
Points
2705

What exactly do you want to do?

There are a lot of ways...one easy way is to control the mplayer app. This is a VBS script...

WshShell.Run "wmplayer.exe"
Setup a Scripting File System Object like "set oFSO=createobject("scripting.filesystemobject")"

Then use "WshShell.SendKeys" to send the keystrokes to the player

Another way is...

To embed the media then use Active X calls, which would requie visual basic.
Private Sub Button1_Click(ByVal sender As System.Object, _
ByVal e As System.EventArgs) _
Handles Button1.Click
Const DATA_FILE_EXTENSION As String = ".mp3"
Dim dlgFileDialog As New OpenFileDialog
With dlgFileDialog
.Filter = DATA_FILE_EXTENSION & _
" files (*" & DATA_FILE_EXTENSION & "|*" & DATA_FILE_EXTENSION
.FilterIndex = 1
.RestoreDirectory = True
If .ShowDialog() = DialogResult.OK Then
'Play the sound file
Me.AxWindowsMediaPlayer1.URL = dlgFileDialog.FileName
End If
End With
End Sub

  • Anonymous Oct 06, 2008

    Did this help?

×

Add Your Answer

×

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

0helpful
1answer

What is visual basic interface?

I wish I had more context in order to give you a more meaningful answer. The two "Visual Basic" areas are 1) The programming language Visual Basic (VB) and the interface you use to program in; 2) The Visual Basic for Applications (VBA) which can be used by most other Microsoft developer programs and applications (such as Excel). The interface there is the command structure you can use to write small programs and modules within the applications (such as Excel) to interface with the VBA capability.

Since you mention "form," I suspect you are using VB (probably under what is called .NET). Really, from a purely technical issue (for example, in Computer Science classes I have taught), the interface is what .NET presents to you, the developer. The "form" is certainly one aspect of the interface, but so are the code pages.

You are correct that it could also refer to the interface between the program you develop and the end user. However, this is more commonly referred to (in the case of a language like VB) as the GUI (Graphical User Interface). Think of it another way. Under .NET you can write a program in VB or in C+ or in a number of other languages. However, the user interface is, for a given program, going to be indistinguishable to the user. So that is not really the Visual Basic Interface.
0helpful
1answer

Where can I get free download of Visual Basic 6.0 installer?

Visual Basic 6.0 is no longer supported by Microsoft so how do you get a hold of it? Currently there is not an easy legal way to get a hold of VB6. Yes that's correct - although people will tell you to simply download a bit-torrents for VB6, this is not legal because you did not buy a VB6 license. Stupid I agree considering that Microsoft does not allow you to purchase a license.

If you simply need to install an application that was originally written in VB6 you can download the Runtime Installer for VB, install it, and then install your VB program. If you want to get a hold of the VB6 developer environment I suggest asking friends that might have it and no longer use it - for example companies that maybe bought legitimate copies and are willing to give up their license (although you would need to verify this is legal and that the license is transferable). Another option is to try and buy it on EBAY.
0helpful
1answer

How to make simple visual basic

Start by doing a simple "Hello, World" program in Visual Basic. Simply follow the instructions in this guide:

http://www.vb6.us/tutorials/hello-world

Please keep in mind that some of the steps or options may be slightly different depending on what brand of VB you are using.
1helpful
2answers

I dont know the disadvantages of visual basic.

visual basic, is only a basic programming language, most programs will run on Java script, microsoft is visual basic though, but it uses a lot more complex scripts then, if you like the programing language, go for it, but i did not like it.
Also
VB is undoubtedly the simplest and easiest platform to build major Windows applications. The problem is that like other Microsoft products they change faster than I change my socks.You will certainly need more than just VB. Get into server and client side scripting and the use of VB Net.
0helpful
1answer

How to download microsoft visual basic 6.0

Hi.

Microsoft Visual basic is not a free download.

The best complete application to program in Visual basic is Visual Studio. You can download it here: Visual Basic Downloads.

If you want to download the service pack required to run VB applications see here:Download details: Visual Basic 6.0.

See also:Microsoft Visual Basic 6.0 downloads.

Regards.
0helpful
1answer

How to setup visual basic 6.0

  1. One of the first and best things to do is begin to understand the Visual Basic IDE (Integrated Development Environment). By understanding the IDE you will be able to develop VB programs quickly and effectively. Start by reading the Getting to know the VB6 IDE tutorial
  2. The classic first program in any language is the Hello World tutorial. As a beginner you should make sure you write this program to get your feet wet. Check out the Simple Hello World VB6 tutorial
  3. Good programmers figure out how to use a consistent naming scheme when they develop applications. The quickest way to graduate out of the beginner VB6 level is to check out the Object Types and Naming Scheme VB tutorial
  4. Variables are used in any real development. Make sure you visit the Quick Variable tutorial to see how variables work in Visual Basic 6
  5. (Optional) More In Depth Understanding variables and types in VB6
  6. When you need to make comparisons or have your program choose between options you will need to understand Visual Basic's if statements. Luckily there's a beginners tutorial that explains just that: Understanding the if conditional statement
  7. Once you grasp the basics check out this next beginner VB6 tutorial that goes more in depth into conditional statements: Understanding if statements and conditionals in VB6
  8. Need to do something repeatedly? Need to iterate through a list of things? Need to count from 1 to 1 Billion by 3's? You need to understand loops! Understanding For, Do, and while Loops
  9. Once a beginner understands how to use functions and subroutines he or she is on the road to being a full fledged VB6 guru. A solid grasp on functions and subroutines allows you to reuse code and functionality throughout your program and in future programs.Functions and Subroutines in VB6 tutorial
  10. Last but not least, begin to learn how to use all the great controls Visual Basic offers and create a great User Interface for your clients to use. Basic Graphical User Interfaces in VB6 - Tutorial
Once you have finished these tutorials you should have a very good understanding of the fundamentals of the Visual Basic 6 language and development environment. Feel free to download some more advanced tutorials and continue learning on your own. If you have any questions or comments related to this Visual Basic 6 guide please post them below.
0helpful
2answers

Delete blank rows in excel using visual basic

have you tried to read in one file and write back in excel format only the non-blank rows?
0helpful
1answer

How to give background sound in Visual Basic Form?Please tell me fast

try this might help u out ...
http://www.bigresource.com/VB-VB-and-sound-MIKUfAdOhW.html

check this out it is having some of the answers for u
http://vbcity.com/forums/topic.asp?tid=152263
http://system-controls.qarchive.org/


0helpful
2answers
0helpful
1answer

Visual basic codes

Since I'm not sure what version of VB you are using, or whether you have a date picker application or not, try the following suggestions:
Not finding what you are looking for?

70 views

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Grand Canyon Tech
Grand Canyon Tech

Level 3 Expert

3867 Answers

Brad Brown

Level 3 Expert

19187 Answers

Cindy Wells

Level 3 Expert

6688 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...