Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. minifiredragon

    ExitProcess

    I currently have created a process: STARTUPINFO si; PROCESS_INFORMATION pi; GetStartupInfo(&si); CreateProcess("C:\\Program Files\\Internet Explorer\\iexplore.exe", "http:\\www.100hockey.com", // Name of app to launch NULL, // Default process...
  2. minifiredragon

    WinExec, ShellExecute, CreateProcess will not open iexplore

    I am trying to open up an Internet Explorer Window from within a program I am writing. I have tried using WinExec: WinExec("iexplore", SW_NORMAL); WinExec("iexplore.exe", SW_NORMAL); WinExec("C:\Program Files\Internet Explorer\iexplore", SW_NORMAL)...
  3. minifiredragon

    Problem updating variable

    I don't know if it's late or I am just stupid, but I can't get a CString to change. I have it created when the application is started. Then, during the application I call a function, and from within that function (it is OnTimer()) I change, or atleast try to change the CString. At first I...
  4. minifiredragon

    Modeless Dialog using .net

    Ok, I am looking for how to get to the settings for a dialog box I created so I can change it from modal to modeless. I was looking through the property window and didn't see it there. I am calling the dialog like such: dlgTimeLeft.DoModal(); I am assuming that doesn't force it as a modal...
  5. minifiredragon

    CAsycnSocket issues

    The program I have built works about 95% of the time without crashing. I have placed error codes on the OnConnect, OnRecieve, OnSend and OnAccept and there are no errors. It appears the problem occurs between: m_strCardNumber = dlgInsertCard.m_strCardNumber; if (m_strCardNumber !=...
  6. minifiredragon

    Question on Compilation error

    c:\Documents and Settings\Ernie\My Documents\Visual Studio Projects\ICServer\ICServer\ServerSocket.h(13): error C2061: syntax error : identifier 'CICServerDoc' does that not mean the ICServerDoc.h file is missing??? I moved it up and down the list of #include and it still gives me the error...
  7. minifiredragon

    Accessing another classes variables

    Ok, this is more or less a continuation of the winsock question. Through looking over some working programs I have found that I needed to establish a pointer to the CICServerDoc class. All my work is being done in the CICServerView class since I have it linked into a database. I searched...
  8. minifiredragon

    Questions about Winsock

    The tutorial I have here goes through how to create a socket in a dialog class. Here is what my question is. The app I am building is a SDI with database, so I have a CFormView. To set up a socket it says I need to set up a pointer to the parent dialog window.: SetParent(CDialog* pWnd) since...
  9. minifiredragon

    AfxMessageBox and MessageBox

    I was thinking on ways of altering the AfxMessageBox or MessageBox from a button shut down to an auto close. Is it possible?? With my other apps, I remove the OK button and in the InitDialog part, I set a timer. And in the OnTimer() I count down then call the OnOK();. Beings that...
  10. minifiredragon

    Visual C++ .net 2003 - class wizard pop up

    I have spent weeks on end learning Visual C++ 6.0. And a few weeks ago I upgraded from the learning edition to this full blown app. Of course there are changes to it. And I am lost. It comes with very little starter information so here is my question. I have a program of which I added a...
  11. minifiredragon

    Question about substr()

    I have been doing some looking around on ways to read certain characters of a CString into different variables and found substr();. But when I impliment it, I get an error: C2039: 'substr' : is not a member of 'ATL::CStringT<BaseType,StringTraits>' with [...
  12. minifiredragon

    OnDraw() in a dialog box

    I tried to implement the OnDraw() function on a dialog box I added to an SDI document. It doesn't update my window. I just get blank spaces where my static boxes are. Is there something I have to implement before I can use OnDraw?? I tried UpdateData(TRUE); as well as UpdateData(FALSE)...
  13. minifiredragon

    GetLength() not working?

    When I do the GetLength() I get an error when I check the number. No matter what length I make it, it always is wrong. Here is what I have, and quite frankly I don't see any error in the code. void CInsertDlg::OnOK() { // TODO: Add your specialized code here and/or call the base class...
  14. minifiredragon

    OnUpdate and other Events

    Ok, I am now beginning to feel like a ninny. I thought that when a dialog box closes (with Ok or Cancel) it passes an UpdateData to the next window. When I put an OnUpdate and code in there, it doesn't do anyhting. Here is what I am doing. I have a CFormView Window starting with the...
  15. minifiredragon

    PreTranslateMessage and covariant

    I recently was using a Learning edition of Microsoft Visual C++ (ver 6). A few days ago I went out and bought Visual C++ .net 2003 so I can have something that removes that annoying nag screen. Now, when I compile my previously working program, I get: Visual Studio...
  16. minifiredragon

    WM_KEYDOWN and controls,

    How do you stop a control of intercepting the WM_KEYDOWN event??
  17. minifiredragon

    Visual C++ keydown in View Class

    First off, I am farely new to C++ programming. Now, for my problem. I am developing a small application that requires no user intereaction (no keyboard or mouse), But I want to run some tests to emulate the hardware before I shell out $3000 on the needed equipment. The program accesses a...

Part and Inventory Search

Back
Top