Search results for query: *

  • Users: wonder_gal
  • Content: Threads
  • Order by date
  1. W

    Drop down list value remain selected even after submit button click

    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...
  2. W

    Any recommended control for Sign Out Function?

    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...
  3. W

    Auto Login to Website to Retrieve Useful Information

    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.
  4. W

    Error Retrieving Single Data Using ExecuteScalar Method

    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)...
  5. W

    Automate Unzip Function

    Hi, I am writing a function to unzip a zipped file, using OpenFileDialog method. Below is my coding, may I know how can I automate my unzip function, means pre-select the zipped file(without having to pop up the directory prompt to let user select the location of the zip file)? Is there any way...
  6. W

    How to omit the first line when reading from a text file?

    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 =...
  7. W

    Renaming a file extension

    Hi, I was coding a function which unzips a zip file and then changed the extension from ".csv" to ".txt" but I received this error., "Procedure Call or argument is not valid." The highlighted statement is the line which cause this error. Can someone let me know what's wrong with my arguments...
  8. W

    Unzip a zipped file in windows form

    Hi, I've coded a function to uncompress compressed file, but i received this error, "The filename, directory name, or volume label syntax is incorrect." Can someone kindly point out to me what's wrong here? Here's my coding, and I've highlighted the line which cause this error to pop up. :)...
  9. W

    How to highlight the text in a textbox?

    Hi, may I know how to specify in coding to highlight the wordings in a textbox on a web form? Is there such function or method as txtText.XXXXXX for this purpose? Thanks.
  10. W

    Hexdecimal Binary converter code needed

    Hi, I would like to code a Hexdecimal Binary converter using vb.net. Can anyone show me a sample code here for reference? Thanks alot.
  11. W

    Any sample for HTTP POST Function written in VB.NET?

    Hi, I'm learning to code a HTTP POST function in my page. Can anyone with experience show me a sample skeleton here? Many thanks. :)
  12. W

    Truncate the last character from a given string

    Hi. Can anyone give me an example of how to truncate the rightmost character from a given string? Only one character need to be truncated. Thanks.
  13. W

    Inner Loop function been abort due to existing open DataReader with same connection

    I have coded a main program having the database connection string being defined, and the main program calling other sub programs using the database connection defined in main program. I got this error message here. "System.InvalidOperationException. There is already an open DataReader associated...
Back
Top