CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: rahul.kulshreshtha

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Re: Making Entry in HKEY_LOCAL_MACHINE

    Yes I will ask .. I will register my application as a MAPI client so all MAPI related calls (which my application will do) will be routed to Outlook. This will not set Outlook as a default mail...
  2. Re: Making Entry in HKEY_LOCAL_MACHINE

    Well, I am making some MAPI calls, it requires Outlook to be default mail client.
    If OL is not default mail client then it shows error message.

    To prevent this I need to make an entry of my...
  3. Re: Making Entry in HKEY_LOCAL_MACHINE

    Thanks You. But I want to use HKLM.
    I found this but I don't know how it will help me because there is only one exe and I don't want to break my work into multiple exe.
    ...
  4. Re: How to register an ActiveX ocx file

    Thanks Skizmo,

    I know that it requires admin-rights.
    For that I changed configuration of my MFC project to use UAC that worked but it will run the application in admin mode. So applicaiton will...
  5. How to register an ActiveX ocx file

    Hello All,

    I am registering an ActiveX as follows:



    CString ocxFile = L" /s \"" + ocxFile + L"\""; // for silent install

    HINSTANCE hInstance = ::ShellExecute(NULL, L"open",...
  6. Making Entry in HKEY_LOCAL_MACHINE

    Hello All,
    I want to do an entry in HKEY_LOCAL_MACHINE
    but my code does not work if current user does have admin rights.
    Is there any way to force the current session to have admin rights for...
  7. Re: IMP : SWF is not loading while setup triggers exe

    Thanks For suggestion,
    Problem was really small and I was thinking a lot :)
    Actually I was loading swf from current directory so when I run it through desktop-shortcut or program files at...
  8. IMP : SWF is not loading while setup triggers exe

    I have a problem. Don't know the exact reason.

    I have created an MFC project which has a default dialog which is having Shockwave player ActiveX. This dialog is derived as



    class MyClass :...
  9. How to Disable a node in CtreeCtrl

    I have a tree with some nodes with CheckBox enable
    I want to disable few of them because they are compulsory to choose so I want few nodes will be selected and disable so user can not change it.
    ...
  10. Re: Updating CStatic Label text which has transparent background

    No it does not work without Invalidate.

    I have also tried the following but no success :(

    //SetWindowLong(m_Message.m_hWnd, GWL_STYLE, WS_EX_TRANSPARENT);
    ...
  11. Updating CStatic Label text which has transparent background

    Hello,
    I am having a CStatic control in my MFC application dialog. This is having transparent background in .rc (resource file)

    LTEXT "",IDC_MESSAGES,173,154,158,15,NOT...
  12. Re: Generating Exe from exe

    Thanks Arjay and Paul,
    This was really a new knowledge for me. Now I understand that they don't create exe on the fly but they compresses those things.
    and sure I will read about...
  13. Re: Generating Exe from exe

    Yes those are my last choices. My main target is to 'dynamically create an exe at client's PC'. After ignoring all these facilities; if developer needs to do this then? is there any license that is...
  14. Re: Generating Exe from exe

    Actually I am planning to make an exe (AboutUs.exe) that will show the name of developers. I don't want to store names in some db (like sqlite). I want to hard-code it in exe.

    But everytime when...
  15. Re: Generating Exe from exe

    Whole visual c++ in client's pc ??? or just run time and compiler. I guess runtime is already there in every windows pc.

    How to compile an MFC (or any win32 that supports GUI) project from a...
  16. [RESOLVED] Generating Exe from exe

    I want to make a simple program. But I don;t know how.

    I want to make an exe generator.
    In this; there will be dialog with one edit box and one button (labeled "generate exe"). when user will...
  17. Console Application to No-Console Application

    Hello,
    I have crated console based application project in vc++. After completing I realize I should hide the console of app. It is an exe running in background and another exe takes data...
  18. Console Application to No-Console Application

    Hello,
    I have crated console based application project in vc++. After completing I realize I should hide the console of app. It is an exe running in background and another exe takes data...
  19. Re: C++ recursive function (very simple one)... [help needed!]

    Now Inside Code Tag


    void inverted(int a)
    {
    if (a==1)
    {
    cout<<"*"<<endl;
    }
    else
  20. Re: C++ recursive function (very simple one)... [help needed!]

    try this

    void inverted(int a)
    {
    if (a==1)
    {
    cout<<"*"<<endl;
    }
    else
    {
  21. Re: Why My App is crazy with 1 Jan 1970

    Actually I was making a function that will give the difference between two dates/time
    It was working fine with all but when I tested with 1970; it didn't worked.

    Instead of time function you can...
  22. Why My App is crazy with 1 Jan 1970

    Hello I am using the following code to find the seconds passed since 1 Feb 1970
    It is working fine with 1 Feb. If I try to do it for 1 Jan then I get a big 0 in output. Why is it so ?? What to do ??...
  23. Re: Intializing variable from CInternetSession

    Error is below :

    C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\include\afxinet.h(162) : error C2248: 'CObject::operator =' : cannot access private member declared in class 'CObject'...
  24. Intializing variable from CInternetSession

    The following line is working fine.

    CInternetSession iSession = CInternetSession(NULL,1,accessType, proxyUrl);

    I want to make like below

    CInternetSession iSession;

    if (...
  25. Re: Adding EditBox in TabControl in MFC

    Thanks Alex for a quick reply.

    I already give WS_TABSTOP while using create method.

    I just now figured out that instead of tab key, arrow key are doing that work. If I press up arrow then the...
Results 1 to 25 of 26
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured