Hi,
I have 2 drop down lists and 1 submit button. It works such that after the user has selected values from BOTH the drop down lists, then the user will click a "Search" button. My problem is, after the user click the "Search" button, the second drop down list is no longer displayed with the...
Hi,
I have an HTML page being framed to 3 parts, such that the topmost frame is a SignOut.aspx page. I would like to know which control shall I opt for in order to allow user to sign out, is it Hyperlink or normal submit button?
For your info, I would like to redirect the user to login page...
Hi,
I need to write a windows application to automatically login to a website(with username and password being provided) to retrieve some data from the website. Can someone show me an example on how to accomplish this in VB.NET? Thanks alot.
Hi cjard, thanks for your reply. I tried ur suggestion, but i still receive the same error, "No default member found for type 'Guid".
Actually the GetSingleData function works pretty fine in my other applications(I used this function before, no such problem).
Function GetSingleData(ByVal...
Hi, I received this error "No default member found for type 'Guid'." when I execute my program.
db = New SqlConnection(GetConnectionString())
db.Open()
Dim strSQL As String
strSQL = "SELECT GUID FROM MyLog WHERE MyID = '" & strID & "'"
strGUIDTracker = GetSingleData(strSQL)...
...error mean here? Why do I need to cast the string of my zip file path to integer?
ExtractZIPfiles(Directory.GetFiles(strFullDirectoryPath, "*.Zip"))
Private Sub ExtractZIPfiles(ByVal pathList() As String)
Dim x As New ICSharpCode.SharpZipLib.Zip.FastZip
Dim...
Hi JuggaloBrotha,
Ya, by placing this line
oReader.ReadLine
ahead of
Do While oReader.Peek <> -1
Str.Append(oReader.ReadLine & Environment.NewLine)
Loop really does the magic of skipping first line!
Thanks for sharing. :)
...any way to accomplish this task?
With OpenZIPFileDialog
.InitialDirectory = strFullDirectoryPath
.Filter = "Zip Files (*.zip)|*.zip*"
.FilterIndex = 1
If .ShowDialog() = DialogResult.OK Then
Dim x As New...
Hi,
I am writing a function to read from a text file.
May I know is there any vb.net built in function that I can use to omit the first line while reading the text file.
My current code is
Dim oReader As New System.IO.StreamReader(strFilePath)
XXXXXXXXXXXXXXXXXXXXXXXXXX
strTextLine =...
Hi, I've just tried another method
Dim sourcePath As String = "C:\temp\testing.csv"
Dim destPath As String = "C:\temp\testing.txt"
Dim fInfo As FileInfo = New FileInfo(sourcePath)
fInfo.MoveTo(destPath)
But I received an error saying that "Unable to find the specified file". Can someone...
Yaya, this path "C:\temp\mcom20070403141406.csv" really exists one, the extract method is working fine here, I only have problem renaming my CSV file to become TXT file. :(
Hi, I've tried ur suggestion, using absolute paths, so my rename file name coding became
Microsoft.VisualBasic.FileSystem.Rename("C:\temp\mcom20070403141406.csv", "C:\temp\mcom20070403141406.txt")
But I still getting this error "Procedure Call or argument is not valid".
If the method...
...As String = Path.GetFullPath("..\")
With OpenZIPFileDialog
.InitialDirectory = fileName
.Filter = "Zip Files (*.zip)|*.zip*"
.FilterIndex = 1
If .ShowDialog() = DialogResult.OK Then
Dim x As New...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.