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: LnOrS
  • Order by date
  1. LnOrS

    Disable warning C4786

    I'm using this #pragma warning (disable : 4786) #include <vector> #include <string> typedef vector < string > StringVector; but it didn't worked.
  2. LnOrS

    Get the last key pressed when using Edit Control

    How can I do that? Have some sugestions?
  3. LnOrS

    Get the last key pressed when using Edit Control

    Hi, I’m using an Edit Control on an MFC dialog. That control must accept numbers only, but they are not integers!! I’d like to filter all keys pressed different than “0123456789.e-“. I’ve done that but there should be an easiest way to do that. How can I get the code (ASCII) of a key I...
  4. LnOrS

    Date format

    Hi, How about: lastmod = new Date(m.substring(p, 0)); if ((lastmod.getMonth()+1) < 10) month = &quot;0&quot; + String(lastmod.getMonth()+1) else month = String(lastmod.getMonth()+1); if ((lastmod.getDate()+1) < 10) day = &quot;0&quot; + String(lastmod.getDate()) else day =...
  5. LnOrS

    Identical function returns different data???

    Hi, You must use Session.LCID to set it. See the LCID code for the zone you want. Regards, Luís Silva
  6. LnOrS

    Formatting some text

    Hi, I don't know that Coldfusion, but I did it using VBScript Replace function (http://msdn.microsoft.com/scripting/default.htm?/scripting/vbscript/doc/vsfctReplace.htm). Replace CR by &quot;<BR>&quot;. Regards, Luís Silva
  7. LnOrS

    User logon in asp?

    Hi, This must be set on the server! I think you must have a NT based OS, or other that set permissions to users. One way is doing it directly on the webserver. The other is changing file permissions on the disk, only that user can read the file and must have permissions to write on disk...
  8. LnOrS

    Is there a way to pass values from

    Hi, If one of the windows is a child of the other... it is possible, depeding on what you want to do!! I advise you to use JavaScript to do that!! Regards, Luís Silva
  9. LnOrS

    Forum Archiving

    Hi, Here is an idea. Each forum has a code and each thread has the code of the form and its own code. In each tread you have the main question that shoud have the smallest date. So you should order the contents of the thread by date. When you add a new comment to a thread you simply add a...
  10. LnOrS

    JavaScript Calculator Problems

    Hi, What you need is an array (3*5) in wich you will store R, X and B values for each conductor type. Columns should give the R, X and B and rows should be the index of conductor type/size selector. <script language=JavaScript> var data = new Array([0.080,0.369,0.0838]...
  11. LnOrS

    Drop Down OnChange Option with Netscape? Plz Help

    Hi, How about changing &quot;IVR = self.document.forms[0].varIRV.value;&quot;? You can give a name to the form and use &quot;IVR = document.formname.varIRV.value;&quot;. Try it, it might work!! Regards Luís Silva
  12. LnOrS

    In my html page I have three &lt;sel

    Hi, OK! You're right! You havo to add something when you change the first selection! function Localidades(form) { form.pavilion.length = 1; form.pavilion.selectedIndex = 0; form.part.length = 1; form.part.selectedIndex = 0; ... When you make changes in the first select the last...
  13. LnOrS

    My Browser Wont Truly Refresh! (Win2000&amp;ASP)

    Hi, Be sure you update the correct folder! Second, delete the temporary internet files (you already did that). Third, restart your IIS. Good Luck! Regards, Luís Silva
  14. LnOrS

    CheckBoxes with same name

    Hi, You can, but... Regards, Luís Silva
  15. LnOrS

    just want to set a variable = contents of a &lt;TABLE&gt; object

    Hi, I've never tried... Try to set an ID or name to the cell you want to change. Regards, Luís Silva
  16. LnOrS

    Changing color of a table row based on value of a field

    Hi, I would suggest to do it while you are creating the page. <td bgcolor=&quot;#FFFF00&quot;> for yellow!! Regards, Luís Silva
  17. LnOrS

    pop-up box

    Hi, How about a pop-up window (new window) with all the things you want. The window code is HTML and you can design it as you want. Regards, Luís Silva
  18. LnOrS

    form submission to new window

    Hi, Suppose your form has a &quot;variable&quot; named name. Do you know how to use onSubmit? Never mind... on <form ... add onSubmit=&quot;return TWindow(this);&quot;>. The code for TWindow should be: function TWindow(tform) {...
  19. LnOrS

    Can i redirect based on an IP address?

    Hi, If you could use ASP it would be simple, with javascript the only solution I know uses Netscape 4 and higher. Take a look at http://javascript.internet.com/user-details/ip-filter.html. Regards, Luís Silva
  20. LnOrS

    CheckBoxes with same name

    Hi again, Suppose the checkbox name is &quot;chkbox&quot; and: Delton Phillips Swimmer has value 1, DASton Phillips Swimmer has value 2, DSAFlton Phillips Swimmer has value 3, Pelton Phillips Swimmer has value 4, Telton Phillips Swimmer has value 5. If all were checked...

Part and Inventory Search

Back
Top