| | |
FTP url in address bar??
Please support our VB.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Sep 2009
Posts: 108
Reputation:
Solved Threads: 0
I want to run a FTP url in explorer. (Not in IE)
What i want is some how when the button clicked the URL should appear in the address bar of the windows explorer.
This is because the ftp I access should be accessed in that way (By typing the url in the address bar of..lets say ..mycomputer window.)
I don't knw whether both do the same thing. But when I do I manually I could access the FTP by typing the URL in address bar in mycomputer(I think it is windows explorer) but not by typing it in the address bar of IE.
Please let me knw the way to put an address in the address bar in windows explorer
thank u.
What i want is some how when the button clicked the URL should appear in the address bar of the windows explorer.
This is because the ftp I access should be accessed in that way (By typing the url in the address bar of..lets say ..mycomputer window.)
I don't knw whether both do the same thing. But when I do I manually I could access the FTP by typing the URL in address bar in mycomputer(I think it is windows explorer) but not by typing it in the address bar of IE.
Please let me knw the way to put an address in the address bar in windows explorer
thank u.
Last edited by jrosh; Nov 2nd, 2009 at 11:41 pm.
•
•
Join Date: Jun 2009
Posts: 269
Reputation:
Solved Threads: 54
0
#2 Nov 3rd, 2009
vb Syntax (Toggle Plain Text)
Dim UserName As String = "myusername" Dim password As String = "mypassword" Diagnostics.Process.Start("explorer.exe", "ftp://" & UserName & ":" & password & "@microsoft.com/bugs/")
•
•
Join Date: Sep 2009
Posts: 108
Reputation:
Solved Threads: 0
0
#3 Nov 3rd, 2009
•
•
•
•
vb Syntax (Toggle Plain Text)
Dim UserName As String = "myusername" Dim password As String = "mypassword" Diagnostics.Process.Start("explorer.exe", "ftp://" & UserName & ":" & password & "@microsoft.com/bugs/")
what are the Username & password here?? Is it the username & password for FTP??????
•
•
Join Date: Sep 2009
Posts: 108
Reputation:
Solved Threads: 0
0
#4 Nov 3rd, 2009
•
•
•
•
vb Syntax (Toggle Plain Text)
Dim UserName As String = "myusername" Dim password As String = "mypassword" Diagnostics.Process.Start("explorer.exe", "ftp://" & UserName & ":" & password & "@microsoft.com/bugs/")
VB gives an error saying that password should be a secureString. How can I create a secureString.????
•
•
Join Date: Jun 2009
Posts: 269
Reputation:
Solved Threads: 54
0
#5 Nov 3rd, 2009
•
•
•
•
what are the Username & password here?? Is it the username & password for FTP??????
---------
to the last poster....
it only request secure string if you define the username and password during the process.startinfo.password
vb Syntax (Toggle Plain Text)
Public Shared Function ReadSecureString(ByVal password As String) As System.Security.SecureString ReadSecureString = Nothing If Not String.IsNullOrEmpty(password) Then ReadSecureString = New System.Security.SecureString For Each character As Char In password.ToCharArray ReadSecureString.AppendChar(character) Next ReadSecureString.MakeReadOnly() End If End Function
process.startinfo.password=ReadSecureString("mypassword")
![]() |
Similar Threads
- New-Need to get to FTP -no Explorer address bar (Windows NT / 2000 / XP)
- get url form address bar (Python)
- Retrieve URL from address bar (PHP)
- IE will not open new URL from address bar (Viruses, Spyware and other Nasties)
- IE Address Bar hijacked by http://s5.th.msie.cc/ index.php (CWShredder.exe) (Viruses, Spyware and other Nasties)
Other Threads in the VB.NET Forum
- Previous Thread: help with windows form applications
- Next Thread: Keeping spaces when extracting text from HTML
| Thread Tools | Search this Thread |
Tag cloud for VB.NET
.net .net2008 2008 access advanced application array basic beginner browser button buttons center click client code combo convert cuesent data database datagrid datagridview date datetimepicker designer dissertation dissertations dissertationtopic eclipse excel exists fade filter forms function html images input lib listview map mobile module monitor msaccess net number objects open panel pdf picturebox picturebox2 port position print printing problem read regex remove right-to-left save search serial settings shutdown socket sorting sqldatbase sqlserver survey temperature textbox timer timespan transparency txttoxmlconverter user usercontol validation vb vb.net vb2008 vba vbnet visual visualbasic visualbasic.net visualstudio.net visualstudio2008 web webbrowser winforms winsock wpf wrapingcode xml year





