Streaming MP3 With Seek-ability

Nov 26, 2011

I want to make a program that can play MP3-files from my FTP-server.I know how to play, pause and stop music from stream, but i don't know how to add seek-ability.You know, like in Spotify or Grooveshark, they play streamed audio with seek.so, i would like to be able to seek, and the trackbar would show where in the song you currently are.So, my questions are:

1.What codec should i use? I have NAudio, will that work?

2.Is there any examples or tutorials on how to do this, any at all? (i couldn't find any)

View 3 Replies


ADVERTISEMENT

Streaming Video With Fast-forward Ability?

Dec 10, 2011

I want to make a server app, that can stream a movie (within my LAN)I've searched google, but can't find anything that will allow me to stream a .avi file and fast-forward (seek in the stream?) ability.

View 14 Replies

Take A Regular Avi, Mpg, Wmv, Etc... With Out A Streaming Server Or A Streaming File?

Apr 2, 2006

I want to know how I can take a regular avi, mpg, wmv, etc... with out a streaming server or a streaming file, and not downloading the entire movie Play it with windows media player or a different media player, oreven a custom one.

View 2 Replies

Seek To End Of File?

Apr 17, 2012

I am reading data from a file there is a part in the file were I want to just seek to the end of the file and stop reading but cannot seem to get seek working. Only thing that seems to work is ReadToEnd, any ideas.
here the code I use to read data,

vbnet
Dim sr As New StreamReader("C:outDoom.txt")
While sr.Peek <> -1

[code]....

View 1 Replies

Using Seek With Filestream?

Feb 23, 2009

I am trying to read in a file and store the byte position of each line read so that I can write out to another file the records in any order that I want. I am doing more manipulation of the lines, hence why I need the line position from the original file, but for simplicity sake, I am just including code to display the problem I am encountering. When I read in the file, I am getting the correct file position, but when I write out the lines, every 1024 characters it is re-writing whatever current line it is on. I am assume there is some buffer that is coming into play that I am not familiar with,

[Code]...

View 3 Replies

Can't Get BaseStream.Seek To Work Right?

Dec 29, 2010

I'm trying to seek to another position within a streamReader file, but the position won't change.

region_streamReader =
file.OpenText(
WORLD_REGIONS_FILEPATH )
region_line = region_streamReader.readLine()

[Code]...

View 1 Replies

Goal Seek In Access

Oct 25, 2011

I'm trying to write a code in visual basic to perform the Excel version of Goal Seek in Access, When I wrote the code, wich included the formula below to do the goalseek function, it gives me an error and identifies the"Range" in the "ChangingCell" segment of the formula as a problem.I am using two text boxes (Text210 and Text495); one that contains the data and the other box for the results.[code]

View 2 Replies

Seek Key Of Dictionary By Index Value?

Dec 17, 2010

How can I get the key of a dictionary by passing the index value? I'm trying: If rs.Fields("NM").Value = dictNM.key(0) that is, I want it to compare to the first key in the dictionary but I get the error Compile error: Invalid use of property I tried googling, but to no avail. I'm hoping this is even possible.

View 1 Replies

Seek To Certain Record Numbers?

Dec 29, 2011

I have a binary file that I need to seek to certain record numbers. This is the code that i have been using to search an ASCII file. My problem is I don't know how to read specific binary "fields" in this new binary file. The 2 fields I need are a Long and an Int 64 field.

Dim MyFile As New FileInfo(File) Dim fs As New FileStream(File, FileMode.Open, FileAccess.ReadWrite)
For x = 0 To RecLength - 1
fs.Seek(ConvertRecNumToByte + x, SeekOrigin.Begin)
RecHold = RecHold & Convert.ToChar(fs.ReadByte())
Next

View 5 Replies

Use Seek Method And Index Property?

Aug 11, 2010

I need to get the ID number from an acces table (I am working with GIS .. I do not nkow if that helps) from a record (I do not know if I am using the correct technical words here)

View 4 Replies

What Happened To Seek With Access Files

Mar 13, 2012

In VB3, I could open an Access file, select the table, specify the index and read a record in just that many lines. [code] If the customer's phone number was stored in Access as Phone, once the seek command was implemented, it was available as HeaderTb(Phone)In this example, OE was short for Order Entry, and the database contained the header files for all orders.I worked through the oft-cited tutorial to pick up the basics for database control, but it provides a means for the user to look over and work with records.But what if my application was more of a relational database? How do I instruct VB10 to access a record by its key and how do I use the data it comes back with?

View 9 Replies

Need To Add .bin And .iso Ability's Into App

Mar 31, 2010

I need to add .bin and .iso ability's into my app, i need to be able to open a .bin or .iso and list the files contained inside of it, ive found a small source code/class and example for the .iso one, but i need .bin adding to it to.

View 2 Replies

How To Seek Record In The Acess Database Using Vb2005

Jul 2, 2009

I want to search record in the database and if the record all ready in the database something do. I use this code but it is not work

Str SQL = "SELECT* FROM student WHERE stdno = '"& txtstdno.Text &"'"
oledbcon.open()
ry

[code].....

View 4 Replies

Read Seek And Get Int32 In Binary Mode?

May 1, 2011

i trying to seek 78 from beginning and get the int32 in binary mode..

View 1 Replies

Disable Ability To Close Tab?

Jun 6, 2011

So i have several tabs, and i close them all using a button with:

TabControl1.Controls.Remove(TabControl1.SelectedTab)

But I have been trying to figure out how to make sure the main tab doesnt close.What can i do to make sure the main tab can't shut down, when closing tabs with the above code?

View 2 Replies

Seek Records In Access .accdb Database File And Updating Accordingly

Sep 19, 2011

how to seek a record in access (.accdb) file and update.

i have posted a question in below thread how to work with (i mean connect to a access database)....

[URL]

I could able to navigate through records but, i want to seek a particular record and update accordingly.....

when i used find method i am getting an error as below

"Table doesn't have a primary key."

But my database has a primary key.

View 5 Replies

Add The Ability To Receive SNMP Traps?

Jun 3, 2010

I have a need to add the ability to receive SNMP traps into one of my server apps (written in VB 2005). I have setup a UDP listener on port 162 (SNMP trap port) and can successfully get the trap message in a byte array no probs.

The problem is that I have no idea how to make a meaningfull message from this byte array. Does anyone have any pointers / code to either translate into a meaningfull message stream or a better way of adding this type of functionality (without adding 3rd party dll's etc).

View 2 Replies

Backgroundworker Ability To Update Controls

Aug 7, 2011

When it comes to Backgroundworker's, I just make a total mess, even after reading over and over again the Backgroundworker component info on the msdn site... I have a code I would like to run on the form but if I do it with a simple "Public Sub" it will make the form lag, freeze, until the operation is done. So I try to paste the same code into a backgroundworker, and use Runworkerasync, but I get errors stating that the backgroundworker can't access controls on the form.

[Code]...

View 7 Replies

Block Ability To Open Same Project Twice?

Mar 5, 2009

I would like to block the ability to open the same project twice.Like in VB6... you could not open the same vbp again.

View 2 Replies

Search Engine Save Ability?

Feb 23, 2009

I have a system on my webbrowser that allows the user to choose their Search Engine out of a selection I organized. the down point is that I have it set so when they click save it will just hide, because if it closes the settings will be reset and not saved. However I want them to save. Here are my codes to the search button:

Private Sub Search_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Search.Click
If SearchEngines.RadioButton1.Checked Then
CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).Navigate("http:www.google.com/search?hl=en&q=" & SearchBar.Text & "&btnG=Google+Search&meta=")

[code]....

This is the code of save:

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Me.Hide()
End Sub

I would like it so it saves when the whole program is closed, so when they start up it's automatically set so they can search on their favourite search engine.

View 12 Replies

.net - Limiting The Mouse To A Form Without The Ability To Override?

Dec 29, 2009

So I am trying to make a program where the user is limited in moving the mouse to a form. I still want the user to see whats going on behind the form but not be able to click on anything but my form.

I tried using this

Cursor.Clip = Me.RectangleToScreen(Me.ClientRectangle)

The problem is that if the user clicks in certain spots on the titlebar...the mouse is unlocked. The machines this is going on has a ball type of mouse so if you scroll fast and click fast enough...it can also unlock.

View 3 Replies

Ability For A User To Drag An Area On Screen

Mar 14, 2012

i want to give the ability for a user to drag an area on the screen that they want and a that area to be print screened. or alternativly they click anywhere and that location is the top left of the box and then when they next click that location is the bottom right of the box and that box is print screened. [code]

View 1 Replies

Emulate The Application.settings File's Ability?

May 9, 2011

if there was a way to emulate the application.settings file's ability to do something like the following:

If I add an item to the settings file editor say Variable1 with a a value of "foo"

I can then go to my.settings.default. (and at this point) Variable1 is item that is an option after I type the '.'

Is there a way to do this for a collection? To where I have

Collection1. (and when I press '.' the name of an item would show up?)

View 2 Replies

Disable The User's Ability To Edit The Text In The Combobox?

Sep 3, 2009

Is there a way to disable the user's ability to edit the text in the combo-box, so that they can ONLY choose from the options in the drop-down list?

View 2 Replies

Have The Ability To Watch IP Camera View Via VB 2010 And VLC Plugin?

Sep 1, 2010

I would like to have the ability to watch my IP camera view via Visual Basic 2010 and VLC plugin.My camera works as a Web Server and it has a 'User Name' and a 'Password' in order to be accessed.I use the code below:

vlc1.addtarget("rtsp:ipofcamera:554mpeg4/media.amp",Nullable,AxVLC.VLCPlayListMode.VLCPlayListInsert,0)
vlc1.play()

And nothing happens.If I replase the "rtsp" with a file path and name to our Hard Disk,the video works fine.How can I use RTSP?How can I store the UserName and Password for my Camera in VB source code?

View 3 Replies

Making A Virtual Os With The Ability To Open Up A Calendar And Add Appointments

Sep 23, 2009

i am making a virtual os with the ability to open up a calendar and add appointments on it i created to setting as strings to save the text put into the text boxes it saves them and opens them up but it will open the form and show the appointment but it shows the same appointment on whatever date you click on. also i need help on deleting a appointment here is the code:

[Code]...

View 1 Replies

VS 2010 - Ability To Restrict Rows By Certain Date Field

Dec 8, 2011

I have a simple query that fills a datatable from an Access DB. There are about 1.7 million records returned, so I would expect it to take a little time. At first, the query was a very simple one, and it took a couple seconds to fill the datatable. However, I really wanted the ability to restrict the rows by a certain date field, which meant a single INNER JOIN to a different table. Having written this, I verified that it was correct by copying the SQL string into the query builder in Access. The query, in Access, took a couple seconds to complete. That was comparable to the time I was seeing before I added in the join.

However, in VB, the query isn't completing at all. After 60 seconds, I get a message about a ContextSwitchDeadlock stating that it hadn't been able to transition or pump messages in a long time. Frankly, since the exact code works fine when I remove the JOIN, this seems like it is either a deadlock internal to the Jet engine, or the error message is an artifact of a very long running query. My question is why a query (albeit a large one) is hanging in the VB program when the exact SQL runs in a couple seconds in the Access query designer, and when I remove the JOIN, the query runs in a couple seconds in VB?

View 1 Replies

Creating A SMTP Server That Has The Ability To Hide Ip Addresses In Email Headers?

Sep 5, 2009

I have taken an interest in creating a SMTP server in vb.net that has the ability to hide ip addresses in email headers.I see that some people claim that it's possible around on the internet, but I haven't seen any direct source code to create an anonymous smtp server in visual basic 2008.Now I know that it's legal to send emails via a masked ip address and I believe that it's also fair since some people believe in anonymity, but I am in all means against spammers.

View 2 Replies

Enable The User The Ability To Select A Folder And The Folders Music Files Populate A List Box

Jan 6, 2009

I am trying to enable the user the ability to select a folder and the folders music files populate a list box. I want two list boxes on the page, one with all the contents of the folder and then the other one for files selected from the first box. I have no clue on how to do this at all.

View 4 Replies

Live Web Cam Streaming?

Sep 17, 2009

i`m trying to stream my webcam video to the internet so i can be able to see my web cam at home from my office.Is it possible to do this using VB.net or i have to switch to ASP.net?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved