Hello
I googled for this and tried a few things, but I'm still stuck at something so simple.
I simply need to let the user copy some UTF-8 text into the clipboard, convert it to Windows-1252, and paste the output back into the clipboard.
It looks like I need to use the System.Text.Encoding...
Hello
I need to write a simple FTP client so that users can upload files to our server with no hassle.
I'm using the VB 2010 Express IDE: Is there a good FTP control that you would recommend, either free or affordable?
Ideally, it should be able to resume uploading in case the connection was...
Hello
I can't figure out why the regex object fails to find a pattern in a web page, although it's pretty simple and a test shows that the pattern is OK. Could it be that I misunderstood how VB's regex object works?
Here's the HTML input:
<table cellspacing="0" cellpadding="0" id="oft">...
Hello
In a Windows Form, I need to delegate a lengthy action to a BackgroundWorker so that the main application doesn't freeze.
However, the code in the BackgroundWorker must send data back to the main application. This code from MSDN doesn't include how to do this:
Private Sub...
Hello
I need to write an application that will download a few web pages. The action is launched by clicking on Button1.
To avoid freezing the UI, I use a Background Worker.
To prevent the user from clicking the button again while the pages are being downloaded, I'd like to disable the button...
Hello
I'd like to install the SQLite Ado .Net package, but am confused between...
Setups
Precompiled binaries
Precompiled static
... and whether to use the bundle/no bundle option.
The FAQ recommends always using the Precompiled binaries for both development and user hosts.
I understand...
Hello
I need to write a small application to download web pages. I only need basic features, so I guess the WebClient object is good enough.
To avoid freezing the UI, I was thinking of using WebClient.DownloadStringAsync(), but dowloading must occur in the right order, while...
Hello
This is probably an easy issue for experts but Google didn't help.
I need to read a text file that contains addresses formatted thusly:
Address1
Address1
Address1
Address2
Address2
Address2
etc.
... and write them into this:
Address1, Address1, Address1
Address2, Address2, Address2...
Hello
I've been googling and trying different ways for an hour, but still can't find how to convert an UTF-8 string into ANSI that System.IO.StreamWriter() will accept.
Using the WebClient object, I'm downloading a web page encoded in UTF-8, and need to convert it to ANSI (I assume...
Hello
I'd like to write a cascading shell extension à la 7Zip in VB.Net that will work with any version of Windows from XP to 7 and .Net Framework 2 through 4.
I read that shell extensions should not be written with .Net Framework version older than 4, but that would require all users to...
Hello,
I'd like to write a simple Windows form that will make it easy to record a voice message before uploading it to a remote web server and sending the URL to the recipient(s):
http://img42.imageshack.us/img42/8551/ezvoicemail.png
Currently, the user has to use Sound Record to record the...
Hello
I'm using VB 2008 Express, and was wondering if that IDE offers a way to try new code, and revert back in case it didn't work out.
I don't really need a full-fledged SCM. I like [url=http://en.wikipedia.org/wiki/Fossil_(software)}Fossil[/url]'s simplicity, but it's command-based, and I...
Hello
I'm using the following asynchronous code to download a web page and use a regex (not shown) to extract bits of infos:
Imports System.Net
Imports System.IO
Public Class Form1
Private Sub AlertStringDownloaded(ByVal sender As Object, ByVal e As DownloadStringCompletedEventArgs)...
Hello,
I'm a VB.Net newbie, and would like to write a small app that runs a While loop to check a DNS domain name, and exits once the domain has been registered.
I found code at How to Get Host Name and IP Address in VB.Net - .Net Articles & Samples to resolve the hostname and handle the "No...
Hello
I'm a VB.Net newbie and need to interact with a deadware Windows application that only supports DDE to communicate with external applications. FWIW, I use Visual Basic 2008 Express.
According to Google, there seems to be three ways to connect a VB.Net app to a DDE server:
- NDde...
Hello
This question pertains to the use of a cookie-capable WebClient derived class.
I'd like to use a ListBox to...
1) display each cookie individually as "key=value" (the For Each loop displays all of them as one string), and
2) be able to display all cookies, regardless of the domain from...
Hello
WebClient is an easy way to retrieve web pages. However, the server I need to connect to uses a cookie to keep track of the user from page to page, authentication by POSTing login/password, and I would like to go through a web proxy and also would like the library to not to freeze the UI...
Hello
I'd like to give SQLitening a shot and call their DLL from a VB.Net application to see how well it performs to work with a remote SQLite server.
I don't know enough about VB.Net yet to know how to call a DLL. Here are the SQLitening include files:
SQLitening.Inc
SQLiteningS.Inc...
Hello
I need to use a tab control to display different sections of the application, and I noticed that the Express IDE offers a TabControl. From experience, MS controls aren't always very good because MS expects third-party to provide better controls.
Based on your experience, would you say...
Hello
I noticed something strange when using WebClient.DownloadStringAsync in a loop to download several web pages: In each iteration, I add the URL in a ListBox, proceed to call DownloadStringAsync(), wait for a shared string to be filled with the web page, use a regex to extract its Title...
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.