I am trying to create a report that I can send to my printer. I've been trying without success to learn how to do this. The Microsoft help touches on various points, but doesn't tie it together. Most frustrating is it refering to the 'Print' method of the Printer object. This do not exist as far...
Is there a way to verify that a control array element exists before I use it? I ask because when I'm binding my controls to an ADO recordset, it would be easier if I could use a FOR NEXT loop, but I have to take into account that not necessarily every element has been used. For instance...
I'm a programmer in Visual Basic, C/C++, PERL, and others. But in this industry which is overinundated with acronyms and terms, I have never gotten a clear definition regarding what is meant by 'Embedded' software. Is it simply an application or functionality contained (embedded) within another...
I would have thought this would be simple, but I haven't found an easy way to launch a file with it's associated application (like would happen if you double-clicked the file in Windows Explorer). Give the complete path to a file, how do you 'execute' it? Right now I know how to launch a Word or...
For example, I need to use SQL to select records of only a particular area code. My current SQL statement (to find a specific phone number. I'm concatonating several search parameters so SQLString already contains the "SELECT * FROM [Companies] WHERE [other parameters]) looks like this...
How can you send e-mail via VB? It would be preferable to do so without opening Outlook (or any other app for that matter). I had experimented with the MAPI functionality, but the large drawback I got was that I received no feedback from it to tell me the progress it was making in sending the...
I realize this might sound like a really simple question, but I've had little luck trying to solve it so far. I'm trying to create a Global Update utility for an Access database, and I want the user to be able to dynamically select their desired Access table, and then from that table, their...
I've recently tried to make a program of mine a bit more stable by adding a lot Error handling throughout the code. However, now I'm sometimes (not always) getting "Out of Memory" errors where I didn't before (with only a couple of other apps open). I'm not sure if these are being...
I need to use SQL to perform a lookup, but I don't know how to format the search string if it includes a hyphen. For example, looking up the name "O'Neill" currently produces an error due to the hyphen. What's the work-around?
I have had some kind of file corruption that now prevents me from successfully loading (in development mode) any forms with SSTab or DBGrid controls. The log file created contains the following:
Line 18: Class TabDlg.SSTab of control SSTab1 was not a loaded control class.
Line 238: Class...
I want to open files using the application associated with their filename extension. For instance, if I have the complete path to a .doc file, I want to open that file in Word, or whatever application is associated with the file's extension. I have not been able to find what I need to do to...
Since Microsoft has made VB 6.0 incompatible with the Crystal Reports they shipped in version 5.0, I have to redesign my report using the Microsoft Data Report, for which you have to access through the Microsoft Data Environment. The only thing I haven't been able to figure out is how to...
I have had only limited success trying to find how best to export data to be used in a Word document Mail Merge. I use a VB interface tied to an Access database as my source.
I've been having a problem lately trying to bind a DBGrid to a data control as it's datasource. When I click in the DataSource property of the DBGrid, instead of displaying the data control on the form to select, it flashes like it's looking for something, and then remains blank (that is, ALL...
A couple of jobs ago I had a problem trying to create an install set for my VB project. It turned out that it was a bug with Microsoft in one of their dependancy files. They had a typo in two place, but I can't remember exactly where. I'm pretty sure it was the ComDlg32.dep file, but...
MS Publisher used to be my favorite product from Microsoft. However, their latest version of Publisher seems to be a bit buggier than previous versions. I'm having a hell of a harder time trying to print out publications than it used to be. I keep getting 'Printer Overflow' errors where I...
I'm a Programmer/Technical Writer that has been self-taught in all my languages and software applications. It looks like the next one I have to master for a job will be Adobe FrameMaker. I know there are hundreds of books out there for that, but I know not all books are created equal! I was...
This may just be the last straw before I give up on using Crystal Reports and design my own report designer. It seems that when I define a record set for the report that includes the SQL 'Like' statement, it doesn't report the records and comes up blank. Is Crystal Reports incapable of working...
I had to reformat my computer and reinstall everything. I have VB6 now, but that doesn't reinstall the DBGrid32.ocx control. I NEED this control, and supposedly it's part of the Microsoft Data Bound Grid<br>
Control 5.0 set, but Microsoft's site gives you the run around in trying to find it...
I had to reformat my computer and reinstall everything. I have VB6 now, but that doesn't reinstall the DBGrid32.ocx control. I NEED this control, and supposedly it's part of the Microsoft Data Bound Grid<br>
Control 5.0 set, but Microsoft's site gives you the run around in trying to find it...
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.