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...
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...
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...
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...
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 "#include <...>", set the linker options, but I keep on getting errors when I try to...
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...
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)...
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...
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...
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.