Results for "Author: bp"
This code will read in a two column data file (with the column titles in the first line) and update a listview control quickly and easily. It's easy to add more columns as needed. To use this code, you simply call the function like. Call load_list_view_two(mylist, "c:\test.dat")
This routine will allow you to convert any text document into an HTML document. This is a basic function that simply puts the template HTML tags into place and then adds line breaks after each line of the text file is read in. This would be handy function for converting large numbers of documents to web-format. This code would be used as following: Call FileToHTML("c:\autoexec.bat", "c:\test.html", "Auto Execute File", "maroon", "white")
This sub will allow you to downloaded files off of the web by making one call. The syntax will look sometime to this effect: Call GetInternetFile(Inet1, "http://www.fakeURL.com/~yup/picture.jpg", "c:\temp")
This code allows you to update your programs .EXE via the Internet automatically. The program checks a file on a web-server with the most recent version number in it, compares it to your version and then either downloads the new file or not depending on which one is more current. This process utilizes the INET control for the file transfers.
This example program includes a module file (as well as accompanied .wav files for sound) that will turn a number from a text box into speech through the speakers. Right now works from numbers 1 to 999 trillion. This is just for numbers and a few symbols and does not do words. Please vote if you like it. :)
This code will return to you the state of the current winsock function in english rather than a number.. etc, "connected", "resolving host", etc.
This boolean function simply reads in two files and compares them to see if they are the same. It returns true if they are and false if they aren't. I quickly wrote this up to compare text files against template files.
This code will allow you to copy files at a specified time. I use it to update computers on a network at 3am when everyone is out of the building. It also has the API declarations for windows reboot/shutdown so they can easily be added for a reboot at a specified time.
This code will read in a two column data file (with the column titles in the first line) and update a listview control quickly and easily. It's easy to add more columns as needed. To use this code, you simply call the function like. Call load_list_view_two(mylist, "c:\test.dat")
This routine will allow you to convert any text document into an HTML document. This is a basic function that simply puts the template HTML tags into place and then adds line breaks after each line of the text file is read in. This would be handy function for converting large numbers of documents to web-format. This code would be used as following: Call FileToHTML("c:\autoexec.bat", "c:\test.html", "Auto Execute File", "maroon", "white")
This sub will allow you to downloaded files off of the web by making one call. The syntax will look sometime to this effect: Call GetInternetFile(Inet1, "http://www.fakeURL.com/~yup/picture.jpg", "c:\temp")
This code allows you to update your programs .EXE via the Internet automatically. The program checks a file on a web-server with the most recent version number in it, compares it to your version and then either downloads the new file or not depending on which one is more current. This process utilizes the INET control for the file transfers.
This example program includes a module file (as well as accompanied .wav files for sound) that will turn a number from a text box into speech through the speakers. Right now works from numbers 1 to 999 trillion. This is just for numbers and a few symbols and does not do words. Please vote if you like it. :)
This code will return to you the state of the current winsock function in english rather than a number.. etc, "connected", "resolving host", etc.
This boolean function simply reads in two files and compares them to see if they are the same. It returns true if they are and false if they aren't. I quickly wrote this up to compare text files against template files.
This code will allow you to copy files at a specified time. I use it to update computers on a network at 3am when everyone is out of the building. It also has the API declarations for windows reboot/shutdown so they can easily be added for a reboot at a specified time.
This code will read in a two column data file (with the column titles in the first line) and update a listview control quickly and easily. It's easy to add more columns as needed. To use this code, you simply call the function like. Call load_list_view_two(mylist, "c:\test.dat")
This routine will allow you to convert any text document into an HTML document. This is a basic function that simply puts the template HTML tags into place and then adds line breaks after each line of the text file is read in. This would be handy function for converting large numbers of documents to web-format. This code would be used as following: Call FileToHTML("c:\autoexec.bat", "c:\test.html", "Auto Execute File", "maroon", "white")
This sub will allow you to downloaded files off of the web by making one call. The syntax will look sometime to this effect: Call GetInternetFile(Inet1, "http://www.fakeURL.com/~yup/picture.jpg", "c:\temp")
This code allows you to update your programs .EXE via the Internet automatically. The program checks a file on a web-server with the most recent version number in it, compares it to your version and then either downloads the new file or not depending on which one is more current. This process utilizes the INET control for the file transfers.