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 strongm 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. UnfitElf

    String to int

    I supose at the end of the day its just down to whatever you prefer. There are different situations where both options have their benifits. Oviously your not going to goto the trouble to write a function that would "handle negative numbers, overflow, octal or hex representation etc", if the...
  2. UnfitElf

    Socket Class - Accept Forum

    Thanks, for the reply, i will look into what u suggest
  3. UnfitElf

    Socket Class - Accept Forum

    Hi people, This is the first class that i have ever tried to do and i only started to understand the concept a few days ago, so if im doing anything all that is "bad" or "good" please post your comments. As far as i can tell from the limited testing that i have done all the client functions...
  4. UnfitElf

    String to int

    I always prefer to do conversions from strings to ints myself as its something that con be done very easily and lets you see exactly whats going on in the conversion.. look at the following: char myStr[5] = "543"; int i = 0; int int_value = 0; //While the characters in the string are numerical...
  5. UnfitElf

    When u log off or shutdown

    Thanks for the replys, i have since found the solutution: WM_ENDSESSION Thanks again :)
  6. UnfitElf

    When u log off or shutdown

    Hi people, I have a progrm that writes all its settings to the registry when the user closes the application.. what ive noticed is happening though is when the user logges off without closing the application nothing is written to the registry. Obiviously somehow windows is closing the app but...
  7. UnfitElf

    Windows Hooks - Mouse And Keyboard

    HI.. I want to creat a small programe that would allow me to record all mouse and keyboard activity.. I have looked for some SIMPLE :) samples and have found nothing that is realy simple enough for me.. is this just something that is very complex to do?? Thanks
  8. UnfitElf

    if (document.form.user.vlaue="a") PROB

    Hey thanks heaps 4 your help... Thanks again u Legend lol.. thanks
  9. UnfitElf

    if (document.form.user.vlaue="a") PROB

    ok just one more question.. how do i join two if things together.. eg i want to go something like.. function Validate() { if (document.form.user.vlaue="a" and document.form.pass.vlaue="b") { window.alert("Thanks") } } how would i do this???
  10. UnfitElf

    if (document.form.user.vlaue="a") PROB

    Hey thanks heaps
  11. UnfitElf

    if (document.form.user.vlaue="a") PROB

    Hi all.. i started learning javascript about 2 days ago.. i have tryed to make a VERY simple Validate function.. here it is.. <SCRIPT TYPE=&quot;text/javascript&quot; LANGUAGE=&quot;JavaScript&quot;> <!-- function Validate() { if (document.form.user.vlaue=&quot;a&quot;) {...
  12. UnfitElf

    replacing text file with application

    hi all.. i an making a chat room in asp.. i have got a problem with using applications. For some reasion they r not doing what i think they would.. its like they are not retaining there value. I have done it with a text file as a temp thing to see if the rest of my code is working, and now...
  13. UnfitElf

    Hi all There is prob another way

    WOW!!!!!!!!!!! OK.. that is a lot of code 4 what i thought was a quite simple thing... Im a beginner at asp so it might take me a while to get throught that lot.. But thanks anyway.. I would also just like to know if it would be possible to do it the way i was going to do it?? and how i would...
  14. UnfitElf

    Hi all There is prob another way

    Hi all There is prob another way easier way to do what im trying to do but i cannot think of it ATM.. i want to get the comments of a that i have made chat room and then i want to write them out right? well you can only have like 5 or so messages then the page goes all screwed from the frame...
  15. UnfitElf

    something wrong with page.. but what??

    hi all.. I have made a login page and added a admin thing but it sin't working the way i thought. I have looked at it carefully but cannot see the prob. its prob something simple.. any help?? <html> <head> <title>Login Page</title> <% If request(&quot;BUTTON&quot;)=&quot;Submit&quot; &...
  16. UnfitElf

    hmmmm. dont know what to call this

    oh... i see.. thanks for that :) That Helps HEAPS.. thanks again
  17. UnfitElf

    hmmmm. dont know what to call this

    Hi all... I have just started to have a bit of fun with vbscript on the client. I want to call a function or a bit of vbscript code from my asp code. an example would be to say if request(&quot;BUTTON&quot;)=&quot;Submit&quot; Then 'i want to call the client vbscript code here how would i do...
  18. UnfitElf

    Delay console...

    Hey... Thanks that works great Thanks heaps
  19. UnfitElf

    Delay console...

    Hi all... Just to anoy all of you (sorry) but i an using the Borland C++ builder not Microsoft Visual C++... It prob wont make any difference but ther are a few differences between Borland and Microsoft... i want to creat a simple delay.. i an writing out to the console and i want it to...
  20. UnfitElf

    Using ASP to execute SQL

    Thanks for that. So is there any way that you can think of that will allow me to check the database to see if there is already a user with the same username that the new user is trying to regester, with pref only a few lines of code. Thanks for your help.

Part and Inventory Search

Back
Top