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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Berras

  1. Berras

    Setting up linux gateway

    I'm having trouble setting up my linux server as a gateway. The server can access the internet fine. I've enabled ip forwarding and am not sure what else to do. Any help is welcome, Thanks.
  2. Berras

    Simple checkbox problem

    Great! Many Thanks.
  3. Berras

    Simple checkbox problem

    Sorry, that supposed to read: var x =...
  4. Berras

    Simple checkbox problem

    Apologies in advance my javascript is not great. I want to create a script to cycle through a number of checkboxes to disable them. The best I can do is: for(i=0;i<20;i++) { vax x = document.forms.myForm.box_[i]; x.disabled=true; } Where the checkboxes are named "box_0, box_1, box_2..." etc.
  5. Berras

    CAsyncSocket and SendTo function

    It still comes up with a an error 0.
  6. Berras

    CAsyncSocket and SendTo function

    I am trying to make a network program that uses CAsyncSocket. When I try to send data using the SendTo function it comes up with an error and the data is not sent. After a bit of testing I discovered the error[s] (as an interger) is sometimes 0 and sometimes -1. But I do not know what these...
  7. Berras

    Changing variables in CMyProgramView

    In my program I have made a Dioalog box where the user types in some data and I want to be able to send this data to a variable in the CMyProgramView class. But all the methods I have tried so far do not work. Any suggestions??
  8. Berras

    Timer

    I have put a timer into my program using the SetTimer function, but when I run it the program takes up a lot of the cpu and takes a long time to shutdown. Does anyone know a reason for this and how to overcome it? Thanks. Berras
  9. Berras

    refresh the screen

    Have you tried using UpdateData(FALSE); it might help. Berras
  10. Berras

    Stopping Ctrl-Alt-Del in XP

    In a previous version of my program, for windows 98, I used the screen saver method to stop ctrl-alt-del being used but now I am re-making it for XP and I need to find a new way to stop ctrl-alt-del being accessed while the program is running.
  11. Berras

    Refreshing form view text boxes

    I am making a program with a form view layout and I need to know away of refreshing it so the data in the text boxes is updated when the data in the variables is changed.
  12. Berras

    Reading HTML from a site

    Does anybody know how to make an MFC program read the HTML from a website?
  13. Berras

    Converting CString to int

    Thanks.
  14. Berras

    Converting CString to int

    Turn a character such as &quot;h&quot; into a number.
  15. Berras

    Converting CString to int

    Sorry, I meant how can you turn a CString such as &quot;hello&quot; into a numerical value.

Part and Inventory Search

Back
Top