--------------- FIDO MESSAGE AREA==> TOPIC: 178 VISUAL BASIC Ref: E5B00011 Date: 05/04/97 From: STEVEN LAGER Time: 04:51pm \/To: ALL (Read 6 times) Subj: Pascal to VB .. more Good afternoon every-one, Recently I asked a question relating to converting Pascal data definitions to VB (4/5). In particular Pascal's "Word" and "LongInt". Well, after doing some searching and reading one reply given here I have found the following; which then raises another question. In Pascal the "LongInt" is equal to VB's Long; but there doesn't seem to be anything comparable to the "Word" definition. As from a text file on Pascal definitions: Term Size BYTE 1byte - 0 to 255 WORD 2byte - 0 to 65335 LongInt 4byte - -2,147,483,648 to 2,147,483,647 Whereas in VB (4/5) and copied from VB Online Books Term Size BYTE 1byte - 0 to 255 INTEGER 2byte - -32,768 to 32,767 ???? ????? Long 4byte - -2,147,483,648 to 2,147,483,6747 So as you can see there isn't anything comparable for the Pascal word definition. My question is - is how does one then set it up so that a VB project can either declare a variable with the eqivilant settings/definitions as used by Pascal's "Word"; or can it even be done. I would really like to find a solution to this if it is possible as there are a couple of projects that I would like to accomplish; one of them being a conversion of some software that was written in Pascal 7.0; that I have the souce code (in Pascal) for. Any help would be greatly appreciated. 'Til next time ...... ..........> Steven Lager Sysop - The THIRD WAVE FTN: 1:253/234@fidonet Internet: slager@ptbo.igs.net 100:1019/1@gds.net lager@usa.net 10:2020/203@softnet 111:1705/3@technet --- Msged/NT 4.10 * Origin: ..oO Shotgun Pro v2.00 Alpha Test Site Oo.. 1:253/234@fidonet.org) --------------- FIDO MESSAGE AREA==> TOPIC: 178 VISUAL BASIC Ref: E5B00012 Date: 05/05/97 From: DIK COATES Time: 07:24am \/To: STEVEN LAGER (Read 6 times) Subj: Pascal to VB .. more >>>> QUOTING Steven Lager to All <<<< SL> My question is - is how does one then set it up so that a SL> VB project can either declare a variable with the eqivilant a two byte string... and then you have to manipulate it as required. There's no equivalent to an unsigned integer in QB or VB... Regards Dik ... (A)bort, (R)etry, (S)ummon Yoda. ___ Blue Wave/QWK v2.12 --- Maximus 3.01 * Origin: StarLab! In Orbit, Lindsay, Ont. (705) 328-2954 (1:253/232) --------------- FIDO MESSAGE AREA==> TOPIC: 178 VISUAL BASIC Ref: E5B00013 Date: 05/02/97 From: PETER SMOLENAERS Time: 12:53pm \/To: ALL (Read 6 times) Subj: VB3 setupwiz Using the VB3 setupwiz to create setup disks. However the WIZ? does not put the database on the distribution disks even though it compresses it. Why is it so? Has anyone encountered this. Secondly, how does one automatically install an icon for the user (VB3-4-5)? Am I missing something? (related to the above of course) --- * Origin: Melbourne PC User Group BBS (3:632/309) --------------- FIDO MESSAGE AREA==> TOPIC: 178 VISUAL BASIC Ref: E5B00014 Date: 05/03/97 From: CHARLES P CADDY Time: 06:21pm \/To: JOSH AXTELL (Read 6 times) Subj: visual basic 5.0 beta 1 It is easy, I remeber when i had to learn it. Try something like(If you want to print) Double Click on the form and type the following: Printer.Print "Type what ever you want here" Printer.print "This will be on the next line." Or put in a text box. make the Multi-Line true using the box on the right with funny name... then put in a command button. double click the button and type the following to print what ever is in the text box: Printer.print Text1.text Or put in a label. Double click the background of the form and type: Label1.caption = "Hi, World" Or just play around. If you want to do someting more complicated and don't know how just ask me. e.g. if you waqnt to have a menu and have a print in the file menu to print text1.text and to be able to change the font in the text box and have a save menu... You can also email me at caddys@melbpc.org.au or chucky@nerds.com CYA --- * Origin: Melbourne PC User Group BBS (3:632/309) --------------- FIDO MESSAGE AREA==> TOPIC: 178 VISUAL BASIC Ref: E5B00015 Date: 05/03/97 From: CHARLES P CADDY Time: 06:34pm \/To: JOSH AXTELL (Read 6 times) Subj: visual basic 5.0 beta 1 Ohh... a standed exe is just a normal exe. I guess that you run them every time you det on the computer. A active control is an OCX... I guess you don't know what an OCX is. It is like a control that can help you (e.g. a timer or a common control. If your just new i would stick to the standed exe for a while... --- * Origin: Melbourne PC User Group BBS (3:632/309) --------------- FIDO MESSAGE AREA==> TOPIC: 178 VISUAL BASIC Ref: E5B00016 Date: 05/03/97 From: ANTHONY YEUNG Time: 05:48pm \/To: ALL (Read 6 times) Subj: Visual Basic installation * Crossposted from: AUST_VB Good Morning All I am desperate to get help as I am keep getting error message from VB4 when starting the program under Windows95. no matter what I have tried, re-installed the program, format the hard disk and re-install. As I need it to finish some school assignment. The error message always the same: "VB32 casued an invalid page fault in module kernel32.dll at 0137:bbf782ae Register EAX=.......cs=0137..... EIP=bff782ae .............. Stack Dump..............."etc. Please can anybody advise me what causes this error and any remedies available. My system is a Pent120 using Windows95 running 2 x 16mb ram (put in recently and found they are located in Bank1 not in Bank0, Are there any problem with this installation as according to the manual they should be in Bank0) ... Many thanks in advance. Anthony Yeung ... Backup not found: (A)bort (R)etry (P)anic --- * Origin: Melbourne PC User Group +61-3-9699-6788 (3:632/309) --------------- FIDO MESSAGE AREA==> TOPIC: 178 VISUAL BASIC Ref: E5B00017 Date: 05/04/97 From: GLENN THOMPSON Time: 11:31am \/To: EILEEN LOUISE (Read 6 times) Subj: Dates in text box -=> Quoting Eileen Louise to Glenn Thompson <=- PS>> unbound controls? What are the reasons for using unbound PS>> controls? GT> Flexibility. EL> true GT> With unbound controls you change what database or field, GT> bound controls are unchangeable during runtime. EL> false Should I consider this a rap over the knuckles Eileen ? I don't see a reply from you to Peter giving him the definate answer. GT> And bound GT> controls force you to use a data control(I think). EL> afaik. True. Read Ya Later Eileen Glenn. ... We now return to our regularly scheduled flame-throwing. --- Blue Wave/Max v2.20 [NR] * Origin: Ground Zero BBS - 61 8 8325 1822 SouthNet Mail Host (3:800/409) --------------- FIDO MESSAGE AREA==> TOPIC: 178 VISUAL BASIC Ref: E5B00018 Date: 05/05/97 From: FRANCOIS ROY Time: 06:34pm \/To: STEVEN LAGER (Read 6 times) Subj: Pascal to VB .. more SL> My question is - is how does one then set it up so that a VB project can SL> either declare a variable with the eqivilant settings/definitions as used SL> by Pascal's "Word"; or can it even be done. The regular 2-byte VB Integer _will_ hold the data. If it really needs to be looked at (in your program) as an unsigned integer with range 0-65535, you need to copy it to a Long, and add 65536 if the value is negative. --- Msged 4.00 * Origin: Ready & Determined (819)772-9277 (1:163/506) --------------- FIDO MESSAGE AREA==> TOPIC: 178 VISUAL BASIC Ref: E5B00019 Date: 05/03/97 From: CHRISTIAN BLONDIN Time: 01:44pm \/To: ALL (Read 6 times) Subj: port com bonjour j'ai un ami qui cherche adresser le port com de sa machine en VB mais il n'y arrive pas quelqu'un peut'il l'aider par mon intermediaire merci pour lui ... Catch the Blue Wave! --- FMailX 1.02 * Origin: ELECTRIC DREAMS BBS - SETE/MONTPELLIER - +33 (0) 467742378 (2:323/11) --------------- FIDO MESSAGE AREA==> TOPIC: 178 VISUAL BASIC Ref: E5B00020 Date: 05/05/97 From: MICHELE MAURO Time: 09:19am \/To: LAWRENCE KELLIE (Read 6 times) Subj: Beta testing LK> > I got the old "I don't remember what I was doing when I saw this LK> > error" LK> Don't you just love testers like that! ::sigh:: I guess that I am a little LK> unusual in that since I have had so many programs crash on me, I am LK> subconsciously cognizant of what I am doing at all times. Therefore, I can LK> generally recreate the problem with a minimum of effort. That has come in very LK> handy. In all fairness, the beta tester was finally able to duplicate it at will and give the steps to recreate the bug! So now all I gotta do is figure out what's causing the bug. Have fun, Michele Internet: chaos@ao.net FIDO: 1:363/340 * LSD melts your mind, not in your hand. RoseReader 2.52T P001948 Entered at [COMPLICATIONS] --- * Origin: Complications, Altamonte Spgs, FL 407-297-8298 (1:363/340)