CompuServe Archive

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

Search Results (1,358 messages)

From: Martin O. Wolfson MS BASIC Forum · Visual Basic October 16, 1991 10:24 PM
Mark, The KeyPress Procedure for the MhInput Control does not seem to work. Is there something intuitively obvious I am doing wrong, or is there an update to resolve this problem? Marty There is 1 Reply.
From: Chris Calkins MS BASIC Forum · Visual Basic October 16, 1991 10:05 PM
I've found a way to Right-Justify a Menu Bar item for Visual Basic applications and thought some of you might like to know. If you already knew or don't care, sorry to bother you. I like the way many Win apps have thier HELP selection to the far right of…
#Graphics and VB Message #3500
From: winefred washington MS BASIC Forum · Visual Basic October 16, 1991 9:59 PM
Hello, I considering using VB for some FAST prototyping. Does VB have many graphics based functions for Windows such as lines, arc, etc. Thanks in advance, winefred There are 2 Replies.
Thanks for help Message #3499
From: bob MS BASIC Forum · Visual Basic October 16, 1991 9:51 PM
Hi Don Thank you very much for your suggestion will give it right now.Thank again Bob
From: John Sirabella MS BASIC Forum · Visual Basic October 16, 1991 9:36 PM
Hi you doing…. I use NDW with VB all of the time with no problems … but just for your info I ran into alot of problems with 386MAX and NDW …. Are you using 386MAX this may actually be the culprit … If you need any more help just…
From: derek roe MS BASIC Forum · Visual Basic October 16, 1991 8:47 PM
Has anyone had any problems using VB under Norton Desktop for Windows. I notice a comment in the VB-TIPS file. I've had several problems from the dreaded UAE to the mouse ceasing to respond to the buttons. No problem running under ProgMan. One of the main culprits seems to be…
#3370 #SetFocus Bug Message #3495
From: Jerry Stern MS BASIC Forum · Visual Basic October 16, 1991 8:11 PM
Mark, I like the Tabindex. You should start a subsidiary publishing company with titles like "Even YOU Can Master QBX and VB!!" As alway, thanks. There is 1 Reply.
From: VICTOR JUNG MS BASIC Forum · Visual Basic October 16, 1991 8:04 PM
Hi Mark, My capture board only outputs 24bit BMPS. I tried loading one into MhPicture (256 color version) and I got a "Unrecoveralbe Error". Does MhPicture handle 24bit to 8bit conversion?. BTW, is there a way to tell MhPicture not to fit bmps into a picture control? Thanks. There is…
#3449 #re-painting in VB Message #3493
From: Keith Pleas MS BASIC Forum · Visual Basic October 16, 1991 8:04 PM
Jonathan: Also, wasn't QC/Win on the form you received at the Developer's Forum conference when you turned in you survey form? NOT the form for the freebie product (which I imagine will be a monster to administer for all those who chose to defer till WFW 2.0), but the multi-colored…
Thanks Message #3492
From: Eric Barna MS BASIC Forum · Visual Basic October 16, 1991 8:03 PM
Thanks a bundle… Robert.
#dBase III DLL Message #3491
From: Mike Bates MS BASIC Forum · Visual Basic October 16, 1991 8:02 PM
Help. I have a dBase III & III+ DLL to market. Is there a market ? Is there a publisher ? Who ? Is there a need? What about price ? Any help would be appreciated. Thanks Mike Bates There is 1 Reply.
#3489 Profile strings Message #3490
From: Costas Kitsos MS BASIC Forum · Visual Basic October 16, 1991 7:58 PM
Hank, You need to use GetPrivateProfileString, GetPrivateProfileInt, and WritePrivateProfileString. Hope this helps. Costas P.S. Thanks for Numbers!
#Profile strings Message #3489
From: hank marquis MS BASIC Forum · Visual Basic October 16, 1991 7:45 PM
I am trying to use my own file for storing variables ala WIN.INI use GetProfile & related WIN API calls. My question is…how can I get windows to default to *my* file spec and not to win.ini? I have seen other apps which use *.inf or *.ini files, I assume…
PXEng Exist Problem Message #3486
From: L.Sobieski(SoftwareEtc) MS BASIC Forum · Visual Basic October 16, 1991 7:25 PM
I am trying to check for existance of a table. Neither tables created with PDox 3.5 for DOS or the Engine return positive. I get a 1 returned in Exist%. Any ideas? It is probobly something I am over looking. I declare in the Global module as follows: Declare Function…
From: joshua wesley MS BASIC Forum · Visual Basic October 16, 1991 7:15 PM
Does Anyone know if there is a "transparent" color that can be used as a background color in a bit map & picture box? I'm looking to display a picture box on another, and would like the top not entirely cover the other. Thanks. There is 1 Reply.
From: Keith Pleas MS BASIC Forum · Visual Basic October 16, 1991 7:04 PM
Tom: What's the "Comdex Giveaway"? Are they giving away free copies of your book? Maybe I should fly down there after all!
#3331 #re-painting in VB Message #3479
From: Keith Pleas MS BASIC Forum · Visual Basic October 16, 1991 7:00 PM
Jonathan: But I thought that C 6.0 included QuickC? I have a copy sitting around in the shrink-wrap (anybody want C 6.0 cheap?) that I could open to check, but that's what I recall. There is 1 Reply.
#3327 INP/OUT Message #3478
From: Keith Pleas MS BASIC Forum · Visual Basic October 16, 1991 7:00 PM
Jerry: I don't know where you could get this, since MSJ is rare on the newstands. The Computer Library of your local University might have it. Give me your address and I'll send you a copy of the article.
From: Bruce Carson MS BASIC Forum · Visual Basic October 16, 1991 6:54 PM
Is there a way to have a bitmap resize itself when the picture window or form size changes? (StretchBlt or the like). I am trying to build a background bitmap, then overlay other objects on top. When importing a bmp, it retains the original size and I cant scale it.
DLL from Pascal Message #3476
From: David Dorosh MS BASIC Forum · Visual Basic October 16, 1991 6:42 PM
Thanks!
#3470 ScaleLef/Top Errors Message #3475
From: Ted M. Young MS BASIC Forum · Visual Basic October 16, 1991 6:37 PM
Hiya Don, I reported the problem about doing Line statements past 2400 or so way back in May, so I'll have to look in my archives for it…I'll send it your way when I find it (figure a couple of years..). – Ted
#3066 Database DLL Message #3474
From: Joseph A. Gimma Jr. MS BASIC Forum · Visual Basic October 16, 1991 6:27 PM
Jack: No need to apologize. Your help is greatly appreciated! BEST >> JOE
#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
#3351 Paper Orientation Message #3461
From: Charles Gallo MS BASIC Forum · Visual Basic October 16, 1991 6:23 PM
Susan, Huh, I don't think that message should have been to me! If it was what was it in relation to? (puzzled look) Charlie
#3446 WINAPI.TXT Error Message #3459
From: Ted M. Young MS BASIC Forum · Visual Basic October 16, 1991 6:03 PM
Rick, True, you could declare it with the ByVal lpWindowName As Any in the Declare Function statement, but it's probably better to leave it as-is and put the ByVal when you make the function call if you need to pass a null value. That way you can either pass the…
From: Ted M. Young MS BASIC Forum · Visual Basic October 16, 1991 6:03 PM
Jonathan, I don't think StretchBlt can rotate 90 degrees. You can flip (mirror) it horizontally or vertically, but there's simply no way to get it to be rotated 90 degrees. Gotta use a 2-d transformation matrix for that (something I'm working on). – Ted There is 1 Reply.
#3397 Picture Scaling Message #3455
From: Eric G. Harrison MS BASIC Forum · Visual Basic October 16, 1991 5:39 PM
Thanks for the info George. – Eric.
From: Jonathan Zuck (UFI) MS BASIC Forum · Visual Basic October 16, 1991 5:29 PM
Graham, 1. Vertical Text. Yes, use the Print method to print your text in a picture box and then use StretchBlt to flip it. it's not too flexible but you can do some neet stuff. 2. No. the graphic methods are creating a bitmap, *not* a metafile. You need to…
#3427 Controls Development Message #3453
From: Jonathan Zuck (UFI) MS BASIC Forum · Visual Basic October 16, 1991 5:29 PM
Lester, Yes, you need the SDK (and MS C or MASM) to use the CDK. -=Jonathan
From: Frank Bielsik MS BASIC Forum · Visual Basic October 16, 1991 5:27 PM
A couple of questions I've run into while trying to get some DLLs (in C) working when called from Visual BASIC… How does one declare in a VB program a DLL function that has a string as a parameter? I'd like the function to remain & work the same as…
From: Jonathan Zuck (UFI) MS BASIC Forum · Visual Basic October 16, 1991 5:20 PM
Mike, No, I don't seem to have one handy but Tony Elliot is up here on CIS so he should bust in here any minute…Tony? -=- Jonathan
#3420 Network Connects Message #3450
From: Jonathan Zuck (UFI) MS BASIC Forum · Visual Basic October 16, 1991 5:20 PM
Jeff, Unfortunately, you are going to need to detect which network and access different DLLs for LanMan and Novell for most purposes. You can get some basic info about drives, etc. from the generic network driver but that's about it. -=- Jonathan
#3417 #re-painting in VB Message #3449
From: Jonathan Zuck (UFI) MS BASIC Forum · Visual Basic October 16, 1991 5:20 PM
Keith, Well, all I know is that I didn't get the Windows upgrade notice! Grrr! -=- Jonathan There is 1 Reply.
From: Jonathan Zuck (UFI) MS BASIC Forum · Visual Basic October 16, 1991 5:19 PM
Martin, I'll try to upload something this weekend. -=- jonathan There is 1 Reply.
#3399 Enter vs. Enter? Message #3447
From: Jonathan Zuck (UFI) MS BASIC Forum · Visual Basic October 16, 1991 5:19 PM
John, You can put a well-behaved PeekMessage loop in your Sub Main that will intercept keystrokes but not affect the rest of the program or anywhere for that matter. You would then Select Case through the key just like you would in C. You can parse the scan code out…
#WINAPI.TXT Error Message #3446
From: Rick Sands/OR MS BASIC Forum · Visual Basic October 16, 1991 4:57 PM
Just a FYI. The function below is incorrect, although it works in cases where you know both the Class Name and Window Caption of the Window you are looking for: Declare Function FindWindow Lib "User" (lpClassName As Any, lpWindowName As Any) As Integer It should be: Declare Function FindWindow Lib…
VBTERM Message #3442
From: Stricks MS BASIC Forum · Visual Basic October 16, 1991 4:32 PM
I've started to pull apart your code VBTERM (thanks for the start in MSW communcations BTW…) and I'm having some problems cutting and pasting etc. Actualt the cut and paste goes well, just notr when I run it. I assume I can call term_init and then serialopen and serialconfigure and…
Kermit Source Code Message #3441
From: Stricks MS BASIC Forum · Visual Basic October 16, 1991 4:26 PM
I know its been ported to BASIC with the old VAX and PDP11 versions, osits out there. I'd rather not port it from MASM though…. Thanks for the help anyway…. David
#3439 Printer Orientation Message #3440
From: Nelson Ford MS BASIC Forum · Visual Basic October 16, 1991 4:23 PM
I'm trying to get out of having to print an extra page. That's the point of this thread. Can you show me the routine that you use to avoid it?
#3152 #Printer Orientation Message #3439
From: john kesler MS BASIC Forum · Visual Basic October 16, 1991 4:06 PM
Nelson, I also used the routine that Dennis posted to switch back and forth between Portrait and Landscape modes. However, being more of a conservationist, I use a simple Printer.EndDoc to affect the change (rather than printing a "setup page") saving a piece of processed tree pulp at each iteration……

Page 2 of 28