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 Chris Miller 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. davemarsh

    Pass property of HTML tag to function inside parent vb app?

    Hi, how could I pass the 'bgColor' property of a TD html tag for example to my vb app's code when it's clicked on in my webbrowser control? eg:- vb code inside app: Function msgBoxTDBGColor(s) MsgBox("The current table cell background color inside my webbrowser control is " & s & ".") End...
  2. davemarsh

    extract variable from a function

    function xyz(){ var d=new Date(); } .. is it possible to extract the non-global 'd' var from that function somewhere else in my code? (the function can't return any value...)
  3. davemarsh

    Get logged on username and drive letter?

    Thanks alot - that's just what i'm after.
  4. davemarsh

    Get logged on username and drive letter?

    Hi - I'm writing a small app that deletes some unwanted content in a folder. But how do I get the users logged on name, for the right path? eg. 'C:\Documents and Settings\Administrator\folder\files'. Also their drive letter may not be 'C' - how could I check that? Cheers DM
  5. davemarsh

    can php accept remote cookies?

    nevermind - sorted it out with fsockopen()
  6. davemarsh

    can php accept remote cookies?

    oh and in 'page-to-post-to.asp' the code would be something like this: <% response.cookies(&quot;sesh&quot;)=&quot;blah&quot; %> <% if request.cookies(&quot;sesh&quot;)<>&quot;&quot; then response.write request.querystring(&quot;str&quot;) else response.write &quot;can't post.. no cookie...
  7. davemarsh

    can php accept remote cookies?

    hi - is the a way for php to accept a remote server cookie, or a way around it? what i'm tyring to do, is send a string to a remote page that won't allow you to post to it unless you have a session cookie already set by it. eg : <...
  8. davemarsh

    strip html entities from a string

    ok - thanks for the help guys - this is what i came up with function test(tmp) dim ent,i,j set ent=new regexp ent.global=true ent.ignorecase=true ent.pattern=&quot;\&([#a-zA-Z0-9]+);&quot; set i=ent.execute(tmp) if i.count=0 then test=tmp exit function else for each j in i...
  9. davemarsh

    strip html entities from a string

    hi - i have a function that strips html entities such as '&amp;#09;' etc: option explicit dim tmp tmp=request.querystring(&quot;s&quot;) response.write strip(tmp) function strip(tmp) dim x,i set x=new regexp x.global=true x.ignorecase=true x.pattern=&quot;\&([#a-zA-Z0-9]+);&quot...
  10. davemarsh

    Problem CSS 'vertical-align' property

    Yeah, cheers - it seems IE only supports this CSS property if the element itself has the 'valign' attribute - so SPAN would'nt work.. ah well, i'll do something with tables. cheers - dave..
  11. davemarsh

    Problem CSS 'vertical-align' property

    Hi, should'nt the child span be aligned in the middle of the parent in this example?? - what am i doing wrong? : <span style=&quot;width: 300px; height: 300px; background: #ccc;&quot;> <span style=&quot;vertical-align: middle;&quot;>In the Middle? </span> </span> Cheers...
  12. davemarsh

    window.close();

    This is what i use: (works in IE anyway - not tested in netscape) <script> function doMyClose() { opener = this; self.close(); } </script> <a href=&quot;JavaScript: doMyClose();&quot;>Close this window without the 'confirm close' dialog</a> or inline version: <a href=&quot;JavaScript...

Part and Inventory Search

Back
Top