I'm retrieving a string using the MSHTML.IHTMLTxtRange.getBookmark function. This returns an "opaque string" representing the IHTMLTxtRange of a WebBrowser.Document object. I'd like to store this string to use at a later date to return to the same range.
The problem is, when I move the value...
We don't run any services from our location and hence have set our gateway router to ignore all incoming connection requests. We do use a VPN though. Is our router listening on some port for VPN connections? If a scanner hit the right port, would it receive an answer from our router?
Some of the files that I've included in my installation package need to be changed by the user after installation. When the application is run, the files are checked against the original installation package and altered files are "automatically repaired", restoring them to their original...
In order to use a certain password-protected ODBC connection, I first run a Pass-Through query against one of the tables. Once the Pass-Through query is run I can use linked tables in my Access db without concerning myself with the password protection.
I've set up the Pass-Through query (we'll...
I've been using DAO to connect to Access databases. One thing I quickly learned is that the amount of communication involved with DAO limits its use to local networks. I started using the Winsock to send queries to and recordsets from the server in plain text.
Now I'd like to convert a program...
I'm trying to get a tractor-feed, dot matrix printer to do a few things that the regular VB Printer object won't allow me to do. Specifically, I'm trying to get the printer to reverse feed the paper a little bit.
The printer's manual lists commands in hex and decimal that I can send to the...
What is the proper method (or software package) to use for backing up a peer-to-peer network using share-level access control? Several clients on the network have password protected drives that need to be backed up. Does backup software exist that can save each user's password in order to...
A program I wrote sends daily order confirmations for our company. When I first got the process going, I was having trouble with AOL customers receiving blank emails. The problem turned out to be the fact that I neglected to include a Date header. Adding one fixed the problem.
I recently...
We're beginning to have problems with email being bounced by anti-spam software. An issue that only came to my attention a week or two ago has quickly become a real problem. Private individuals are compiling lists of servers and ISPs who they believe allow spam to circulate through their...
I need to run through various text files replacing certain text with other text. I need to open the file then run through a lengthy list of words that need to be changed, searching and replacing as necessary.
My first thought was to open the text file, bring the whole thing into one string...
A forum search returned several threads about this but no definitive answers.
I would like to monitor the contents of another application's TextBox from within my VB app. The GetWindowText API works great for window captions but not user-editable text.
If someone knows how to capture editable...
Is there a way to block all of the different types of file sharing services that might be running on my network? I'd rather these services weren't running behind our firewall. I believe I can successfully stop them by finding the port that they use and blocking traffic to that port. Is there...
We have a remote office that, up 'til now, had one PC connecting to the main office via a VPN over a dial-up connection. We are adding a second PC at the remote office. I had hoped to use a modem router to allow the two machines to share one internet connection. That works fine but the NAT...
I'm basically using a RichTextBox to create an email client that will send HTML messages. I've seen several solutions for converting the contents of a RichTextBox into HTML. The process of generating the various tags based on the font characteristics of the text seems straightforward enough...
I have just started moving from DAO to ADO and I'm unclear as to how to build connection strings. A book I'm looking at shows a connection string for an Access 2000 database. That works fine for me but I also want to connect to a database via a different ODBC provider installed on my machine...
I have an Access database that contains several tables that are linked to text files. My program copies the database and text files to a user-defined location. After the database is moved, the paths to the linked files need to be updated for the new location. This is causing me trouble...
When creating an installer, is it wise to include every file upon which your program depends? I'm running the Package & Deployment Wizard to create a dependancy file. I'm using Inno Setup to create the installer. Should I go down the list of files that the P&DW found and include them all...
I have a relatively simple network involving two subnets. I've had a DHCP server running on my main subnet for a while. Yesterday, I installed a DHCP server on the other subnet where, up 'til now the machines have been using static addresses.
Is this the wrong solution for giving machines on...
What exactly am I sending when I use the SendData method of the Winsock control? I know how to use it to transmit and receive data, I'm just wondering how it's doing it.
Does it wrap up everything I'm sending into one TCP/IP packet or break it up and send it as several? Is it not that simple...
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.