comp.lang.basic.visual.misc http://groups-beta.google.com/group/comp.lang.basic.visual.misc
Today's most active topics: * Picture loading, sizing and DCs - 8 new http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/649fac8b12489600 * Determining if a string is Unicode - 7 new http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/bce8b5cdc19ba991 * bitmap hash table? - 7 new http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/3b4679a0eac9a019 * retreive data from a list - 5 new http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/236bace4c8a8b678 * Annoying feature of VB6 - 5 new http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/eeef184719fb2176 Active Topics ------------- Visual Basic 5.0 Warning! - 3 new --------------------------------- [EMAIL PROTECTED] (Glenn)'s wild thoughts were released on 2 Dec 2004 06:29:12 -0800 bearing the following fruit: ...Learn to live with it. It happens to me a lot when I've been using breakpoints. Jan Hyde (VB MVP) - Thurs, Dec 2 2004 3:31 pm 3 messages, 3 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/e4b80739d1963f4a Printer - 1 new --------------- I got a printer attached to my pc, and I want to know who is using my printer ( like PC02) to print documents, and how many pages they print. Thanks in advance! - Thurs, Dec 2 2004 6:57 am 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/ee4a4ea849cde176 VB software needed - 1 new -------------------------- ...and if it doesn't, will it compile to an EXE? Is the result redistributable? - Thurs, Dec 2 2004 9:21 am 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/7dae6c57000d7535 Picture loading, sizing and DCs - 8 new --------------------------------------- ...news:[EMAIL PROTECTED] ...Try this: Private Sub Command1_Click() Me.ScaleMode = vbPixels Me.PaintPicture LoadPicture("c:\mypic.jpg"), 0, 0, 280, 210 End Sub By the way, don't forget to check whether the wallpaper is tiled or not. I'm not sure what you would want to do if it is, but post again if you need more - Thurs, Dec 2 2004 3:31 pm 8 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/649fac8b12489600 Winsock Example for VB4 (should work with VB5 or VB6) - 1 new ------------------------------------------------------------- I did a bunch of googling over the weekend to find a decent example of using winsock API calls with Visual Basic 4 (VB4) and simply did not find exactly what might help me out, so I'm posting some code for the benefit of anyone who might need to see a fairly complete working example. FWIW, there are a bunch of various winwock.bas API declaration files - Thurs, Dec 2 2004 9:06 am 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/6759329bb1fb0ee6 bitmap hash table? - 7 new -------------------------- I have a have a number of bitmap data structures which I would like to hash to short strings. (i.e. hash(bitmap)="Fred" etc.). Each bitmap is about 4K in size. Is there any way to do this in visual basic? Raphael - Thurs, Dec 2 2004 3:14 pm 7 messages, 4 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/3b4679a0eac9a019 turn tabstop off for frame control? (vb 6) - 3 new -------------------------------------------------- I ended up solving the problem by eliminating the Frame and Option buttons all together, and just using a combo box. Works better and saves screen space. Thanks to those for replying... - Thurs, Dec 2 2004 7:11 am 3 messages, 3 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/19804aafae2bdb0c File Processing - 4 new ----------------------- Thanks, But how do I code it so that the application can loop through the folder loop through the folder looking for .csv files.When I have used dialog it has been to select a single file. Kevin - Thurs, Dec 2 2004 7:08 pm 4 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/d94eb5ed7c4e729a IE toolbar problem - 3 new -------------------------- ... [link] ...I doubt its a problem with your system The compatibility check will be looking for the DLL that you cant compile. Not your version of IE, But that's should not be the problem. Looking at the project description makes me think - Thurs, Dec 2 2004 6:42 pm 3 messages, 3 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/92b75fea7b3134e Parsing text - 4 new -------------------- Check out the Split & Replace Functions. Example: Dim WordArr() As String WordArr = Split(txtBox.Text) 'default delimiter is the space char 'now you have all the words in a zero indexed array, so dim i as long, j as long dim Punct as string Punct = ",.!()-+" ' add other punctuation symbols as desired - Thurs, Dec 2 2004 7:32 am 4 messages, 4 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/dbe092b37a4783d1 Code Listers - 2 new -------------------- What exact functionality are you looking for? I wrote PrintVB some years ago, but got sidetracked with other work and never updated it for vb5 and 6 or vb. net. Printvb prints subs, functions and declarations from a .frm or .bas file, and did full project printing for vb2, 3 and 4. For entire project printing, my old in the tooth - Thurs, Dec 2 2004 11:49 am 2 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/a98b9d64bb6945a8 msi installer - 2 new --------------------- Hello I have made a program in VB 6.0 that is to be installed with Microsoft msi installer. Together with the program I want to install a folder with some graphics. These files are not vital to the program, so the user must be allowed to delete them if he wants to. My problem is that the msi regards this folder as vital for the - Thurs, Dec 2 2004 4:25 am 2 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/cde4d6d1e8808763 REQ: Advice Using (data)control (DAO database) - 2 new ------------------------------------------------------ Hi, I have a database using DAO and a query. Now i'd like to show the results in a "data control". I only have to display the query results (no editing at all) In my app. the user can select a database (all databases have the same structure) What's the best control i can use (I need only two columns but a lot of - Thurs, Dec 2 2004 8:18 pm 2 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/6e81c47da7cc5803 Check boxes and Radio Buttons question - 1 new ---------------------------------------------- Mike, Thanks very much for the response, it is appreciated. I was using the hidden checkbox because checkboxes can be tied into the adodc data control object directly using their datasource property. Radio buttons do not have this, so I was just having the radio button turn the check box on or off and that would update the - Thurs, Dec 2 2004 9:28 am 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/df934060b3b585c6 Can I show my mdi child modally in my vb project? - 1 new --------------------------------------------------------- Thank you, SK - Thurs, Dec 2 2004 3:06 pm 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/1052fdc81c687153 Asynchronous Calls to a DCOM object in VB6 - 2 new -------------------------------------------------- ...Steve, Thank you. What you wrote made perfect sense. Ran like a charm. Kudos to you for being so clear in your writing. Again, thanks for all your help. Craig - Thurs, Dec 2 2004 10:24 am 2 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/4cceb60f1f9604f6 How to get hold of MSDN content - 4 new --------------------------------------- ...Don't forget that the Visual Basic documentation is also online: [link] - Fri, Dec 3 2004 10:43 pm 4 messages, 4 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/5c35a259c565dd18 createt usercontrol - 1 new --------------------------- hi, I'm new to vb.net and I'm trying to create a usercontrol which is displayed at the bottom of the design view at design time -- like the Timer or OpenFileDialog controls. Thanks davidm - Thurs, Dec 2 2004 1:09 pm 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/4c332c05898340ea Check Printer Status - 2 new ---------------------------- I have a good solution for your problem about printer status checking and monitoring. But the solution costs a bit. if still interested, Contact [EMAIL PROTECTED] - Thurs, Dec 2 2004 10:49 pm 2 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/897610be35cd4ee4 excel opened by VB program gives error when closed prior closing prg - 4 new ---------------------------------------------------------------------------- ...Although you can't get a "Quit" event, you can get a WorkbookBeforeClose event, which is just about as good. First, declare an Excel.Application variable with events: Private WithEvents mXL As Excel.Application Then you can get an event when a workbook is closed: Private Sub mXL_WorkbookBeforeClose( _ - Thurs, Dec 2 2004 7:21 pm 4 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/aa211ba63d3b839b Determining if a string is Unicode - 7 new ------------------------------------------ On Thu, 2 Dec 2004 22:13:29 -0000, "Mike Williams" ...You're thinking of Unicode pixels there, Mike. ;-) - Fri, Dec 3 2004 12:24 pm 7 messages, 7 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/bce8b5cdc19ba991 Annoying feature of VB6 - 5 new ------------------------------- On Fri, 03 Dec 2004 04:58:50 GMT, Bert Byfield ...I've been going to install that damn thing 'in the next few days' for the past two years, at least. I've even recommended it to a few people. Hm, X-mas break is coming. It's a big job, you know.. :) - Fri, Dec 3 2004 4:40 pm 5 messages, 4 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/eeef184719fb2176 IS there a way to access the BIOS in VB6? - 2 new ------------------------------------------------- I'm looking for a way determine the Motherboard brand name (ie:Dell or ASUS, etc) as well as the processor type (ie:Pentium 4, Celeron, etc). I'm fair in the use of VB6 and I'm reasonably familiar with API calls (experience using AllAPI.net). I've been able fo find much of the information I want through - Thurs, Dec 2 2004 8:49 pm 2 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/635b36ac8e5ecc5d Problem with WinSock.ocx client to WinSock.ocx Multi-client Server - 1 new -------------------------------------------------------------------------- The Winsock.ocx Client code below won't connect to the WinSock Server code below. Non-WinSock.ocx, such as MFC's CAsyncSocket, and OpenVMS clients work fine. Any ideas? Client code: ============= Private Sub cmdBuildCampaign_Click( ) Dim Desk As String Dim Status As String Dim dialer As String - Thurs, Dec 2 2004 1:44 pm 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/f682fa59f05a5ed2 Lock workstation doesn't work. - 1 new -------------------------------------- I posted a message about a week ago and it was gratefully answered, but I can't get it to work, it was for locking a workstation by clicking a link in a combo box. So could someone please post a message with an example of locking a workstation inside a combo box please. Thank you. - Fri, Dec 3 2004 2:10 am 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/2c7295d9391bd5ab retreive data from a list - 5 new --------------------------------- What about: For i = 1 to ListView1.ListItems.Count ' number of rows iSum = iSum + Val(ListView1.ListItems(i).text) ' Val returns the numbers contained in a string as a numeric value Next i Debug.print iSum or MsgBpx iSum Stefanie - Thurs, Dec 2 2004 9:21 pm 5 messages, 4 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/236bace4c8a8b678 open system log files - 1 new ----------------------------- Hi, I just had a strange problem. I wrote a VB program which need to open some system log files. But strangely that the 'OPEN myfile FOR INPUT AS #1' doesn't work. I've tried to use DIR() but it always tells me 'File not found'. Then I tried to open some normal text files which has no problem. I'm wondering is there something special about these - Thurs, Dec 2 2004 3:56 pm 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/389f76e566514030 SQL query and system DATE problem - 2 new ----------------------------------------- ...as you ...it ...because ...should ...presentation ...strings, ... [link] ... as in ...AND ...& ...I'm ...regional ...much ...Thanks for the help. I've got it sorted now. Probably not the best method, but it seems to - Fri, Dec 3 2004 2:50 am 2 messages, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/68b8c40be96a30f0 En-/decrypt a file to/from memory - 1 new ----------------------------------------- ...The average Joe will have a hard time to read this, but if you need more secure stuff, do a Google search for MD5 DLLs, or the PGP DLL, which used to be available from the Pretty Good Privacy site. : Aircode ! Function EncryptFile(inputFile as string) As Byte() dim b() as Byte, i as long, fLen as long - Tues, Nov 30 2004 12:00 am 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/622b29370c82d56a string subtraction - 1 new -------------------------- As long as you are dealing with integer values you should convert strings by CLng() instead of CInt(). Despite Longs is longer than Integers, -LongValues makes the fastest aritmetic. The reason. LongValues fits perfect into the CPUs aritmetic unit. Regards ako "Michael Harrington" <[EMAIL PROTECTED]> skrev i en meddelelse - Mon, Nov 29 2004 9:37 am 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/e7bc548ed020c709 HELP! Syllable parsing in String - 2 new ---------------------------------------- In message <[EMAIL PROTECTED]>, Colin Malcolmson <[EMAIL PROTECTED]> writes ... [link] might give you a start. HTH. Regards - Fri, Dec 3 2004 4:36 pm 2 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/e2f5303f777629e4 UserForm info needed - 1 new ---------------------------- I basically use VBA to enhance my excel programs. I recently wrote a program and added a UserForm to control the actiuons. It works just fine as the UserForm opens when the file is opened. I wrote a second one and the UserForm does NOT open when the file is opened. Can anyone tell me what they think I have done wrong. - Fri, Dec 3 2004 9:14 am 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/daae47276e9d5551 Program events - 1 new ---------------------- Is there a way to pick up on another programs form events before they fire? Such as knowing if the window has minimized for example? - Fri, Dec 3 2004 1: 58 pm 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/265258ffb50ae916 Modifying a textbox context menu - 1 new ---------------------------------------- How can I add options to a textbox content menu. An alternative would be to completely intercept and replace their context menu with my own... which would result in different questions.. How can I intercept and replace a textbox context menu and also duplicate the cut copy select all paste functions (would rather just add menu items to the - Fri, Dec 3 2004 8:55 am 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/814bbba7338f2af6 [ANN] SMC - State Machine Compiler v. 3.2.0 - 1 new --------------------------------------------------- SMC - The State Machine Compiler v. 3.2.0 Requires: Java 1.4.1 SE (Standard Edition) or better. Download: [link] Home Page: [link] ======================== ========================================= What's New? ========================= ======================================== - Fri, Dec 3 2004 5:55 pm 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/498af90ec583019c Escaping bad chars in string - 2 new ------------------------------------ I use the following function to remove invalid chars in a string before I use a post command to send to the backend: InternetCanonicalizeUrl(sText$, buffer, BufLen, ICU_DECODE) I'd like to be able to un-escape a string that has already had the bad chars escaped --in other words, reverse the process above. There doesn't seem to - Fri, Dec 3 2004 11:30 am 2 messages, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/9f49f1822d4ad0da Mail from Visual Basic to Lotus Notes - 1 new --------------------------------------------- Anyone know how to let my VB program send mail to a Lotus Notes system. A long time ago I did a different eMail application and used MAPI. My current version of (VB 6Learning Edition) does not seem to have the MAPI component. So: Can I get the MSMAPI component someplace or to I have to buy a different version of VB? - Fri, Dec 3 2004 11:05 am 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/2b724541ca14560c Need Help Displaying a UserForm when an Excel Program is opened - 1 new ----------------------------------------------------------------------- Hi Gang Sorry if this message appears twice. I'm new to the list and my first question hasn't appeared. I use Excel for most of my programs I put a VBA "UserForm" in front of them to control activity My question is how do you get a UserForm to display when the program opens. I have one program that is doing it and the second one is NOT - Fri, Dec 3 2004 1:31 pm 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/a10ba12358eea824 Transparent exe? - 1 new ------------------------ Thanks for the heads up. ...news:[EMAIL PROTECTED] plus.net... - Fri, Dec 3 2004 1:59 pm 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/ffaaed3be915ee3b Looking for independent offshore programmer. - 1 new ---------------------------------------------------- I need someone to work for about six months to re-write from the ground up a VB6-Access-Crystal program in VB .NET. This is a full-time project though you don't need to give 40 hours a week. This project has a very small budget that is why someone in China, India or other country where the dollar goes a long why would be ideally suited for - Fri, Dec 3 2004 6:58 pm 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/15460d26c03b0880 Search for string in an array - 1 new ------------------------------------- Sorry for such a trivial question, although Its been a while since I did any serious VB work so I'm a little rusty. This is one of those simple things that drives you nuts that you simpily just forgot... Written a text file into an array (with "mystring() = Split(Variable, vbCrLf)"), and I'm searching through that array for a perticular line, say - Fri, Dec 3 2004 7:57 pm 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/b1514f62f4738afd Constant Arrays - 1 new ----------------------- ...Thanks Guys, just what I needed. Mike - Fri, Dec 3 2004 7:59 pm 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/4126277c196a263a ============================================================================== You received this message because you are subscribed to the Google Groups "comp.lang.basic.visual.misc" group. To post to this group, send email to [EMAIL PROTECTED] com or visit http://groups-beta.google.com/group/comp.lang.basic.visual.misc To unsubscribe from this group, send email to [EMAIL PROTECTED] To change the way you get mail from this group, visit: http://groups-beta.google.com/group/comp.lang.basic.visual.misc/subscribe To report abuse, send email explaining the problem to [EMAIL PROTECTED] ============================================================================== Google Groups: http://groups-beta.google.com
