Upload IP Of User?

Oct 22, 2009

I have a program that I want it to send me the person's IP of the person that uses it. I had it send me an email, but that freezes the program for like 5 seconds, and I don't want my inbox spamming me a lot of emails with everybody's IP. Is there a way, somehow, to put that IP in a text file on a remote server? Would a FTP upload freeze the program like the email? Or, better yet, how would I make the email function NOT freeze it when it sends. I tried adding a sleep, but it just freezes the program the sleep time PLUS the time it takes to send the email.[code]e....

View 4 Replies


ADVERTISEMENT

AutoLoad - User Load Application Will Automatically (without Prompt, Or User Selecting) Upload All Files In A Folder

Jun 13, 2010

How can I do it so every time the user loads my application it will automatically (without prompt, or user selecting) upload all the files in a folder i select beforehand and add them into ListBox1

View 16 Replies

UI For User To Upload An Image?

Jul 28, 2009

I have an UI for user to upload an image, "Browse" button which open up a file dialog that accept those image file.My problem is i try to get the type of image that has been uploaded by the user, how to get the image type (JPEG, GIF..etc)

[Code]...

View 3 Replies

Forms :: App That Allows A User To Upload A File To A Database

Oct 12, 2011

i have an app that allows a user to upload a file to a database. then, in the background, i want to move the file to a different folder.i am trying to use a background worker to do the file move but i always run into this error: the process cannot access the file because it is being used by another process.so i'm guessing it is still doing the file read/upload to the database (it works fine for really small files)how can i do the move once the upload is complete?i tried putting the actual upload piece in a background worker but it gives me an error saying the filename can't be null even though i check it and it isn't null.

View 4 Replies

Make Sure The User Dont Upload Images More Than 1MB In Size?

May 1, 2009

I am using ASP.net with VB.NET.Is there some Validator that i can use that will check the size of the uploaded image?Else what must i do in code to make sure that the user do not upload images more than 1MB?

View 3 Replies

Create A Page That Allows A User To Upload A File Directly To Ftp Server?

Jan 6, 2011

I want to create a page that allows a user to upload a file directly to my ftp server. For some reason when I run the code and try to upload a file I get:

ERROR: Could not find file 'C:Documents and SettingsuserMy DocumentsVisual Studio 2010ProjectsASP.NETuploadASP.NETuploadfile.txt This is not where the file is located. I am fairly new to .NET programming so I may have done some things incorrectly.

Here is my code:

If FileUpload1.HasFile Then
Dim fileExt As String
fileExt = System.IO.Path.GetExtension(FileUpload1.FileName)
fileExt = fileExt.ToLower

[code]....

View 1 Replies

Create An Application That Will Monitor The Upload/download Traffic Of A User?

Dec 24, 2011

I am wanting to create an application that will monitor the upload/download traffic of a user. Can someone point me too some code that I can have a look at?I have found SharpPcap - A Packet Capture Framework for .NET, but cannot find any vb.net code for it.

I have found this code:

Dim Properties As IPGlobalProperties
Dim StatV4 As IPGlobalStatistics
Properties = IPGlobalProperties.GetIPGlobalProperties
StatV4 = Properties.GetIPv4GlobalStatistics
Dim Packets As Long = StatV4.ReceivedPackets

What actually is a 'packet'? Can I calculate the download/upload from this code by maybe multiplying the recievedPackets by packet size... or something like that?

View 2 Replies

Creating A Web Application Which Is Going To Allow The User To Upload A Video File To The Server

Jun 7, 2010

I'm working on creating a web application which is going to allow the user to upload a video file to the server. Once the file is uploaded to the server, it's going to be converted to .flv and copied to another folder in the same directory. Since I'm doing this from a web app, I don't want to tie up the app with the conversion process. That is when I figured this might be a good time to try threading the conversion process... what do you think?

Currently, my process logic is this:

1) User presses the upload button.

2) A dummy record is created in the database for the file being uploaded.

3) Folders are created on the server to house the original video file and the converted video file.

4) The original is copied to the server.

5) Once the original is finished being copied, the app converts the original to .flv and saves it in another folder.

6) Information about the conversion process is stored in a .xml file

7) The dummy record is updated with real data

8) There is a redirect to a page that lets the user view the .flv file on the web

View 6 Replies

VS 2008 File Upload Form - Allow A User To Select From Files

Jun 29, 2009

I am pretty new at VB but am trying to design an application that will allow a user to select from files on his or her PC, hit a '>>' button, and those files will appear in a list on the right side of the button (so I can then have the application upload those files via ftp). I am planning to use a TreeView control to act as a file explorer in the application. I have been unable to find any resources on the internet to populate the tree view with the user's local file structure, and was wondering if anyone could point me in the right direction.

View 1 Replies

ERROR In Image Upload & Textbox Control When User Filling The Form

Dec 18, 2009

Option Strict Off Option Explicit On

Imports Microsoft.VisualBasic
Imports System
Imports System.Data
Imports System.Data.OleDb
Imports System.Data.DataSet

[Code]...

View 1 Replies

Visual Basic - Upload Progress Bar For File Upload?

May 11, 2012

i have this code, how do i incorporate a progress bar into it? Private Sub btn_upload_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_upload.Click

[code]...

View 1 Replies

Using Uploadify Or JQuery File Upload For CSV Upload In ASP.NET

Oct 24, 2011

Rather than using a Handler(.ashx), is it possible to use a web service(.asmx) to upload?

View 2 Replies

Check The Bandwidth (download Speed And Upload Speed) Of A User In .net Or Php?

Dec 31, 2010

how do i check the bandwidth (download speed and possible upload speed) of a user in vb.net or php that uses my app or visits my site resp?

View 1 Replies

FTP UPLOAD To AS/400 From .NET?

Nov 23, 2010

I am attempting to perform a FTP Put function to an AS/400 IBM Mainframe with VB.NET. I am able to upload a file however, I need to be able to capture each output response from the mainframe for logging purposes. In short capture what prints out on the cmd screen if I were to perform the FTP manually.

View 1 Replies

Upload To An FTP

Aug 3, 2011

I have the following code [code]but how do I go and pick the right folder within the FTP site, once I go into the FTP I have to pick IN or OUT and within those Folder to pick the right one to upload the files.

View 2 Replies

Get Ftp Upload Speed

Feb 11, 2012

I'm trying to get the upload speed of a ftp stream with vb.net unsuccessfully.I'm not sure if the maths are ok, I googled for a while trying to find the equation for upload and i found it in some code examples but for download.[code]

View 1 Replies

How To Enable TLS On FTP Upload

Jan 11, 2011

I've created a software where i can upload screenshots instantly from my screen and up to my FTP Server. After a server-maintenance, the FTPserver now require you to have TLS enabled. Is this possible in vb.net? If then, how?

View 1 Replies

How To Upload 50% Image

Jul 9, 2010

how to upload 50% image only in a image in vb.net give me sample code

View 4 Replies

How To Upload File To Web URL

Jul 30, 2011

I am writing a VB.Net app that has need to send a file to web script.
1. Dim uriString As New System.Uri("[URL]"+addNew_title.Text+"&price="+addNew_price.Text)
2. Dim myWebClient As New System.Net.WebClient()
3. Dim responseArray As Byte() = myWebClient.UploadFileAsync(uriString, OpenFileDialog1.FileName)
4. Dim response As String = System.Text.Encoding.ASCII.GetString(responseArray)

There is a problem with URI that I give, it says "Expression does not produce a value" on line 3. where "uriString" used. When I used myWebClient.UploadFile(String,String) it freeze on sending, so I found out, that to continue code execution I have to use "UploadFileAsync", but it does not provide [String,String], but it requires [Uri,String].
Just for the record, I will put a screenshot of code: [URL]
What do I have to change, so code is valid, or if there is another way to upload this file?

View 1 Replies

How To Upload Software In PDA

Apr 13, 2009

How to upload software in PDA using vb.net? and what PDA or pocket pc I need to use? It is ok to use HP iPAQ RW6800 windows mobile 5.0 or any Pocket PC with windows mobile 5.0 version?

View 1 Replies

How To Upload The Zip File Into Sql Db

Mar 2, 2009

how to upload and download the "Zip or RAR" type file into sql database using vb net openfiledialoge/savefiledialoge is vb net..

View 5 Replies

IDE :: FTpfile Upload Using .net?

Sep 10, 2009

I have a Question FTpfile upload using .net..

Actually our servers are hosted at remote.. when tries to upload from application its taking hosted server local path..? not from the application local path

View 5 Replies

Not Responding On FTP Upload

May 31, 2011

Not responding on FTP upload. Code I'm using

[ode].....

It does uploads everything according to the way I want it to but the problem is.. It becomes not responding when uploading big sized file.

View 4 Replies

Put A Progress Bar On The Upload?

Jan 15, 2012

I have the following code that works fine, it opens and excel file and uploads it into SQL.these excel files can have over 120 thousand records.I would like to put a progress bar on the upload so the end user knows how long the upload will take. The progree bar its self isn't the issue.The issue is putting a counter in my code so i know what record is being done.

[code]...

View 3 Replies

Upload A File To A Ftp?

Mar 1, 2011

im using this code to upload a file to an ftp , the problem is that this is not a secure way to do that , its very easy for someone to see my username and password of the ftp,

Private Sub Upload(ByVal source As String, ByVal target As String, _
ByVal credential As NetworkCredential)
Dim request As FtpWebRequest = _

[Code].....

View 6 Replies

Upload A Txt File?

Feb 25, 2009

I have a windows application , and in my application root i have a Documents Folder ,(D:\ UtilityAppDocuments) and

View 3 Replies

Upload An Image In Asp.net?

Jan 27, 2010

how to upload an image from asp.net using vb.net i need a browse and upload button on aspx side. i already have an image field in the table in sql server 2008.

View 2 Replies

Upload Folder To FTP?

Jul 3, 2010

Ok, So my program is downloading a zip file from webhost and unzipping it, what i need is to upload the unzipped folder to ftp.

WebClient can upload only single files...

And on the way, how can i make progress bar for the download and the upload?

View 2 Replies

Upload Images Asp.net?

Jul 31, 2009

i have a upload images tutorial that i got from here [URL]but i can not get it to work, it is slightly tweaked for me.

errors i am getting are:

------ Build started: Project: C:WebSite4, Configuration: Debug Any CPU ------
Validating Web Site
Building directory '/WebSite4/'.

[code].....

how to store just the path of the image and then store and display them with asp.net?

View 2 Replies

Upload Log File Without Ftp?

Apr 7, 2011

I've come across a problem with my program; I'm using MS Visual Studio 2010 with a VB.net application. I'm uploading a log file with .log ext to my server after my program is done running. I have noticed a lot of systems fail to upload the log file because of the firewall settings of their modem. I was wondering if anyone would know a workaround to uploading this file maybe on port 80. Here is the code I use to upload the file.

My.Computer.Network.UploadFile( _
"C:log.log, _
"ftp://www.myftpserver/logs/log.log, "loguser", "password")

Like I said this works fine if the Modem firewall in on low, but fails everytime if modem firewall is in the default setting. I believe it's using port 21 right now to upload.

View 3 Replies







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