Download SSG Files to a Folder on Your Computer (Especially for Toolkit 4 Owners) Joe Craig January 14, 2006 Investor's Toolkit 4 will not automatically download files and it will not update existing data automatically from the BetterInvesting web site. The intent of this page is to provide some tools that you can use to do your updates. While they aren't automatic, they aren't really labor intensive. Use the file attach to this page, courtesy of Erik Berg, to create a file from your Toolkit database that you can use this file to download multiple SSG files to a directory on your computer's disk and use those SSGs to update your data. You'll need to follow these instructions to to the entire thing.
Note if you receive the error "ActiveX component can't create object: 'ADODB.Connection'", you need to register the MSADO15.DLL file. Verify that you have this file on your system and register it with regsvr32. The following command entered at a command prompt should do the the trick: regsvr32 c:\progra~1\common~1\system\ado\MSADO15.DLL More information on debugging this error can be found here: http://www.mvps.org/access/bugs/bugs0022.htm Attachments
CommentsWith Firefox version 1.5.0.7 and Downthemall version 0.9.9.6.5 I am unable to download. I click on Start Downloads and nothing happens. What can I do?
After following Jim Thomas' BI Forum post to change my data subscription settings and to point to the MySSGs folder, I am able to update companies. Thank you very much for the Toolkit4 download helper. You want to do an Update not an Import in Toolkit 4: File Menu --> Update Companies I use Select All and Full options erik I can only import the data which wipes out my judgments. I can't just update existing data. Is this the way it is supposed to work?
Erik's code is in the file that is attached to this page. Download it, modify it for your system, and use it! Thanks, Erik! Enclosed is the first pass script. With about 500 companies in Tk4 is took about 2 seconds to run. This is on XP profressional with any development tools. However the BI Web site or DownloadThemAll is timing out using at various places. It could be a dead company issue. Create a new text file and copy and paste the lines below the dotted line. Rename file as GenerateMySSGsHtm.vbs ------------------------------------------------------------------ ' Change the following variables to match your system. CONST Tk4MdbPath = "C:\Documents and Settings\heather\My Documents\My Stocks\Tk040919.mdb" ' Const URL1 = "<A HREF=""https://www.betterinvesting.org/member/login.html?target_uri=/ssg/" Set cnn = CreateObject("ADODB.Connection")
if not rs.BOF then set f = fs.CreateTextFile(MySSGsPath, TRUE) while not rs.EOF f.Close msgbox "MySSGs.htm file was created successfully." rs.Close Set cnn = nothing Last Modified 2006-03-29 |
Hide Tools | ||||||||||||||||||
Looks like BI changed the path to the datafiles (I think). The VBscript currently uses the address https://www.betterinvesting.org/member/login.html?target_uri=/ssg/ but I think it is now somewhere along the lines of http://tools.betterinvesting.org/CR/CrReport.aspx?ticker=
I've tried tinkering with different directories and permutations but I ain't no programmer! Bottom line, DownloadThemAll is no longer writing the datafiles to my SSG folder -- it only writes "login.html".
Anyone with a big brain have any ideas (assuming I'm even right in the first place)?