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 strongm 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. micha12

    Unable to create an MDI form in an ActiveX .exe (VB 6.0)

    Hello everybody, I created an ActiveX .exe project using Visual Basic 6.0. In this project I have added an MDI parent form. I have a class in my project named CMain. This is the main class. In order to create my application from, for example, Excel, one should use the following code: Dim Main...
  2. micha12

    How to include .CPP files (implementation of classes) in the project ?

    Hello, Yesterday I opened an MFC header file and found that it also contained the implementation of all the methods! If I am not mistaken, it was the file with the CArray class. How did they achieve that? If you want to use the MFC class, all you have to do is to write #include...
  3. micha12

    How to include .CPP files (implementation of classes) in the project ?

    Thanks for the answer. I know the procedure you described. But aren't there more "pretty" ways to add .cpp files? Like typing something like #include "XXX.h" fo header files? It is not pretty to see all .cpp dependencies in the Project Explorer! I want them to be connected...
  4. micha12

    How to include .CPP files (implementation of classes) in the project ?

    Hello, Suppose I have created a class, with two files: MyClass.h and MyClass.cpp. Then I have started a new project, and want to use the class in the project. I can easily include the MyClass.h file by just typing #include "MyClass.h" in my project. But how should I include the .cpp...
  5. micha12

    COM DLL with MFC Wizard: no help list (with properties) in VB !!!

    Thanks a lot, I managed to solve the problem by specifying the needed return type in the IDL file. Now IntelliSense works in VB. Thanks!
  6. micha12

    Errors with LINKER settings (cannot use external library)

    Hello everybody, I'm having problems with linking and other settings in Visual C++ .NET. I have downloaded a library from the internet, followed all the instructions on setting the project, typed &quot;#include <...>&quot;, set the linker options, but I keep on getting errors when I try to...
  7. micha12

    COM DLL with MFC Wizard: no help list (with properties) in VB !!!

    Hello everybody, I have a question on ActiveX (COM) DLLs in C++, created using MFC wizard. I can create a COM DLL for Visual Basic that works perfectly well, but there is one little problem. In my DLL (more precisely, in one of the classes exposed by the DLL) there is a property that returns a...
  8. micha12

    How to create a popup menu with submenus using API?

    Hello everybody, (1) I want to create a popup menu with submenus. I can create an ordinary popup menu using API functions, but am unable to create a popup menu with submenus. Neither can I create a submenu for a certain menu item of the form, using Load mnuItem(0). How can I do that? (2)...
  9. micha12

    How to make Excel open new files in separate windows?

    Hello, Thanks very much for your answer. It works, but in fact I do not understand one thing: when you instruct Excel to ignore remote requests, and do not switch on back this property, Excel won't open any files if you double click on them, because DDE is disabled. But if this property is...
  10. micha12

    How to make Excel open new files in separate windows?

    Hello everybody, I have an Excel workbook with a macro. When I open this workbook, the macro creates special interface: it hides control bars, the status bar, ... The problem is that when the user double clicks another .xls file, the new file opens in the same window, where I already have my...

Part and Inventory Search

Back
Top