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

Search:

Type: Posts; User: dave18285

Search: Search took 0.01 seconds.

  1. Re: executing the passwd command w/ exec or system (php)

    Seems like theres gotta be someway to do this though. What I'm trying to do is allow users to change their email passwords. Could this be done with something else maybe like a perl script?
  2. Re: executing the passwd command w/ exec or system (php)

    if i wanted to set the password to "1234" for a user called "user1234" i would type:

    passwd user1234
    1234
    1234

    which would look like this on the console:
    [root@admin ~]# passwd user1234...
  3. Re: executing the passwd command w/ exec or system (php)

    Hey thanks for the help. I'm using Fedora 4...I tried the above code, but still haven't been able to get it to work. I tried crypting the password and have also tried it uncrypted. I also tried...
  4. executing the passwd command w/ exec or system (php)

    I'm trying to execute the passwd command using either exec or system in php. I've tried many different ways but cannot get any of them to work. It seems like "sudo passwd...
  5. Replies
    2
    Views
    449

    Re: Scraping a website

    No, I don't have a relationship with the company. This is really my only option... Any ideas?
  6. Replies
    2
    Views
    449

    Scraping a website

    I wrote a program about a year ago that scrapes a webpage and dumps the data into a database. The website made some major changes, so I have had to rewrite some of my program. All the search...
  7. Replies
    3
    Views
    379

    Re: Sleep question

    Thanks.
  8. Replies
    3
    Views
    379

    Sleep question

    Do my other threads still run while I call sleep in the main thread? and, when I call sleep does my app still continue to receive messages?
  9. Replies
    2
    Views
    386

    Re: Problem with PostQuitMessage in release

    I figured out how to fix my problem. For some reason the app would keep looping in a while loop when in release, but in debug it would break out. I'm not sure why, but I figured out how to fix it.
  10. Replies
    2
    Views
    386

    Problem with PostQuitMessage in release

    I have a basic app which has a login dialog that displays when the app starts up. the user has to the option to login, or quit. when they click quit, I call,

    PostQuitMessage(0);

    This works...
  11. Replies
    1
    Views
    418

    database question

    I am writing an application for a small company that needs to store basic information about clients. The program will only run on one computer and will initially consist of around 1000 entries. ...
  12. Replies
    8
    Views
    1,036

    Re: Printing out text to the printer?

    [quote]
    Paper size selected: 8.5 x 11 inch.

    Now, if I divide 2400/8.5, 3074/11 = (282,279)

    Shouldn't this come out to (300,300) ?
    [/qoute]

    No, there is .5 inches of margins horizontally,...
  13. Replies
    5
    Views
    545

    Re: VC++ MFC Application - Urgent Help.

    Use the MFC app wiz to create a MDI project based on CEditView. MFC will get you a good start, will even have printing support all setup for you.
  14. Replies
    7
    Views
    431

    Re: How can I put the ; in a string?

    yea, changing from single to double quotes worked. thanks for the help
  15. Replies
    7
    Views
    431

    Re: How can I put the ; in a string?

    temptext.Replace(_T("&"), _T('&'));


    why do I get
    ObitText.cpp(187) : error C2143: syntax error : missing ')' before ';'
  16. Replies
    7
    Views
    431

    How can I put the ; in a string?

    How can I put the ; in a string?
  17. Replies
    2
    Views
    6,124

    Re: Generic Text Printer Driver

    Windows comes with a generic text printer driver that I have used for receipt printers before, I don't think that you would need to write your own.
  18. Accessing mysql from windows 2000 server

    Hi,
    I am writing a mfc based application that is going to be used as a dialup management app, which will have accounting functions and stuff, but will also have to interact with the radius...
  19. Poll: Re: CodeGuru Poll: What screen resolution do you use?

    four 19" crts at 1600x1200
  20. Replies
    3
    Views
    289

    Re: Gettng started with C++

    Heres a good place to start learning the basics:
    http://www.functionx.com/cpp/index.htm

    and windows mfc basics here:
    http://www.functionx.com/visualc/index.htm
  21. Replies
    5
    Views
    1,417

    Re: problems with CFile

    CFile file;
    CFileException exc;

    if( file.Open( _T("C:\\Boot.ini") , CFile::modeRead, &exc ) )
    {
    TCHAR szBuffer[MAX_PATH + 1] = {0};
    DWORD dwRead = 0;

    do
    {
  22. Replies
    5
    Views
    1,417

    Re: problems with CFile

    I added:
    ObitFile = new CFile();

    and now i get:
    Debug Assertion Failed!
    File: filecore.cpp
    Line: 252

    I checked and line 252 says:
    ASSERT(lpBuf != NULL);
  23. Replies
    5
    Views
    1,417

    problems with CFile

    CFile *ObitFile;

    ObitFile->Open(_T("C:\\test.html"), CFile::modeRead); // my prog crashes at this line.

    i get the error: Unhandled exception at 0x004136a8 in testapp3.exe: 0xC0000005:...
  24. Replies
    2
    Views
    439

    Re: Printing with MFC

    thanks, I'll check that out.
  25. Replies
    2
    Views
    439

    Printing with MFC

    Does anyone know of an MFC tutorial that covers the basics of printing in MFC? I am writing a form based application and need to know how to format data to be printed, adjust page size and margins,...
Results 1 to 25 of 25


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center