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 Wanet Telecoms Ltd 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

    Since we are on the subject of closing internet explorer, I have one more thing that comes to mind. Am I capable of closing all the spawns of Internet Explorer (u know, them blasted pop-ups) from within the application? Or even ones created with the click of the Blue e?
  2. minifiredragon

    ExitProcess

    I was thinking that since Internet Explorer is itself it's own application which I am simply calling. Do I need to handle the destruction of process?? I was thinking that Internet Explorer would close itself when you pushed the X on the window. I am just concerned about have a createprocess in...
  3. 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...
  4. minifiredragon

    Sending global mouse messages to one window

    Hmmm, I will have to look over that a few times. Basically what I want to do is have my application keep focus until I tell it not too. Basically, I have a dialog window with a user name and password that pops up, sort of like the initial login to win2k, I just don't want them to be able to...
  5. minifiredragon

    Sending global mouse messages to one window

    Might I ask you to post the code for how u managed to make your application keep focus?? I can block the events I want, but only as long as the mouse is over the window, or the Dialog box is in the foreground.
  6. minifiredragon

    Sending global mouse messages to one window

    U can't block ctrl+alt+delete?? How about this... http://www.codeguru.com/mfc/comments/2574.shtml
  7. minifiredragon

    LAN/WAN

    I just stumbled across one more reference: www.sockets.com
  8. minifiredragon

    WinExec, ShellExecute, CreateProcess will not open iexplore

    That is the thing, I know what u are saying. In your 1st variant where u used CreateProcess(NULL, "notepa.... If u just used "notepad" it opens a blank notepad up. Which is why I thought it would just launch "iexplore", but it doesn't. I am just trying to find out...
  9. minifiredragon

    LAN/WAN

    I have done a lot of research into the winsock and network talking. Well atleast enough to write an application that transmits account information into an access database. And updates it on a minute to minute basis. I started with Sam's Teach yourself C++, they have a network chat program in...
  10. minifiredragon

    Activate Another Program

    Not to mention you can also terminate the process from within the app that created it.
  11. minifiredragon

    WinExec, ShellExecute, CreateProcess will not open iexplore

    Interesting. I was looking at a few examples of the use of CreateProcess and no one pointed it out the way you have. I will try when I get a chance too. I guess I don't understand why it won't open using the command line.
  12. minifiredragon

    WinExec, ShellExecute, CreateProcess will not open iexplore

    XerxesTheMighty: This works to --->Snip ShellExecute(NULL, &quot;open&quot;, &quot;www.dol.net&quot;; , NULL, NULL, SW_SHOWNORMAL); <---snip (exert from 1st post) Thanks for the pointers though, will try the about:blank.
  13. 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(&quot;iexplore&quot;, SW_NORMAL); WinExec(&quot;iexplore.exe&quot;, SW_NORMAL); WinExec(&quot;C:\Program Files\Internet Explorer\iexplore&quot;, SW_NORMAL)...
  14. minifiredragon

    Problem updating variable

    Just Ignore this, I am not sure what I did wrong though, maybe it is because my function uses the same name as the CString I am changing. EX: Adjust(CString str_ratio, CString str_amount) coding in here str_amount = str_ratio; something like that, but alot longer. :) Anywho, i worked...
  15. 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...
  16. minifiredragon

    Modeless Dialog using .net

    I did all that, and it opens and closes the dialog box very very fast. here is the call: CTimeLeft dlgTimeLeft; TimeRemaining(str_validratio, str_validamount); dlgTimeLeft.str_TimeLeft = str_TimeRemaining; dlgTimeLeft.Create(IDD_TIME_LEFT...
  17. 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...
  18. minifiredragon

    CAsycnSocket issues

    I see... But I read through that section and there was nothing about what u mention above.
  19. minifiredragon

    Converting integer to string

    I actually misread your question wrong. I see u want to go from int to cstring, not cstring to int. here is the code: CString m_strMoney; m_strMoney.Format(&quot;%f&quot;,currentdeposit); &quot;%f&quot; = float &quot;%i&quot; = int there are more.
  20. minifiredragon

    CAsycnSocket issues

    I wanted to bring this back up because I found a solution. I actually had 1 error in the code, at one of the points I never closed the connection. After I fixed it, I still had the same problem with the program only working 95% of the time, the rest it never seems to either send of recieve, so...

Part and Inventory Search

Back
Top