This is an archive of CompuServe forum messages from 1985 to 1995, as saved in transcripts by John Foust.
Search Results (159 messages)
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.
Hi Robert, I should be using the medium memory model. Don Funk
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
#ScaleLef/Top Errors
Message #3470
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…
Hi Graeme, Go ahead and upload the file. If it is only 20-30 lines, it would be alot easier. Don Funk
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
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…
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…
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…
Hi Mark, I would change the data bit to "zero". Don
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
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.
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
Hi John, You cannot pass control arrays to a sub. i will add this as a suggestion for future release. Thankyou. Don Funk
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…
Hi Keith, You may want to look at the example about ScaleWidth that I sent Bryon. Don Funk
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$;…
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.
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…
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…
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.
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…
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…
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
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
#Mod .INI's w/WriteProf..
Message #3179
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
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
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,…
Shell UAE's…Thanks Don
Message #3176
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
Code/Replace is a Pain!
Message #3174
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
Hi Mark, Source code to VB…sure. Don
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
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…
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.
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
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…
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.
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
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…
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.
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…
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…
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
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…
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…
Hi Ted, I've seen the source. I will pass the suggestion as far as Propview code. Thanks. Don Funk
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.
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
Hi Ted, I will add the the desire for some "call back" ability to the "wish list". Thanks, Don Funk There is 1 Reply.
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