comp.lang.basic.visual.misc http://groups-beta.google.com/group/comp.lang.basic.visual.misc
Today's most active topics: * The right to use Visual Basic - 22 new http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/4a59c3bb9a19e7db * Speed of running app - 13 new http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/1c78a9a48967778d * Dongles... - 12 new http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/af13081289b9844e * How can send a query to Google? - 10 new http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/ca276d7170338585 * Device Context of a window - 10 new http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/4baae025814adf37 Active Topics ============= Printing RTB contents -- last line of each page missing - 5 new ---------------------------------- ... Actually, that raises a question for me... is this problem happening on other people's printers? I thought this was a problem only you were having. If you haven't check this out yet, it might be worth a try. If it happens on someone else's printer (especially if that is a different model than yours), then that would (probably) rule out a setting's problem. You are right, you should be able to work with the default settings; but something is stopping that. I have used the RichTextBox's SelPrint successfully on both of my printers here (a... - Wed, Aug 18 2004 12:29 am 5 messages, 4 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/62e171b5ac576dc5 Printing Source Code Does Not Work in VB.NET - 2 new ---------------------------------- I have not been successful in printing the source code for a vb.net form. When I print it I get something like this:- E:\VBdotNet\ADOdotNET\Form1.vb [ this is from the page heading] ,PSRUWV 6\VWH 'DWD 2OH'E 3XEOLF &ODVV )RU , QKHULWV 6\VWH :LQGRZV )RUPV )RUP :LQGRZ )RUP 'HVLJQHU JHQHUDWHG FRGH 3ULYDWH 6XE %XWWR B&OLFN %\9DO VHQGH $V 6\VWH 2EMHFW %\9DO $V 6\VWH (YHQW$UJV + DQGOHV %XWWR &OLFN (QG 6XE The original code was Imports System.Data.OleDb Public Class Form1 Inherits System.Windows.Forms.Form... - Wed, Aug 18 2004 4:48 am 2 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/a7b43a79beb67b76 Any feedback (good or bad) with these 2 button controls? - 2 new ---------------------------------- Public Property ChangeBackOver() as OLECOLOR ChangeBackOver = Variable that holds the colour End Property Public Property ChangeBackOver(byVal NewColour as OLECOLOR) Variable thats holds the colour = NewColour Some code or a call to redraw the button End Property That's about it! ... ... - Wed, Aug 18 2004 6:28 am 2 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/f0642c56f176a6fd NewMail Event - all new ---------------------------------- Sorry for the delay in answering, I lost power in the recent hurricane. I'd use the ItemAdd method for the Items collection of the Inbox. That fires for each item that comes in and has an Item argument you can use to get the EntryID of each item. Add that to a collection and when you handle the collection at a later time remove the now used reference from the collection so you don't handle it more than once. One thing to be aware of is that EntryID can change if the item is moved to another folder or deleted. So any rules that... - Wed, Aug 18 2004 8:56 am 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/3391e6553f5cd407 VB6 App Loses Drag-Drop Capability - all new ---------------------------------- Dear Guys & Gals: I've a VB6 app at a user site that worked just fine a couple of weeks ago but now has lost drag-drop capability (although other (non- VB?) apps on the PC retain it. Here's what happens: On the grab, the cursor changes into the hand-holding-document icon. When moving over the drop area, the cursor NO LONGER CHANGES to the hand-dropping-document icon. When dropped, the cursor returns to the source control (reportedly). I've had the user uninstall and reinstall the VB6 app, but to no avail.... - Wed, Aug 18 2004 9:51 am 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/1cc565ad26a9ecae DirListBox - 4 new ---------------------------------- Dear members, Is it possible to set a default folder as startfolder in the DirListBox, so when the form with the DirListBox is showed, the default folder apears ? Now it always starts with the ApPath. I like to change it to ApPath/ BackupFiles/Images HE ... - Wed, Aug 18 2004 10:02 am 4 messages, 3 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/71f44794ea558751 How can I temporally supress a KeyDown event - 5 new ---------------------------------- I'm a VB beginner. If someone could help me, I would greately appreciate it. What I want is to temporally supress keyboard events (e.g., KeyDown). For example, I have a program that shows a picture on the screen for 3 seconds and collects a keyboad response after the picture disappears. While showing a picture for 3 sec., I want to make sure that the system does not pick up a keyboad event. The keyboad event is captured only after the picture disappears. I have to temporally supress keyboad events. How do I... - Wed, Aug 18 2004 10:29 am 5 messages, 3 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/ae4dcfd4cb8dc930 Set MyData = New DataObject - 6 new ---------------------------------- I was following the instructions in Help to T, I thought, and pasted this code into a new project. However, when I hit the command button, I got an error that said "Invalid use of New keyword." Interestingly, I have used very similar code in a SolidWorks macro and it worked fine. What am I missing? WT Paste, PutInClipboard, SetText Methods Example The following example demonstrates data movement from a TextBox to a DataObject, from a DataObject to the Clipboard, and from the Clipboard to another TextBox. The PutInClipboard method... - Wed, Aug 18 2004 10:50 am 6 messages, 3 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/d45875f529aa1438 Process path - 2 new ---------------------------------- A while back, Frank Adams posted some code for me to retreive the path for a given process using GetModuleName api. I'm using XP which doesn't return paths for processes, just filenames. I've managed to incorporate his code into my app, but more often than not, GetModuleName api returns a zero! Any ideas? .. . - Wed, Aug 18 2004 11:11 am 2 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/5c39943be7026328 Connecting To App... - all new ---------------------------------- Hi All, I am launching an external piece of software from a utility console of my design. From there I queue up a bunch of projects related to that software and perform administrative tasks, index, pack data etc. I stayed away from using the VB 'SHELL' function because it runs asynchronously and for me that would be bad. I tried the ShellExecute API because I thought that ran Synchronously, however, my assumption appears to be off! Outside of the following SUB I perform some immediate inspections of the object, but apparently... - Wed, Aug 18 2004 11:25 am 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/9c882c55eea5742 Taskbar & Task Manager - 5 new ---------------------------------- Interestingly enough, if you have the Alt-Tab Power Toy for XP, it generates a different list again, showing non-visible windows. Perhaps it's an XP thing. . .. ... - Wed, Aug 18 2004 12:34 pm 5 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/fa2cf8b36bb8f058 ActiveX Exe server won't create file on network share - all new ---------------------------------- I have an ActiveX "out-of-process" server that can be instantiated in two ways: as a stand-alone application, and from another component as a com object. My stand-alone instance gives me no problems whatsoever, but when it comes to it being instantiated from another com-component its another thing. The difference (and part of the problem) is that the com dll starting it is running as a limited user, so my activeX exe inherits this user-credentials. This user does not have write- access to the network share the activeX exe... - Wed, Aug 18 2004 12:41 pm 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/5253d1ea7df3e98e VB 5 and VB 6 controls referenced in the same project - 3 new ---------------------------------- I'm attempting to merge code from two different VB projects into one. The first project was built with VB 5 and the "Components" window shows it uses "Microsoft Windows Common Controls 5.0 (SP2)". The second VB project uses "Microsoft Windows Common Controls 6.0 (SP4)". In order for the merged project to work I need to include both of these libraries. Then I get a project that has both VB5 and VB6 controls. For the most part that works. But there are cases where it causes a problem. Dim objNode as Node. Intellisense shows there are two "Node"... - Wed, Aug 18 2004 3:06 pm 3 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/a8c60a7dd1e32fff scrollbar problem - 9 new ---------------------------------- I have a textbox with a number in it and it is connected to a vertical scrollbar. It works except when I press the UP arrow, the value in the textbox decreases. When I press the DOWN arrow, the value increases. Any ideas? Thanks. ... HooOooRooOoo ...... - Wed, Aug 18 2004 5:43 pm 9 messages, 6 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/6d125606dc0d1c91 Access table to text file to MySQL table via VB5 - 4 new ---------------------------------- Hello, In order to export records from an Access 97 data table into a MySQL table on a local PC, where both tables have the same field names, I have done the following, which is working well. However, as may be seen, some of the procedure has to be written out from the DOS prompt each time, and it would be preferable to place it all into a VB app where one click would carry out the procedure. So far, in VB 5 I am doing this: 1. Copying all records from an Access table to a text box, where field markers, using pipe (|) and tilde (~).. . - Wed, Aug 18 2004 7:06 pm 4 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/e0443c102ce091f2 Thanks for all your help! You guys are GREAT! - 3 new ---------------------------------- Thanks to all those who have helped me over the past few years -- Mike, Frank, Rick, Ivar, Steve, Don and all the others. Self-taught in VB, working on my own and with only your help, I have developed some freeware that I am now distributing from my website. It is a dream come true for me -- the culmination of over 25 years of research and development in my spare time. And it is no exaggeration to say that it would have been impossible without your help. Thanks again for your patience and all your great advice.... - Wed, Aug 18 2004 10:49 pm 3 messages, 3 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/acff6ee9444212bb Randy Birch are you there? (COM Ports) - 3 new ---------------------------------- Hi I wonder if you could explain how to change the MSCOMM32.OCX to allow more then 16 ports, I 'am confronted with the same thing. Mike ... ... - Thurs, Aug 19 2004 12:44 am 3 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/379d634ef8b81f8a DataGrid replacement - 4 new ---------------------------------- Hi all I'm having some problems with the datagrid (SP6) and am wondering if any one knows if there is a free/cheap download I can use as a replacement? I need to be able to force a database update from another event, i.e. if the user changes a value, then clicks a button, I need to be able to trigger the datagrid update from the buttons event. At the moment, if the user changes say 4 items, then clicks on another button without leaving the 4th items row on the datagrid, the 4th item isn't sent to the database. I've tried things like... - Thurs, Aug 19 2004 3:02 am 4 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/1fe4e6a314b02593 Large Forms - 5 new ---------------------------------- I have a large form that I have recently upgraded from VB6. The form contains a number of "input areas" that are identical and all but the first of these are hidden initially. There are 21 in total and so because of the screen resolution constraints the form autoscrolls. When the user makes a non-terminal selection they are presented with a further input area. The input areas appear correctly until they begin to appear in the scroll area (> screen res). At this point they appear with gaps between ... - Thurs, Aug 19 2004 3:43 am 5 messages, 3 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/8d065edaef0d9bdb Unwanted 'Beeps' associated with TextBox - how do I loose these??!? - 6 new ---------------------------------- Hi folks, seems certain user initiated events cause 'default' or 'definately unasked for' Beeps in runtime in vb. (These are same as you would get if you included 'Beep' in your code, but NOT initiated by code). It happens whenever the user presses 'return' to enter text from a textbox. but EVEN MORE ANNOYING it is happening whenever a KeyDown() function I have written executes mid-word in what is supposed to be a seamless data entry experience for the user! (the code executes when ALT + a letter key happens, and places an... - Thurs, Aug 19 2004 4:05 am 6 messages, 5 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/7f838f3fd93527ce pre-testing sql query - 8 new ---------------------------------- using:: VB6 / MySQL What is the best way to test a query before it is sent to the database? I am making a program in which the query can/will be dramatically different depending on what the user fills out on a form. My main concern is the user accidentally breaking the statement, by putting in valid data such as a text/memo field containing some ". eg. INSERT INTO ... " and then she said "hey there" to joe".... obviously the above will fail. even if i can just get it to return an error message, that would be more... - Thurs, Aug 19 2004 5:29 am 8 messages, 5 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/4dca049b89e4b487 Calling a DLL from Visual Basic 6.0 - all new ---------------------------------- ... So you've added the As Integer, and you still get a calling convention error? What are you passing exactly as the last parameter? Murphy www. ConstantThought.com ... - Thurs, Aug 19 2004 6:45 am 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/4b37dd3d4c6212bf GetPixel, SetPixel, PictureBox - 6 new ---------------------------------- So, I have a window device context with an image in the window and I have a PictureBox in a form window. I try (over a rectangular range of x and y): pixelColor = GetPixel(WindowDC, x, y) retColor = SetPixel(Picture1.hdc, x , y , pixelColor) and get something less than I expected ... The color I get from SetPixel into the PictureBox is always the same and has no relation to 'pixelColor'. The pixelColor changes but the result into the picture box is a constant color. I've tried extracting the RGB values from... - Thurs, Aug 19 2004 8:06 am 6 messages, 3 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/4d6e46be495565b7 treeview backcolor - 2 new ---------------------------------- Hi all, I like to change the backcolor of a treeview control. I found this http://www.freevbcode.com/ShowCode.Asp?ID=2135 But I find it hard to follow the code. All I want is the backcolor to be black and the color off the text( forecolor) to be Dark-red. In essence, is there a way to change these colors to any color ? thank you in advance Groetjenz, Mickey... - Thurs, Aug 19 2004 11:29 am 2 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/80c8c7d13d8e7fa3 How can send a query to Google? - 10 new ---------------------------------- I'm running a database application with records of authors. Many of those writers stil have no data (birthdate etc.) in the database. Is it possible to send a query from the program, either directly to Google or to Internet Explorer? If so, how? Cheers, Peter ... - Thurs, Aug 19 2004 1:50 pm 10 messages, 6 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/ca276d7170338585 Get a network host name if you have the user name - 6 new ---------------------------------- I use mailslots to send messages on our LAN. The only problem is, that I have to type in the exact host name. NET SEND can send messages to a login name too, which is a lot mor convenient. How can i resolve the host name when i have a user name or an ip address? ... - Thurs, Aug 19 2004 2:17 pm 6 messages, 3 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/afb4806884b4eda4 MaskEdBox overlapping ComboBox or DataCombo - 3 new ---------------------------------- Is there a way to control which controls appear to be "on top". For example a MaskEdBox shows up "on top" of a ComboBox when the 2 controls overlap, but a MaskedBox shows up "underneath" a DataCombo when 2 controls overlap. How can I force a MaskEdBox to show up "on top" of a DataCombo when whey overlap? Thanks. ... - Thurs, Aug 19 2004 4:58 pm 3 messages, 3 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/9ff70236d89b43f3 ActiveX control - 4 new ---------------------------------- Just wonder if its possibly, or better yet, if someone else already did it. i want to make a control that is basically a text box, with a label on the left of it. Im sure im not the only who finds it to be a pain, when your making a form with a lot of text boxes.. ... - Thurs, Aug 19 2004 11:04 pm 4 messages, 4 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/1879db96ef0819f2 Custom programming - all new ---------------------------------- Hello, Do you need custom programming done for your business, or even your home projects? We are an experience computer programmers from Russia. We do all kinds of custom jobs for people who need something special, but don't need to hire a full-time programmer. One of our major advantages is lower price. Our price is approximately 10-20 USD per hour. Our other advantage is high product quality. Please visit http://grud.tk for more information. The group of Russian programmers, [EMAIL PROTECTED] ... - Fri, Aug 20 2004 3:22 am 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/13563ffd353faa43 transparent background - 7 new ---------------------------------- please be gentle im a real beginner at vb6 howw do i show something on the screen without it being in a box, for example some text with a transparent background so you can see whats behind it thanks ... - Fri, Aug 20 2004 5:06 am 7 messages, 5 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/c6cd8f15fa5f1b1c Sprite collision detection - 2 new ---------------------------------- ... I checked out the PtInRegion and found the following: If PtInRegion( tSprites_hWnd(1), dX1, dY1) <> 0 Then The above won't work unless I test each point around the curcumfrence of picSprite(1)... ie: picSprite(1).Center + Radius1 @ Angles 0 to 360 [Step x] I'm currently using --> If ((dX1 * dX1) + (dY1 * dY1)) <= _ ... and it seems to be doing the job... I'm still having a problem with the Repel Direction calculation at the point of Collision... I'm calculating the collision angle using the center points of each sprite and. .. - Fri, Aug 20 2004 5:30 am 2 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/4af82b253ca660b2 To much memory for VB4 - 2 new ---------------------------------- Hi, I´m have a strange problem with an application I wrote a while ago in VB4. The problem is that I´m trying to use it on a client machine which has 4 Gig. memory. When I start the application it gives an error: Out of memory. But when I decrease the memory to 1 Gig. it works fine. Any suggestions. Thank you. ... - Fri, Aug 20 2004 8:04 am 2 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/983ddf9ebae29dc5 Mike Williams - 6 new ---------------------------------- Hi Happy birthday Mike and thanks for your help here. Regards... - Fri, Aug 20 2004 8:41 am 6 messages, 5 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/5b6a1002c40034f4 Reserving a com. port for my VB app - all new ---------------------------------- Hi, is there any way of preventing other applications from accessing a com port. My app controls a production line printer via a com port. The problem is that if my application is not running, the com port is available for any other app to use, which usually causes the printer to mis-behave. I was considering writing another app to run as a process which grabs all the com ports required my my main app, and releases a com port to the main app when required. Is there a better, simpler or cleverer way to... - Fri, Aug 20 2004 10:49 am 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/9cc1424563a664a6 suppressing a keyboard event while pausing - 7 new ---------------------------------- How can I temporally suspend keyboad events while pausing? I use PauseMe() to suspend the execution of a program. For example, Shape1.visible = True PauseMe(2000) Shape1.visible = False makes Shape1 visible exactly for 2 seconds, and then disappear. The problem is that this program processes keyboard events while the program is pausing. For example, if a user press a space bar during a pause (2sec), then that information is processed in the Form_KeyDown() procedure, which is written in the program. How can I avoid this? Is there any way to... - Fri, Aug 20 2004 11:36 am 7 messages, 4 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/31b739c8208925a9 Odd VB6 problem with SendMessage..Help? - 3 new ---------------------------------- Hi, all.. Situation: I have an existing program X that, at times, displays a modal dialogbox awaiting a user to click a response. The problem is that this dialog will fire for applications running in a hidden window (eg services, jobs), so there's no way to access the window directly; we have apps that trigger this dialog, and they're hanging as a result. I used Spy++ to ID the window and get the command/message to close it, and write an out-of-process VB COM EXE to watch for the dialog and SendMessage the command to close it. All was... - Fri, Aug 20 2004 2:02 pm 3 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/f2224a35df2427f9 MSComm Error 8021 with desc.: "Application-defined or object-defined error" - all new ---------------------------------- Can someone tell me the possible causes of the error I have? I have the error 8021 (Application-defined or object-defined error) in a Sub that contains the line FrmMain.MSComm1.Output = (Q$) where Q$ is a string we send on Com1. It contains some other lines, but it only assign a variable to the value 5 and set an Image visible and another image invisible. In the current circumstance, I suppose the error 8021 is caused by MSComm control. The description of the error 8021 for MSComm control is "Internal... - Fri, Aug 20 2004 4:20 pm 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/3de4522b7dfe820d Help with MDI forms? - 3 new ---------------------------------- Hello. Problem: I have created a new UI for an old project I have. It is now consisting of one MDI form and many child forms "melting" into a seemless UI in a similar manor as a framed web page would do. And it actually looks fantastic! The first time an MDI child is loaded (all forms have controlbox = false and WindowState = Maximized) it shows seemlessly and without any flickering. But when switching between forms that already have been shown it appears like the form requested is first shown in normal mode and then maximized... - Fri, Aug 20 2004 4:23 pm 3 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/65f0e288f3062fc ShowInTaskBar - 2 new ---------------------------------- Hi all I have a form with no border. This form will show when the prog starts and when the user clicks a button the form will hide but not unload. under various conditions I want this form to be shown in a VBModal state or not show at all. No problem with this. Only thing is, there are times where I would like the form to show in the task bar and sometimes not. Is there a way I can 'Toggle' it's ShowInTaskBar state, at run time, even with no border? Thanks Ivar ... - Fri, Aug 20 2004 6:06 pm 2 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/b309030417cba494 VB 6.0 - all new ---------------------------------- Thank you everyone for your great responses. I appreciate it very much. . .. - Fri, Aug 20 2004 6:40 pm 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/ef4fab85d58671cc Terminating VB application - 4 new ---------------------------------- Hi.. I have application that has bordersyle as NONE. THerefore i dont get the close button.So i have to manually terminate the application. I tried using sendmessage API to terminate the application but some how sometimes the application is not terminated. please help in this regards. Regards, Rohan. ... - Fri, Aug 20 2004 8:39 pm 4 messages, 3 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/c3cef59a0c5b0d06 ASP.NET Help - 5 new ---------------------------------- Hi, I'm new programing in Asp.NET and I need Your Help. I need to make and control sessions based in forms. Generally in PHP I make in a root directory the pages where you don't need sessions, and whe You login some page you are redirected to a subdirectory. Sorry I understand english, but it's difficult to write. Thanks in advance. ... - Fri, Aug 20 2004 8:53 pm 5 messages, 3 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/7938a934d642d43f Can SomeOne please Help - 2 new ---------------------------------- If you guys are to scared to download anything then look at this flash game City Jumper. http://www.ebaumsworld.com/jumper.shtml Hurdler is basically jsut a rip of that. All I need is for VB to sendkeys like {UP} or {RIGHT} at timed events. I can get it to send some keys but it doesn't send all the time and sends at different times. VB not good for this?What programming would be better for this kind of program? ... - Fri, Aug 20 2004 11:37 pm 2 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/cdb419dc74e09c08 SQL problem in exporting Text to MySQL - 4 new ---------------------------------- Hello, The following SQL, typed in at the DOS prompt, will export data in a text file to a MySQL data table: C:\> mysql mydb mysql> LOAD DATA LOCAL INFILE 'mytable.txt' -> INTO TABLE mytable -> FIELDS TERMINATED BY ',' ENCLOSED BY '"' -> LINES TERMINATED BY '\r\n'; This is working very well. However, I can't get this same SQL to work in Visual Basic 5, which would avoid having to go to the DOS prompt to carry out the procedure. In VB the SQL is written as one line, without the concluding semi-colon. I am trying to do it simply, through a VB... - Sat, Aug 21 2004 3:23 am 4 messages, 3 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/97cda886641cc755 Alt-Tab replacement - 2 new ---------------------------------- If I want to make an Alt-Tab replacement, how do I stop the current one, and how do I go about setting up hot-keys for mine? ... - Sat, Aug 21 2004 3:40 am 2 messages, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/5823233d95497015 Iconic windows - 3 new ---------------------------------- A strange thing here. I wonder if anyone here finds this same odd behaviour. I'm using XP & VB6. If I restore an iconic (minimized) window that was previously maximized, and use OpenIcon to restore it, it doesn't restore to maximized. Not all windows exhibit this behaviour, but so far Explorer, KazaaLite and API-Guide do it. I'm guessing it's to do with the program rather than the API, but it is still strange. Actually, API-Guide does the same thing if you restore it from the taskbar. In fact, (and I'm pretty... - Sat, Aug 21 2004 8:13 am 3 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/f7b1d7b648cdba24 This is making me nuts! - 4 new ---------------------------------- I threw together a small program this morning that will wait for a CD to come up to speed before exploring to it, and if it times out, open/close the drawer and try again... BUT.... From the IDE, this program works flawlessly, and without issue, but once packaged, and installed, it generates... CDSYNC caused an invalid page fault in module <unknown> at 0084:668623b4. ...the moment it does it's job, and terminates. I've tried a padload of different things, but to of no avail. Someone please tell me what's wrong, before I lose my mind!... - Sat, Aug 21 2004 8:45 am 4 messages, 4 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/486439b3b45fd575 VB6 Label Control Caption Length - 6 new ---------------------------------- Hi, According to the docs, the label control caption length is limited to 1024 bytes. I've tested this for more and it works fine. What I cannot determine for myself is whether exceeding this limit creates any memory leaks or stack problems. Anyone know the definitive answer to the ACTUAL length the label control caption can safely be? Thanks. HMdesigner ... - Sat, Aug 21 2004 11:57 am 6 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/19f1f1e8886e9d38 VB6 MouseWheel Does Not Work With WebBrowser Control - 7 new ---------------------------------- Hello All, I have added a webBrowser control to a form that gets called from another form and displays an .HTML file that has a running commentary on what's been happening in the app so far. The MouseWheel doesn't work within this webBrowser control. I've tried putting the WebBrowser control inside a PictureBox and also atop a Frame Control. Neither container gets the MouseWheel working. Any suggestions? Thank You, HMdesigner ... - Sat, Aug 21 2004 1:07 pm 7 messages, 3 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/9e7c71fef35ad145 search and replace - 3 new ---------------------------------- I wanted to be able to include user input from text boxes into an sql statement. I'm a little worried about people quoting text and accidentally breaking the sql. I made a function(that works) that can take the input from a textbox and convert it to a websafe version. ie, the user types in "It's mine." the function would return &8220;It&8216;s mine.&8220; Well i dont know if the numbers are right off hand, but you get the point. The way the function works is it looks at each character. ... if CurChar = chr(34) then... - Sat, Aug 21 2004 3:48 pm 3 messages, 3 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/2a3dbfe53c385a03 network monitoring. - 2 new ---------------------------------- I wanted to make a program that monitors hosts, to see that they are up. I want to make the part of the program that does the testing in either Perl, Pascal, or maybe VB. One of the GUI's is going to be in vb, but I would prefer to have the part the does the polling on a unix system, Preferably perl. But I will setting for any of the above 3 langs. I want to be able to poll the hosts every 5 minutes. So i figured I would send a really small 1 packet ping to each host every 2 mins. Lets say I have a list of 255 hosts... - Sat, Aug 21 2004 4:06 pm 2 messages, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/e503e0b8d446964e Network Monitoring app. - 3 new ---------------------------------- [sorry for the double post in vb.misc...] I wanted to make a program that monitors hosts, to see that they are up. I want to make the part of the program that does the testing in either Perl,Pascal, or maybe VB. One of the GUI's is going to be in vb, but I would prefer to have the part the does the polling on a unix system, Preferably perl. But I will setting for any of the above 3 langs. I want to be able to poll the hosts every 5 minutes. So i figured I would send a really small 1 packet ping to each host every 2 mins. Lets... - Sat, Aug 21 2004 4:09 pm 3 messages, 3 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/443afc87de51dbd0 ActiveX Doc accessing UserDocument object model in pulic module - 2 new ---------------------------------- Is it not possible to access the UserDocument object model in a public code module when creating an ActiveX Document. For example, if I am within the UserDocument code module, if I type UserDocument1. the Intellisense pops up all of the possible methods, etc. But if I do the same thing in a public code module it fails. This means I cannot access control properties from a public code module as is possible in a regular VB app. Is this normal? Is this the way it is supposed to be when creating ActiveX Documents? Any... - Sat, Aug 21 2004 5:46 pm 2 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/f03b8265ff7d0e7a Device Context of a window - 10 new ---------------------------------- If I have the hDC of a chosen window, how can I copy it to a PictureBox? The only way I thought of doing it was with BitBlt, but if the window is obscured by another, I get some of the other window. Basically, I'm trying to create a preview of different windows using just their hDC as a reference. How can it be done? ... - Sun, Aug 22 2004 2:18 am 10 messages, 4 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/4baae025814adf37 media player object - 2 new ---------------------------------- How do i include the media player object msdxm.ocx into my programs for distrubution because i keep ketting msdxm caused and error (when my app is run on an another computer after being installed) and on the deployment wizard and visual studio installer says dependancy information is missing for the object. HELP ... - Sun, Aug 22 2004 6:13 am 2 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/a1f9f47d0b1e89ba Very excellent source codes of various langauges - all new ---------------------------------- Follow the link below http://www.earnmoneyindia.com/earn/idevaffiliate.php?id= 425 ... - Sun, Aug 22 2004 11:02 am 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/1d037ee0735e1808 Suggestion for Beginners to Visual Basic 6.0 - 6 new ---------------------------------- Dear Members, Please suggest few good books that assist in a fast paced learning to Visual Basic 6.0 Thanks, RSB ... - Sun, Aug 22 2004 11:12 am 6 messages, 6 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/59d54b500c897a76 Dongles... - 12 new ---------------------------------- Yes, I hate the idea too but can't think of any other solution. We are about to release a v. expensive application ($1000`s) to a single organisation. We will only ever sell a handful of systems. We will be charging per seat and require a solution whereby they can only consecutively run the number of licenses we have sold them. They will find it very tempting to make extra copies and we are a small firm on the other side of the world. I have tried a home-brew software solution that offers a short grace period on... - Mon, Aug 23 2004 4:09 am 12 messages, 8 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/af13081289b9844e Programming a Windows Service... - all new ---------------------------------- Hello, Do you know how to program a Windows NT Service? I want to create a Windows NT service, and when it started, I want to know when user try to stop it, to be able to launch specific operations. In fact, i want to know how to trap shutdown service information for the service I want to create. Thanks in advance for your help, regards, Jerome DESMOULINS ... - Mon, Aug 23 2004 4:59 am 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/cfc8ca5289717027 Need routine for converting text length to twips - 8 new ---------------------------------- I seem to remember there was something in VB that would give you the length of a line of text placed in a picture box using picture.print. Anyone know how to do this? Thanks Sal in Iowa. ... - Mon, Aug 23 2004 8:02 am 8 messages, 6 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/19f7f6076b5bf896 The right to use Visual Basic - 22 new ---------------------------------- This is not a programming question, really. What I would like to know is, can you develop a program in Microsoft Visual Basic 6.0 and then sell it? Or does that violate Microsoft's copyright on Visual Basic? I have an idea for a program that I think would be of value to a number of companies and I would like to program it in VB (on my time) and sell multiple copies of it. The book I have on consulting only goes into the issue of the consultant versus the client's rights. Robert ... - Mon, Aug 23 2004 9:47 am 22 messages, 9 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/4a59c3bb9a19e7db Accessing UserDocument controls from Public BAS - 6 new ---------------------------------- I am creating an ActiveX Document. One issue I've found is that I am not able to reference controls on the UserDocument from a public BAS module. Whenever I do so I receive an error that the variable has not been declared. This behavior is different than a normal VB project where controls on Forms can be referenced readily from a public BAS. How does one overcome this limitation? JW ... - Mon, Aug 23 2004 10:17 am 6 messages, 5 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/bad3c2bb5c7d23fc DSOFile.dll - all new ---------------------------------- I am using DSOFile.dll to get the count of words in a Microsoft Word Document. However, the property WordCount does not return the correct value. The number of words returned by the property does not equal to the number of words that can be found under Tools->Word Count-> Words when you open a Microsoft Word manually. The value sometimes is greater and sometimes is smaller than the actuall correct value specified in Word. Has anybody seen this problem before? What is the cause? Is there a solution? Thanks,... - Mon, Aug 23 2004 9: 15 pm 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/42b1bbfca3f0a3fc Full Screen / Kiosk Mode in VB6 - 5 new ---------------------------------- Does anyone know how to make a program run in full screen mode like iexplore. exe -k does? I need it to not have a title bar and all buttons would be in the program itself. Also I would like to know if anyone knows how to make a program appear on monitor 2 in a multimon setting? If there a way to tell a program which monitor it should appear on? Thanks ... - Mon, Aug 23 2004 10:11 pm 5 messages, 3 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/9fa0ce35d97eb756 System tray icons no re-appearing - 4 new ---------------------------------- I'm using XP, and even though it's quite a stable OS, occasionaly Explorer will crash and re-start itself. When it re-start, some of the icons are missing, and they are always (amongst others) the icons for my own apps. Why don't they re-appear, and if it's to do with my app, how do I fix it? ... - Tues, Aug 24 2004 2:34 am 4 messages, 4 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/f87d13b98e34cff8 Speed of running app - 13 new ---------------------------------- This is something I have noticed of a lot of my apps, regardless of what they do, but more noticable on apps with more graphics. When I run them the first time, the form can take longer to draw. Example: my Al-Tab replacement... The app is always running, so when I press Alt-Tab, it uses Show to show the form and uses Hide to hide it afterwards. The first time it appears, it takes a while to appear (about a second or 2), and after that, it appears almost straight away. And yet the information on the form can be different... - Tues, Aug 24 2004 2:39 am 13 messages, 6 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/1c78a9a48967778d Not a question. but need a bit of help - 8 new ---------------------------------- Hi all. In my spare time over the past few months I have been creating Solitaire card games using VB6. The current game that I have just about finished contains three games. An enhanced version of Spider, an enhanced version of Golf and a game that I invented myself based on Brag where you play against the computer. Eventually I would like to release these games on the internet, but before I do, I would like some opinions from people I don't know about the games. Would you like the exe file? Try to break it,... - Tues, Aug 24 2004 4:27 am 8 messages, 5 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/448956254256e009 Help with HTBasic PCL Commands and Printing - all new ---------------------------------- Hi, I am trying out HTBasic 9 because we need to move from a very old HP9000 machine to our windows NT4 pc (with an HP Laserjet 4050N attached to LPT1 using the PCL5e driver.) I have moved one of the programs accross and with a bit of work can get it to work, except for the printing aspect. The program should print certificates of tables showing temperature readings. The program uses PCL commands to layout the page of the report, however I cannot get these commands to work on our windows pc using HTBasic. A simplified example of what I am trying to... - Tues, Aug 24 2004 4:27 am 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/1e26f6a719222653 sending commands with MSCOMM - all new ---------------------------------- Guys, I need help with this: I'm trying to send commands to an instrument conncted to the COM port. Well, the first command arrives just fine, and the instruments responds with a charachter (&H6), that everything is fine. Now the thing is that I want to send more commands after the instrument responds that a command has arrived. So the idea is that after a command is sent, the program waits for reaction from MSComm1_OnCom, and then sends second command etc... How can I do this? This is the code I have: [vb]... - Tues, Aug 24 2004 5:56 am 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/a1e7f26721d2e2d8 Permission denied writing file - 2 new ---------------------------------- I am trying to write to a sequential text file on my home intranet using Personal Web Server. I have got the brower, server and asp working fine on other applications but when I use :- Set myfile = FSO.CreateTextFile(StrPath) I get "permission denied". Using Set myfilex = FSO.OpenTextFile(StrPathx, 1) to read an existing file is no problem. I have been through IIS on my server setting every permission I can find but I still get the permissions problem trying to write. Help please Mike ... - Tues, Aug 24 2004 5:59 am 2 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/36ec8bc1c6b8aef1 Help with printer object - 7 new ---------------------------------- Hi I am looking for some answers to a few questions regarding the printer object please How can I retrieve the margin width in mm of the paper Ian . .. - Tues, Aug 24 2004 12:17 pm 7 messages, 2 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/2dfa8d3bbf72b3e4 Open One Instance in VB6 - 3 new ---------------------------------- I built a little browser with the WebBrowser feature in VB6 that goes to an URL by command line (i.e. browser.exe http://yahoo.com). Is there a way to make it so it does not launch a new instance each time it is run through the command line? I would like to have it just change the page. Thanks! ... - Tues, Aug 24 2004 2:28 pm 3 messages, 3 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/be8e51df100c3fcb Counting Files with API ??? - 4 new ---------------------------------- Hi there, I'm looking for a script to count recursively the number files in a directory. I made a script using the FileSystemObject, but that's way too slow. Actually, I was hoping that this could be done with an API call. I hope you can help me. Thanks! Ramon. ... - Tues, Aug 24 2004 3:24 pm 4 messages, 3 authors http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/574c25d0d304a93c Personal Mail Client - all new ---------------------------------- ... going to pay for software I could otherwise get as a free promotional offer. I am both unemployed and inherently cheap. If accepting a free copy of VB .NET 2003 forces me to accept some restrictive terms, then so be it. It's better than piracy and it still saves me money. I have never had a problem with any software company using the rights they reserve in the EULA, and until I do, I'm gonna keep on being cheap ; ) Aside from that, thanks for your help. Several of my friends and I are working on the program and we hope to... - Tues, Aug 24 2004 6:28 pm 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/e0ddd8883b223cf8 Automating Word: Intermitent Problem Between Opening and Printing - all new ---------------------------------- Hello, I have designed an program that takes many Word documents prints them to file. But I occasionally have problems with it. The problem is due to my inexperience with VB, poor design, and incomplete knowledge of VB with Word. After opening a document, I wait for it to finish printing before moving on. I wait by checking the BackgroundPrintingStatus and looping back. Unfortunately, after the documents opens, the Document.PrintOut command * sometimes* gets skipped so the BackgroundPrintStatus is always False and ... - Tues, Aug 24 2004 8:57 pm 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/1e6b99841cb5298e Recognizing current media player song - all new ---------------------------------- I need for my program to get the current track information from Windows Media Player. I want to display the track name, artist name, and album name. Does anyone know of a way to do this? I am using Visual Basic 6 and Windows Media Player 9. Any help would be appreciated. ... - Tues, Aug 24 2004 8:49 pm 1 message, 1 author http://groups-beta.google.com/group/comp.lang.basic.visual.misc/browse_thread/thread/a40f31c8ee2be807 ======================================================================= 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 ------------------------ Yahoo! Groups Sponsor --------------------~--> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar. Now with Pop-Up Blocker. Get it for free! http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/BCfwlB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/kumpulan/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
