pwise-
I tried calling that function at the end of Lonnie's code. is that what you mean for me to do?
I get the following error: "User defined type not defined" and it highlights the line, "Dim woobj As Word.Application
Cool! Got it to work. Thank you very much, Lonnie.
I know this might be asking a lot, but is it possible to display the font's actual name instead of the file name? "ARIALN.TTF" looks a lot less pleasant than "Arial".
Thank you for the quick response. I seem to be a little thick today. I tried with the following code, where cmbFont is the combo box. Didn't work. Am I missing something?
Private Sub Form_Load()
cmbFont = Dir("C:\Windows\Fonts")
End Sub
Sorry. I'm pretty rusty at this.
My customers want to be able to change a report's font. I know how to write the code for changing a font based on the results of a combo box, but I don't know how to make a combo box list all the fonts on the user's computer.
I know I could just make a combo box listing the common fonts...
thank you! that solves much of my problems.
two additional questions:
what's the code for inserting a return into a memo field using a button?
how do I delete the last character of a memo field?
basically, I want to have an "Enter/Return" button to go to a new line and a "Backspace" button.
I'm designing a cooking database for elderly who prefer to mouse instead of type. I want to build 30 buttons and combo boxes in a small pop up form that have the most common words they'll use to insert into a single memo field on a second form.
my form "frmRecipes" reads/writes directly to a...
Thanks for the reply. I'm kind of a novice, obviously, so bear with me. When you say I can get the height in the On Print event, do you mean that I can write code that will somehow refer to the On Print command and set the size of the rectangle from there? How would I phrase that?
Why and how...
I have a report that contains several text boxes. Some of these text boxes have an image that goes with them. Right now the report is designed so that whenever there is an image, a rectangle appears behind both the text and the image. The length of the text varies, as does the font size, which...
I've got a database I've built to be stand alone with runtime using Sagekey scripts. Built it using Access 2002. Unfortunately, it appears that the spell check built in to that database is not distributable to Windows Vista. Bottom line: All my customers with Vista don't get functioning spell...
Subject says it all really. I have a textbox in a report within our application - it's set to Can Grow and Can Shrink because the users of our application have to be able to enter in their own text.
Looking at a preview of the report with some sample text in this text box, I've just noticed...
Scratch that last. It doesn't work after all. I won't go into why I thought it was working - it has to do with knowing when your images are linked and when they're embedded, and with me being a moron.
Any help with this problem would still be greatly appreciated.
Thanks! I hadn't thought of trying that, and it worked. I found that the cause of the problem was that I had margins in place on the text box. It seems that the scrollbar will only appear if the margins are set to 0".
I don't suppose there's a way to keep my margins and still have the scroll...
Okay... I think I may have solved the problem myself. In the packaging wizard I have set the install location to $(CommonFiles)\(location path). Now the images are showing up even when I install the program to a non-default location (i.e. drive other than the C:\ drive).
I have a piece of software that I've built in Access 2002. It contains many linked image files. (If I embed them the application will be massive.)
I am using the Packaging Wizard to create a runtime version for my users.
My problem is that when my user installs and runs the application on...
The textbox does have focus, but the scrollbar still isn't appearing.
I don't want to have the box auto resize, because there is no knowing how much text my users will be entering. I really need the scrollbar within the textbox.
Thanks again for the info. Running the compile did the trick.
Last time this happened to me I actually went through the whole thing, figured out what forms were causing the problems, and sort of cobbled them back together by copying all the changes I'd made into an earlier working version and...
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.