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

Search:

Type: Posts; User: irona20

Page 1 of 56 1 2 3 4

Search: Search took 0.51 seconds; generated 17 minute(s) ago.

  1. Replies
    14
    Views
    1,054

    Re: Happy Birthday irona20

    I have seen it a bit late, but anyway thank you very much!!!
    I has been a very nice surprise!
    Thank you! Thank you! Thank you very much! :blush:
  2. Replies
    9
    Views
    1,034

    Wow, I've read your Gridbaglayout tutorial and...

    Wow, I've read your Gridbaglayout tutorial and it's fantastic. It will help me a lot. Thank you very much for your help
  3. Replies
    9
    Views
    1,034

    Problems with GridBagLayout

    I have a frame sized 640x480, which I want to divide horizontally into 2 parts, one taking 1/3 of the total width and the other the rest. The former section will contain some buttons, the latter some...
  4. Execute a sentence into a procedure (SQL Server)

    I have declared a varchar variable, and it contains a sql sentence (which it works), I want to execute this sentece into a procedure.
    If I use:
    EXECUTE @sentence;

    I get this error: "insert...
  5. Replies
    2
    Views
    897

    Thank you Andreas. With your code happens the...

    Thank you Andreas. With your code happens the same. When the text is changed in my edit box (with spin control), all text is selected.
  6. Replies
    2
    Views
    897

    Deselecting text in CEdit

    I have a dialog with a CEdit and a CSpinButtonCtrl.
    This is my code:


    Where m_editLog is the edit and m_strLog is a CString variable associated with the edit. With this code, the text in CEdit...
  7. Replies
    5
    Views
    1,369

    More info: We have tested in 3 XP machines: ...

    More info:

    We have tested in 3 XP machines:

    1.- It works.
    2.- ShellExecute doesn't return any error, but it doesn't open the file.
    3.- ShellExecute returns an error, I know it because the...
  8. Replies
    5
    Views
    1,369

    Thank you for your answer! Well, I don't know...

    Thank you for your answer!

    Well, I don't know what is the error, because I don't have the machine, and on my machine works :D
    Moreover, if you do double-click in the lnk file from explorer, it...
  9. Replies
    5
    Views
    1,369

    ShellExecute & XP & lnk files

    Hi!

    This is my code:


    if (::ShellExecute(NULL, "open", sPath, NULL, NULL, SW_SHOWNORMAL) <= (HINSTANCE)32)
    {
    ShowError(IDS_ERROR_OPEN_FILE, sPath);
    bRetcode = FALSE;
    }
  10. Replies
    3
    Views
    3,016

    Hi Doctor :) I don't know if I need to include...

    Hi Doctor :)
    I don't know if I need to include some directive more.

    The error happens in this line:
    typedef ULONG_PTR HCRYPTPROV;

    Thank you for your answers.
  11. Replies
    3
    Views
    3,016

    Errors compiling wincrypt.h

    Hi! I have downloaded Microsoft SDK, and this is my code:



    #include "stdafx.h"
    #define _WIN32_WINNT 0x0400

    #include <stdio.h>
    #include <windows.h>
    #include <wincrypt.h>
  12. Thread: LDAP and SSL

    by irona20
    Replies
    4
    Views
    1,561

    If I execute this code: CString sInfo;...

    If I execute this code:



    CString sInfo;
    SDKVersion = ldap_version( &ver );
    if ( ver.security_level != LDAP_SECURITY_NONE )
    {
    sInfo.Format( "Level of encryption: %d bits\n",...
  13. Replies
    3
    Views
    864

    Yes, I thought that... but I am searching for a...

    Yes, I thought that... but I am searching for a function like GetCurLine for CArchive.

    If there isn't other method, I will have to use a counter.

    Thank you for your answer.
  14. Replies
    3
    Views
    864

    CStdioFile, get current line

    Hi!

    I am reading a text file line by line, using CStdioFile and ReadString.

    Is there any way to know what number of line I am reading?

    Thank you in advance.
  15. Replies
    3
    Views
    1,002

    Thank you dimm_coder :D nice to hear you too :)

    Thank you dimm_coder :D
    nice to hear you too :)
  16. Replies
    3
    Views
    1,002

    Global variables

    I need a global variable, which will be used from several .exe.
    My code:

    Log_clnt.cpp


    string text_messages [NUM_MAX_MESSAGES];


    With other files, it will generated a logclnt.lib.
  17. Replies
    2
    Views
    1,498

    No, now it isn't owner-drawn. Thank you!. Now I...

    No, now it isn't owner-drawn. Thank you!. Now I can insert my string. But now I have two problems:

    1.


    m_wndComboTool.m_ImageListCombo.Create( GetSystemMetrics(SM_CXSMICON),...
  18. Replies
    2
    Views
    1,498

    CComboBoxEx doesn't insert item

    Hi! Maybe a stupid error, but my code only inserts garbage:


    m_cmbAddress.Create(WS_CHILD|WS_VISIBLE | CBS_AUTOHSCROLL | CBS_DROPDOWN | CBS_HASSTRINGS ,
    ...
  19. Thread: Invoke IE

    by irona20
    Replies
    2
    Views
    674

    If you use: ::ShellExecute(NULL,NULL,"your...

    If you use:

    ::ShellExecute(NULL,NULL,"your page.html",NULL,NULL,SW_SHOWNORMAL);

    That will open your default browser with your page.
  20. Thread: Edit issue

    by irona20
    Replies
    9
    Views
    1,011

    How do you change the background? Have you used...

    How do you change the background? Have you used WM_CTLCOLOR message? I do it with WM_CTLCOLOR and it works for me.
  21. Thread: LDAP and SSL

    by irona20
    Replies
    4
    Views
    1,561

    Thank you very much Elhadif! But now I get the...

    Thank you very much Elhadif!
    But now I get the error LDAP_LOCAL_ERROR :confused:
    My code:


    LDAP* ld = ldap_init ("scorpions", 636);
    int iRtn;
    iRtn = ldap_set_option(ld, LDAP_OPT_SSL,...
  22. Replies
    13
    Views
    1,579

    Example from MSDN: /* VA.C: The program...

    Example from MSDN:


    /* VA.C: The program below illustrates passing a variable
    * number of arguments using the following macros:
    * va_start va_arg va_end
    * ...
  23. Replies
    2
    Views
    869

    Look this function in MSDN:...

    Look this function in MSDN:
    IShellLink::SetArguments
  24. Replies
    39
    Views
    5,047

    I don't renember, it was three years ago :) I...

    I don't renember, it was three years ago :) I only renember I had to split my string.
  25. Replies
    39
    Views
    5,047

    Well, I don't think that the SQL statment are so...

    Well, I don't think that the SQL statment are so huge.
    I had this problem once:



    CString strAux = "SELECT DISTINCT \
    GenInfInforme.sINFO_CODIGO, \
    GenInfInformeDetalles.sIDET_VISTA,...
Results 1 to 25 of 1394
Page 1 of 56 1 2 3 4





Click Here to Expand Forum to Full Width

Featured