January 14th, 2009 10:38 AM
Is there a way to easily allow a user to move a form that has its Window State set to Max from one monitor to another when a person is working with a dual monitor setup? Some code example would be...
August 21st, 2007 05:53 PM
I am trying to allow a user to select a printer to print out a crystal designer report without changing the default printer setting. The code below works great for the print job but it changes the...
January 2nd, 2006 07:27 PM
When I make a call to a recordset with "select * FROM Table WHERE myfield = " & True I get an error from non-English computers. I then tried "select * FROM Table WHERE myfield = " & CBool(-1). I...
September 21st, 2005 06:25 PM
I've had a couple of people using my application for the first time mention that when they open the program the computer tries to install MS Office or a 3D application. The program has been in use...
April 19th, 2005 02:50 PM
I would like to be able to create a mail merge word document then call it up from my Visual Basic application and populate the database fields with my recordset statement. Does anyone have a good...
February 25th, 2005 12:07 AM
I was using ShellExecute for group emailing then found out that it fails after about 30 addresses in the "To:" section. Is there a work around to this problem?
Next I tried the approach of...
February 18th, 2005 07:30 AM
The database is Access XP and it is on the same PC. Upon further testing, the problem only occurs when going to runtime with VB. If I compile the program and run the exe from the same folder there...
February 17th, 2005 12:29 PM
When I try to open a large database (40,000 records) on one of my applications and order it by a non-index field I receive a run-time error 3043 "Disk or Network Error". The debugger stops on...
January 23rd, 2005 12:40 PM
It is for my VB program settings. The reason I need to do it is that I am changing the name of an application and would also like to change it in the registry without current users loosing their...
January 22nd, 2005 11:40 PM
What is the simplest vb code method for renaming a registry key?
December 17th, 2004 04:47 PM
I would like to be able to add user defined mailing labels to my application. I am using Crystal Reports 7.0. Is there a way to be able to change the section format for column spacing? In other word,...
December 17th, 2004 01:13 PM
I would like to be able to add user defined mailing labels to my application. I am using Crystal Reports 7.0. Is there a way to be able to change the section format for column spacing? In other...
November 29th, 2004 09:07 AM
I would like to load an html file into a richtextbox and be able to view the html tags. Basically, I would like the richtextbox to do what notepad does when opening an html file. Right now, when I...
November 25th, 2004 02:46 PM
I'm trying to get a count of the number of times the font in a word document changes to bold, italic and underline. Is there some simple code to do this?
November 2nd, 2004 02:08 PM
I use the following code to paint the objects in a picture box as the picture box image so that I can next print it.
picTemp(myIndex).AutoRedraw = True
rv = SendMessage(picTemp(myIndex).hwnd,...
October 22nd, 2004 01:52 PM
I'm trying to get a line count for various word documents though VB code. If I save it as a temporary .txt file the text file doesn't do a carrage return when it word wraps in a document and thus...
October 19th, 2004 11:01 PM
I have various text files that need to be associated with various screens for call-up through a listbox. Is there a way to tag text files so that they can be listed with their appropriate screen? ...
October 11th, 2004 03:50 PM
The code you attached was along the lines of what I need to do but I cannot figure out how to get there. Basically, I need to take the objects in one picture box and make them the picture of another...
October 11th, 2004 11:37 AM
The area I need to capture and send to the printer is larger than the screen. It will print out a complete 8.5 x 11 inch document. I'm working with the keybd_event API, setting the form to the size...
October 10th, 2004 10:05 PM
In the following example, how does one setup the printer for printing a shape, Line and picturebox object.
For each ctrl In myScreen.controls
If ctrl.container.name = "myPictureBox" then
...
October 6th, 2004 11:07 PM
I'm trying to read both binary and text information from a text file. The following code shows what I am doing but I need to be able to keep moving through the text. When I open for Input a second...
September 29th, 2004 01:20 PM
Is there a way to get the object.left and object.top while dragging the object. I've been working with the GetCursorPos API but I get an inaccuracy of about 7 twips from the objects actual top and...
September 18th, 2004 11:14 AM
I need to be able to allow users to resize a line object on a screen at runtime. Is there a way to get the form mousedown event or an API to recognize a line object if a mousedown occurs within...