• Member Avatar for LesF
    LesF

    Replied To a Post in How we can a make a setup file in vb6 as other software need to install

    When I last made an installer for a VB6 application I used the [nullsoft](http://nsis.sourceforge.net/Main_Page) installation creator, which is very flexible and useful. I believe you can include a DLL with …
  • Member Avatar for LesF
    LesF

    Began Watching How we can a make a setup file in vb6 as other software need to install

    How we can a make a setup file in vb6 as other software need to install ( Like need a product key to Install )
  • Member Avatar for LesF
    LesF

    Began Watching date and time

    in the reisgter how i put it togeter time and date of the code when i keyin the admin No and admin card then it record the the access datatbase. …
  • Member Avatar for LesF
    LesF

    Replied To a Post in date and time

    If you want to use the system date and time you can use 'Now', as in: Dim dtmNow As Date dtmNow = DateValue(Now) I can't remember if dtmNow.Value can be …
  • Member Avatar for LesF
    LesF

    Began Watching What's the best language

    Now retiring and would like to resume hobby of writing programmes. Is VB6 Enterprise the one to buy or has it been superceeded?
  • Member Avatar for LesF
    LesF

    Replied To a Post in What's the best language

    There are free versions of Visual Studio, providing C#, VB.Net and a bunch of other languages which can now be used with .Net, including Python (search for Visual Studio Express). …
  • Member Avatar for LesF
    LesF

    Replied To a Post in Show Div based on Value from Json response

    I changed the language from coffeescript to JavaScript and this works, tho I left out the image retrieval part. Maybe this will help you work out the coffescript version anyway: …
  • Member Avatar for LesF
    LesF

    Began Watching Show Div based on Value from Json response

    I want to show a specific color based on the value i get from the Json response. i.e. if the temp = any number between 1 and 15 it will …
  • Member Avatar for LesF
    LesF

    Replied To a Post in Show Div based on Value from Json response

    Possibly remove the 'display:none' from your box class. You don't need those 3 boxes, you can just use one div and use jquery methods addClass and removeClass to change it's …
  • Member Avatar for LesF
    LesF

    Began Watching Sanity Check AMD Loader and 503

    I have a known good web page that works without (known) errors when it loads. However, when I try to load it using a very laggy connection (more than 6-10 …
  • Member Avatar for LesF
    LesF

    Replied To a Post in Sanity Check AMD Loader and 503

    Can you combine the 10 to 20 GET requests into 1? If you can pass a list if ids and return for example a dictionary of results, it can often …
  • Member Avatar for LesF
    LesF

    Began Watching JavaScript Array and Math.random() to int

    Hello I am trying to learn the differences from Java and JavaScript so I am trying to take a working simple program in Java and make it work in JavaScript. …
  • Member Avatar for LesF
    LesF

    Replied To a Post in JavaScript Array and Math.random() to int

    Shouldn't line 10 be after line 30? You are assigning the value of the var before you create it. var phrase = wordListOne[rand1] + " " + wordListTwo[rand2] + " …
  • Member Avatar for LesF
    LesF

    Began Watching iframe reload/clear cache

    Hi All, I have a application , which onclick of submit takes content in textarea and do some back end stuff and finally opens a .html in a iframe. My …
  • Member Avatar for LesF
    LesF

    Replied To a Post in iframe reload/clear cache

    I think you should put the content data into the 'data' parameter in the ajax call, instead of adding it to the URL, such as: url: "submit.php", data: "{'content':'" + …
  • Member Avatar for LesF
    LesF

    Replied To a Post in How to pass value to querystring using JavaScript

    I'm a bit rusty on the PHP but I think that is correct, the value of a 'hidden' input field should be handled much like the value of a 'text' …
  • Member Avatar for LesF
    LesF

    Replied To a Post in How to pass value to querystring using JavaScript

    Try making the alerts: alert(document.getElementById('hidimgSrcOrig').value);
  • Member Avatar for LesF
    LesF

    Began Watching code for moving a message box in vb6

    Hi expert, just want to ask the correct code format for moving a message box. MsgBox "Do you want to save?", vbYesNo, 10, 10 Thanks
  • Member Avatar for LesF
    LesF

    Replied To a Post in code for moving a message box in vb6

    I don't think you can position them. I remember you can create your own form and use ShowDialog, then configure it to be centered on parent.
  • Member Avatar for LesF
    LesF

    Began Watching Check value of cloned row

    Hi Everyone, I created a script where rows gets cloned, then I created a script to check if a specific code exists in the database. This all works fine. My …
  • Member Avatar for LesF
    LesF

    Replied To a Post in Check value of cloned row

    Not sure about the [] character in your id and name values, is that causing them to fail to be found? I always stick with the basic rule for ids, …
  • Member Avatar for LesF
    LesF

    Began Watching How to pass value to querystring using JavaScript

    All, I have an external JavaScript code - which basicially has functionality so that different images are shown when a next or previous button is selected. What I need to …
  • Member Avatar for LesF
    LesF

    Replied To a Post in How to pass value to querystring using JavaScript

    If you want to have a value posted back in the form data you can use a hidden control: <input type='hidden' id='hidImageName' name='hidImageName' /> then update it's value when you …
  • Member Avatar for LesF
    LesF

    Began Watching Getting text from TextBox in Windows Form & put in TextBox in Web App.

    Hello all, I am relatively new to programming in general - the last formal object oriented programming class I took was my freshman year of college (my jargon may not …
  • Member Avatar for LesF
    LesF

    Replied To a Post in Getting text from TextBox in Windows Form & put in TextBox in Web App.

    You may need to give a more detailed explanation of what you are trying to do, but I expect you need to save your data someplace from your web form, …
  • Member Avatar for LesF
    LesF

    Began Watching Need a delete row function with Checkbox for dynamic form --DOM

    I need a delete function, I have tried all sorts of things and in this instance I have 2 different functions does not do anything. I just left it here …
  • Member Avatar for LesF
    LesF

    Replied To a Post in Need a delete row function with Checkbox for dynamic form --DOM

    Did you solve your row deletion? As a quick memory test I threw this together: <table border='1' id='TheTable'> <thead><th>..</th><th>Article</th></thead> </table> <input type='button' onclick='AddRow()' value='Add Article' /> &nbsp; <input type='button' onclick='DeleteSelected()' …
  • Member Avatar for LesF
    LesF

    Replied To a Post in Need help with the submit button

    Is that HTML a complete copy of the code you are using? You have a body end tag instead of a body opening tag, and I cannot see the form …
  • Member Avatar for LesF
    LesF

    Replied To a Post in help with code new to javascript

    Does your browser have developer tools or let you see the javascript console? On chrome the console lists various errors when your page loads; Uncaught ReferenceError: imageArray is not defined …
  • Member Avatar for LesF
    LesF

    Replied To a Post in help with code new to javascript

    Maybe add an id attribute to slideImg, not sure of document[place] is going to locate an element by the name attribute. eg: <img id="slideImg" name="slideImg" src="images/01.jpg" width="800" /> [edit] sorry, …

The End.