You didn't indicate what code you are using to select landscape mode or to print, but the following has worked for me:
Printer.Orentiation = vbPRORLandscape
Printer.Print ...
I, too, have had this problem. The solution has been to make sure my development machine is no more 'Windows Update' current than the target. Installation seldom has a problem with accepting newer versions of system files, but seems to hate finding older versions on the target.
I'm using VB6 w/SP4 on a Win2K system with SP2. I have a DagaGrid on a form bound to an ADODC. It is a readonly dg with AllowUpdates set to False. I force a ADODC.Refresh once a minute and then a DataGrid.Rebind. If the user has clicked on a cell in the DG, the contents of that cell are...
Thanks!
Show SQL Query showed exactly what happened. Since the ContainerID field is defined 20 characters, and I wanted to test against '*' & '00000111110098499336' & '*', which is 22 characters, CR truncated it to '%0000011111009849933'. This didn't match any records.
Your suggested statement...
...and SQL Svr2000, and am having trouble with a report having a subreport...
The main report record select statement is:
({Event.Description} like '*' & {?BarCode} & '*') and {Event.Source} = "FCC"
and the subreport record select statement is:
{ContainerHistory.ContainerID} like...
You also need to go into IIS, Application properties, Directory Security Tab, Anonymous access and authentication control Edit button, and uncheck the Anonymous access box.
Never mind...
I was populating the form from the DB each time...not just if 'not ispostback'. putting the call to populate the form inside the if statement cured it.
Thanks for your help...what you gave me about updating in the grid will be helpfull in another screen, and I didn't know about...
I think I understand what you're saying, but perhaps I need to clarify. I'm selecting the row from the grid to edit, but the edit screen consists of TextBox and ComboBox controls with the data filled in from the record. When I make changes to the Text/ComboBoxes and submit that form, I don't...
I have a data grid with edit and a 'New Incident' button.
If I click the button, a blank form is displayed which I can fill in and save the record. If I click Edit, the same form is displayed with the current data filled in...if I change any of the fields and click Save, the .Text properties...
I built an asp.net app having a page with several labels, text boxes, and combo boxes. When I view it from my PC (with a CRT) it looks great...when viewing it with my laptop, the boxes appear to be resized, but the text no longer fits with text boxes clipping data, and labels overrunning other...
I have several user controls I'm using in an application. These controls are windowless and BackStyle is Transparent. The user controls all have an image box that is resized to fill the object. When I draw one of these on the app form, I put information in the ToolTipText box...but the tool...
Programming is one of many hats I have worn.
Advice? Be prepared to spend the rest of your life studying, in or out of school, in order to keep up...and get lots of experience.
Yes, I enjoy my work. It's varied enough to keep interesting...I climb around under the hardware one week, run...
Office and other software have already been installed and have been working...attempting to install MSDN Apr 2002 has corrupted something, apparently. I am not working through TS, I'm on the PC's keyboard, and am a member of the Administrators Group on this PC (and a member of the Domain...
I tried installing MSDN Library (April 2002) and it attempted to upgrade Windows Installer and IE. IE6 was successfully installed, but the Windows Installer service no longer works...MS Office, and several other applications cannot find it and fail to execute. The message I get is:
"The...
I have several user controls I'm using in an application. These controls are windowless and BackStyle is Transparent. The user controls all have an image box that is resized to fill the object. When I draw one of these on the app form, I put information in the ToolTipText box...but the tool...
I have several user controls I'm using in an application. When I draw one of these on the app form, I put information in the ToolTipsText box...but the tool tips never display when I run the app. The user controls all have an image box that is resized to fill the object. If I put the tooltip...
Thanks cclint, I suspected as much. Thanks for your time and for taking your time to donate so much to this forum. It truely is a time saver when stuck with these infernal problems.
don :-)
GetPrivateProfileString returns a string value to a key in an application .INI file. If this is what you want to do, that's the right function.
I can't remember for sure, but I think OSGetPrivateProfileString was the name of this function in the old Win 3.1 days...same function, new name...
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.