This is an archive of CompuServe forum messages from 1985 to 1995, as saved in transcripts by John Foust.
Search Results (1,358 messages)
#MhInput – KeyPress
Message #3502
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.
#Right-Justifed Menu Bar
Message #3501
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
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
Hi Don Thank you very much for your suggestion will give it right now.Thank again Bob
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…
#NortonDesktop & VBasic
Message #3496
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…
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.
#MhPicture and 24bit Bmps
Message #3494
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…
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
Thanks a bundle… Robert.
#dBase III DLL
Message #3491
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.
Hank, You need to use GetPrivateProfileString, GetPrivateProfileInt, and WritePrivateProfileString. Hope this helps. Costas P.S. Thanks for Numbers!
#Profile strings
Message #3489
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
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…
#Help: Transparent Color
Message #3485
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.
How do TPW apps print?
Message #3480
Tom: What's the "Comdex Giveaway"? Are they giving away free copies of your book? Maybe I should fly down there after all!
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.
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.
VB Technical Questions
Message #3477
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
Thanks!
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
Jack: No need to apologize. Your help is greatly appreciated! BEST >> JOE
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
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
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…
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.
Thanks for the info George. – Eric.
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…
Lester, Yes, you need the SDK (and MS C or MASM) to use the CDK. -=Jonathan
#VB string params to DLL
Message #3452
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…
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
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
Keith, Well, all I know is that I didn't get the Windows upgrade notice! Grrr! -=- Jonathan There is 1 Reply.
Martin, I'll try to upload something this weekend. -=- jonathan There is 1 Reply.
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
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
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
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
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?
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