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.
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.
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...
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??
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
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.
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.
You can also use this function:
HINSTANCE result = ShellExecute(NULL, _T("open"), _T("http://your.address.com"), NULL,NULL, SW_SHOW);
to open IE (or your default browser). But the rest I am afraid I cannot help you with.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.