Click here to Skip to main content
15,899,313 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionDatagridview Cellformatting Pin
Chrispie12323-Feb-09 23:48
Chrispie12323-Feb-09 23:48 
QuestionHow to check whether a particuar file exists on FTP server through VB.Net Pin
nav_duggal23-Feb-09 23:39
nav_duggal23-Feb-09 23:39 
AnswerRe: How to check whether a particuar file exists on FTP server through VB.Net Pin
leckey24-Feb-09 4:58
leckey24-Feb-09 4:58 
QuestionSQL SERVER Login error...! Pin
Jamal Abdul Nasir23-Feb-09 23:02
Jamal Abdul Nasir23-Feb-09 23:02 
AnswerRe: SQL SERVER Login error...! Pin
Dave Kreskowiak24-Feb-09 1:55
mveDave Kreskowiak24-Feb-09 1:55 
AnswerRe: SQL SERVER Login error...! Pin
Eddy Vluggen24-Feb-09 2:14
professionalEddy Vluggen24-Feb-09 2:14 
AnswerRe: SQL SERVER Login error...! Pin
Dave Kreskowiak24-Feb-09 3:29
mveDave Kreskowiak24-Feb-09 3:29 
QuestionHow to FTP a file not existing on server through vb.net Pin
nav_duggal23-Feb-09 20:03
nav_duggal23-Feb-09 20:03 
I have .CSV file on my machine. That file doesn't exist on FTP server.i have to write a code in vb.net which checks if the file doesn't exist on server, then only FTP the file.
I have written a small code that does simple FTP and not checks existance of the file on server.

Dim clsRequest As System.Net.FtpWebRequest = _
DirectCast(System.Net.WebRequest.Create("ftp://127.0.0.1/Book1.csv"), System.Net.FtpWebRequest)
clsRequest.Credentials = New System.Net.NetworkCredential("me", "test")
clsRequest.Method = System.Net.WebRequestMethods.Ftp.UploadFile
clsRequest.KeepAlive = False
clsRequest.UseBinary = True
' read in file...
Dim bFile() As Byte = System.IO.File.ReadAllBytes("C:\FTP\Book1.csv")


' upload file...
Dim clsStream As System.IO.Stream = clsRequest.GetRequestStream() -- the Code gives error here
clsStream.Write(bFile, 0, bFile.Length)
clsStream.Close()
clsStream.Dispose()


Can you please help me.
AnswerRe: How to FTP a file not existing on server through vb.net Pin
JR21223-Feb-09 20:52
JR21223-Feb-09 20:52 
GeneralRe: How to FTP a file not existing on server through vb.net Pin
nav_duggal23-Feb-09 20:58
nav_duggal23-Feb-09 20:58 
AnswerRe: How to FTP a file not existing on server through vb.net Pin
kadaoui el mehdi23-Feb-09 21:00
kadaoui el mehdi23-Feb-09 21:00 
QuestionPrinting xml Pin
Stephen Lintott23-Feb-09 20:01
Stephen Lintott23-Feb-09 20:01 
Questionhow to bind checkedlistbox with dataset in vb.net (window application) Pin
Jagz W23-Feb-09 19:06
professionalJagz W23-Feb-09 19:06 
AnswerRe: how to bind checkedlistbox with dataset in vb.net (window application) Pin
Dave Kreskowiak24-Feb-09 3:51
mveDave Kreskowiak24-Feb-09 3:51 
QuestionUsing Reflection to on a Subclass as a Property Pin
nickbequick23-Feb-09 11:52
nickbequick23-Feb-09 11:52 
AnswerRe: Using Reflection to on a Subclass as a Property Pin
Dave Kreskowiak24-Feb-09 3:50
mveDave Kreskowiak24-Feb-09 3:50 
GeneralRe: Using Reflection to on a Subclass as a Property Pin
nickbequick24-Feb-09 4:01
nickbequick24-Feb-09 4:01 
GeneralRe: Using Reflection to on a Subclass as a Property Pin
Dave Kreskowiak24-Feb-09 6:17
mveDave Kreskowiak24-Feb-09 6:17 
QuestionProblems getting httpWebRequest to work Pin
rfrank535623-Feb-09 8:22
rfrank535623-Feb-09 8:22 
AnswerRe: Problems getting httpWebRequest to work Pin
Dave Kreskowiak24-Feb-09 3:43
mveDave Kreskowiak24-Feb-09 3:43 
GeneralRe: Problems getting httpWebRequest to work [modified] Pin
rfrank535624-Feb-09 10:21
rfrank535624-Feb-09 10:21 
Question$$$ $$$ NEED VB BASIC HELP - WEB DATA EXTRACTION - NEED CODE !!! $$$ $$$ Pin
pcfacile23-Feb-09 7:49
pcfacile23-Feb-09 7:49 
AnswerRe: $$$ $$$ NEED VB BASIC HELP - WEB DATA EXTRACTION - NEED CODE !!! $$$ $$$ Pin
0x3c023-Feb-09 8:00
0x3c023-Feb-09 8:00 
AnswerRe: $$$ $$$ NEED VB BASIC HELP - WEB DATA EXTRACTION - NEED CODE !!! $$$ $$$ Pin
Mycroft Holmes23-Feb-09 15:57
professionalMycroft Holmes23-Feb-09 15:57 
QuestionHow to place the text at cursor position in vb.net textbox Pin
dilipmca0423-Feb-09 3:39
dilipmca0423-Feb-09 3:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.