comp.lang.basic.visual.misc http://groups-beta.google.com/group/comp.lang.basic.visual.misc
Today's most active topics: * Procedures zero out - 17 new http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/80dbe995d9c6dbc0 * Generic handler for different forms events - 7 new http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/75bbc6ad484f5fce * Good TreeView control for VB6, where? - 7 new http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/14438fbdefdb732 * Stand-alone executable? - 7 new http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/57947a3f97c8b43b * Can we run on a MAC? - 7 new http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/21ecaff873c592e1 Active Topics ============= Subject: TCP Socket VB.NET - all new ---------------------------------- ... To really respond properly, I need to see some code... But, from the error your getting, my guess is that your using the VB.NET native IO functions rather then the System.IO classes. Bad Idea! But, that isn't the cause of the error - it sounds like your trying to write to a file that is no longer open. Oh, yeah - you should probably post your VB.NET related questions to one of the microsoft groups on that topic, since most people here only use VB6 and earlier. As for me, well - I've taken to just lurking, since I... - Wed, Oct 13 2004 3:39 pm 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/c208e02ac4ae679b ip adresses - 2 new ---------------------------------- Depends. If the machine is assigned a DHCP address running behind a router, the IP address that all Windows functions will discover is that assigned by the DHCP server. For example, running behind a linksys router as I am, my IP address is 192.168.1.101. My actual IP address seen by the world - the address used by the router to communicate with my ISP - is totally different and unobtainable using any method within Windows. As far as Windows is concerned, it is quite happy knowing only that my card has an IP of... - Wed, Oct 13 2004 8:50 pm 2 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/6863eddbe7b5eb6c Opening folder - 3 new ---------------------------------- If you need a Select Folder dialog, look for ShBrowseForFolder. Let me know if you need an example. ... ... - Thurs, Oct 14 2004 3:51 am 3 messages, 3 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/897654f62ae39cb6 Displaying a context emnu for a file or folder. - 3 new ---------------------------------- A fairly complex subject and I think it requires a typelib to accomplish. Here's a couple of urls to get you started on this topic: http://www.mvps.org/ btmtz/vbexplorer/ ... ... - Thurs, Oct 14 2004 4:56 am 3 messages, 3 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/a304dce6d85490c8 Any good code documenter - 4 new ---------------------------------- http://www.aivosto.com/ It's not free, restricted use, but very good. ... .. . - Thurs, Oct 14 2004 11:18 am 4 messages, 4 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/375d2e089f23d1a0 Generic handler for different forms events - 7 new ---------------------------------- ... You can't define an interface with events, so you can't do it directly. However, you can use a proxy object to get it done. Here is a simple example. This demo just creates two instances of Form2, but if you make a Form3 with the same elements as Form2, you could substitute that for the second one. '= Class CProxy, the event passer: Public Event SomeEvent(Tag As String) Public Sub RaiseSomeEvent(Tag As String) RaiseEvent SomeEvent(Tag) End Sub '= Form2, the child form with a public string property: Private mProxy As CProxy. .. - Wed, Oct 13 2004 7:20 pm 7 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/75bbc6ad484f5fce Procedures zero out - 17 new ---------------------------------- ... An excellent suggestion Hans! You are hereby promoted to administrator of c.l.b.v.m., and your first task is to set up a draft for a FAQ. Put a draft together, and post it here, and when we all agree I'll provide the serverspace for it. ;-) Seriously, Yes, there should be a FAQ, but this is an unmoderated ng, and as such, doesn't have an administrator (complete anarchy). So if you want a FAQ, you'll have to make it, and take responsibility for maintaining it. If you, or someone else are willing to do that, I'll set aside a... - Thurs, Oct 14 2004 3:38 am 17 messages, 10 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/80dbe995d9c6dbc0 Good TreeView control for VB6, where? - 7 new ---------------------------------- ... Honestly, I would suggest going to componentsource.com, or similar, and downloading some eval copies of various trees and grids. "Good" is a difficult term to define. I have used one called XpressQuantumTreeList (I think), which has some truly odd structure in it, but happened to offer the right features at the time. I used it only in unbound mode; I liked it because it provided lots of events and customizable properties, and I could get used to its oddness. (Some properties are accessed using TreeeList1.P.PropertyName,... - Thurs, Oct 14 2004 7:29 pm 7 messages, 4 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/14438fbdefdb732 Stand-alone executable? - 7 new ---------------------------------- Hi Bert ... I believe the OP was asking if there was a way to distribute only an exe as a supplement to his existing application, without the need for a full installation program. My answer in this case is correct. Have you never downloaded a VB application that ran without running the install program? Same principle -- if the controls and references already exist on the system, you can distribute just the exe and all will be fine. If you use VB6 setup, just the exe. (If you're justifiably shy about running exe's, here's... - Wed, Oct 13 2004 8:42 pm 7 messages, 5 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/57947a3f97c8b43b Listview - 5 new ---------------------------------- Gavin, Probably would need to subclass. Here is a start on Randy Birch's excellent site Brad Martinez has a boatload of Listview code also http://www. mvps.org/btmtz/listview/ HTH, Neila ...... - Thurs, Oct 14 2004 7:29 pm 5 messages, 5 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/3f90491967a0fad2 Checking A DataSource - 2 new ---------------------------------- ... You *could* ping it...? As a "Hack", shell out to a dos prompt with the command ping "nametotry" > responsfile.txt wait until the process finish, and parse the responsefile.txt afterwards. This is not fast, but it *will* get the job done. And while you're at it, you will of course want to make a log, so you know the correct name of the server for a later time. You can also try to connect to the db with the different server names, and handle the connection errors... ... - Thurs, Oct 14 2004 12:18 pm 2 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/6f46dd5c0dcc9fe9 Telnet and VB using winsock but getting garbage characters - all new ---------------------------------- ... That's the hand shaking... You might want to look at the relevant RFC's to get the actual values - but it basically is sending numeric codes to estabilish the set of capabilities that the server and client are willing or able to support. ... - Wed, Oct 13 2004 9:14 pm 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/c93c9cbbfd240047 sending an icq massage - all new ---------------------------------- Addition: It would also solve my problem, if i could generate an away or an dnd massage in the icq of the PC on wiche my vb program is running. ... ... - Thurs, Oct 14 2004 5:22 am 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/6ab9cd30a995f5cc listview items -where to store extra data - 5 new ---------------------------------- I have a listview that shows generic data about an item. I have extra data that can be displayed about the item if it is selected. The extra data is shown in another form. The extra data is read into a TYPE structure and I'd like to store that TYPE structure off the item. I try to set the item.tag to the structure, but an error message about only user-defined types defined inpublic object modules can be coerced to or from a variant or passed to late- bound functions. Does anyone have any suggestions on how I can... - Wed, Oct 13 2004 9:16 am 5 messages, 5 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/a7e1072aa1aa7ccf VBA programmer wanting to move to VB - which one? - 4 new ---------------------------------- ... Hey, Howard, did you mean "VB 6", instead of "VB 5"? ... - Wed, Oct 13 2004 10:05 pm 4 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/42b6c716280f2a56 Is Drag & Drop Sorting of a List in VBA (Excell) possible? - all new ---------------------------------- Steve, That did it! I appreciate the time that you and Rick took to help me. Thank you, Paul ... - Thurs, Oct 14 2004 5:26 am 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/c459c99163164e3 Controlling Flash Movie Size in VB.NET - 2 new ---------------------------------- Hello Everyone, I am a newbie to VB.NET and am wondering if someone out there could point me in the right direction. I have a form that takes up the entire screen (I am making a screensaver) I have placed a flash movie onto this form via the toolbox. I have resized the flash movie with the mouse to fit the entire form, however, this doesn't seem to make a difference. Everytime I run the screensaver the flash movie is in the upper right hand corner, and only fills about 1/8 the screen. I can't even get it to center. I would like to be.. . - Thurs, Oct 14 2004 10:40 am 2 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/184e3a5f55f673e6 Web page embedded OCX doesn't show up - all new ---------------------------------- I have finally resolved this issue. As it turns out, it was a Microsoft bug. The following KB document details the issue: Q254166 JW ... ... - Wed, Oct 13 2004 10:34 pm 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/309929452554ecdf ADODB - 2 new ---------------------------------- ... AbsolutePosition Property Indicates the ordinal position of a Recordset object's current record. Settings and Return Values Sets or returns a Long value from 1 to the number of records in the Recordset object (RecordCount), or returns one of the PositionEnum values. Remarks Use the AbsolutePosition property to move to a record based on its ordinal position in the Recordset object, or to determine the ordinal position of the current record. The provider must support the appropriate functionality for this property to be available.... - Thurs, Oct 14 2004 2:49 am 2 messages, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/7e52be53c076449 ICQ - all new ---------------------------------- Hi, i found different exampels of vb programs to acces ICQ but no one could really send a text message to a special UIN. can anyone help me? ... - Thurs, Oct 14 2004 10:26 am 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/39770755183c4e09 RPC server not available - all new ---------------------------------- Hi! Why do I get: RPC-server not avilable. Facility: Win32 ID no: c00706ba Microsoft CDO for Exchange Management Code: Dim objRecip As CDOEXM. IMailRecipient Dim objGroup As IADsGroup ... Set objRecip = objGroup strEmail = EmailName & "@" & Replace(EmailDomain, "@", "") objRecip.MailEnable objRecip.SMTPEmail = strEmail 'This doesn't work... What shall I do to make it work? Best regards, Andreas ... - Thurs, Oct 14 2004 6:38 am 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/74059b4383af1067 Visual Basic Shell Programming by J. P. Hamilton - still relevant?? - all new ---------------------------------- Thank you for your response. I think this is a good topic for discussion, particularly the ramifications of security hole patches on us legitimate programmers. Anyone have any horror stories about how msft patches ruined their applications and what was done to fix it? David ...... - Wed, Oct 13 2004 12:05 pm 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/623419c7dcc920a2 ActiveX control doesn't display in IE - all new ---------------------------------- I have finally resolved this issue. As it turns out, it was a Microsoft bug. The following KB document details the issue: Q254166 JW ... ... - Wed, Oct 13 2004 10:39 pm 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/fc4e7aa987a69449 Help, SQL Query error - 3 new ---------------------------------- Ref VB6 using DAO with MS Access. Below I get an error of the following, No current record.Error: 3021 Here is my Sql query. Set rs = db.OpenRecordset( "SELECT * From PSUSA WHERE fax_number <> 'MAT' and fax_number <> '' and fax_ sent=false and red_flag=false)", dbOpenDynaset) Why would this error? Thank you, jt ... - Thurs, Oct 14 2004 10:42 pm 3 messages, 3 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/92b03c42404abf23 WritePrivateProfileStringW - 2 new ---------------------------------- Hi to all, I'm using VB6 under XP. I need to save some text into an INI file; however it is UNICODE text. So I'm using the API WritePrivateProfileStringW ( and not WritePrivateProfileStringA which is for ANSI text). The call to this API returns 1 (so it is correct because otherwise it would return 0 if in error), but the .ini file is not created! If, instead, I leave all the same parameters and I replace WritePrivateProfileStringW with WritePrivateProfileStringA, everything works fine (but I loose UNICODE... - Fri, Oct 15 2004 4:04 am 2 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/74cd8163c23b92ac runtime error - 3 new ---------------------------------- after installing an program with the vb6 package and deployment tools on another pc i got the following error when starting the executable: runtime error '2147467259(80004005)' automation error the program uses ado and a access 2000 database. I'm referring in my code to Microsoft.Jet.OLEDB.4.0 What causes this problem? ... - Fri, Oct 15 2004 1:28 am 3 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/1cfbbcdb8056c61e OUTLOOK - Recipient.Resolve gives problem because of multiple matches in contact list - 2 new ---------------------------------- Hi list, I have the following code to access user outlook folders from Excel: Set myNS = myApp.GetNamespace("MAPI") 'get a namespace for the data items in the MAPI Set Recipient = myNS.CreateRecipient("John Doe") ' select collegue Recipient.Resolve If Recipient.Resolved Then ... Set Recipient = Nothing ' always clear up after! Set myNS = Nothing Set myFolder = Nothing This works fine, but now we have created a second contact wich contains the also "John Doe", namely "John Doe External". As a result,... - Fri, Oct 15 2004 2:24 am 2 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/f14b2ef7b77e7aa8 Grid questions (grid32.ocx) - all new ---------------------------------- Is there a way to set the font of only the fixed cells? Is there a way to set the font of only the non-fixed cells? Thank you. ... - Thurs, Oct 14 2004 9:12 pm 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/c067233d6e5a06fc Can we run on a MAC? - 7 new ---------------------------------- On Fri, 15 Oct 2004 10:50:08 -0400, "Bill Nicholson" ... REALBasic: Get the professional version (US$450) and you can cross-compile from Windows to MacOS 8, 9, X, and X Windows on x86 Linux. *NOT* VB-compatible but includes VB importer. http://www.realbasic.com/realbasic/pro/ True BASIC: Get the Gold edition (US$495) and you can apparently cross-compile. Includes "Basic and Fortran to True BASIC" importers (I rather doubt that "Basic" includes VB, though). http://www.truebasic.com/product_detail.asp?id=3 If you can get a Mac (Mac user groups usually... - Fri, Oct 15 2004 9:23 am 7 messages, 4 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/21ecaff873c592e1 Optimising code - 2 new ---------------------------------- ... Of course :-) It's an axiom of computing that TANSTATFC -- there ain't no such thing as the fastest code. ANY code can be sped up. One simple optimization is to remove loop invariants. A good compiler will do this for you, but I don't know if VB's will. In this case, compute (3 * j) once for each loop of J, not for each loop of K. Same for (inpicwidth - 1 - j) -- move that outside the K loop. Same for (3 * i), which needs to be computed only once per loop of I. For i = 0 To inpicheight - 1 I3 = i * 3... - Fri, Oct 15 2004 12:12 pm 2 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/6fec1caa2d6df451 Midi Forms - all new ---------------------------------- Hi Guys, Why do child forms appear at any size rather than the size set at design time. I can rectify the problem by specifying the size of the form in the form_load routine . But if I don't do this the child form appears at any size rather than the size set at run time. Why is that? regards Gavin. ... - Fri, Oct 15 2004 8:08 am 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/71e79ad09659549c Displaying Line Of Code And File Name - 2 new ---------------------------------- Is there a way in VB to pop up a message box showing the line of code and the file name that it is being popped up form? I know this is possible in C++ but I have no idea on VB. Basically I want to pop up a message box that will tell me where in the code it is being raised from. Thanks ... - Fri, Oct 15 2004 12:10 pm 2 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/4c6252cee5ebc87f Any ways to force the Program to halt? - all new ---------------------------------- Hi, I have a problem here. Referring to the following programming structure, is there a way to cause the computer to overflow or stop by inputting wrong values of intTime and/or intDay? i.e. I don't want the program to jump to label NotWritten:. but want the program to stop working when the input values are of wrong types. Thanks a Million ... Open "c:\windows\system\aaa.txt" For Input As #f1 Line Input #f1, strJustStr1 Input #f1, intTime, intDay Line Input #f1, strJustStr2 Close If (intTime Mod 75) <> 0 Or ( intDay Mod 79)... - Fri, Oct 15 2004 8:17 pm 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/5deea7322ce7627 SOAP Server and Client in VB 6.0 - all new ---------------------------------- hi I need some help regarding writing the code for a server and client in VB 6.0 using SOAP protocol. Thanks in advance, Gaurav Bhatia Georgia Institute of Technology, Atlanta Georgia, 30332 Email: [EMAIL PROTECTED] ... - Fri, Oct 15 2004 10:48 pm 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/b899f48f18569967 MSDN Download - all new ---------------------------------- Hi All I have a (60 days) trial vesion of visual basic.net, which came with a programming book 'Visual basic.net in 24 hours! There are no help files with the trial version. Dose anyone know where I can download the MSDN CDs for visual studio.NET. I have search invain! Thanks Roy ... - Sat, Oct 16 2004 12:40 am 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/4f74154ceb29aa96 insallation of vb6pro - all new ---------------------------------- while tring to installvb6 on winexproiget a message saying 16bit windows subsystem then everything stops can anyone help on this i need this for my studies willie ... - Sat, Oct 16 2004 2:25 am 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/e405644a6e0bc4b9 Keyboard hook (hotkey) - tray icon - popup menu - all new ---------------------------------- Hi, I'm trying to put my application in the tray bar and use a hotkey to give me a popup menu. It works fine if my application is on top of all the other programs. The popup will not go over all the other windows. Can this be done?? I use vbhotkey ( http://www.freevbcode.com/ShowCode.asp?ID=2844 ) and the dreampopup ( http://www.freevbcode.com/ShowCode.asp?ID=3043 ). Example: Dim dmenu As New DreamPopUpMenu Private Sub VBHotKey1_HotkeyPressed() ... This works fine if the window is in the front, if not, I will not see a... - Sat, Oct 16 2004 2:48 am 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/2da4fa8380ee4d25 ======================================================================= You received this message because you are subscribed to the Google Groups "comp.lang.basic.visual.misc". comp.lang.basic.visual.misc http://groups-beta.google.com/group/comp.lang.basic.visual.misc Change your subscription type & other preferences: * click http://groups-beta.google.com/group/comp.lang.basic.visual.misc/subscribe Report abuse: * send email explaining the problem to [EMAIL PROTECTED] Unsubscribe: * click http://groups-beta.google.com/group/comp.lang.basic.visual.misc/subscribe ======================================================================= Google Groups: http://groups-beta.google.com
