My Problem Is In ( Programming > Visual Basic 6.00 > API Technology > InternetReadFile Function On API )
361276
My first instinct is that you should upgrade as the newer versions of Microsoft development environments have much better support for this stuff.\n\nBut, barring that, I'd just have to take a few guesses.  \n\nVB 6.0 was a bit touchy about how it handled APIs.  You may need to look into the variable types you're passing into the API call and its declaration - make sure you're using a current API declaration for VB 6.0 and that you have SP 6.0 installed.\n\nInternetReadFile is designed to use a buffer to pull chunks of the response back and accumulate them.  If you're trying to pull back a huge file in a single read, you may come across all kinds of limitations.   It's probably better to write something more scalable like the example below.   Pardon the formatting mess caused by this answers field.\n\n\n\nDim hInternetSession       As Long\nDim hUrlFile               As Long\nDim sReadBuffer            As String * 4096     ' Grab 4k at a time\nDim sBuffer                As String\nDim lNumberOfBytesRead     As Long\nDim bDoLoop                As Boolean\nDim sURL                   As String\n\nhInternetSession = InternetOpen("Test", _\n    INTERNET_OPEN_TYPE_PRECONFIG, vbNullString, vbNullString, 0)\n\nsURL = txtURL\nhUrlFile = InternetOpenUrl(hInternetSession, _\n    sURL, vbNullString, 0, INTERNET_FLAG_RELOAD, 0)\n\nbDoLoop = True\nWhile bDoLoop\n    sReadBuffer = scBlankStr\n    bDoLoop = InternetReadFile(hUrlFile, sReadBuffer, _\n                Len(sReadBuffer), lNumberOfBytesRead)\n    sBuffer = sBuffer & Left$(sReadBuffer, lNumberOfBytesRead)\n    If Not CBool(lNumberOfBytesRead) Then bDoLoop = False\nWend\nInternetCloseHandle (hUrlFile)\nInternetCloseHandle (hInternetSession)
623061
this will help\n\nhttp://msdn2.microsoft.com/en-us/library/f1f367bx(VS.80).aspx\n\nmy VB is a lil rusty but i looked it up
638752
Put this in an asp page and try it.I jus did it and it worked. \n\n<%@ Language=VBScript %>\n<HTML>\n<HEAD>\n<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">\n</HEAD>\n<BODY>\n<form name="frmTest" method="post">\n<img src="Bluebar.gif" ></img>\n<br>\n<LABEL id="lblclick" onclick="ShowList()">Click on this</LABEL>\n<P> </P>\n<br>\n<LABEL id="lblShow" ></LABEL>\n</form>\n</BODY>\n</HTML>\n<script language="javascript">\nfunction ShowList()\n  {\n   window.document.getElementById('lblShow').innerHTML = "Hey ! you just viewed and clicked me :)"\n  }\n</script>\n\nDude.....the window.document.getElementById will show as .... I tried all methods and yahoo still sucks...\nSo here I will explain.  getElementBytId() .In this bracket you need to give the Label which is displaying the text, its id , i.e in this case getElementBytId('lblShow'), and after the close parenthesis we give ".innerHTML" and then "=" what value we want to give.\nhave issues still then, send me a mail at nigeljd@gmail.com
687478
Try understanding what ASCII truly is\n\nthen, whichever browser you're useing, will give you the option to "Save page as" where instead of "Web Page, complete" (html)\nyou switch to "Text Files"
240345
because there are some typing mistake there try this link\nhttp://collaboratory.nunet.net/cwebdocs/index.html
256294
Sometimes, JavaScript / VBScript used by an application has errors in it. That's what this message is telling you.\n\nSomewhere, in your system tray, is a widget -- a printer utility, or some gizmo of some sort -- that is causing the problem. Your best bet: start turning them off one at a time until you find the offender.
646616
class publication\n{\n   private :\n      char title[20];\n      float price;\n   public :\n      void getdata()\n      {\n          cin>>title;\n          cin>>price;\n      }\n};\nclass books :: public publication\n{\n   private :\n      int pagecount;\n   public :\n      void getdata()\n      {\n          cin>>pagecount;\n      }\n\n};\nclass tape :: public publication\n{\n   private :\n      int playing_time;\n   public :\n      void getdata()\n      {\n          cin>>playing_time;\n      }\n};
1151425
it's been a while since i've used VB but give this a try\n\nIF (listbox.listitem[0].selected) AND (listbox.listitem[1].selected) THEN\nEND IF
292184
I have a couple of suggestions.  First, I'd install a local FTP server to make sure that the problem really is in the code and not in the speed of your network.  I've included a link to one server below, but you can find others using your favorite search engine.\n\n500MB seems like a very small amount of data.  Are you sure you want to use multi-threading?  Could you start multiple copies of your program?  If you decide to go with threading, I'd upgrade to Visual Basic 2005 if you don't have it already - I included a link to the free version below.\n\nIn VB2005, there's a new component for threading called BackgroundWorker.  I've linked to one example of it's use below -- but MSDN has a lot of material on it, including examples.
131688
Install VB 6.0 runtime on the machine that might solve the problem.\n\nFile: VBRun60sp4.exe
642266
https://www.gibill2.va.gov/vba/vba.cfg/php.exe/enduser/std_alp.php   <<read all about it
50759
It appears that it is trying to open a page in IE6. Make sure you have the correct add-on, program, codec for the file you are trying to open.
61873
you probably don't have the correct program to view the file. Check the Microsoft website to see what you need to open it.
452718
may be a fault in java scripting  , or some errors in IE ,make update for both
417565
Make sure you have the latest version of IE.\n\nhttp://www.microsoft.com/windows/ie/downloads/default.mspx\n\nYou can download it there.\n\nIf you have the latest version and it still does it, then I'd say the error is on the web page.
564753
frsit u have to delete ur all internet temp files as well as cookies. after that try out below link.......its working n im using for run time environment.........if it gives error with defult downloadin then go for manual download..so u can download completly.......good luck!!!
485562
go here http://www.microsoft.com/windows/windowsmedia/mp10/errors.aspx  cut and paste to ur internet explorer