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

Search:

Type: Posts; User: Lvalera

Search: Search took 0.03 seconds.

  1. Replies
    10
    Views
    1,811

    Re: Notepad controlled by VC++ 6.0

    The information in the links provided looks confusing for me.... I am sorry for saying that.
    If I can run Notepad and open the needed file with this simple code:


    CString...
  2. Replies
    10
    Views
    1,811

    Notepad controlled by VC++ 6.0

    Hi,
    I am writing dialog based MFC application and one of the tasks is to control Notepad...
    I have found some code to open Notepad and specific text file..
    All works fine, but I have two...
  3. Re: error C2106: '=' : left operand must be l-value

    I will try,
    thanks a lot...
  4. Re: error C2106: '=' : left operand must be l-value

    I agree that it is good to have some code detecting the situation where it will be no 'Q' in the string.... It can't happen to my program, but I will add some procedure to detect that anywhere......
  5. Re: error C2106: '=' : left operand must be l-value

    Finally I have used the solution you mention and it worked... the string I am working is a path string, something as: C:\Users\Public\Documents\some_folder\text.txt
    so what I need the part ...
  6. Re: error C2106: '=' : left operand must be l-value

    Hi to all,
    Thank to all of you, that was a great help for me
    It finally worked in this way:
    ........
    while (one [x]!='Q')
    {
    two+=1;
    two .SetAt(y,one[x]);
    x+=1;
    y+=1;
  7. Re: error C2106: '=' : left operand must be l-value

    sorry to all
    I found a mistake in code, it should be:

    .....
    CString one=" some text Q the rest of the text ";
    CString two;
    int x, y;
    x=y=0;
    while (one [x]!='Q')
    {
  8. error C2106: '=' : left operand must be l-value

    hi to all,
    I use Visual c++ 6.00
    I have a code which in my opinion should work:
    .....
    CString one=" some text Q the rest of the text ";
    CString two;
    int x, y;
    x=y=0;
    while (one [x]!='Q')
    two...
Results 1 to 8 of 8


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)