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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Paris1849

    Access the view class from the menu class.

    I have an SDI application, and all I want to do is to access data in the view class of the program from within member functions of the class which is controlling the menu. How exactly do I get a pointer to the view in those parts of the code? In detail--> I have data in the view class for...
  2. Paris1849

    Call another program without using system()??

    Never mind. I found it. It's called WinExec(). Sorry! - Paris, 1849
  3. Paris1849

    <Speech.h>

    Yes. 'FAR' is the Borland version of 'far'. For a Microsoft compiler, use 'far'. Like other people here, I have also bought books with examples that don't work. I've even bought books with examples that need a certain type of hardware on your computer. "Unexpected End Of File" is...
  4. Paris1849

    Returning Arrays from class functions?

    When writing member functions that return "large things" like arrays, a programmer has two choices: (1) Send the array back via its pointer. (2) Push the entire array onto the stack. Either way you go, make sure you are ready to receive the return value in all its grandeur. Say...
  5. Paris1849

    Eliminate if-else statements - less bulky code

    It looks like you may be wondering how to rewrite your code without having to double up on the block which outputs the error message. I do this "doubling-up" constantly and time and time again, I find myself re-writing everything without the ifs and elses. Try rewriting your code...
  6. Paris1849

    Call another program without using system()??

    I want to call Internet Explorer from my application and have it load up with a file called Mainpage.html. The following way is the way that I DO NOT want to use: system("C:\\PROGRA~1\\INTERN~2\\IEXPLORE.EXE C:\\VC5\\LAUNCHER\\MAINPAGE.HTML"); The problem is no way to calculate...
  7. Paris1849

    How to Reboot..????

    Palbano's link is nice, but I do not read Visual Basic code and I can't "convert" it to Visual C++. Could someone please post some converted code for me? I hear that the function AdjustTokenPriviledges() is just what I need. But what in the world is all this stuff? And where in my...

Part and Inventory Search

Back
Top