Hi,
I want to do a selection of options, but have limitation on the selected options.
FOr examples,
---------------
List of options
---------------
* All
Select1
Select2
If All is selected (* denote selected), then Select1 and the rest is bar from being selected, unless All is...
I have this string info[35]. i want to extract the last 7 byte, so i shall extract from &info[29]. I use memmove to do this extracting, but return funny characters.
memset(nfo, 0x00, sizeof(nfo));
memcpy(nfo, info, sizeof(info)); //copy whole string 35 byte
memmove(nfo, &nfo[29], 7); //move the...
i have this info[35] can conntain 35 bytes, but now i only wan to extract the last 5 bytes and push it into DB, is this stmt correct?
start from byte ->30, and read only 5 byte.
memcpy(dorgnins_db.info, info[30], 5 );
I want to run 2 case one after another, how can this be possible?
I've try to omit the break stmt after case 1: ; like this->
case '1' :
do_selection();
case '2' :
process_selected_item();
break;
default:
break;
but it didnt work out. hav other way in doing this?
thanks
i want to strtok a string from flat file which consist of 3 part..(eg. N XXX98 34-XXX)
howto assign each part into a variable so i can memcpy the last part into a variable? i do not want to use printf which print out the output to screen.
What i'm trying to do here is to update the book for each user input PID.
the problem is why i'm unable to update the rest of record, but only able to update the first record?
there is no effect when i try to update other PID, but only able to update the first PID record on db.
below is the...
i wan to loop through every checkbox and able to delete as many check box that are checked. but the code shown only limit to 3 checkbox. how can i delete all the checked box?
if cancel = "Delete" then
If request("Cancel1") = "" then Cancel1 = 0 else Cancel1 =...
I try 2 type of connection, but both failed. below describe the code and error.
1) set DBConn=server.CreateObject ("ADODB.Connection")
DBConn.open "dbtest"
set record=server.CreateObject ("ADODB.Recordset")
give me this error
ADODB.Connection error '800a0e7a'...
I want to know how can i embed sound into my progam. the sound will triggered when an event occur, such as in a graph, when the bar reach 100 point, the sound will be triggered.
thanks
i got this date where user can enter a date in a text box with a char(10) format. so there is no checking on user entered date. lets say the date format user entered is 06112001, how can i set the logic to verify to make it mm/dd/yyyy format? how can i know whether 06 is month or day and same...
hi.
i configured my apache with ssl on my win2000. everything was working fine with the ssl enabled. but when i try to browse from another machine, i got page cannot be display.
why is that happening?
I set up apache1.3.22 with openssl and mod_ssl, using Apache_1.3.22-Mod_SSL_2.8.5-OpenSSL_0.9.6b-WIN32.zip downloaded from <http://www.modssl.org/contrib/> a combination of these 3 things for windows. Everything was working fine. However when I type in my client browser...
when i run some program, my win2k crash out very often. although i have apply the service pack 2, the problem still persist. i got a blue screen with the following message;
*** STOP: 0x0000000A (0x10085849,0x00000002,0x00000001,...)
IRQL_NOT_LESS_OR_EQUAL
***Address 004323A0 base at 00400000...
regarding the Net-SMTP for windows(i use activestate perl), i can't find, but found NetServer-SMTP. Is it the same?
in linux environment, i use the below command line to sendmail. so in windows, after installing the NetServer-SMTP, can i use back the below scripts?
if not, how is the script...
does anyone know how i can include the sendmail function which is normally available in linux platform? where i can install that function for my perl program?
another thing is after i've installed the DBD-CSV,SQL-Statement, and Text-CSV_XS, i got this error message "Bad Directory...
i can ping from my linux machine to my windows machine and itself, but i can't ping from my windows machine to the linux. both machine is connected by a CAT cable. windows having ip 10.0.0.121 and linux 10.0.0.120
what is the possible error?
hi,
how can i compare todays date with a date in my database? lets say i want to compare today date with my tran_date in my table, what is the syntax to do it?
can anyone have better way to do this? or help to to tweak it, it looks inefficient.
public int getRow(int pos, State s) {
for(int i = 1; i <= 3; i++)
for(int j = 1; j <= 3; j++)
if(s.p[i][j] == pos)
return i;
return 0;
}
this actually is a 3X3 puzzle, i'm trying to get the row.
how do i do this.
first, user enter some information and click enter.
when the user click enter, a new page display all the information that the user have entered. on this page, have a confirm button. when the user click on confirm, then only the information is submitted into the database.
how...
does anyone know how to configure and make the three thing, perl,mysql and apache work together?
i have installed the ActivePerl 5.6.0.623, mySQL 3.23.30 and Apache 1.3 on my windows platform.i have already installed the perl module needed to connect to the mysql such as DBI, DBD-MYSQL and so...
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.