Dear all,
I am working on a project that need to ask my program to use the HTTP GET/POST method to interact with a web server. To be more specific, I need my program to log into a website with a set of user name and password from the database and then save the cookie returned from the website...
I have a string like the following.
<td>aaa</td><td>bbb</td>...
Now, I want to extract each of the <td>...</td> group. How shoud I do this?
I tried to use xml to do this. However, since xml doesn't support < and & in the content area and I can't guarantee there is no such two characters.
Any...
I use the BackgroundWorker to perform multi-thread process to increase user experience. However if users close the window before the BackgroundWorker finishes working and when it does finish and try to return values to the controls on the form, it will throw a exception: Object reference not set...
Hi,
In my program, I use the following connection string to connect my windows form program to the SQL server. Since I believe the program communicates with the server using clear text, I am just wondering if it is possible that the password for the SQL server be intercepted. If so, how can I...
I want to do something else rather than the original behaviors when a user presses an "Up" or "Down" key on the keyboard. More specificly, I don't want the text cursor in the textbox to move back or forward when a user presses an "Up" or "Down" key. Anyone can help?
Thanks!
In my application, there are lots of DLL compiled by VS. However I don't want these DLL be used by other applications.
Does it possible to add a signature to the DLL file and my application, so these DLL files can ONLY be used in my application?
Otherwise, there might be secrutiy breach or...
Hi,
I am working on a program of extracting data from the clipboard.
The data in the clipboard is actaully copied from the WebBrowser control. (User highlighs certain text part and press Ctrl+C)
However I cannot extract from the clipboard using My.Computer.Clipboard.GetText or...
I want to do something when a WebBrowser control is focused. However the WebBrowser control doesn't have an Enter event. How do I realize the same effect?
Thanks.
I am using a WebBrowser to regularly load a webpage and process the content of that webpage accordingly. However, sometimes there are script errors on that webpage and if the script errors occur, the whole processes stop. I tried to set the ScriptErrorsSuppressed property to True, but sometimes...
According to MSDN, the WebBrowser has a protected method called OnKeyUp. I want to use this method, anyone can tell me how to use a protected method? Thanks.
Dear all,
I am trying to do the following, but I don't know what is the best and secure approach. Please advice.
I am providing some information as a service. These information is highly valuable and users need to subscribe it for a monthly fee.
My ideal approach is to open up a website and...
Hi,
I received following error reports from my users:
Error creating window handle.
I used a TRY... CATCH... to catch the problem. After that, my program cannot create any more windows.
Is it because my program created too many windows? Actually the number of windows opened is not that much...
Hi,
I am trying to pack certain feature, which includes some windows forms and modules, into a dll library and when I want to use these forms or modules, I just use the exe project to call the library.
The problem is if I want my exe project be able to call, say, a subroutine in the dll file...
Hi,
In my office there is a SQL 2000 Server for our internal information system. Now I want to provide new service for our client, a service that allows our clints to log in a website and see some information in that SQL server.
The problem is the bandwidth in our office is not large enough to...
Hi,
I am working on a project to create an AD user using VB.NET.
For the time being, I have been able to create it using
Dim newuser As DirectoryEntry = de.Children.Add("CN=Tommy Wang", "user")
But I found it is not so easy to assign value to its property
Now I only know how to assign its...
...to catch the bug and send an email to the administrator.
For the time being, I relize it by:
Class ClassLoad
Private Sub subLoad()
Try
* codes
Catch ex as Exception
subSendEmail([Email Subject], [Email Body])
End Catch
End Sub
End Class
In the [Email Subject], I want it to be...
Hi,
One of my users has just reported to me that my application cannot work if the Region setting of the PC to be English (United Kingdom) (its date time format is dd/MM/yyyy). I tested and it turns out to be true.
Generally the users who use my application set the Region setting to be English...
Hi,
In my application, I use the BackgroundWorker to load the data from the database.
I use the BackgroundWorker DoWork event to load the data from the database to a datatable and in the BackgroundWorker RunWorkerCompleted event to assign the datatable to the datasource property of a...
Hi,
I am working on a program that has a datagrid and a webbrowser in a form. When the user clicks on one row in the grid, the webbrowser will display something that is related to the selected row.
My problem is the datagrid is supposed to auto reload every 1 min and if the reload happens when...
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.