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

Search:

Type: Posts; User: saraswathisrinath

Page 1 of 14 1 2 3 4

Search: Search took 0.03 seconds.

  1. Re: How to store Hindi characters in MYSQL database

    Tried all possibilities, i think problem is not table definition part. its from INSERT part.

    Just noticed, getting some issues while using insert command from MySQL command prompt.
    Hindi...
  2. Re: How to store Hindi characters in MYSQL database

    table created using command prompt



    C:\Windows\System32>mysql -u root -p
    Enter password: *****
    Welcome to the MySQL monitor. Commands end with ; or \g.
    Your MySQL connection id is 1...
  3. Re: How to store Hindi characters in MYSQL database

    Getting Output : ?????? ??
  4. Re: How to store Hindi characters in MYSQL database

    TRY
    {
    CString QueryStr;
    CRecordset recset( &DB);
    QueryStr = "SELECT data FROM hindi";
    recset.Open(CRecordset::forwardOnly,QueryStr,CRecordset::readOnly);
    while( !recset.IsEOF() )...
  5. Re: How to store Hindi characters in MYSQL database

    that also tired sir


    mysql> CREATE TABLE tbl_hindi (data nvarchar(1000));
    Query OK, 0 rows affected (0.36 sec)

    mysql> select * from tbl_hindi;
    +-----------+
    | data |
    +-----------+
  6. How to store Hindi characters in MYSQL database

    Hi,

    I'm using Unicode Character Set in MFC application.

    Database and table created manually using MySQL via command prompt



    CREATE DATABASE hindi_test CHARACTER SET utf8 COLLATE...
  7. Replies
    24
    Views
    8,463

    Re: wstring Conversion

    No words to say. Its working. Finally read from dll resouce string


    HMODULE cargaDLL;
    cargaDLL = LoadLibrary(L"C:\\lng\\Chinese.dll");
    CString re = LoadStringFromDLL(cargaDLL,...
  8. Replies
    24
    Views
    8,463

    Re: wstring Conversion

    Thank you
  9. Replies
    24
    Views
    8,463

    Re: wstring Conversion

    Hi,

    I have one more doubt.

    If we add a google translator in website, it will change the website content depends on the selected input by user.

    Like that, any thing available in MFC?
    ...
  10. Replies
    24
    Views
    8,463

    Re: wstring Conversion

    Ok thank you, i will check.
  11. Replies
    24
    Views
    8,463

    Re: wstring Conversion

    m_pLanguage is a instance of CLanguage class.

    I want to add multiple language support to my application.

    i can use LoadString() function to retrieve string from local resource table.

    But how...
  12. Replies
    24
    Views
    8,463

    Re: wstring Conversion

    Its retrive data from local resource string table.


    CStringW result;
    result.LoadString(IDS_EXAMPLE);
    ::AfxMessageBox(result);


    How can i retrieve data from dll string table?
  13. Replies
    24
    Views
    8,463

    Re: wstring Conversion

    return type is std::string, that's why assigned like below.

    std::string ip = m_pLanguage->GetString(IDS_EXAMPLE).c_str();


    i was converted this for display purpose


    std::wstring op =...
  14. Replies
    24
    Views
    8,463

    Re: wstring Conversion

    I have created chinese.dll to read a resource string from string table like korean.
    Sorry for the confusion.
  15. Replies
    24
    Views
    8,463

    Re: wstring Conversion

    First tried like this


    std::string ip = m_pLanguage->GetString(IDS_EXAMPLE).c_str();
    std::wstring op = s2ws(ip);
    LPCTSTR result=(LPCTSTR)op.c_str();
    //::AfxMessageBox(result);...
  16. Replies
    24
    Views
    8,463

    Re: wstring Conversion

    Refered these links
    https://forums.codeguru.com/showthread.php?464176-RESOLVED-Multi-Language-Support-Problem-in-VS2005-C
    https://groups.google.com/g/microsoft.public.vc.mfc/c/4bA_9a4U5Qw...
  17. Replies
    24
    Views
    8,463

    Re: wstring Conversion

    In the below code, watch display like ip "?? ??? ????? ??? ?? ???? ??? ?????."


    std::string ip = "인도 남부의 맨체스터로 알려진 코임 바토르는 직물로 유명합니다.";

    need to convert my input from const std::string str...
  18. Replies
    24
    Views
    8,463

    Re: wstring Conversion

    Sets "Use Unicode Character Set" for all string inputs



    m_lblExample.SetWindowText(L"인도 남부의 맨체스터로 알려진 코임 바토르는 직물로 유명합니다.");


    Its showing perfectly.
  19. Replies
    24
    Views
    8,463

    [RESOLVED] wstring Conversion

    Hi,

    I was read a korean string and display the text.





    std::wstring s2ws(const std::string& str)
    {
  20. Replies
    2
    Views
    1,943

    Re: Ssh & sftp

    finally done by libssh

    Thank you.
  21. Replies
    2
    Views
    1,943

    Re: Ssh & sftp

    Is libssh helps to copy a file via VC++?

    I want to copy a file from a client to a remote server but I don't understand how to do it with the library libssh and the function sftp in libssh.

    I...
  22. Replies
    2
    Views
    1,943

    [RESOLVED] Ssh & sftp

    Hi,

    I was initialize SSH like below & its working


    #include <iostream>
    #include <string>
    #include <WS2tcpip.h>
    #pragma comment(lib, "ws2_32.lib")
    using namespace std;
  23. Re: sending and receiving file from socket

    Ok. Thank you.
  24. Re: sending and receiving file from socket

    Hi,

    Can i send any files (SFTP) ?
  25. ComboBox - increase the width of the right most drop down button

    Hi,

    Using mouse, it was no problem to access the combo box. But, Using touch screen, it was very difficult to access the combobox.

    I was used the below code for increase combo height.

    how...
Results 1 to 25 of 334
Page 1 of 14 1 2 3 4





Click Here to Expand Forum to Full Width

Featured