Microsoft Active/X Internet Controls BETA2: Notes/Issues/Workarounds Welcome to BETA2 of the Microsoft Active/X Internet Controls! Contained within this document are notes to users of BETA1 of the Microsoft Active/X Internet Controls, known Issues that you will run into and have questions/bug reports about (but we already know about) and finally Workaround solutions that have been developed for previously reported control issues. Some of the previously reported issues that have been addressed in BETA2 of the Microsoft Active/X Internet Controls are: Improved operational support for users of Microsoft Visual C++ Improved handling of control re-entrancy issues (breakpoints in asynchronous process events) Overall control stability improvements Some fit and finish improvements P.S. - If you were previously using BETA1 of the Microsoft Active/X Internet Controls, you MUST read the following Setup procedure section!!! Setup procedure (IMPORTANT TO READ): If you are running BETA1, RUN UNINSTALL prior to installing BETA2! Uninstall does not mean merely deleting the files, it means running the uninstall application from the ICP Program Group (WinNT) or from within Control Panel Add/Remove Programs Applet (Win95) Any application written with the BETA1 controls will not load in BETA2 properly unless one of the following steps are completed: 1) Run the supplied CONVERT.EXE program against the Visual Basic project file (source code is included as well) OR, 2) If you REALLY want to perform the following steps manually: In any Visual Basic project file, replace the following BETA1 GUIDS (the following represents all one line, not two): Object={AD03B780-5298-11CF-AAA2-0020AF2CEE5E}#1.0#0; WINSCK.OCX Object={6DE007F0-5598-11CF-8389-0020AF697014}#1.0#0; FTPCT.OCX Object={B14C3B60-55BE-11CF-96E7-0080C7C3C284}#1.0#0; SMTPCT.OCX Object={FD2F9730-5217-11CF-A674-0020AF6A0BF2}#1.0#0; POPCT.OCX Object={80ABBE10-5595-11CF-96E7-0080C7C3C284}#1.0#0; NNTPCT.OCX Object={6A617420-55DD-11CF-A97F-0020AF3F87B5}#1.0#0; HTTPCT.OCX Object={60996320-55D3-11CF-804C-00A02424E927}#1.0#0; HTML.OCX Reference=*\G{1C714B50-55AC-11CF-804C- 00A02424E927}#1.0#0#C:\WINDOWS\SYSTEM\NMOCOD.DLL #Microsoft Internet Support Objects With the following BETA2 GUIDS (the following represents all one line, not two): Object={B7FC3580-8CE7-11CF-9754-00AA00C00908}#1.0#0; WINSCK.OCX Object={B7FC3542-8CE7-11CF-9754-00AA00C00908}#1.0#0; FTPCT.OCX Object={B7FC3570-8CE7-11CF-9754-00AA00C00908}#1.0#0; SMTPCT.OCX Object={B7FC356A-8CE7-11CF-9754-00AA00C00908}#1.0#0; POPCT.OCX Object={B7FC3564-8CE7-11CF-9754-00AA00C00908}#1.0#0; NNTPCT.OCX Object={B7FC355F-8CE7-11CF-9754-00AA00C00908}#1.0#0; HTTPCT.OCX Object={B7FC354D-8CE7-11CF-9754-00AA00C00908}#1.0#0; HTML.OCX Reference=*\G{B7FC35A4-8CE7-11CF-9754-00AA00C00908}#1.0#0#C:\NMSDK\DEBUG\NMOCOD.DLL#Microsoft Internet Support Objects In any Visual Basic form file, replace the following BETA1 ProgIDs HTTPCTLib.HTTPCT HTTPCT1 NNTPCTLib.nntpct nntpct1 POPCTLib.POPCT POPCT1 SMTPCTLib.smtpct smtpct1 FTPCTLib.FTPCT FTPCT1 With the following BETA2 ProgIDs HTTPCTLib.HTTP HTTP1 NNTPCTLib.NNTP NNTP1 POPCTLib.POP POP1 SMTPCTLib.SMTP SMTP1 FTPCTLib.FTP FTP1 Known Issues: All You must register "Microsoft Internet Support Objects" via the Tools.References... menu selection for all controls except WinSock. WinSock UDP does not support broadcast address (IP Address: 255.255.255.255) Opening a common dialog with UDP in the project will prevent the DataArrival event from firing HTML There are known rendering problems with EMWAC Web server There is no support for proxies Printing the HTML page has not been implemented The ability to select text has not been implemented HTTP There are known downloading issues with EMWAC Web server There is no support for proxies FTP There is no support for proxies NNTP Secure news groups on news servers that do not make the AUTHINFO request will not currently authenticate. Work Around Listing: WinSock With TCP and UDP you cannot send an embedded Null character in a string. You must use a byte array. Sample source as follows: Dim b() as Byte s$ = "Test" & Chr$(0) & "Test" ‘alone would result in only "Test" b = s$ TCP1.SendData b A simple replacement for PING (with both TCP and UDP) is to connect and send to the standard ECHO Socket port (which is usually 7) HTML For file based URLs use the following convention: file:///c:/dir/file.htm file://localhost/c:/dir/file.htm file:///c:\dir\file.htm file://localhost/c:\dir\file.htm FTP There are known issues with Microsoft IIS and the DirItem object. Workaround is to use the DocOutput event rather than the ListItem event. GetFile always appends to LocalFile currently. Workaround is to look for icDocBegin in the DocOutput.State property and delete the LocalFile if it exists. Sample Application Listing ========================== WinSock Voice Chat sends recorded voice over a TCP/IP link. Requires two machines Requires a valid TCP/IP (PPP OK) network connection Will be slow over a 14.4 connection You must register the included .DLL (w/REGSVR32.EXE) Adjust the microphone volume for distortion if occurs HTML Simple HTML Browser Requires a valid TCP/IP (PPP OK) network connection Requires a valid HTTP server or file HTML source FTP File Explorer integrates local, network and FTP files Requires a valid TCP/IP (PPP OK) network connection Requires a valid FTP server NNTP Network News Explorer client program Requires a valid TCP/IP (PPP OK) network connection Requires an NNTP source (service provider provides) UUEncode/UUDecode .DLL must be compiled and registered prior to running sample (w/REGSVR32.EXE) SMTP/POP3 BulMail Client: Automated group sending and subscription Requires a valid TCP/IP (PPP OK) network connection Requires a SMTP account Requires a POP3 account Simple Samples Simplified (ie. - bare minimum) samples have been included for most controls