Send Image Over The Internet?
Jun 27, 2010
I have two programs running, a client and a server. They are connected through a socket, and a TCPListener. The server is pure VB.NET, but the server needs to take pictures of the desktop, which works, but then needs to send it to the client application.
View 3 Replies
ADVERTISEMENT
Jul 13, 2009
i had a code to send emails but it is giving me problems, so i was wondering if there are some settings that i have to do in my computer first before i can run the program, or can you please give me a working code
View 4 Replies
Sep 29, 2009
how to make a program that sends files from a computer to another?
View 7 Replies
Aug 11, 2009
I need to somehow send data from a website (On different computer from application) to my application. How would I go about this?
View 5 Replies
Jun 12, 2011
I'm trying to serialize an object so that I can send it over the internet to another client. There is 1 problem however I wrote the code and it threw an exception, I searched google to see what I had done wrong.
[Code]....
View 2 Replies
Mar 16, 2009
ability to send words and numbers to another computer using internet. (I would prefer if a server computer wasn't needed.)
View 1 Replies
Mar 17, 2010
In my application i have integrated SMS functionality using HTTP. Due to unstable internet connection, sometimes it so happens that the SMS failed to get delivered. how to queue these unsent SMSs and send it later when the internet connection is restored?
View 9 Replies
Jun 2, 2011
I got a window form, and I want to send data to another computer or a server over internet after the submit button is clicked. Yes, this is a very "general" question (I cant not ask it in more detail), because I don't have any information how to do that, I google it, and I heard WCF, but I am not sure how it actually can do this job (seem like WCF is related, but still researching).
View 4 Replies
Apr 19, 2010
I am working on a personal project, and I've been looking at a way to make an application where you can enter in the other user's IP address, load a picture into a picturebox and have it appear in the other user's picturebox, on a separate computer. I am not looking for code, but examples are welcome. I would just like a nudge in the right direction.I've already looked at P2P and winsock, but I cannot figure it out...
View 2 Replies
Jul 1, 2010
i wana get property of image like hieght and widht without download image on my pc i wrote some code but it is still slow and doesn't work very well in my program .
i used this code :
DIM IMG_TAGS AS STRING
PictureBox1.Image = New System.Drawing.Bitmap(New IO.MemoryStream(New System.Net.WebClient().DownloadData(textbox1.text)))
[Code].....
View 1 Replies
Oct 18, 2010
Basically I want to have a picturebox which shows an embedded resource if not connected to the internet, and an online image if connected to the internet.I assume this can be done on the form load event, I just don't know the code for it. Basically this is the logic though:
-If 'http:/[url].... is available (therefore connected to internet)
-Picturebox1.Image = http:[url].....
-Else[code].....
How can I code that properly? Would putting it in the form load event work?
View 17 Replies
Sep 10, 2010
Ok the other day I saw a neat little DLL that grabbed an image of the internet depending on what the user enters it was used like dllname.Whatever(String, PictureBox1) now the thing is Picturebox was was just that you just Put it on your form and called the dll with that does any one know how to do this
View 3 Replies
Oct 3, 2010
In a picturebox/image control (WPF) how can I set an image which displays when there isn't an internet connection?
Basically, I have the picturebox image set to an image online (ie www.example.com/example.png). But how can I set an image to display when there is no internet connection?
View 4 Replies
Nov 4, 2011
I found similar forum thread [URL], but he don't have answers. How I can conncect | send | recive data using tcp connection with specific internet service (not web).
View 1 Replies
Mar 27, 2009
I'm writing a Cleint/Host program that sends a image over tcp (from printscreen, not a file) to the host. Everything seems to work fine and the image is transmitted and displayed in a picturebox plus saved to a folder. The problem is when the printscreen is bigger than 176040 B. First the limit was 128000B but after setting the sendbuffersize and recivebuffersize to 1000kb the limit is 176040 B. Could it be a limit in the tcp protocol?
Here's the client code
Code:Imports System.NetImports System.Net.SocketsImports System.IOImports System.DrawingImports System.Drawing.Imaging
Public Class capture
[Code].....
View 3 Replies
Aug 12, 2010
I am writing a VB.Net application wherein I would like to be able to communicate with it from a remote computer. Specifically, I would like to be able to send (from a remote computer) both text data and also images (jpg, png, etc.) and then have the application use the sent information by displaying it to the user. How would I code the VB.Net app to be able to handle incoming data like this?
If possible I'd like to not be dependent on .Net technology on the "sending" side so I'm not sure if I would just use sockets or a web service or what.
View 2 Replies
May 1, 2009
I was wondering if there is an easy and fast way to send an image (or files in general) which is small, as in around 30KB, over the network using VB .NET. the most i was able to do at one point is to read the image (or file) as text, then send each character over the network, but it took way too much time for the file to get sent, and then translated from text to file once again on the other side. I don't know much about network programming, because i just started learning about the subject.
View 3 Replies
Mar 7, 2010
Im trying to send an image from the server to the client by using network stream. I have looked on google and found out that you can use memory stream and send it, but how do I use memory stream to get the image from the stream and display it on a picture box on the client side?
View 5 Replies
Dec 19, 2010
I need to send and receive a large image between programs running on different machines within the same network.
I've looked at using upd however ran into problems with the size of the packets and
(after breaking the image into smaller pieces to get past this problem) the number of packets needing to be processed all at once - and ultimately packet loss.
I've also thought of sending the image by storing it in a common file folder and receiving it by using file watcher as a trigger. However, this just adds further complexities in setup where common folders don't already exist.
Assuming I'm barking up the right tree looking at tcp, can someone point me to/provide an example of how to send an image file using it (vb.net would be ideal). Also, are there practical limits to tcp package sizes?
View 2 Replies
Feb 15, 2012
how to protect sending mail image? in visual basic
means don't allow to save image.if possible that?
View 2 Replies
Apr 22, 2009
I'm currently patching an asp.net program where I need to be able to send an image to an SQL Server 2005 DB. It works fine when I use the asp:fileupload control, but the trick is that when the user deletes the image, I'm supposed to replace it with an image from the server saying "empty", in code-behind. I know how to open, use and save text files in vb, but I can't find any information anywhere on how to open an image / binary file in a similar manner so that I can use it as an sql-parameter on the update query. Below is an example of how easy it is to use a file from the fileupload control.
[Code]...
View 2 Replies
Feb 21, 2011
I want to send image from server to client via .net Sockets and assign it to a picturebox. but I got problem in receiving data, it's 'Server' side code:
[Code]...
View 7 Replies
Sep 28, 2009
I would like to ask about sending an image file through serial port to a external embedded processor....
the way i think i want to do it is that i would like to open the image file in VB.NET as a binary file and then
1)either converting this binary file to a text file and then read the content of that text file to sent it through UART to that external processor or
2)Converting the binary file into an array and send that array through uart.[code]...
View 3 Replies
Mar 14, 2010
I'm trying to send an image to Imgur's server.Everything went fine and I'm getting the URL of the image from the parser but when I'm trying to open it on the web browser, I'm not getting the image... only a "broken image" icon.I think it's a problem in the convertion to the byte array.... but I don't get it.
Dim image As Image = image.FromFile(OpenFile.FileName)
Dim ms As New MemoryStream()
' Convert Image to byte[]
image.Save(ms, System.Drawing.Imaging.ImageFormat.Jpeg)
[code]......
View 1 Replies
May 21, 2012
I'm trying to send an image to Rest Interface but having an issue with the Transfer Encoding and Chunked properties.
The specification for the INterface is as follows:
PUT/api/upload/filename.ext
Authorization:<http Digest auth header>
Accept: text/xml
[Code].....
View 2 Replies
Mar 24, 2010
Although im using this simple logic the image that is being displayed on the remote machine the one that i send is not the same as you can see. In fact 90% is missing! The Image Size is 256KB JPG
View 4 Replies
Mar 25, 2012
I am testing an server-client application which captures a desktop's screenshot, saves it on a directory and then sends it to the server. But i am facing a problem. It sends me 0 bytes :S. Here is the client's
Dim i As Integer
Dim ReadData(2047) As Byte
Dim ReadLength As Long
[code].....
View 4 Replies
May 24, 2012
I convert a SVG to canvas using canvg to an image and then vb.net client side I convert the image to bytearray() and saved it to a folder on my server so I can attached by email :
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click
Dim path = Server.MapPath("PDFs")
Dim fileNameWithPath As String = path + DateTime.Now.ToString().Replace("/", "-").Replace(" ", "-").Replace(":", "") + ".jpeg"
Dim fs As FileStream = New FileStream(fileNameWithPath, FileMode.Create)
Dim bw As BinaryWriter = New BinaryWriter(fs)
[Code] .....
This code works fine and it send the image. Actually I don't need to save this image to my server I just wanted to send it without saving, this is what I have done so far.
Protected Sub emailSend_Click(ByVal sender As Object, ByVal e As EventArgs) Handles emailSend.Click
Dim customerChoice As String = DropDownList1.Text
Select Case customerChoice
Case "pdf"
[Code] .....
View 1 Replies
Mar 5, 2012
I'm attempting to send an image and some text to a server at the same time.
I'm using WebRequest like the following to send text:
Dim ba As Byte() = Encoding.UTF8.GetBytes(query)
Dim wr As WebRequest = WebRequest.Create(Me.server_url)
wr.Method = "POST"
[Code]....
But I cannot figure out how to do both at the same time.
View 2 Replies
Apr 30, 2010
I want to send a image file from server to client?i am using this code for sending but i can't send the image....... and i also need some receiving code.
1.Public Sub SendImage(ByVal sndImg As String)
2.Try
3.Dim ns As System.Net.Sockets.NetworkStream
4.Dim client As System.Net.Sockets.TcpClient
[code].....
View 3 Replies