HDTenEightyP/NetNews huggingface dataset:
From: yfwu@Uz.nthu.edu.tw (EE U780935)
Subject: Re: String format in Visual Basic??
Organization: National Tsing Hua University (HsinChu)
Date: Tue, 12 Jan 1993 07:18:34 GMT

amf@ecs.soton.ac.uk (Andrew Fountain) writes:
> Can anybody tell me the format of strings in VB
> so that I can pass them to and from C DLLs without
> being limited to 255 characters. I want to know
> the internal string format.
> Thanks,
Why you want to know that ?????  Just use ByVal before your string variable
and the string format will become ASCIIZ format.

--
===============================================================================
 Yu-Fu Wu                                        National Tsing-Hua University
 e-mail: yfwu@uz.nthu.edu.tw                     Dept. of Electric Engineering
                                                 Hsin-Chu City, 300
 Like MS Visual Basic most!                      Taiwan, ROC
===============================================================================
From: jzempel@morpheus.wustl.edu (John Zempel)
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: Re: VB - custom cursors??
Date: 10 Jan 93 19:17:40 GMT
Organization: Washington University in Saint Louis, MO USA
NNTP-Posting-Host: morpheus.wustl.edu

donh@shakala.com (Don Hackler) writes:

>galenr@hpgrla.gr.hp.com (Galen Raben) writes:

>> Would anyone happen to know how to create a custom cursor
>> in VB (either 1.0 or 2.0)???  I am in need of a large "box"
>> cursor when I pass over a certain set of controls.
>> 
>> One thought I had is that I could hack one of the preset
>> cursors using a resource editor - Since I haven't had
>> a need for this before I haven't a clue where to start 
>> looking, instinct tells me those are in Windows itself
>> though :-(   Is there a way to change one using code and
>> have it active only until my application terminates?
>> 
>> Thanks!!
>> - Galen -
>> galenr@hpgrla.gr.hp.com

>The mouse cursors in Windows are limited to 32x32 pixels.

>You could possibly hide the mouse cursor when the mouse is
>over your special area and just draw the rectangle yourself.
>You will have to get rid of the rectangle and restore the mouse
>cursor when the mouse moves out of the area.  

>I'm guess these things can be done in VB, I know they can be 
>in C.

>- don

>------------------------------------------------------------------
>Don Hackler  - donh@shakala.com 
>Shakala BBS (ClanZen Radio Network) Sunnyvale, CA 408-734-2289

The best way to do this in VB is to purchase the custom control addon called
CCF-Cursors from Desaware.  It is true that you can do it with a DLL written
in C, but the CCF package costs less that $40 and already has been debugged,
so it works!  It also includes some subclassing features that allow you to
detect events that happen on with any control.  The number for Desaware is 
(408) 377-4770.  -Just a satified customer-

John
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: dbase extensions for visual basic?
From: nadsap@violet.ccit.arizona.edu
Date: 12 Jan 93 09:23:48 MST
Distribution: world,local
Keywords: dbase, visual basic
Summary: Where can I get?
Nntp-Posting-User: nadsap


Can anyone recommend a _GOOD_ dbase extensions product for visual basic?
Basically I want to do some dbase file manipulations through visual basic
applications.  Support for memo fields is essential.

Thanks
Mike

Newsgroups: comp.os.ms-windows.programmer.tools
From: swslr@well.sf.ca.us (Larry Krone)
Subject: Scanner Interface Library (DLL) for Windows
Organization: Whole Earth 'Lectronic Link
Date: Thu, 7 Jan 1993 00:11:13 GMT


I am looking for DLL that will support a line of scanners (Ricoh, Fuji, HP...)
that will allow me to scan in an image, edit the image (size and such) and
save
it back out in a tiff or pcx format...I want to be able to interface with this
DLL through Visual Basic if at all possible.......Any Ideas???....

Thanx,


Larry Krone
swslr@well.sf.ca.us
Newsgroups: comp.os.ms-windows.programmer.tools
From: martinher@urvax.urich.edu
Subject: Help with ComboBox Add or InsertString
Reply-To: martinher@urvax.urich.edu
Organization: University of Richmond
Date: Mon, 11 Jan 1993 01:39:19 GMT

I am trying to insert strings into a Combo box during a Dialog
init message.  My ListBoxes work just fine but the same syntax
with the exception of 'CB_INSERTSTRING' for 'LB_INSERTSTRING' 
does not.  I have tried both SendMessage and SendDlgItemMessage
to no avail.  I have tried both -1 (append) and a particular
location.
The TurboDebugger shows the code being executed and a valid
position being returned, tests for CB_ERR and CB_ERRSPACE
also indicate NO error.
NOTHING shows up in the combo box controls.
 
Any suggestions about how to proceed?
 
I am going to try the 'LB_' messages and see if they have any
effect.  What the heck?

Herb Martin
martinher@urvax.urich.edu
From: charvel@salzo.Cary.NC.US (Jeff Cogswell)
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: Re: Peek and Poke in Visual Basic 1.0 ???
Date: Tue, 05 Jan 93 17:13:33 EST
Organization: SalzoBoard BBS

galenr@hpgrla.gr.hp.com (Galen Raben) writes:

> In comp.windows.ms.programmer, harti@mikro.ee.tu-berlin.de (Stefan Hartmann (
> 
> >I have just bought Visual Basic 1.0 standard edition and wanted
> >to program a special hardware board inside the PC with it....
> >  **stuff deleted **
> 
> Stefan,
> It is possible, but not for the faint-of-heart.  On CompuServe (and probably
> a good number of ftp sites as well) in the MSBASIC forum VB library the file 
> is called "inout.zip".  The reason MS doesn't include this functionality in
> VB 1.0 or 2.0 is that it is EXCEPTIONALLY EASY to corrupt the Windows 
> environment by directly writing to hardware - definitely not for the average
> software hacker (therefore MS limited their liability).
> 
> Some other sources I can think of that may sell toolkits for this:
>      MicroHelp (1-800-922-3383 or 404/594-1185)
>      Crescent software (1-800-352-2742 or 203/438-5300)
> I seem to recall MicroHelp has a package called VB-Muscle that has this...
> Hope this helps,
> - Galen -

Hi,
Microhelp as a freeware file which has the peek&poke commands for VB.
You can call them; or, it's somewhere in the MSBASIC forum of Compuserve.
(I can't remember the file name, though...)

Always be careful when using peek & poke;  when running under protected
mode, very,very,very,very bad things can happen, since essentially
in a nutshell the addresses can change...
Jeff
charvel@salzo.Cary.NC.US
From: hajo@bwl.bwl.th-darmstadt.de (Hans-Jochen Schmitt)
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: Scoping rules in VB 2.0 ?
Date: 11 Jan 1993 12:40:15 GMT
Organization: Inform.Systems Department, University of Darmstadt
NNTP-Posting-Host: bwlpc15.bwl.th-darmstadt.de


The new VB 2.0 MDI support is fantastic ! True Form inheritance, autosizing 
toolbars etc. etc....

But:

How do one manage to reference local varibales within a Form from outside ?

Problem:

  Assume a drawing form, that contains local variables (declared in the 
  Declaration section of the Form). These variables describes the picture 
  that is shown on the Form. When making instances from this Form, anything
  works fine: every Form contains its own set of variables.
  But: If you want to write a save-and-load logic for these Forms, you can 
  not reference these Form-local variables from outside the Form (eg. the 
  MDI-Desktop).
  Is there any  way to reference instance-variables of a Form ? Something 
  like ActiveForm.MyArray(1).MyName ?

  The only workaround so far I found is a very clumsy setup: 
  - define a Button within the MDI-child
  - make this Button invisible
  - attach the Load or Save function to this Button
  - "Click" this button (in the ActiveForm) from the MDI-menu option
  The problem still remaining is that I can't pass parameters to the Form-
  local procedure (execpt using the Tags from invisible controls).

  Any hints ?

  Hajo Schmitt
  Technical University Darmstadt
Newsgroups: comp.os.ms-windows.programmer.tools
From: cs4gp6bb@maccs.mcmaster.ca (John Schmitt)
Subject: make and a CLI
Organization: Department of Computer Science, McMaster University
Date: Tue, 12 Jan 1993 15:40:10 GMT

I've always been more productive with make, my own editor, and any cheap
Command Line shell than with the Borland IDE or with any other integrated
weird editor.  Do these things exist under Windows 3.1 and BC++ 3.1?  Make
for use with bcc under Windows seems like a hard thing to come by.  Thanks 
for any suggestions.

John

Newsgroups: comp.os.ms-windows.programmer.tools
From: yfwu@Uz.nthu.edu.tw (EE U780935)
Subject: Re: Scoping rules in VB 2.0 ?
Organization: National Tsing Hua University (HsinChu)
Date: Tue, 12 Jan 1993 16:33:40 GMT

Sorry! You can not use variables outside its form or module except you use
Global variable....

--
===============================================================================
 Yu-Fu Wu                                        National Tsing-Hua University
 e-mail: yfwu@uz.nthu.edu.tw                     Dept. of Electric Engineering
                                                 Hsin-Chu City, 300
 Like MS Visual Basic most!                      Taiwan, ROC
===============================================================================
Newsgroups: comp.os.ms-windows.programmer.tools
From: hlpell@sequent.com (Howard Pell)
Subject: VB and disk capacity
Organization: Sequent Computer Systems (Canada) Ltd.
Date: Mon, 11 Jan 1993 18:37:57 GMT

So I can find whether a disk is fixed or removable.  I can also find how
much free disk space there is by using the getfreespace function included
in the setupkit.dll.  BUT how do I find out how BIG the disk is?  That is,
what is the size of the disk?  Anyone Know?

Thanks

-Howie- 

==============================================================================
Howard Pell, Systems Analyst
Sequent Computer Systems (Canada) Ltd.
2630 Skymark Ave., Suite 700
Mississauga, Ontario L4W 5A4
==============================================================================
Newsgroups: comp.os.ms-windows.programmer.tools
From: jeffm@mks.com (Jeff Moll)
Subject: Re: want opinions on zApp
Organization: Mortice Kern Systems Inc., Waterloo, Ontario, CANADA
Date: Mon, 11 Jan 1993 16:10:40 GMT

In article <maley.726560410@micro> maley@micro.cs.umn.edu (Michael P Maley) writes:
>Can anyone send me their opinion of zApp. I am doing alot in OWL,
>but lately have had some problems with it and I think I need
>a better AF. The zApp ad reads and looks nice. And I read a brief
>review of it in the latest Computer Language, but the author of
>the article didn't say much and oddly enough did include it in
>the comparisons he made. I like the cross-platform support of
>zApp. And I hope in the near future to jump on the NT bandwagon.
>Any help anyone can give would be greatly appreciated.
>
>Please send email unless you think your summary would help
>everyone.
>
>Thanks. Thanks. Thanks. Thanks. Thanks. Thanks.
>
  
  I too would be interested in any opinions anyone might have on zApp.

    Thanks......   Jeff



-------------------------------------------------------------------------------
From: Jeff Moll ( jeffm@mks.com )  |  Mortice Kern Systems Inc. 
      MKS Toolkit Development      |  35 King Street North,
                                   |  Waterloo, Ontario, Canada N2J 2W9
                                   |  (519) 884-2251  Fax: 884-8861
SCA:  Tarl of Greyhaven AOA OPF ODH etc...  Squire to Sir Belgar Thorbjorn
-------------------------------------------------------------------------------
         The FLOGGINGS will CONTINUE untill morale IMPROVES !!!
-------------------------------------------------------------------------------

-- 



-------------------------------------------------------------------------------
Newsgroups: comp.os.ms-windows.programmer.tools
From: atropos@netlab.cis.brown.edu (David O'Donnell)
Subject: Re: Visual Basic 1.0 questions
Summary: Please READ CAREFULLY before replying!
Organization: Enhanced Cybernetic Logic Operating Systems Group
Date: Thu, 7 Jan 1993 20:15:09 GMT

In article <1993Jan7.063407.14279@cs.brown.edu> atropos@netlab.cis.brown.edu (David O'Donnell) writes:
[ ... ]
>Any answers are
>appreciated, though beforehand I will tell you that upgrades are not viable.

Thanks to the few who have replied so far; unfortunately, no one seems to
have read the above sentence. I have included it once again in the hopes that
it *will* be read this time.
From: vince_m@wacss.anixter.com (Vince Mammoliti)
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: Re: Visual Basic Win 2.0
Date: Mon, 11 Jan 93 16:36:44 EST
Organization: Anixter Canada Inc.

af734@yfn.ysu.edu (Andy Klein) writes:

> 
>      I'm using Visual BASIC Standard Edition v2.0 and I've run into
> the following dilemma.  I'm trying to create an array of string by
> concatenating two other values together, but would like the two
> columns of data to each be left justified.  However, the font that
> I am using contains letters of different widths.  For instance,
> assume an array of strings called Names$() and an array of integers
> called Num%() contain the following made-up data:
>  
>      Names$(1) = "Samuel"          Num%(1) = 15
>      Names$(2) = "Richard"         Num%(2) = 3
>      Names$(3) = "Al"              Num%(3) = 221
>      Names$(4) = "James"           Num%(4) = 54
>      Names$(5) = "Bob"             Num%(5) = 11
>  
> I would then like to create a second string array called Results$()
> that contained the following:
>  
>      Results$(1) = "Samuel   15"
>      Results$(2) = "Richard  3"
>      Results$(3) = "Al       221"
>      Results$(4) = "James    54"
>      Results$(5) = "Bob      11"
>  
> My problem is that since the characters in MS-Windows aren't all
> the same pixel width, the column of numbers is not vertically lined
> up correctly when I print the results.  Is there a way to get the
> second column of numbers to be lined up?  Thanks,
> Andy Klein


Try adding a "TAB" when you are creating the Result

Results$(1) = Names$(1) + chr$(11) + Str$(Num%(1))

or something like above.

Vince,

*****************************************************************************
       Anixter Canada Inc.           User: Vince Mammoliti  
      Mississauga, Ontario	    Voice: (416) 897-5665 Fax: (416) 897-6236
   Service Is Our Technology     Internet: vince_m@wacss.anixter.com
****************************************************************************
From: std_u22c@uni-duesseldorf.de (verehrte(r) Benutzer(in))
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: Wanted: DDK!
Date: Mon, 4 Jan 1993 16:02:58 GMT
Organization: Universitaetsrechenzentrum, Heinrich-Heine-Universitaet Duesseldorf
NNTP-Posting-Host: 134.99.8.52

I'm searching for the Microsoft Device-Developers('s?)-Kit - DDK.Does anyone 
know where to get it - or even better - where to get itfrom a "secondary 
source".I don't have an e-mail address - so post to this NEWS-group or call
(02 11) 311 41 25 in Duesseldorf/ Germany.
From: linas@hparc0.aus.hp.com (Linas Petras)
Date: Mon, 11 Jan 1993 01:40:42 GMT
Subject: Font Name in Heapwalker App ??
Organization: HP Australasian Response Centre (Melbourne)
Newsgroups: comp.os.ms-windows.programmer.tools
X-Newsreader: Tin 1.1 PL4

Can anyone tell me what font is used in the Heapwalker application. I really 
like the font, but I haven't found what font it uses.


-- 
Linas Petras
The comments are my own and do not represent	Hewlett-Packard Aust Ltd.
the views of my employeer			Phone: +61 3 272 2744
						Internet:linas@hparc0.aus.HP.COM
Newsgroups: comp.os.ms-windows.programmer.tools

Would anyone happen to know how to create a custom cursor
in VB (either 1.0 or 2.0)???  I am in need of a large "box"
cursor when I pass over a certain set of controls.

One thought I had is that I could hack one of the preset
cursors using a resource editor - Since I haven't had
a need for this before I haven't a clue where to start 
looking, instinct tells me those are in Windows itself
though :-(   Is there a way to change one using code and
have it active only until my application terminates?

Thanks!!
- Galen -
galenr@hpgrla.gr.hp.com
Newsgroups: comp.os.ms-windows.programmer.tools
From: umlamott@ccu.umanitoba.ca ()
Subject: PowerBuilder: Any GOOD Experiences?
Organization: University of Manitoba, Winnipeg, Canada
Date: Mon, 11 Jan 1993 23:33:00 GMT

Thanks to those who replied to my previous post regarding PowerBuilder.
All of the replies dealt with poor experience with this product; has
anyone out there had a GOOD PowerBuilder experience? And if not, which
development tool do you use instead?

Thanks in advance.
Steven Lamotte
-- 
Steven Lamotte
University of Manitoba
umlamott@ccu.umanitoba.ca

Newsgroups: comp.os.ms-windows.programmer.tools
From: mpd48941@uxa.cso.uiuc.edu (Mike Duff)
Subject: File usage
Reply-To: duff@cs.uiuc.edu
Organization: University of Illinois at Urbana
Date: Thu, 7 Jan 1993 09:13:08 GMT

I was wondering if there was anyone who was VERY experienced in
writing and reading entire classes to/from disk using BC++...
I'm having some difficulties that I can't pin down, and I'm not sure tha
I am beginning correctly even.  If you have done a fair amount of this
type of programming, please let me know by mail.
Thanks

-------------------------------------------------------------------------------
| Michael Duff                | "Thank you for bringing up such a painful     | 
| ACM membership coord.       |  subject.  While you're at it, why don't you  |
| U. of Illinois- U/Champaign |  give me a nice paper cut and pour lemon      |
| duff@cs.uiuc.edu            |  juice on it."        - Miracle Max           |
-------------------------------------------------------------------------------
Newsgroups: comp.os.ms-windows.programmer.tools
From: Ian_Upright@mindlink.bc.ca (Ian Upright)
Subject: Re: want opinions on zApp / Portable GUI libraries
Organization: MIND LINK! - British Columbia, Canada
Date: Sun, 10 Jan 1993 02:30:31 GMT

> Michael P Maley writes:
>
> Can anyone send me their opinion of zApp. I am doing alot in OWL,
> but lately have had some problems with it and I think I need
> a better AF. The zApp ad reads and looks nice. And I read a brief
> review of it in the latest Computer Language, but the author of
> the article didn't say much and oddly enough did include it in
> the comparisons he made. I like the cross-platform support of
> zApp. And I hope in the near future to jump on the NT bandwagon.
> Any help anyone can give would be greatly appreciated.


I dunno..  I checked out zApp, and I wasn't terribly impressed by it being
a quality library.  I then ordered Zinc and gave it a go..  Wasn't terribly
impressed with that either.. Although I think it's better than zApp, Version
3.0 just wasn't up to par for me..  So what's left?  StarDivision's
StarView.  Everything I've checked out so far seems to tell me that it's the
hottest thing around..  And oh.. If you're looking to get it soon, you'll
have to wait a week or so.. After the review, they completely sold out..
I'm looking into it now, and reciving a full working demo soon.. I can
post the results of my findings later..


--
-----------------------------------------------------------------------------
 Origin:  Astaria Digital Enterprises             Ian_Upright@mindlink.bc.ca
 BBS: (604) 852-1866, or FidoNet  :-)  1:153/513                  CANADA eh?
-----------------------------------------------------------------------------

Newsgroups: comp.os.ms-windows.programmer.tools
From: amc@beryl.demon.co.uk (Anthony McCarthy)
Subject: Re: Wanted: DDK! 
Distribution: world
Organization: Poor
Reply-To: amc@beryl.demon.co.uk
X-Mailer: Simple NEWS 1.90 (ka9q DIS 1.19)
Date: Thu, 7 Jan 1993 22:16:08 +0000

In article <1993Jan07.190205.24092@microsoft.com> dwightm@microsoft.com writes:

>Both the Win 3.1 DDK and the Windows NT Pre DDK are available
>in Germany. Just give MS Germany a call. The 3.1 DDK may also
>be available retail like it is here in the US, but I don't 
>know for sure.
>
>-Dwight (MS)

Egods. Perhaps I'll move to Germany, or even Australia where I seem
to remember that someone actually received the NT DDK _by_mistake_ !

Dwight, could you please give MS-UK a kick in a sensitive area?! Since
your promising announcement of the CD-only NT DDK in Sept/Oct last year,
I've been calling MS-UK every week enquiring about its actual 
availability.  Only on Nov 25th did they admit to its existence but
couldn't give a shipping date. I ordered a copy anyhow. Last week they
_still_ couldn't give a shipping date, offered a few embarrassed apologies,
and suggested I try calling again mid/late January.

This is silly. True, I've no _urgent_ need for the DDK - I only want it to
be able to get on the learning curve _early_...

Please.

-- 
------------------------------------------------------------------------------
Anthony McCarthy           14 Beryl Road - Bedminster - Bristol - BS3 3DH - UK
amc@beryl.demon.co.uk 100012.3712@compuserve.com amccarthy@cix.compulink.co.uk
==============================================================================
Newsgroups: comp.os.ms-windows.programmer.tools
From: swhall@eng.auburn.edu (Steven Wayne Hall)
Subject: MS C/C++ 7.0 - No Windows Editor... Why???
Reply-To: swhall@eng.auburn.edu
Organization: Auburn University Engineering
Date: Tue, 12 Jan 1993 18:58:45 GMT


---
I have been a user of Microsoft compilers for several years.  I like their products and have been avoiding using Borland for a while.  Now, if you want to really do Windows programming in Windows, with a real Windows IDE, you almost have to use Borland.  Why is this???  Microsoft created Windows and supposedly they have released the Windows development environment, but no Windows editor.  This really makes no sense at all to me.  PWB is not even a Windows app.  So what if you can access the menu items from


 WIndows with a mouse.  Where is the Windows editor and where is a source level debugger in the Windows environment???  Why should I have to purchase a program like Multiscope to debug my code and have to use someone elses editor??  Where is a Windows Class Browser??  Are there others who feel the same as me??


    +================================================================+
    | /* Steven W. Hall */  | A theory can be proved by experiment;  |
    | Computer Engineering  | but no path leads from experiment to   |
    | Auburn University, AL | the birth of a theory.		     |
    |  	       	            |					     |
    |swhall@eng.auburn.edu  | Albert Einstein (1879-1955)            |
    +================================================================+

Newsgroups: comp.os.ms-windows.programmer.tools
From: jagrant@emr1.emr.ca (John Grant)
Subject: Re: programming editors for windows?
Organization: Energy, Mines, and Resources, Ottawa
Date: Sun, 10 Jan 1993 04:03:03 GMT

In article <1993Jan9.052139.26358@netcom.com> dosbears@netcom.com (David R. Preston) writes:
>I'm looking for a good editor to use under windows for programming
>in Microsoft C/C++ 7.0, both for windows programs and non-windows
>programs. Currently we're using Brief 2.1 for Dos, which kind of 
>makes sense since Mc/c++7.0 isn't a windows app either :-), but the
>boss wants me to look at windows editors. I've ordered Codewright 2.0
>and a demo copy of ED for Windows. What else should I look at?  Is
>EditPro any good? It's certainly cheap....

	Can't pass this up...:)  Borland's IDE comes with a
	*great* Windows editor with colour syntax highlighting.
-- 
John A. Grant						jagrant@emr1.emr.ca
Airborne Geophysics
Geological Survey of Canada, Ottawa
Newsgroups: comp.os.ms-windows.programmer.tools