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

Search:

Type: Posts; User: Naumaan

Page 1 of 29 1 2 3 4

Search: Search took 0.17 seconds.

  1. Replies
    8
    Views
    2,645

    Re: RichEdit and SetSel when tabbing

    You can try this in your code.



    BEGIN_MESSAGE_MAP(CMessageDlg, CDialog)
    //{{AFX_MSG_MAP(CMessageDlg)
    ...
    ON_EN_SETFOCUS(IDC_RICHEDIT_YOURCONTROL,&CMessageDlg::OnEnSetfocusMessage)...
  2. Replies
    12
    Views
    739

    Re: Problem with class and form

    You need to mension same namespace for MyClass as follows.

    MyClass.h file


    #pragma once
    namespace MyApp
    {
    public ref class MyClass
    {
  3. Replies
    12
    Views
    739

    Re: Problem with class and form

    did you #include MyClass.h in Form1.h file. Also please make sure your are using same namespaces in both files, Other wise use the namespace statement in form1.h file.

    Please move this thread to...
  4. Replies
    12
    Views
    739

    Re: Problem with class and form

    Form1.h:

    private:

    MyClass m_MyClass; // Member variable of Form1 class

    Form1() // Constructor
    {
    m_MyClass = gcnew MyClass();
  5. Replies
    8
    Views
    2,645

    Re: RichEdit and SetSel when tabbing

    Use SetSel(0,0) of CRichEdit Control in OnEnSetFocus function of CRichEdit Control.



    void CMyDlg::OnEnSetfocusRicheditMessages()
    {
    // TODO: Add your control notification handler code here...
  6. Replies
    12
    Views
    739

    Re: Problem with class and form

    You can create a member variable of your method class in your form/dialog class. You can also create a variable of method class in onClick function of your button. see following example.


    void...
  7. Replies
    4
    Views
    967

    Re: editing saved records in a text file

    How did you want to search the customer and edit its record. By its name, id or something else? If you can store each customer information in one line then it might be easy to read text file line by...
  8. Replies
    1
    Views
    1,186

    Re: Simple Image Output

    Please follow the link, It might be helpful.

    manually creating a BMP image.
  9. Replies
    1
    Views
    631

    Re: Handling Multiple Connections

    This code seems incomplete and missing other parts.
    In your sample its a listening socket and accepting connections, Its missing initialization parts for example (socket function to create socket ...
  10. Re: IXMLDOMDocument::load failed if used encrypted characters

    Thanks Paul, It worked for me. I was thinking it might be an issue with XML encoding (How to insert non-english characters in xml file). but found out that there are lot of escape characters. Thanks.
  11. Re: IXMLDOMDocument::load failed if used encrypted characters

    Its a requirement from customer.
  12. Re: IXMLDOMDocument::load failed if used encrypted characters

    Thanks Arjay and Zuk.

    Its a huge list, it means these characters are not allowed in XML. I cannot code for all these escape characters and my encrypted password can contain any character. Is there...
  13. Re: IXMLDOMDocument::load failed if used encrypted characters

    You mean something like this


    void escape(std::string *data)
    {
    using boost::algorithm::replace_all;
    replace_all(*data, "&", "&");
    replace_all(*data, "\"", """);
    ...
  14. Re: IXMLDOMDocument::load failed if used encrypted characters

    Yes I am reading in Visual Studio 2010 VC++.

    Following are the main steps while reading xml file.
    As I mentioned earlier, I can read this file successfully if I am using plain characters in...
  15. [RESOLVED] IXMLDOMDocument::load failed if used encrypted characters

    Hi,

    It might be an easy solution, but I need help around this issue.
    If I load xml file which contains following text. It failed because I am using encrypted characters in Password.


    <?xml...
  16. Replies
    4
    Views
    810

    Re: using different files in one project

    Put your global functions and other stuff in namespaces and then use it.
  17. Replies
    8
    Views
    4,759

    Re: WSARecv() for IOCP

    yes WSAEMSGSIZE is used for datagram socket. Check the return value of GetQueuedCompketionStatus It might helps you.
  18. Replies
    1
    Views
    1,044

    Re: Populating a Gridview

    U can make DataTable,DataColumn and DataRows as follows and then assign to ur grid.


    private void MakeDataTableAndDisplay(){
    // Create new DataTable.
    DataTable myDataTable = new...
  19. Replies
    7
    Views
    992

    Re: Question RE. STL's

    Well set is used for the storage and retrieval of data from a collection in which the values of the elements contained are unique and serve as the key values according to which the data is...
  20. How can I retrieve Current Relational Data from DataSet

    I have two tables
    tblEntity [ Entity ID , Entity Name ,........]
    tblUser [ UserID , Entity ID , UserName , ............]

    I have created DataRelation "entityVuser" in between these two...
  21. Replies
    12
    Views
    2,519

    Re: Timer/ Multitasking??

    Split ur appliction in two parts 1: Backend processing 2: UI Updation.

    In Backend processing u have to use a thread which will get signal strength from ur source( Device ). and just insert such...
  22. Re: Two Parent and one child DataRelation , Is it possible?

    Thanks for your help , but i m quite ok with database design here. I have this issue at FrontEnd not on BackEnd. I m talking about DotNet System.Data.DataRelation.
  23. Re: Two Parent and one child DataRelation , Is it possible?

    Yes i have considered this, I did not want any UserId-ItemId pair duplicaton with unique Id combination.
  24. Two Parent and one child DataRelation , Is it possible?

    I have 3 tables [ tblItems , tblUser , tblUsage]

    tblItem [ ItemId , Item Name , Description ]
    tblUser [ UserId , UserFirstName , UserLastName ,........]
    tblUsage[ ItemId , UserId , ...
  25. Thread: Copy and Paste

    by Naumaan
    Replies
    4
    Views
    972

    Re: Copy and Paste

    I have checked this code , no syntax error
    I have modified comments in this code plz try this.


    Sub Macro1()
    '
    ' Macro1 Macro
    ' Macro recorded 1/31/2007 by AAA
    '
    ...
Results 1 to 25 of 725
Page 1 of 29 1 2 3 4





Click Here to Expand Forum to Full Width

Featured