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 SkipVought 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: *

  • Users: vintl
  • Order by date
  1. vintl

    selection using switch?

    Hi I do not understand how this stmt works -> m[0].selected ^= 1; ^= is assignment operator? how does it work? This is my version: //if selected is all, denote by 'S' if(p_SELORD->selflg[0][0] == 'S') { //loop the rest and set to empty for(i=0; i<oputl_get_arycnt(tx212o->arycnt1)+1; i++) {...
  2. vintl

    selection using switch?

    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...
  3. vintl

    how to retrieve only last specify length of byte

    thanks. it work now, i thought it was the array problem.
  4. vintl

    how to retrieve only last specify length of byte

    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...
  5. vintl

    i have this info[35] can conntain 3

    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 );
  6. vintl

    nested case?

    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
  7. vintl

    strtok tokenise a string problem

    thanx i got it to work.
  8. vintl

    strtok tokenise a string problem

    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.
  9. vintl

    cannot update properly.

    I do not want to update all the records. I only want to update the record that the user specify by inputing the RID number. So each time, the user can only update 1 record according to the user preference on the PID number which exist only if the user had inserted a new record, whereby the RID...
  10. vintl

    cannot update properly.

    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...
  11. vintl

    i wan to loop through every checkbo

    The code shown only limit to delete 3 listed checkbox. I would like it to be able to delete not only 3 checkbox, but all listed checkbox. it means it will loop thru all the data from the DB and each have a checkbox can be checked to delete.
  12. vintl

    i wan to loop through every checkbo

    The code shown only limit to delete 3 listed checkbox. I would like it to be able to delete not only 3 checkbox, but all listed checkbox.
  13. vintl

    i wan to loop through every checkbo

    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 = &quot;Delete&quot; then If request(&quot;Cancel1&quot;) = &quot;&quot; then Cancel1 = 0 else Cancel1 =...
  14. vintl

    Connection to DB

    thx. it works after i reinstall the office package.
  15. vintl

    Connection to DB

    to ccat999 It does work. even i follow exactly your variable, it just didnt work. If i include the Option Explicit it return this error Microsoft VBScript compilation error '800a0400' Expected statement /test.asp, line 8 Option Explicit ^ else if i don't include the Option Explicit, it...
  16. vintl

    Connection to DB

    I try 2 type of connection, but both failed. below describe the code and error. 1) set DBConn=server.CreateObject (&quot;ADODB.Connection&quot;) DBConn.open &quot;dbtest&quot; set record=server.CreateObject (&quot;ADODB.Recordset&quot;) give me this error ADODB.Connection error '800a0e7a'...
  17. vintl

    embed sound in vb

    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
  18. vintl

    date problem

    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...
  19. vintl

    can't access https

    thanks for you interest. i've solve my problem by using another apache win32+ssl package, and it worked!
  20. vintl

    can't access https

    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?

Part and Inventory Search

Back
Top