CompuServe Archive

This is an archive of CompuServe forum messages from 1985 to 1995, as saved in transcripts by John Foust.

Search Results (159 messages)

#3152 #Printer Orientation Message #3473
From: Don Funk MS BASIC Forum · Visual Basic October 16, 1991 6:27 PM
Hi Nelson, You may have to open a link to the printer first. There was some problems with printing the bitmaps where you had to throw in a Printer.Print "" first to "wake" up the printer. Try this. Don Funk There is 1 Reply.
#3143 VB Large model? Message #3472
From: Don Funk MS BASIC Forum · Visual Basic October 16, 1991 6:27 PM
Hi Robert, I should be using the medium memory model. Don Funk
#3127 PDS / VB Message #3471
From: Don Funk MS BASIC Forum · Visual Basic October 16, 1991 6:27 PM
Hi Hurbert, I think I already replied to this but… There are two companies that I know about that supply ISAM: Coromandel Indust. inc. 718-793-7963 Software Source ($99) 510-623-7854 Don Funk
From: Don Funk MS BASIC Forum · Visual Basic October 16, 1991 6:27 PM
Hi Ted, It's a bird, no it's train, no its….. I haven't heard of a problem with having a problem with 2300-2400. Can you post sample code to do this? You have to remember that although you can go past 32K if in another scalemode, when it is converted to…
#3126 ScaleLeft/Top Errors Message #3469
From: Don Funk MS BASIC Forum · Visual Basic October 16, 1991 6:27 PM
Hi Graeme, Go ahead and upload the file. If it is only 20-30 lines, it would be alot easier. Don Funk
From: Don Funk MS BASIC Forum · Visual Basic October 16, 1991 6:26 PM
Hi Tom, The *.INI files are ASCII text files, you shouldn't have any problem with them as long as you access them with a "Open file$ As Input As #1" Don FUnk
From: Don Funk MS BASIC Forum · Visual Basic October 16, 1991 6:26 PM
Hi Tom, WriteProfileString will not add another instance of a keyname such as: DEVICE=mydevice DEVICE=yourdevice To accomplish this, you will need to do the ol' Open filename For Input #1 Open filename For Output as #2 ' read from one write to two delete one rename two to one Close…
From: Don Funk MS BASIC Forum · Visual Basic October 16, 1991 6:26 PM
Hi Bob, Mark is right about the way you can do COM with VB. If you have a simple app that does not change any of the parameters of the COM port, you can do the same thing you did in the QBASIC/QB programs: Open "COM1" For Random As #1…
#3161 #Printer Positioning Message #3464
From: Don Funk MS BASIC Forum · Visual Basic October 16, 1991 6:26 PM
Hi George, You can duplicate all printing to go to a picture control that is scaled to the printer. Then when you have proved that your code it "good", then change the "picture" to "printer" in your code and you should get the same. I solved the problem with one…
From: Don Funk MS BASIC Forum · Visual Basic October 16, 1991 6:26 PM
Hi Mark, I would change the data bit to "zero". Don
From: Don Funk MS BASIC Forum · Visual Basic October 16, 1991 6:26 PM
Hi Keith, Thanks for the bug. I couldn't duplicate it until I entered the Print "Hello" statement. I will add this to the bug report. Don Funk
#2949 #Windows Calla Message #3196
From: Don Funk MS BASIC Forum · Visual Basic October 15, 1991 10:45 AM
Hi Chester, The lpColorValues is a pointer to an array of integers that specify the RGB colors. You would have to fill this array *before* you made this call. The SetSysColors will not do this for you. Don Funk There is 1 Reply.
#2910 PDS to Visual Basic Message #3195
From: Don Funk MS BASIC Forum · Visual Basic October 15, 1991 10:45 AM
Hi Herbert, There are two products for ISAM/VGB that I have *heard* about on this forum. Coromandel indust. Inc 1-718-793-7963 Softbridge Source 1-510-623-7854 ($99) You may want to ask everyone here if they have had any experience with either. Don Funk
From: Don Funk MS BASIC Forum · Visual Basic October 15, 1991 10:45 AM
Hi John, You cannot pass control arrays to a sub. i will add this as a suggestion for future release. Thankyou. Don Funk
#2863 Wish list Message #3193
From: Don Funk MS BASIC Forum · Visual Basic October 15, 1991 10:45 AM
Hi Bryon, I am not sure what you mean by Printer.NewPage/Printer.EndDoc. Do you mean a Sub Printer_EndDoc, Sub Printer_NewPage? If so, VB does not determine this. VB just send commands to the printer/windows. It determines when a newpage is necessary. The enddoc can be already handled by just doing whatever…
#2877 Printer Positioning Message #3192
From: Don Funk MS BASIC Forum · Visual Basic October 15, 1991 10:45 AM
Hi Keith, You may want to look at the example about ScaleWidth that I sent Bryon. Don Funk
#2861 Printer Positioning Message #3191
From: Don Funk MS BASIC Forum · Visual Basic October 15, 1991 10:45 AM
Hi Bryon, Use Scale[Width/Height] for your computation. Scale[Width/Height] will give you the client area which is the printable area. Don Funk Sample code… Sub Command1_Click () Dim PageNo As String Header$ = "Yess" Printer.CurrentX = 0 Printer.Print Date$; Printer.CurrentX = (Printer.ScaleWidth – Printer.TextWidth(Header$)) Printer.CurrentX = Printer.CurrentX / 2 Printer.Print Header$;…
#2832 #DateValue bug in VB Message #3190
From: Don Funk MS BASIC Forum · Visual Basic October 15, 1991 10:45 AM
Hi Isaac, I tried the following and got the same serial date printed each time. Could you include code that shows this. Don Funk Sub Form_Click () '33602 Print DateValue("30-Dec-91") Print DateValue("12/30") Print DateValue("30-Dec") End Sub There are 2 Replies.
From: Don Funk MS BASIC Forum · Visual Basic October 15, 1991 10:45 AM
Hi Roger, Welcome to 'C/API'. You can use the GetWindow API to retieve information about the exe's running at the instance. This would retieve the handle to the app running. With this you can use GetWindowText. This will get the 'title bar caption' of each window. I am not sure…
#2760 #Floppy File Errors Message #3187
From: Don Funk MS BASIC Forum · Visual Basic October 15, 1991 10:45 AM
Hi Kenny, I tried a quick example similar to what you were stating. I was able to duplicate and learn what VB is doing. WHen you are writting to disk, you are actually writting to the Windows file buffer, to be written when Windows determines the need. It will not…
#2755 #Calling DOS!@#$%^ Message #3186
From: Don Funk MS BASIC Forum · Visual Basic October 15, 1991 10:45 AM
Hi Mitchell, I have heard that Bridge from SoftBridge does some communication to DOS from Windows. There phone number is 617-577-2257 out of Cambridge. Don FUnk There is 1 Reply.
#2734 #Listbox item Tag Message #3185
From: Don Funk MS BASIC Forum · Visual Basic October 15, 1991 10:44 AM
Hi Rob, I haven't tried this but looking in the manual, I would try: Declare Function SendMessage…etc Declare Function GetFocus…etc Const LB_SETITEMDATA = &H400 + 27 Const LB_GETITEMDATA = &H400 + 26 List1.SetFocus ListHnd% = GetFocus() APIError% = SendMessage(ListHnd%,LBS_SETITEMDATA,14,23) where I was trying to place '23' in the 14th index…
#2720 New VB Message #3184
From: Don Funk MS BASIC Forum · Visual Basic October 15, 1991 10:44 AM
Hi Wendell, Microsoft's policy is not to discuss future releases. Microsoft is eager though, to hear what you think about the product so that future releases can meet your needs. GET/PUT is implemented with the BitBlt/StrechBlt functions and are documented in the Knowledge Base. A simple version of Play is…
#2664 VB HELP COMPILER Message #3182
From: Don Funk MS BASIC Forum · Visual Basic October 15, 1991 10:44 AM
Hi E.L.Wimett, I pulled up the question mark bitmap, edited it and recomplied CALLHELP and it worked. Is this what she did? Don Funk
#2595 WinHelp ?????? Message #3180
From: Don Funk MS BASIC Forum · Visual Basic October 15, 1991 10:44 AM
Hi Jim, Look at the ICONWORKS program. This has an example of WinHelp API call. Just open the program and query for WinHelp for all modules. If you have any problem, hollar. Don FUnk
From: Don Funk MS BASIC Forum · Visual Basic October 15, 1991 10:44 AM
Hi Brightwork, THere is an article in the Knowledge Base(GO MSKB). Query Q75639. This discusses how to call API functions that will access the *.INI files. Don Funk There is 1 Reply.
#Serial Port speed Message #3178
From: Don Funk MS BASIC Forum · Visual Basic October 15, 1991 10:44 AM
Hi Mark, "As much as I would like…". OK, Novisoft it is. Really, sorry for the mispelling. I really hate it and have a sour spot when anyone makes any suggestion or mispelling of my name. You know though, it's always girls that make reference to how my name is…
#Lost Sub labels Message #3177
From: Don Funk MS BASIC Forum · Visual Basic October 15, 1991 10:44 AM
Hi Ricks, I don't know of any resource that are lost by VB. Also, if VB is given a handle to a bitmap, it wouldn't delete the resource that is maintain/created in a DLL. It would not be the responsibility of VB to do this. It is calling the DLL,…
From: Don Funk MS BASIC Forum · Visual Basic October 15, 1991 10:44 AM
Hi Keith, I didn't relize there was a Q option. With this 9600 baud modem, I download the entire MSBASIC forum. Thanks for the info. Don
From: Don Funk MS BASIC Forum · Visual Basic October 15, 1991 10:44 AM
Hi Lee, Microsofts policy is not to discuss *what* will be in future releases. MS only asks what you feel should be in the next releases so that they can create a program that will satisfy the end users. Don
Paper Orientation Message #3173
From: Don Funk MS BASIC Forum · Visual Basic October 15, 1991 10:44 AM
Hi Mark, Source code to VB…sure. Don
#2407 Out of Memory Message #2448
From: Don Funk MS BASIC Forum · Visual Basic October 10, 1991 12:33 PM
Hi Robert, My memory is only good for about a day with all these threads, so when you do get back, please refresh my memory about what we were talking about. Thanks, Don Funk
#2404 Combo Box List Width Message #2447
From: Don Funk MS BASIC Forum · Visual Basic October 10, 1991 12:33 PM
Hi Rich, I did the easiest one. You will need to figure what the white space is between the button and edit portion. As a quick solution which may not work on all systems is to just add some constant which will account for this space. Different systems may have…
From: Don Funk MS BASIC Forum · Visual Basic October 10, 1991 12:33 PM
Hi Mark, What you are trying to do is called child windows. VB does not support this other than *you* creating a custom control with the CDK package. Mark Novisoft or Ethan Winer may have this built into their tools. Don FUnk There is 1 Reply.
#2322 Win 3.1 dialog DLL Message #2444
From: Don Funk MS BASIC Forum · Visual Basic October 10, 1991 12:16 PM
Hi Helen, The common dialogs are not available here on Compuserve. This dialog will be shiped with future releases of MS windows products. Don Funk
From: Don Funk MS BASIC Forum · Visual Basic October 10, 1991 12:16 PM
Hi Lee, Yes I too agree that the merge should be the default. I have added this as a suggestion for future release. Also there is no way in VB to save *all* files as a text file(s) at once. This has already been suggested for future releases. Thanks, Don…
#2359 #Serial Port speed Message #2442
From: Don Funk MS BASIC Forum · Visual Basic October 10, 1991 12:16 PM
Hi Eric, I would address this to both Ethan Winer and Mark Novisoft to see if there product would address what you are trying to accomplish. Don Funk There is 1 Reply.
#2357 WriteProfileString Message #2441
From: Don Funk MS BASIC Forum · Visual Basic October 10, 1991 12:15 PM
Hi Dennis, I would assume you would have a problem with two opened files and trying to write to them if you didn't open them for random. This would be the case for any sequential writes to a file, not necessarily the WriteProfile* functions. Don Funk
#2356 #Printing to HPLJ Message #2440
From: Don Funk MS BASIC Forum · Visual Basic October 10, 1991 12:15 PM
Hi Dennis, I'm no expert on the API's but looking at ExtDeviceMode, I don't see any problem with this API and using it in VB. It takes strictly data items with no call-back function. Is there something I don't see such as an initializing function that has to be called…
From: Don Funk MS BASIC Forum · Visual Basic October 10, 1991 12:15 PM
Hi Philip, Can you create a code snippet that would show this problem about the DO…WHILE problem you are having. I'm sure that there is some program logic. I have never heard this problem before. Don Funk There is 1 Reply.
#2350 #Lost Sub labels Message #2438
From: Don Funk MS BASIC Forum · Visual Basic October 10, 1991 12:15 PM
Hi Philip, When this happens, look at your memory usage through the about box in the program manager. You may getting down in memory and messing up something. If you have many forms, try to only have a fraction available at any given time. Use the Unload method instead of…
#2335 UAE & Shell Message #2437
From: Don Funk MS BASIC Forum · Visual Basic October 10, 1991 12:15 PM
Hi Keith, 2nd, 3rd, 4th…I hope that you were just rereading you file you downloaded. I don't think it got sent more than twice. 1. You have some task swtiching whenever you go from VB to DOS. A common "function" would be called from the "Task Manager EXE" and any…
#2316 UAE & Shell Message #2436
From: Don Funk MS BASIC Forum · Visual Basic October 10, 1991 12:15 PM
Hi Keith, Chances are that the Task Manager for both are calling a common API call wich would cause the UAE. That's by guess. Don Funk
From: Don Funk MS BASIC Forum · Visual Basic October 10, 1991 12:15 PM
Hi Keith, Sorry about not including your CIS account. I am still learning the ins-and-outs of this system. I am also trying to off load the job of answering all the forums and have been working at trying to install it on a server and letting certian people log onto…
#2342 #Paper Orientation Message #2433
From: Don Funk MS BASIC Forum · Visual Basic October 10, 1991 12:15 PM
Hi Jonathan, I'm glad this thread is back on track. For a moment there I thought we were going to take a poll on who uses finger nail polish. Some type of enum function was called to look at the properties of each child control. I will pass on the…
#2338 Paper Orientation Message #2432
From: Don Funk MS BASIC Forum · Visual Basic October 10, 1991 12:15 PM
Hi Ted, I've seen the source. I will pass the suggestion as far as Propview code. Thanks. Don Funk
#2344 #Paper Orientation Message #2431
From: Don Funk MS BASIC Forum · Visual Basic October 10, 1991 12:15 PM
Hi Jonathan, Only on Compuserve would a thread talking about "Paper Orientation" turn into "Why Jonathan uses finger nail polish". Don There is 1 Reply.
#2343 Bitmaps Message #2430
From: Don Funk MS BASIC Forum · Visual Basic October 10, 1991 12:15 PM
Hi Jonathan, Thanks for all the suggestions. I think I may put all the "suggestion comments" together and post them every so often, so everyone can see them and reply. Thanks, Don Funk
#2336 #Bitmaps Message #2429
From: Don Funk MS BASIC Forum · Visual Basic October 10, 1991 12:15 PM
Hi Ted, I will add the the desire for some "call back" ability to the "wish list". Thanks, Don Funk There is 1 Reply.
#2337 Bitmaps Message #2428
From: Don Funk MS BASIC Forum · Visual Basic October 10, 1991 12:15 PM
Hi Ted, This came up in the beta but for some reason it did not get added. I think this would be a nice feature. I coded for a whole day thinking that I could pass the PRINTER\PICTURE object to a Sub and print to the correct output but lo…

Page 1 of 4