473,387 Members | 3,781 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,387 software developers and data experts.

video

Okay,
What I have is a button that when clicked, playes a video in the default
player (Usually WMP) then closes the form.

I am using ProcessStart then Me.Close
How can I do the same thing, however play the video full screen, and then
close prior to the form closing.

I am an absolute beginer and have only begun to learn VB. I will need the
simplest of instructions.

What I have learned is thanks to the knowledgable folks on this board.

Thank you for your help
Dec 17 '06 #1
4 1034
John,

Why do you take as absolute beginner the most difficult part from Windows
and programming to start.

For what you want, you need in fact interop and it those are not there the
use of application program interfaces.

You process start is nothing more than a kind of replacing a Dos command.

Cor

"john piper" <jo**@piper.comschreef in bericht
news:zJ***********@tornado.tampabay.rr.com...
Okay,
What I have is a button that when clicked, playes a video in the default
player (Usually WMP) then closes the form.

I am using ProcessStart then Me.Close
How can I do the same thing, however play the video full screen, and then
close prior to the form closing.

I am an absolute beginer and have only begun to learn VB. I will need the
simplest of instructions.

What I have learned is thanks to the knowledgable folks on this board.

Thank you for your help

Dec 17 '06 #2
I am thinking if I was not a biginer, and I had the knowledge that most of
these folks in here have, then I would not be doing things wrong. I am
taking this up as a hobby, but do want to learn (slowly)
"Cor Ligthert [MVP]" <no************@planet.nlwrote in message
news:eu**************@TK2MSFTNGP06.phx.gbl...
John,

Why do you take as absolute beginner the most difficult part from Windows
and programming to start.

For what you want, you need in fact interop and it those are not there the
use of application program interfaces.

You process start is nothing more than a kind of replacing a Dos command.

Cor

"john piper" <jo**@piper.comschreef in bericht
news:zJ***********@tornado.tampabay.rr.com...
>Okay,
What I have is a button that when clicked, playes a video in the default
player (Usually WMP) then closes the form.

I am using ProcessStart then Me.Close
How can I do the same thing, however play the video full screen, and then
close prior to the form closing.

I am an absolute beginer and have only begun to learn VB. I will need
the simplest of instructions.

What I have learned is thanks to the knowledgable folks on this board.

Thank you for your help


Dec 17 '06 #3
john piper wrote:
Okay,
What I have is a button that when clicked, playes a video in the default
player (Usually WMP) then closes the form.

I am using ProcessStart then Me.Close
How can I do the same thing, however play the video full screen, and then
close prior to the form closing.

I am an absolute beginer and have only begun to learn VB. I will need the
simplest of instructions.

What I have learned is thanks to the knowledgable folks on this board.

Thank you for your help

To launch a Process "Full Screen", I believe you are looking for the
following -

Dim StartInfo As New ProcessStartInfo("Your Filename Here")
StartInfo.WindowStyle = ProcessWindowStyle.Maximized
Process.Start(StartInfo)

As for the rest of your question - Do you want to Close YOUR application
before the Process Completes (If so, just add Me.Close) or do you want
to wait for the PROCESS to Close first? (If so, post back and I'll look
at the code for that).

By the way, the above code basically came from typing "Process.Start"
into the Help page. You might like to examine some of the examples in
there yourself.

Hope this helps.

ShaneO

There are 10 kinds of people - Those who understand Binary and those who
don't.
Dec 17 '06 #4
John-

I'm also a beginner, and also working on an application that plays videos. I
found that it was very simple to download MS's WMP SDK (or named something
like that, I'm not at home so I don't have access to my PC to check). From
there, I added a WMP control on my userform, and can easily load and play
video clips (AVI clips, in my case) right in my application with a few lines
of code.

Depending on what you are trying to do, it may be easier than trying to work
with an external player. If you provide more detail about what you are
trying to accomplish, the MVPs and other gurus here have been very helpful
and can probably give you specific advice. If I understand correctly that
you want to play a video, close the video window, then close your program-
if you embed the video player in your userform, then you've just saved a
step or two.

Best,
Keith

"john piper" <jo**@piper.comwrote in message
news:zJ***********@tornado.tampabay.rr.com...
Okay,
What I have is a button that when clicked, playes a video in the default
player (Usually WMP) then closes the form.

I am using ProcessStart then Me.Close
How can I do the same thing, however play the video full screen, and then
close prior to the form closing.

I am an absolute beginer and have only begun to learn VB. I will need the
simplest of instructions.

What I have learned is thanks to the knowledgable folks on this board.

Thank you for your help

Dec 18 '06 #5

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

Similar topics

1
by: Lonewolf | last post by:
Hi everyone, pls forgive me for my lack of knowledge and skills if my question sounds very stupid. I am trying to implement a video conferencing software and I am currently looking at a few set of...
8
by: Nehmo | last post by:
When a page has a JavaScript "link" to a video, like http://www.msnbc.msn.com/id/10478942/ . How do you get the URL of the actual video? Isn't it in the source somewhere? -- )|:__ Nehmo __:|(
1
by: richardscheff | last post by:
Video selector works for IE but not other browsers. for not IE <object ID='Player' data="video/dodgeball.wmv" type="video/x-ms-wmv" width="320" height="280"> <param name="filename"...
12
by: Pallas | last post by:
Hi all, I've produced some high-def videos and I want people to be able to watch them on my website, but I may want to prevent downloads and I certainly want to prevent them from editing them....
2
by: hzgt9b | last post by:
Using VS2003, VB.NET, BACKGROUND I have a window forms based application that will be distributed and executed directly from CD media. The app contains a TreeView control and a WebBroswer...
3
by: triplejump24 | last post by:
i LOVE doing c++ programming, but i never can get myself started! Once i figure it out, its fun but anyways here it goes... Im given a file c:\temp\hwk8input.txt, which contains the records of the...
3
by: ghostrider | last post by:
Does anyone know how to recognise the image capture signal from a medical scope such as a video colonoscope? I've got video streaming from the scope to the computer but want my app to recognise...
8
by: Oscar Arreyano | last post by:
I did a website for a friend's company where they wanted a 'downloads' section similar to standard file sharing you see all over the place. Everything works great except for video. I know there are...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...

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.