Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by JasonUMD

  1. JasonUMD

    TC++PL 6.6.13 - new operator mystery

    Rob, The example you give does not compile. C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\MyProjects\Test\test.cpp(30) : error C2664: 'sprintf' : cannot convert parameter 1 from 'const char *' to 'char *' Conversion loses qualifiers C:\PROGRAM FILES\MICROSOFT VISUAL...
  2. JasonUMD

    TC++PL 6.6.13 - new operator mystery

    Let's change this line: cout << p << endl; To this: cout << c << &quot; : &quot; << strlen(c) << endl; Here is the result: Hello world!-²²²²²²² : 20 The statement (strlen(str1)+strlen(str2)+1) should result in 13 (and it does if I check it on a different line), which would be the correct...
  3. JasonUMD

    TC++PL 6.6.13 - new operator mystery

    Hello. Newbie working self through TC++PL. Ex: 6.6.3: Write a function cat that concatenates 2 C-style strings. Use new to find store for the result. My code: #include <iostream> using namespace std; char* cat(const char* str1, const char* str2){ char *catstr = new char[(strlen(str1) +...
  4. JasonUMD

    Acc97: End user printer control / compacting impossible?

    Thank you for the pointers, the article you linked to is also the same as Ch. 10 in the Access 97 Developer's Handbook - which I have been referencing, I'll re-read it. Perhaps I was just giving up too early? In any case, thanks again for the help, and I'll get back to work on it!
  5. JasonUMD

    Acc97: End user printer control / compacting impossible?

    I'd like to add this functionality into my project, but it seems impossible. It's a split database (DB_FRONT.mdb & DB_DATA.mdb) 1. End-user printer selection: There are 3 categories of reports. I would like the user to be able to view a list of printers, and select a printer for each...
  6. JasonUMD

    Finding out who called the form.

    Thanks dumdum, I looked it up in the ADH. I actually broke down and just used a global to hold the calling form name. My shame is great, but the code runs.
  7. JasonUMD

    Access Runtime - How to link Help file to Help Menu

    It only looks hard. Off the top of my head, the basics were: 0. Get HTML Help Workshop if you don't have it yet. 1. Download the DLL, install and include in the Access module. 2. Cut n paste the example code into the module. 3. Add buttons and event handlers to forms. To add help to the menu...
  8. JasonUMD

    Access Runtime - How to link Help file to Help Menu

    HTMLHelp? Look here: http://www.mvps.org/htmlhelpcenter/access.htm I have an Access application that uses a HTMLHelp file, the above link was my starting point to get it working.
  9. JasonUMD

    Finding out who called the form.

    I have a button on one form that, when clicked, closes the current form and opens a second form. When that second form is closed, I want to reopen the first form. (When I was leaving the first form open I was getting strange results, since the 2nd form will be editing information on the first...

Part and Inventory Search

Back
Top