--------------- FIDO MESSAGE AREA==> TOPIC: 178 VISUAL BASIC Ref: EBD00000 Date: 07/06/97 From: THIERRY MURCIA Time: 02:55am \/To: ALL (Read 6 times) Subj: Creer une DLL Salut All Est ce que quelqu'un pourrait me dire comment faire une DLL avec VB4 ? Je voudrais ajouter des fonctions a un langage qui en a besoin. N'etant pas un fou de l'api windows, je peux les faire sous VB4 et les utiliser sous forme de DLL. Plus de renseignements ? Merci a tous, Thierry tm@edreams.frmug.org ... - ___ Blue Wave/QWK v2.12 --- FMailX 1.02 * Origin: ELECTRIC DREAMS FRANCE * SETE/MONTPELLIER * 0467742378 (2:323/11) --------------- FIDO MESSAGE AREA==> TOPIC: 178 VISUAL BASIC Ref: EBD00001 Date: 07/08/97 From: CHRIS ROACH Time: 01:54am \/To: HOLGER TEEGE (Read 5 times) Subj: MDI FOCUS Holger, I am only quessing, but I think the semi-obvious answer to the focus (z-order bumping) is that ~somehow~ your MDI frame is getting the focus then passing it to the new 3rd form..thus the 2nd form gets z-ordered away..behind the mdi frame. There may (or may not) be a definitive difference between VB4 and VB5 with respect to this behavior..(not that I've heard specifics). . . but it would seem that the mdi will ~likely~ have a moment of focus at some point in a new form creation or even a focus change? There might, indeed, be a change in the internal VB5 engine that swaps z-orders differently...can't say yet. In any case, you can work with z-order to get the forms how you want them. It might be that the focus is bouncing around a bit in your design time environment (vb5 has a lot of interprocess stuff) and that your runtime exe will behave differently or even unpredictably! Depending on how seriously you want to address this, you can cook up some code to set the z-orders correctly. This can be done using z-order via VB or API. I hate to get too deep.. but ultimately I suppose you'd have a DLL (via C) that could be universally employed in all your future apps..one that handles z-orders & such as a dedicated module. I metion this because it's the way I'd go if I was reeelly serious about flipping windows around. Elsewise, simply looping the forms with ZOrder will assure they stack up correctly. You can test all your forms for visible or other Case. I say other,cuz I forget if testing visible on an unloaded form will force it to load...a nono. At any rate you simply loop thru your forms and case test em for some visibility or Active or other boolean property..then if Yes then you go form1.Zorder 1 or form1.ZOrder 0 depending on the way you want to stack em up. Forgive my rambling...you might know how to use ZOrder and think this a 'klunky' solution. (?) It could result in some flipper flicker~ as zorders arrange. In a dll, using API, and painstakingly tedious c coding.. you can really control the scenerio..locking & unlocking z reactions~ via VB or win op system. I guess you have a dime store solution and a Cadillac solution here..maybe somebody has a medium tedium method? I wonder if there's a decent zorder DLL or OCX out there? Your average graphics dll or tool would likely have some similar function(s). I don't really know whats out there cuz I already have way too many tools to conquer. I bet there's a good little graphics dll tweaker out there somewhere! If you have any thoughts, comments, etc..or if you find a zorder dll..or any explanation of the vb4-vb5 difference..do post a note! Off hand I'd guess the heavy class emphasis in VB5 is at the heart of it...just a new sequence of handshakes in the internal vb engine with all the ole2 going around these daze. BFN.. --- PCBoard 15.2 * Origin: 32 lines 40 Gig BBS, Realtime InterNet SLIP (403)247-7900 (1:134/10) --------------- FIDO MESSAGE AREA==> TOPIC: 178 VISUAL BASIC Ref: EBD00002 Date: 07/07/97 From: CHRIS ROACH Time: 03:40pm \/To: JASON JURIC (Read 5 times) Subj: SDK Jason, the API application programming interface for windows is totally emmense. By the time you get to NT 4.0 there are literally thousands of routines. MS does publish books (Programmers Reference Series) and generally speaking volume II is the first-get volume. Volume one helps a lot with understanding the windows subsystems, which is really a prerequiste to any serious use of api/win progging. I believe the retail versions of VB come with api cut & paste guides, but I'm not sure. With VB5 Enterprise, the ed I have, you get a cut & paste tool for sure. This gives the declare statements for user & kernel and more . It is an interesting side note that user & kernel are actually exes, but they operate like dlls as far as vb calls are concerned. These api calls let VB talk to dlls to borrow their internal routines. Volume two of the prog ref has the essential APIs documented. Note that somewhere out there there are~ 3rd party API helpers. Can't point you though, since I've not been looking for what I already have. Now for the really barfy part... before long you face the reality that MS publishes far too many apis ans they have bugs and docs and docs and docs... enter MSDN The developer Network. Rumour has it you need a level II (Professional) to get the SDK with a subscription. The Software Develpment Kit has all the MS Prog Ref manuals and much much more. Zoo..if you are slightly serious get the book(s). If you plan to go forward with MS development..look at a subscription to MSDN. It's not cheap, but the fact is the cost is minor compared to the advantage of knowing How-To do Windows via MS. Personally I strongly recommend that every serious Win proger sign up for at least one year so they get familliar with the scope of the Windows plat. I estimate that I've digested about 2500 apis by now! Worse yet, OpenGL and DirectX (3D, Sound, Direct Play) adds a few thousand more apis! It's really mind boggling by the time you even skim the total api landscape. There's MAPI, TAPI, MM, ActiveX, DirectX, Crypto, and tons~ more. I imagine that if you are using a student edition of VB you won't be shelling out major cash for manuals or memberships..so the best bet is Volume Two of the Programmers Reference, OR a good VB book that includes API. (Esp WITH disk). Note that I am speaking of the 3.1 series and there may be any number of Win95/NT guides which will use different api in most cases. This is why the SDK/MSDN is so critical. 3.0, 3.1 WFWG 3.11 WIN 95, NT 3.51 NT 4.0 and more including the new CE for Newton type tingys.. all these 'Windows' are out there in use and writing for anything requires docs gallore. Sorry to reveal so much heartache at once...you can thank BG...and friends. Before you moan too much, let me say MS wants almost 3gs to continue my 'Universal' membership. (Every year!) This year I will be 'reverting' to mere pro level II...about 25% of the other fee I expect.? Now you know wny BG is a billionaire. Every serious developer is on the hook for 3K/year minimum. Nice... Hope this helps... P.s. C++ progers make major dough...so those subscriptions are somehow, actually, worth it! ;) --- PCBoard 15.2 * Origin: 32 lines 40 Gig BBS, Realtime InterNet SLIP (403)247-7900 (1:134/10) --------------- FIDO MESSAGE AREA==> TOPIC: 178 VISUAL BASIC Ref: EBD00003 Date: 07/08/97 From: CHRIS ROACH Time: 02:02am \/To: DAVE SHEA (Read 5 times) Subj: TRANSPARENT Dave, the image list is just a tool that does what YOU can do in api if you want. To map transparency can be reasonably easy..but thats only if you really mean see-thru vs see-thru-ness. Misty fog transparency is not the same as punch thru. Which do you want to do? To punch thru you need to do some gdi work with a mono bitmap. It's a bit of a discussion explaining it all..suffice to say the mon map can be used to map holes, as a black & white mask. Using the ROP2 (Raster operations like Copy, Invert, etc) see BitBlt in the api... you can select a key color in a color image by mapping it to a monochrome bitmap with a background color. Yes a monochrome map can have a masking backcolor. I won't elaborate more now. I think I have a transblt project thats postable here. But its punch thru, not mist thru. Interested? --- PCBoard 15.2 * Origin: 32 lines 40 Gig BBS, Realtime InterNet SLIP (403)247-7900 (1:134/10) --------------- FIDO MESSAGE AREA==> TOPIC: 178 VISUAL BASIC Ref: EBE00000 Date: 07/08/97 From: DAVID BURNS Time: 12:03am \/To: ALL (Read 5 times) Subj: The Com Port Hello All, I'd like to discuss with you the merits of "The Com Port" Does anyone know of a way to check when a modem picks up the phone at the other end of a line after dialing ? I suppose it would have to check to see when ringing starts and stops. It probably isn't possible to do it directly in MVB4 Enterprise, but if anyone has a DLL of some C++ code or some Assembly, I would forever be in their debt :). I'm currently working on a call costing program, and the other methods i've tried - checking the carrier detect directly etc don't start working until there has been a CONNECT XXXXXX or whatever. Suggestions? Dave. |\ |) InterNet: david.burns@f145.n257.z2.fidonet.org |/ave |)urns FidoNet: 2:257/145.6 --- FIPS/32 v0.99a W95/NT [Unreg] * Origin: Hmmm....... (2:257/145.6) --------------- FIDO MESSAGE AREA==> TOPIC: 178 VISUAL BASIC Ref: EBE00001 Date: 07/08/97 From: LILA GODEL Time: 06:00pm \/To: BRANDON BURCHFIELD (Read 5 times) Subj: Re: Load Notepad With Fil BB>I believe I wanted to open a file along with Notepad once and if I am not BB>mistaken this is how I did it: BB>--start code-- BB>FileName = InputBox("What file do you want to open?") BB>AppName = "notepad.exe " + FileName BB>X = Shell(AppName,3) BB>--end code-- BB>That should load Notepad, along with your file, and also give it a maximized BB>window with focus. I am using VB 3.0 so the syntax may have changed in 4.0 or BB>5.0, changte and modify and tweak the code as necessary, I hope this gets you BB>on the right track. This will work for opening any file, but I would like to open files I right click on in Windows 95's explorer (the equivalent of Windows 3.x's file manager.) --- OLXWin 1.00b * Only XT users know that Jan. 1, 1980 was a Tuesday. * Origin: Riverdale, Ga (1:133/9024) --------------- FIDO MESSAGE AREA==> TOPIC: 178 VISUAL BASIC Ref: EBF00000 Date: 07/08/97 From: BUCKY CARR Time: 02:54pm \/To: RICK PEDLEY (Read 5 times) Subj: PRINTER LESSONS 101 CR> Bucky, I was wondering about your interogation code for talking with CR> the printer driver... BC> Bruhahahahahahaha - I don't have the foggiest idea what you are BC> talking about. BC> I do my interrogations the usual way: hot lights, buggy whip, BC> fingernail pliers, boiling oil, enemas-til-bursting, etc. RP> With printers I always start with "Vee know you has zee papers". See, I knew I wasn't weird or alone in all this. --- PPoint 2.00 * Origin: Vanishing Point 7198460140 Trinidad CO (1:15/7.1) --------------- FIDO MESSAGE AREA==> TOPIC: 178 VISUAL BASIC Ref: EBF00001 Date: 07/09/97 From: EILEEN LOUISE Time: 06:54am \/To: ALL (Read 5 times) Subj: hitchikers guide Hi All, for anyone who hasn't noticed, bill vaughn's hitchikers guide is out for VB5/SQL 6.5. it has hit the chain stores in the last two weeks. it's probably worth the new version if you do much sql programming as NT4, RDO2, VB5 and SQL6.5 are all covered. JET and ODBC Direct are in there too .... but the new RDO User Connection designer in VB5 Ent is *very* slick. Hopefully we will see it as an ADO object in VB6. grin --- eileen@technologist.com * Origin: Television is furniture. (1:326/431) --------------- FIDO MESSAGE AREA==> TOPIC: 178 VISUAL BASIC Ref: EBF00002 Date: 07/09/97 From: ROBERT DIGGLE Time: 06:55pm \/To: ALL (Read 5 times) Subj: APM Hi All! Does anybody know the APM procedures in the API (if any) for Visual BASIC. I want to be able to switch my computer to standard-by mode etc. Robert \/\ Fido: 2:250/102.31 /\/ Email: rdiggle@usa.net --- GEcho 1.00 * Origin: My Point, Manchester (UK) (2:250/102.31) --------------- FIDO MESSAGE AREA==> TOPIC: 178 VISUAL BASIC Ref: EBF00003 Date: 07/10/97 From: RICK PEDLEY Time: 09:12pm \/To: BUCKY CARR (Read 5 times) Subj: PRINTER LESSONS 101 -=> Quoting Bucky Carr to Rick Pedley <=- RP> With printers I always start with "Vee know you has zee papers". BC> See, I knew I wasn't weird or alone in all this. I think you have been exposed to too much isofluorane over the years ;-) --- Blue Wave/DOS v2.20 * Origin: ...the vented spleen - kingston on (613) 544-9332 (1:249/139)