Search:

Type: Posts; User: rnd me

Page 1 of 10 1 2 3 4

Search: Search took 0.06 seconds.

  1. Thread: JSON to UDT

    by rnd me
    Replies
    4
    Views
    2,062

    Re: JSON to UDT

    thanks for the info.
    i was hoping for a more elaborate solution than what i ended up with, but for my needs it works just fine. i gave up on coercion, and use a variant for everything.

    i use the...
  2. Replies
    16
    Views
    1,329

    Re: Sugestion about reading huge text file

    My idea can best be expressed as an example:

    1. open new standard exe
    2. add a reference to Microsoft XML, v3.0
    3. add a big textbox to the form, make it multi-line
    4. paste the code below and...
  3. Replies
    16
    Views
    1,329

    Re: Sugestion about reading huge text file

    http servers allow you to fetch partial files.
    Drives, shares, etc typically don't provide that ability.
    also i don't think it needs reversed.
    if you grab the last 100kb for instance, you can...
  4. Replies
    16
    Views
    1,329

    Re: Sugestion about reading huge text file

    i am sorry, but that's just simply wrong.


    mshttp will allow you to do so, or any other http provider for that manner, you dont need any server software installed, just a remotely decent server...
  5. Thread: JSON to UDT

    by rnd me
    Replies
    4
    Views
    2,062

    Re: JSON to UDT

    thanks for the info si,true about #3, i was a loose in my description. i guess i meant late, in one line, or something like that ala:



    Dim r() As String: r = Split("dan,fred,bob", ",")
    ...
  6. Thread: JSON to UDT

    by rnd me
    Replies
    4
    Views
    2,062

    JSON to UDT

    hey everyone-
    i havent been on much, as i have been working with javascript a lot lately.

    i have the problem of converting it's json objects into the UDTs.

    i wrote the following js snippit to...
  7. Thread: multi post data

    by rnd me
    Replies
    1
    Views
    723

    Re: multi post data

    el_a.appendChild(document.createTextNode( !index?cicle[index].firstChild.nodeValue:""));
  8. Thread: Zoom code!!

    by rnd me
    Replies
    1
    Views
    540

    Re: Zoom code!!

    change the fontsize of the control on the control's mouse events
  9. Re: how do i set client side security permissions?

    its in tools, options, security on ie.
    it wont run on FF.
  10. Replies
    1
    Views
    819

    Re: Updating a div's contents

    im not familier with your library, but here a potential problem i see:

    new Ajax('about.php', {update: $('containerCenter')}).request()

    so what = new Ajax?
    you need to have a variable name...
  11. Replies
    2
    Views
    897

    Re: pass the inputbox value to a php var

    you cannot directly do this.

    the easist way would be to set a hidden input on your page to the value of the inputbox.

    when the page is submitted, the value be stored in the form, and available...
  12. Re: how can we create a browse dialog in Javascript

    doesn't your code do what you need?
    you might be able to add


    return document.frmUpload.txtuploadpath.value

    to the bottom of HandleFileButtonClick to return the choosen file.
    but i am not...
  13. Replies
    1
    Views
    1,198

    Re: Changing the position of prompt

    no. it is handled by the browser, and does not have any options available for this.
    the closest you could come would be IE's createPopup, but thats a new window.

    you might check out yahoo's YUI...
  14. Thread: API in VBS?

    by rnd me
    Replies
    5
    Views
    2,087

    Re: API in VBS?

    Function NameFromPing(sIP)
    Set Cmd = CreateObject("WScript.Shell")._
    Exec("ping -a -n 1 -w 1 " & sIP)
    NameFromPing = Split(Cmd.StdOut.ReadAll," ")(1)
    End Function


    Function...
  15. Replies
    2
    Views
    548

    Re: complete newbie needs some direction

    (continued)




    Sub LowerCaseFSO(Folspec)
    ' lowercases all file and folder names within the path specified
    Dim fil, fils, fol, fols, FSO, sFolders()
    Dim lngCounter, sFilName, sFolName
    ...
  16. Replies
    2
    Views
    548

    Re: complete newbie needs some direction

    it sound like you are in desperate need of a code module.
    these are called header in the C world.
    i wont code it for you, but i bet you can do using these functions:
  17. Replies
    1
    Views
    429

    Re: Help with incrementing Variable

    i would think using an array would be the easiet.
    you can "redim preserve" to increase it's length.

    if you can't use an array, then it gets harder.

    ive pretty much moved to javascript, so i...
  18. Replies
    5
    Views
    755

    Re: Javascript problem on refresh

    oh wait a second, your got a bug in your code i just noticed.

    you pass document.form[0].var5.value to ShowHide(v, x) as v.
    then, you ask if (v.value == "2D").

    so what you are actually...
  19. Replies
    5
    Views
    755

    Re: Javascript problem on refresh

    i don't see any static (persistant) variables here. sometimes form values survive reload, sometimes they don't. is there a difference between hitting F5, and CRTL+F5?

    "when I call the showHide...
  20. Replies
    7
    Views
    744

    Re: How to decrypte the following javascript?

    Sure!

    ...
  21. Replies
    15
    Views
    1,890

    Re: Embedded Images in XML

    im not sure what a dynamic enviroment is, but my point was to demononstrate the simplicity and universality of the firefox function.
    ----------

    it doen't need to be used in an extention, and an...
  22. Replies
    15
    Views
    1,890

    Re: Embedded Images in XML

    you talkin to me?


    document.images[0].src="data:image/jpeg;charset=utf-8;base64,"+yourstringhere

    the right-click save as. you could incrementaly replace all the images on this page, and then ...
  23. Replies
    6
    Views
    764

    Re: Find certain words (javascript)

    if (document.form.mail_from.match(/paypal/igm) ) then bad

    or

    if (document.form.mail_from.split(/paypal/igm).length) then bad
  24. Re: Execute Javascript before POST action

    the above code looks comlicated, thats not a good sign.

    don't assign an action to the form tag until you are done with validation.
    assign the action to something like: javascript:validate().
    ...
  25. Replies
    3
    Views
    725

    Re: Java Script Menu

    if you make an image, a picture of your menu, you can then use a map to handle the clicks. since the whole thing is a link, hover works fine in IE w/o javascript.

    you might have a hard time with...
  26. Thread: Javascrpt DOM

    by rnd me
    Replies
    3
    Views
    704

    Re: Javascrpt DOM

    in firefox2 its something like:

    result=markers..address+markers..city+markers..country+markers..zip

    google E4X, and check out the 5 or 6 examples available.
    with slightly more code (1-2 lines)...
  27. Re: Re-using XMLHttpRequest object (IE)

    i think in IE you need to assign event handler before the open command.

    why do you need to re-use it anyway? or i guess what do you mean by re-use? hmm i see you are referring to a 'dirty' global...
  28. Re: how to retrieve file(s) from particular folder using JavaScript

    WHAT?!?!

    i disagree penagate! you can read the c drive, even from firefox!
    without getting complicated, IE from a saved page is basically unlocked.

    here is a snippit for you:


    function...
  29. Replies
    2
    Views
    700

    Re: Pop up to a file from a desktop icon

    like mendhak said, you need to use a wrapper.
    you might be able to apply top.history.back() from the popup, and do it in one file, but often severing the parent from the child kills the popup.
  30. Replies
    5
    Views
    669

    Re: Help fixing my table.

    your content is wider than 250px, so it triggers a reflow to make room.
    i wont rewrite this for you but here what you need to do:

    uses css more. a lot more.
    set the outside container to...
  31. Replies
    17
    Views
    29,028

    Re: how to send email using HTML code

    hotmail uses html to send email...

    hehe
  32. Replies
    15
    Views
    1,890

    Re: Embedded Images in XML

    wow, that sounds complicated.

    firefox has built in global methods:
    window.atob, and window.btoa

    you can just paste it in the console and run the function.
    hmm. you want to save it... i have...
  33. Replies
    5
    Views
    755

    Re: Javascript problem on refresh

    refreshing the page returns the stucture to the origional, as is written in the code. you will need to save the data before unloading, and reload it after. it would be easiest to simply save the...
  34. Replies
    7
    Views
    744

    Re: How to decrypte the following javascript?

    <object classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" style="visibility:hidden%"

    not encrypted, escaped.
  35. Replies
    9
    Views
    1,349

    Re: XML Editor for normal user

    ou guys dont get it
    something that read in an xml file, and display to the user only say 3 fields (corresponding to 3 data fields per record in the xml file) and allow the user to edit/ add records...
  36. Replies
    5
    Views
    638

    Re: can someone please explain...

    im not sure what you are ask, but i would never place that code on a server that spit out anything beside .htm files.

    there are evals all over the place, (which means the programmer probably ins't...
  37. Replies
    6
    Views
    1,015

    Re: validate accept terms and conditions

    if this is something that is important, it is imperative that you do not rely upon client-side scripting to validate anything.
    it is ok as a convienance to the user, but don't think a client script...
  38. Thread: CSS Tooltips?

    by rnd me
    Replies
    5
    Views
    628

    Re: CSS Tooltips?

    once the script converts the title text, set that attribute to "" to prevent it from popping up the old-fashioned title-based tooltip.

    i think its a good idea, it can make you site richer. make...
  39. Replies
    3
    Views
    531

    Re: change an iframe

    <input type="button" onClick="document.getElementById('iFrame1').src='http:\/\/google.com" value="Go 2 Google">
  40. Thread: Webbrowser copy

    by rnd me
    Replies
    5
    Views
    607

    Re: Webbrowser copy

    a file control would probably work even better...

    but to answer to question, files is a clipboard format. its in the oledragdrop even in an (i think) array called files that is part of the event's...
Results 1 to 40 of 373
Page 1 of 10 1 2 3 4



Click Here to Expand Forum to Full Width