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 Mike Lewis 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. bnhshallow

    CAsyncSocket Client not connecting. Plz Help.

    I am trying to make a connection between a client and server. Both are running on my machine and I am using loopback, but for some reason the client wont connect. Here is my code for the client: void CSocketsDlg::OnOK() { CString IpName; GetDlgItem(IDC_IP) -> SetWindowText(IpName)...
  2. bnhshallow

    Opening a file without OpenFile Dlg

    hello, I have made a dialog based text file editer for my friends a while back, and now it is getting annoying that the user has to open the file they want from an open file dialog box. What I need is to just double click on the file i want to open from the desktop, and it will open my file...
  3. bnhshallow

    Help! How Can I...

    Thanks, I had to change a few things and it worked perfect.
  4. bnhshallow

    Help! How Can I...

    Hi Everyone. What I am trying to do in my program is read data from a file and make the program trigger events from the data in the file. The problem I am having is that the fgets() reads a line from the file, but also reads the '\n' or "Enter Mark" at the end of the string. If...
  5. bnhshallow

    Help! How can I change...

    Hey Everyone. What I am trying to do is Get the title bar of the dialog box to change text. What I am looking for in a response is: CTitleClass m_TitleVar; m_TitleVar.SetWindowText("New Title."); I have looked at post by other people on the same subject, but all the responses say is...
  6. bnhshallow

    Help With Multiline EditBoxes and progress controls

    I am currently trying to make a "Progress" application and have two questions. First.) How do you get a multiline editbox to update itself to add text to the current text instead of rewriting the whole editbox. If there is another function I can use please show me some syntax...
  7. bnhshallow

    Trouble with MDI Web Browser!!

    Im Trying to make an MDI Web browser, but this bit of code is giving me a problem. Can anyone Help Me? Thx void CMainFrame::OnNewAddress() { CString sAddress; m_wndDlgBar.GetDlgItem(IDC_EDIT1)->GetWindowText(sAddress); ((CWebBrowseView*)GetActiveView())->Navigate(sAddress); } The errors...
  8. bnhshallow

    Some1 help me with sockets!!

    Ive had the VC++ Standard for 2 days now and im workin on these sockets. the compliler says that there are two errors in the following code... void MySocket::SetParent(CDialog *pWnd) { m_pWnd = pWnd; } void MySocket::OnAccept(int nErrorCode) { if (nErrorCode == 0) ((CSockDlg...
  9. bnhshallow

    How do you create your own functions?

    i Get it now thanks alot. i reread a part in "The absolute beginners Guide to C" and now its alot clearer. Thanks.
  10. bnhshallow

    How do you create your own functions?

    im using a program i downloaded from the internet called LCC-win32 or something like that. the warning was: line 21: missing return value { i just checked a lot of stuff and looked in the internal program launcher and it does work, but for some wierd reason id removes the program.
  11. bnhshallow

    How do you create your own functions?

    i tried your syntax but the compiler gave me warnings and removed the program. if its not too much trouble, do you think you could post an example sorce code. Thanks
  12. bnhshallow

    How do you create your own functions?

    Hey everyone, im trying to create my own functions but i cant find any books or anything that tells me how. help me plz. thx, BNH

Part and Inventory Search

Back
Top