AxWindowsMediaPlayer1 And Playing Track From A Certain Point Of Time
Apr 1, 2009
Using the Windows Media Player control that I called, AxWindowsMediaPlayer1 com is it possible in VB.Net to start playing a track from a certain point of time?
So I have a 5 min track, but I want to start playing it from 3min 33secs for example.
how do you pass a pause and un-pause to the control?
View 4 Replies
ADVERTISEMENT
Oct 29, 2010
I need a function for my new project, the application I'm making for the PC is going to communicate with a PIC through USB. The problem I'm having is that I can't find a way for my .NET application to get the song that is currently playing like MSN can. I've been searching alot all over google but all I get is "how to play music in vb.net" and that is not what I'm looking for.
View 1 Replies
Jan 26, 2009
Over the last 3 days i've been batteling with the issue of playlists. I'm currently using windows media for mp3 playback how ever i do not understand why the command "AxWindowsMediaPlayer1.Ctlcontrols.play()" doesn't start playback immediatly. I've been over this so many time in the last few days i think i've just confused my self.
Over view of how it works... Form2 updates 1 list box with the path and 1 with the Artist & track, it then invokes the PlayMusic procedure (subroutine) on form1. However it will not begin playback until it has done all its jumpig around, gone back to form2 and closed it. Only then will playback begin.
[Code]...
View 1 Replies
May 26, 2012
how do you do this playing two sounds at a time?
View 4 Replies
Nov 18, 2010
How do programs like antivirus keep track of time passed for the trial period? Eg I want to make a program that expires and stop working in 30 days One way I thought of is to make use of the system time.
View 6 Replies
Feb 19, 2009
Its me again the newb programmer. lol why does it not allow you to play 2 sounds at the same time? the back ground loop ends when the button click sound is played :/ and I'm using vb express 2008 .net
[Code]...
View 1 Replies
Aug 3, 2009
i have put Form1.AxWindowsMediaPlayer1 in Form1 to play when program start.And when i press button to open me new form (Form2) i made Form1.AxWindowsMediaPlayer1.close()To stop the sound to start the music from the Form2 media player
And here is mine problem how to make Form2 button "Close" that close Form2 Me.Close() and to have Form1.AxWindowsMediaPlayer1 to start music again or resume it?
View 1 Replies
Mar 19, 2009
why my AxWindowsMediaPlayer1 component is white?I would like it to be black like some of the others that I see on the Web. Is there a way to change it? Change it as like it had a different skin?I am using the latest version of WMP and perphaps its all due to the version?
View 7 Replies
Aug 3, 2010
i wanta like is like a maze each time u click it exendese the line.the promblem is the walls and well i dont know how to draw line(+ a {} at each connecting point) and have the line not be able to pass the wall and if it pass it, it able to detect the shorts path of lines which u can set it on if off. for the training session.
View 3 Replies
Jun 4, 2009
I hve been working with points a lot recently, and I have been wondering if there is a way to set a point without setting point.x and point.y separately. For example for (3, 5): Point1 = (3, 5) But that isn't right
View 4 Replies
Sep 24, 2009
How to set run time Masktextbox mask to allow only 1 or 2 digit(number) After decimal point , run time in vb.net
View 1 Replies
Aug 3, 2010
I had make a web radio player application but i want also my application to work like .mp3 player so i make
a new form (the code is below) my listbox work fine also the AxWindowsMediaPlayer1. But i don't know how i can set the AxWindowsMediaPlayer1 to play the next track in listbox.
[Code]...
View 9 Replies
Sep 18, 2009
My program turns on and off external relays from the parallel port. I need to find a way to activate the relay only while a wav file is playing and de-activate the relay when the wav file stops playing.
[Code]...
View 5 Replies
Jan 22, 2010
How I can get the Media playing now playing using Sendmessege or wmp.dll?
View 5 Replies
Feb 14, 2011
I have a Diagonal line drawn on a picture box on my forum and i need to know if the user has clicked the line I have the Start point and End Point of the Line and the mouse x,y location So i basically need to find out if the x,y of the mouse is on the line.
View 2 Replies
Dec 31, 2010
I'm trying to extract a piece of text from within the string, defining both a starting point and an ending point. For instance, say I want to search for the text found between "That is a " and " car" in the string "That is a red car", so it would return "red".I know you can use .SelectionStart and SelectionLength, but the length of the word can change, so the selection length can vary. What I want is to establish a specific starting point and a specific ending point from which to extract the text from the string.
View 5 Replies
May 24, 2010
I want to know if its possible to loop in a variable and grab info from point a to point b
This is what I have stored in my Variable
PHP
</div> <!-- div reviews end white-space:nowrap; margin-bottom:5px; class="reviews" -->
<div class="list_address">
[Code].....
View 11 Replies
Jul 29, 2009
i have a picturebox which displays a map i have 2 modes add point and delete point when the user clicks the picture it creates a point on the picture where the user has clicked that works perfectly its when i try and delete the point when it doesent work :/ i have all the points loading from an xml file this is the code i have:
[Code]...
basicly i want it to when the user clicks the point it fines the x any y in the xml delete the node then delete all the points on the map then reload them all according to the xml
View 9 Replies
Mar 11, 2012
I'm trying to calculate the direction between two points on a two-dimensional grid. Actually I want to determine if that vector is within a range of two values. Suppose the grid's origin is 0,0 at the upper left corner, and 0 degrees represents north. I have a point A on that grid. I want to know if a line from point A to point B on the grid is within a range of directions between 111.8 degrees (a little south of east) and 158.2 (a little east of south). Those are approximations; the 111.8 is 90 degrees plus the arctangent of 2/5, and 158.2 is 180 minus that value. I worked out a series of calculations worthy of a medieval astronomer, but I suspect there is a simpler way. I'm going to have to do this for a variety of other vectors, and I'd like to generalize
View 4 Replies
Feb 20, 2010
I know how I can construct an icon setting point by point, but that isn't what I want. I want to use a bitmap file or a jpeg -is easy to convert an jpeg to an bitmap- and built an icon that looks like this picture.
View 2 Replies
Jan 17, 2009
I want to make a drawing application which needs a few drawing functions I cant handle myself as im not very mathematicly inclined The first on the list of functions is to create an arc from a start point, end point and radius. The method signature is as followes.
Function CreateArc(byval StartPoint as PointF, EndPoint as PointF, Raduis as single) As PointF()
'Code to create an array of points...
[Code]....
View 1 Replies
Apr 10, 2012
I have a DataGridView that will occasionally have a RowError icon displayed in the RowHeader (shown below)I have code that displays a small form when the users mouse moves over the row header or clicks the row header.I would like to draw aline from the top-left of the form to the middle-right of the row header.I basically want to point from the form to the error icon.
View 1 Replies
Mar 14, 2009
I need to move an ellipse from a known point on the screen to another known point on the screen.
I've tried using For.....Loops with less than desired results.
I can't remember everything I've tried, a lot of trial and error has been layed to waste. Lol
I've ended up with this code after putting together what I've tried, what I've learned elsewhere, and a couple of posts I've read on here.
All I want to do is move the ellipse from one point to the other along a straight line that forms the angle between the two points (X1,Y1) and (X2,Y2), make it grow from 2 pixels at it's start, to about 80 pixels by the time it reaches half way, then shrink from 80 pixels back down to 2 pixels by the time it reaches the point (X2,Y2).
Easier said than done.
Here's what I have at the present.....
Dim W As Integer
Dim H As Integer
Dim Num As Integer
[Code].....
....This seems like such a simple task, yet it's been a week since I came up with the idea, and I've had little success.
View 6 Replies
May 9, 2010
come out with the codes for moving the mouse pointer from point (200, 100) to point (300, 400), repeatedly. Using VB 2008.
View 8 Replies
Jul 28, 2010
I looked around the forum can't find something really simple.I want to scrape everything between the
<!-- google_ad_section_start -->
to
<div class="ad_editorial-sponsorship"></div>
copy it and use it right after it's website and I navigate using webbrowser1.
View 12 Replies
Jun 21, 2010
i want to work on a shooting game,and i already have a code for the rotation of the image but i have a few problemFirst problem(for the tank /ship): i want the image to AUTOMATICALLY rotate facing the mouse cursor,i know how to rotate but but i dont know how to convert the location of the mouse to an angle that the image will face,,
View 1 Replies
Nov 4, 2010
Well Ive searched all over the web, and nothing to find for use of cd and dvd play in vb.net using the "WindowsMediaPlayer1" component And ive looked through and Ive found some subs in it to support this eg.)
[Code]...
View 2 Replies
Mar 30, 2012
assuming i have an isoceles triangle, where i know the height + base width, how
can i calculate the width of that triangle at 1/3 of the distance from the point + 2/3 of the distance from the point?
i thought it'd be simply 1/3 base width + 2/3 base width, but my drawing is +/- a few pixels when i resize it?
View 4 Replies
Jan 16, 2010
How do yo convert a 3d point into a 2d point that can be displayed on the screen? This is the basic code that I need:
Dim ScreenXCoord as integer
Dim ScreenYCoord as integer
Private Sub ConvertPoint(PointXCoord as integer, PointYCoord as integer,
[Code[,,,,,
View 6 Replies
Sep 6, 2009
I have an ASP.NET application with a SQL Server back end. I am storing all my dates in UTC format and doing the appropriate conversions to the local time zone of the browser viewing it. One of the pages asks for a start date and end date (no times).
I am taking the start date and setting the time to 00:00:00 hours (midnight) and I'm taking the End time and adding a time of 23:59:59, so that the date range covers the whole day. Now what I'm trying to do is do a SQL query to do a search for records in this date range. The problem is, the data in SQL is in UTC time and the user is typing their dates and times in their local date and times. My quickest solution was to convert the date and time to UTC, then search the records. However, by doing this, I am to believe ASP.NET converts the given time and date to UTC based on the server time zone. How can I convert a date and time to UTC time based on the time zone of the user?
View 5 Replies