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

Search:

Type: Posts; User: guptesanket

Page 1 of 4 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    3
    Views
    2,388

    Re: Automate Excel help in VC++ MFC

    Oops.. Its the get_Range line. There are 2 same errors on the same line, which means for the 2 arguments of the function.
  2. Replies
    3
    Views
    2,388

    Automate Excel help in VC++ MFC

    Hi,
    So, I have to do a few tasks in excel.

    Firstly, I import a space delimited text file into excel (through VC++). and the following is the relevant code.


    CApplication oExcel;...
  3. Replies
    2
    Views
    1,034

    Re: Automate Excel Question

    Okay. Sorry. I did post it in the correct forum earlier, but noone replied there, so i just tried. :)
    No Problem. I think i am going to convert it into VC++ MFC now, and will post it in here. :)
  4. Replies
    2
    Views
    1,034

    Automate Excel Question

    hi,
    So I am trying to automate excel in CLR/Windows Forms Application.
    So the following is what I did.
    Removing the un-necessary code...



    // Defined this somewhere on top.... #define Excel...
  5. Replies
    0
    Views
    993

    Excel Automation newbie question

    hi,
    So I am trying to automate excel in CLR/Windows Forms Application.
    So the following is what I did.
    Removing the un-necessary code...



    // Defined this somewhere on top.... #define Excel...
  6. Re: Make a program to run multiple programs

    GetLastError reported 0
    But you were right I have to change \ to \\ and that solved the problem..
    Thank a a lot..
    Good day
  7. Re: Make a program to run multiple programs

    Hi, I tried doing that, and I am sure that is the best way to do it..
    But I am having problems with the first two parameters... and I dont know what to put in those...
    I would be really grateful...
  8. Re: Make a program to run multiple programs

    Hey thanks... That does make sense.... But I am kinda new to this... could you elaborate a bit.... It would be of great help...

    Thanks a lot
  9. [RESOLVED] Make a program to run multiple programs

    Hi
    So the following is my task..

    I have Program1 and Program2

    Now, I have to make Program3, such that it does the following (and these are the only things to do)

    Start Program1.exe

    when...
  10. Replies
    1
    Views
    868

    Problem with sockets

    Hi,
    I have two computers and I am talking with the two computers (through two different programs) over the LAN.

    Now, say Comp1 has Prog1 and Comp2 has Prog2.

    Prog1 starts does something and...
  11. Replies
    8
    Views
    1,600

    Re: Access Violation Problem with list !

    @krmed: Yes, I have initialized the list l.
    @Paul: It does have arguments in the call. :)

    Well ... My bad... ! I did not properly write the functions..... The 2 errors that were pointed out above...
  12. Replies
    8
    Views
    1,600

    Re: Access Violation Problem with list !

    I already mentioned it above...

    t_List* GetList(){return &d_list;}


    :)
  13. Replies
    8
    Views
    1,600

    Access Violation Problem with list !

    Hi,
    So I have a list
    and I have it initialized in a function fun1()
    say it has some 5 elements


    typedef std::list<Object*> t_List;


    Now, I iterate through this list and send each object...
  14. Re: Problem with Returning a list

    Ha... Thank you very much.... That did solve the problem..
  15. [RESOLVED] Problem with Returning a list

    Hi,
    Like many people, I am a bit confused about the pointers.
    So, this is my question
    I have a structure


    struct Vertices {
    float a,b,c;
    Vertices(const float &aa,const float...
  16. Re: 'System.StackOverflowException'

    @Paul you are right, the array was causing that exception.

    I used int (*x)[20][4200] = new int[3][20][4200];

    and it worked... n solved the error..

    As about the CString..... I was passing...
  17. [RESOLVED] 'System.StackOverflowException'

    Hi,
    I am getting the following error,
    " An unhandled exception of type 'System.StackOverflowException' occured in MyProg.exe "
    and here is the situation.

    All Names of files have the usual VC++...
  18. Replies
    5
    Views
    1,235

    Re: Problem with CSocket() programming

    I forgot to mention.... Its MFC SDI

    I tried CAsyncSocket same problem.... ! I dont know why..
    In-fact I used CAsyncSocket first, and it didnt give results, so I used CSocket.... No Difference...
  19. Replies
    5
    Views
    1,235

    Problem with CSocket() programming

    Hi,
    I am new to socket programming. I have a client program (say Program1)on a computer, and another program(Program2) on the other computer.
    Program1 has to send data in realtime to Program to....
  20. Replies
    4
    Views
    958

    Re: ComboBox silly question

    Thank you everyone
    .SetCurSel(int nSelect);
    worked for me...
    I m sorry I forgot to mention, it is MFC SDI. Anyway, doesn't matter now
    Thanks again
  21. Replies
    4
    Views
    958

    [RESOLVED] ComboBox silly question

    Hi,
    Apparently I spent some time Googling this but couldnt find anything that I wanted.

    I have a dialogbox, which has a combobox.
    The Combobox, has a few entries.
    Now.. how do i have one entry...
  22. Re: Cannot run VC++ program on PCs without Visual Studio

    :-)

    If I run the .exe from the 'Release' folder of my project (double click on my app.exe) , then it does not run. Which means the same thing as 'Release-run without debugging' does not work.
    ...
  23. Re: Cannot run VC++ program on PCs without Visual Studio

    I think I am including everything... ! The release mode runs properly... ! Just that the Release - Run without debugging, does not work..!
  24. Re: Cannot run VC++ program on PCs without Visual Studio

    Ok... So it turns out that things are not working out..
    This is what happens..

    Since you guys said, that /MDd should not be used in Release Mode..
    So I used /MD mode...
    Now when I run it in...
  25. Cannot run VC++ program on PCs without Visual Studio

    Hi,
    I have a program which involves web-camera and mic. It runs/functions properly only using Multi-threaded Library (\MDd) (i.e Project Properties->C/C++->Code Generation->Runtime Library)

    Now...
Results 1 to 25 of 84
Page 1 of 4 1 2 3 4





Click Here to Expand Forum to Full Width

Featured