VS 2008 TCP Streaming?
Mar 7, 2010
battlefield bad company 2 and so far i only worked with the udp protocol to remote command it.This game uses TCP so you can stream only i have no idea how to start with it The only thing i can base myself on is this python code that i got from the dice package.
#!/usr/local/bin/python
from struct import *
import binascii
[Code]...
View 1 Replies
ADVERTISEMENT
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
Nov 11, 2011
Does anybody know how to import a certain line from a text file into a label in vb 2008? I'm using the Imports System.IO property.I have a custom text file and i want to bring only a certain line from it back to my vb program. How do i code this?
View 1 Replies
Jul 28, 2010
I'm i've been looking around now for quite a while to find out how you would go about making an application that can stream media to a Xbox 360. So far i know that Vuze and PlayOn have successfully accomplished this and i have also found that you can view the streaming url in vuze to my media that is being streamed to my Xbox.
View 3 Replies
Jun 7, 2009
I am currently trying to find a way to play an audio stream from the internet so I thought that someone here might be able to help me. The stream I want to play is specified in a .m3u file and it is not a live stream, it is pre-recorded. This component is for a WPF Browser Application I'm developing.I thought of using the ActiveX MediaPlayer from WMP.dll but it's lack of intuitiveness confounded me. I would really dislike having to download the whole audio track before playing it since the file may be really large and take a long time to complete. Playing the file in Windows Media Player as an outside player is also out of the question.
View 14 Replies
Mar 30, 2010
I'm trying to implement for the first time a library. With the event sub "client_TickPrice" I want to update a textbox. However nothing happens to my form when the "UpdateLast" sub is called from there.? The code was originally inside a Module (not a class like now), and set up as a console application. Probably there is a problem with the way I wrap my code, i.e. use of classes etc. This program is supposed to receive realtime stock/futures price data. Is it still a good way to start this code with the form, or should I make some type of console application?
Public Class Form1
Dim prog As New Program
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
prog.Main()
[Code] .....
View 8 Replies
Aug 3, 2009
Here's my application:
I plan on creating a piece of software that will run through some checks on about 200+ CCTV units we have installed along a highway.
I can view any stream by using VLC with the multicast ip (all video is running through a vbrick which is converted into mpeg format)
Now i would just like to be able to view it in my program itself.
View 1 Replies
Feb 25, 2008
plan on creating a piece of software that will run through some checks on about 200+ CCTV units we have installed along a highway.I can view any stream by using VLC with the multicast ip (all video is running through a vbrick which is converted into mpeg format)
View 10 Replies
Nov 12, 2011
I have a 'next' button which changes the questions when clicked. How do i make the questions keep changing to another question from a file with only 1 button when clicked and also display it on a label with 4 radio buttons with answers in vb. I always get an error " Cannot read from a closed text file "
View 5 Replies
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
Jan 21, 2011
I'm building a windows forms application with a webbrowser, textbox, and a few buttons. It's basically just a web browser similar to IE. Right now I am trying to figure out how to detect streaming video. I've tried a few things like looking in the temp internet files for files growing in size ect. Nothing has worked at this point. All I need/want right now is for a messagebox to popup if streaming video is detected. You would think its simple (perhaps it is), maybe i'm not thinking outside the box.
View 2 Replies
Feb 7, 2011
How do I stop a audio stream once I play it using sapi. Do I have to skip the whole set of sentences ?
View 1 Replies
Jul 28, 2009
i have recently created a vb.net motion detection project and i want now somehow to be able to have a live streaming over the internet.
View 2 Replies
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
Jun 16, 2011
I have streaming raw audio coming in from a serial device, which I'm trying to play through WaveOut.
[Code].....
It too seems to suffer from lack of having a header.
View 1 Replies
Jul 31, 2010
I am using VB.net sockets to send a music file from one instance to another. It currently saves the file, but I do not want to be caught up in file-sharing, so I want to "save" it to a buffer, and when it gets to a particular percentage transferred, I want another thread to play the music file, deleting it from the buffer as it plays. I have the code to send it over the network, but I need to know how to keep it in a buffer and not save it as a file.
View 1 Replies
Aug 10, 2009
Is there any way with vb.net of accomplishing MMS audio streaming?
Also, i read somewhere else within SO, that MMS streaming is no more supported by Microsoft. Is that true?
View 1 Replies
Jul 22, 2009
How to capture a streaming video via .net and save it off to a file on the server? I have seen a few comercial applications (url...) that do it via a client app, but none of them had an API that I could interact with in .NET.
View 6 Replies
Jun 16, 2011
I have a Vb.Net app to make with desktop video streaming. have anyone a sample so i can learn how to do it?
TcoUpLoad (Vb6 and VbNet | starting learning C# and LINQ)
View 8 Replies
Jul 6, 2010
i am making a client server application in which the server desktop image is load in the client picbox... but i have problem when i do that my client application is halted no image is seene out here is the client and server code
Server Code:=
Private Sub button1_Click(sender As Object, e As EventArgs)
button1.Enabled = False
[code].....
View 3 Replies
Oct 6, 2009
I am attempting to figure out the best way to place values into an array using dynamic data that is continuously streaming in from a ComPort. I want the array to hold 5 values at a time, with the newest incoming data point taking the place of the oldest data point. Each set of values in the array will be used in finding a trendline, which is then used in a later portion of the code.
View 1 Replies
May 30, 2010
i want some work with swf. the steps are: all these things i will do with desktop application
1) break the swf file in small parts and store in any database or put these parts on physical path but in that case all swf part should be encrypted so nobody run these files with click.
2) run that parts from memory ( any of these part is not run with mouse double click ) with vb.net application
i read delphi can do the streaming of swf. so can it possible with .net
View 4 Replies
Jul 10, 2009
I'm using VB 2005, and am hoping to have streaming video to my application with some sort of video analysis. Right now as a test, I have an axWindowsMediaPlayer control playing a video from a URL. I'm figuring I need to be able to detect the colors of the pixels in the video for simple analysis, but I haven't been able to do this yet. I've been able to view the pixel colors in every area of the screen except for the media player window (just shows up black, as if you were to make a screenshot of the media player video). Is this at all possible to do?
View 1 Replies
Jun 7, 2011
I just noticed it last night, Anyway, let's get to the interesting case here. I have a ButtonField within DataGrid, and if you notice it here... The Interface of that ButtonField is looks like a LINK. But if we hover on it, it appeared as Javascript's call. Here is the Image ScreenShot
[Code]...
View 1 Replies
Apr 2, 2012
I have this problem in VB.NET in c#, I have this project where I need to run a batch file, which is easy enough. But my problem is I need to display everything that shows up on the batch file, in the cmd window, in a textbox, now, this code opens the file no problem:
System.Diagnostics.Process proc = new System.Diagnostics.Process();
proc.EnableRaisingEvents = false
proc.StartInfo.FileName = "C:\Users\jwoow\Desktop\Server\run.bat";
proc.Start().ToString();
but it doesn't move the code over to the textbox, this code transfers the last displayed line, but not the entire thing of the batch file and it also closes the cmd window, i need it to stay open:
Process p = new Process();
p.StartInfo.UseShellExecute = false;
p.StartInfo.RedirectStandardOutput = true;
[code]....
the batch file is for a server, it displays the amt of users on it (updates ever 2 minutes) and shows different events taken by the users. so it is constantly updating.
View 2 Replies
Nov 16, 2009
I have a field that is storing a text file in my database after it was converted to binary. My question is how do you read that binary file from the database, convert it back to text, and then apply it to textbox1.text? Of course, I already checked
View 2 Replies
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
Feb 20, 2009
I am developing a server-client voice streaming chat application with vb.net, i am recording wav files by a microphone and using .net.Sockets to transfer the files from a client to the server.
The runtime from the client follows as :
Public Sub sendFile(ByVal file As IO.FileInfo)
Dim BufferSize As Integer = 1024
Dim fs As FileStream = New FileStream(file.FullName, FileMode.Open, FileAccess.Read)
Dim NoOfPackets As Integer = Convert.ToInt32(Math.Ceiling(Convert.ToDouble(fs.Length) / Convert.ToDouble(BufferSize)))
[Code] ......
The problem that I am having is that the wav file that arrives to the server sounds really bad like interrupting each half-second. Another strange thing is that if the originally file es 46KB big the one that receives the server is 47KB. How I will manage to build a voice chat with good quality using this technology. How I can start sending streaming audio meanwhile une user is speaking.
View 6 Replies
Nov 24, 2010
I am developing a software that catches streaming data. Unfortunately, there is no pattern or sequence on how this data comes in. So what I have initially done is to catch then write to my MS Access DB. Unfortunately, while writing to the DB, I am missing some data that is streaming since writing takes a little bit of time before it goes back to the catching syntax.
I am planning to multithread the DB writing then just call it from my main program. Do guys know any website/tutorial where I can learn the basics for multithreading? I am using Visual Studio 2010. Or if ever, does any one of you have a sample program where I can just learn from?
View 6 Replies
Feb 8, 2012
I use the following code (with Imports Microsoft.DirectX.DirectSound and Microsoft.DirectX) to play sound using an 8 second static buffer:
Dim SD As Device = New Device
SD.SetCooperativeLevel(Me.Handle, CooperativeLevel.Priority)
Dim MS As New IO.MemoryStream(Gbuffer) ' Gbuffer is byte array with properly formatted WAV data
Dim waveFormat As New WaveFormat
waveFormat.SamplesPerSecond = 44100
[Code] .....
What I would like to do next is to change to a "circular" or "streaming" buffer so that I can write new data "on the fly". I've done a lot of Googling but can't quite see how to adapt my present code to use a circular buffer. I can get the current write and play positions using Msb.GetCurrentPosition(iPlayPos, iWritePos) but how do I actually insert new data into the buffer? I have tried "manually" writing new data into my Gbuffer byte array but that doesn't work - I guess once a sound has been played through once, the data is cached somewhere and the contents of Gbuffer are not used again.
View 7 Replies