HDTenEightyP/NetNews huggingface dataset:
From: shenoy@iastate.edu (Shiva Shenoy)
Subject: Re: VB 1.0 Questions Before I Buy
Keywords: Is it being phased out?
Organization: Iowa State University, Ames IA
Date: Sun, 27 Sep 1992 13:46:10 GMT

In <oneil.717544088@cwis> oneil@cwis.unomaha.edu (Sharon O'Neil) writes:

>     After a period of thought and consideration about whether I should
>actually take the plunge and buy VB, I decided to comparison shop.  I've 
>found it at anywhere from $119 to $159.  

>     What's puzzling me is that it seems to be kind of hard to find and
>also, when I called Egghead they said they only had VB in the warehouse as
>selldown stock.  First of all, I don't know what they mean by selldown
>stock.  Does this mean that Microsoft is phasing it out for VB Pro (which
>seems to be much, much more expensive, more than I want to spend) or is 
>it due for an upgrade real soon?

>     If it's due for an upgrade, does this mean it's not compatible with
>Windows 3.1?  (I know these are probably stupid questions, but I want to
>know before I buy it.) 

>     If I do buy it, I think I've settled upon getting it from a mail order
>place that has it for $128.  I would assume this is a decent price?

>Sharon 
>oneil@cwis.unomaha.edu
> 

Here are the student prices if you buy the following direct from Microsoft.
The prices do not include shipping and taxes.

QuickBasic for Dos $49
MacroAssembler Dos $49
QuickC     for DOS $49
QuickPascal    DOS $49
VisualBasic    DOS $49
Fortran  DOS/Windows $99
QuickC for Windows   $99
VisualBasic Windows  $99
Cobol                $139
C/C++  Dos/Windows   $139 

These prices are only valid till Dec 15, 1992 and you need to call
1-800-992-3675 Dept. QD3

Incidentally you may get better prices from your university book store, etc.

Borland's educational prices are currently

Turbo C++ 3.1 for Windows $59.95
Borland C++ 3.1 for Dos/Windows $99.95
Borland C++ 3.1 with Application Frameworks for Dos/Windows $199.95

Disclaimer: I am not paid by any of the above. I wish I was. I am just a
student. You may not hold me to these prices.....etc.
-- 
Shiva Shenoy                           | e-mail: shenoy@iastate.edu 
2066 Black,                            | Office: (515)-294-0082
Dept. of Aero. Engg. & Engg. Mechanics | Home  : (515)-296-7640
Iowa State University, Ames, IA 50010  |
Newsgroups: comp.os.ms-windows.programmer.misc
From: yeoy@a.cs.okstate.edu (YEO YEK CHONG)
Subject: Joystick
Organization: Oklahoma State University, Computer Science, Stillwater
Distribution: usa
Date: Sun, 27 Sep 92 20:41:50 GMT

Hello,

     I have downloaded the file joytoy.zip recently and have the executable 
run under Window 3.1.  The program is launched, but always ends right after
it is launched.  I checked the program under Borland Turbo Debugger and 
noticed that the program always return a false value from InitJoyToy(), thus
terminating the program right away.

     My questions are:  
         1)  Do I need a driver for joystick or do I need a multimedia 
             driver or something to be able to detect joystick movement?
         2)  If not, what can I do to allow the above program detect
             joystick?
         3)  If I need a driver, is it available on internet or is it 
             commercially available?

(ps.  I am able to use my joystick while running flight simulator.  Thus, I
      presume that I have installed my joystick properly.)

Yeo...

Newsgroups: comp.os.ms-windows.programmer.misc
From: dspascha@eos.ncsu.edu (DAVID SCOTT PASCHAL)
Subject: Re: Runtime Version of Windows
Originator: dspascha@c00377-346dan.eos.ncsu.edu
Reply-To: dspascha@eos.ncsu.edu (DAVID SCOTT PASCHAL)
Organization: North Carolina State University, Project Eos
Date: Tue, 29 Sep 1992 20:01:35 GMT


In article <jcmorris.717777934@mwunix>, jcmorris@mwunix.mitre.org (Joe Morris) writes:
|>If your client is the end user (as opposed to a vendor) and wants the
|>run-time code for convenience rather than security, you can get much of
|>the functioning of the run-time code by editing SYSTEM.INI to replace
|>the line:
|>
|>   shell=progman.exe
|>
|>by:
|>
|>   shell=myprog.exe
|>
|>which causes Windows to load myprog.exe, run it, and terminate when
|>myprog terminates.  Obviously, this also precludes a user from doing
|>such things as changing printer settings or other tasks which you may
|>or may not wish to be restricted.
|>
|>In the old run-time system the Control Panel was accessible from the 
|>control button rather than from the menu bar, so this the user did have
|>access to printer selection and similar functions.

You can get the Control Panel to load by putting a load= or run= in SYSTEM.INI.

Tschuess,
David Paschal
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Help - beginners problems with palettes in TPW
From: srgiicv@grace.cri.nz
Date: Sun,  4 Oct 92 23:30:46 GMT  
Organization: Industrial Research Ltd., New Zealand.

I am a new and naive TPW programmer trying to create 
gray-scale images of experimetal (x,y,z) data. I can
set up the bitmap, and use setpixel to set the gray
scales, but if I use say 16 gray scales, my bitmap
comes out with only four since there are only 4 
colours in the system palette that map to my 16 
grays. I tried setting up a logical palette, but
I notet that the number of Tpal entries in the 
TLogPalette record in WinTypes unit is defined
as an array[0..0]. This means that I only seem to
be able to create a palette with a single colour.
If it now looks like I'm swimming out of my depth 
then it is because I am.


Where is the best place to turn for help here?
Swan's book is pretty light on palette creation
and manipulation.

Thanks in advance for any pointers
From: loewis@opal.cs.tu-berlin.de (Martin v.Loewis)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Browse Sequences in WinHelp - how?
Keywords: help compiler,help
Date: 5 Oct 92 17:31:45 GMT
Organization: Techn. University of Berlin, Germany

Summary: I found no way to define browse sequences using hc31,
	 the sdk manual is wrong or I missed something.

The MS-Windows help engine allows one to define help sequences.
If one does so, WinHelp displays to buttons in the tool pane of
the WinHelp window, which lead to the previous or next topic in
the browse order - says the manual.
It also says, that this order is defined by '+' footnotes in the
beginning of the topic. The footnote text should be aString:aNumber.
The next topic is one with the same string and a number a bit higher.
The bad thing in this concept is, that it doesn't work. The help
compiler does not complain about anything, there are simply no buttons
shown when running the help (e.g. via file manager). Even the 'helpex'
example shipped with the SDK 3.1 is not able to display the browse
buttons. The only help files with browse keys I have seen are those
of microsoft programs like WinWord, program manager or so.
If it does matter, I'm using hc31 from Borland, but the compiler of
the SDK is not better.

Another question about help compilers:
How can one use the INDEX option? If I'm using it, I get warnings:
'Unknown INDEX option in [OPTIONS] section', and the option is 
ignored.

Thanx in advance,
 Martin
From: marcusj@apricot.co.uk (Marcus Jenkins)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Borland C++ OWL and MDI question.
Date: 5 Oct 92 16:50:19 GMT
Organization: Apricot Computers Limited

I have been tinkering with a Borland C++ OWL and MDI app. and have the
following question... how do I change the Icon for the MDI child windows
that appears when you minimise them?  I'm sorry if this is too easy
a question, but C++, Windows programming and OWL are all pretty new
ground for me.  A code fragment would be really helpful.

Please mail me.

Thanks in advance.

 _ _ _
' ) ) )                         Internet: marcusj@apricot.co.uk
 / / / __.  __  _. . . _        UUCP: marcusj@apricot.uucp
/ ' (_(_/|_/ (_(__(_/_/_)_      If all else fails from US, try:  
Marcus Jenkins                  apricot!marcusj@relay.EU.net
Tel: +44 21 472 3002  Fax: +44 21 471 2935
Disclaimer:  Anything I wrote above is, of course, my own view and
             does not in any way represent my employer.
From: exuptr@exu.ericsson.se (Patrick Taylor)
Newsgroups: comp.windows.ms.programmer,comp.os.ms-windows.programmer.misc
Subject: Re: Huge Pointers
Date: 28 Sep 92 01:22:10 GMT
Organization: Ericsson Network Systems, Inc.
X-Disclaimer: This article was posted by a user at Ericsson in North America.
              The opinions expressed are strictly those of the user and
              not necessarily those of Ericsson.

In article <1992Sep26.031240.17769@usage.csd.unsw.OZ.AU> troy@cbme.unsw.EDU.AU (Troy Rollo) writes:

>Now, only Borland C uses normalised pointers for huge pointers.

I had a girlfriend with really HUGE pointers.  ;-)
 ----------------------------------------------------------------------------
    "This must be Thursday.  I never could get the hang of Thursdays"
                                                       - Douglas Adams
  - Patrick Taylor                                       (Arthur Dent)
    Ericsson Network Systems
    exuptr@exu.ericsson.se                       "Don't let the .se fool you"
    or exuptr@ZGNews.Lonestar.Org, exu.exuptr@memo.ericsson.se
From: whare@ac.dal.ca
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Visual Basic => LOCKING the Window Size....
Date: 29 Sep 92 19:49:22 -0300
Organization: Dalhousie University, Halifax, Nova Scotia, Canada

Hey, all.

Exactly what setting do I toggle within Visual Basic to
LOCK the app window at a certain size.

In other words, I do not want the user to be able to maximize,
or change the size of the window -- much like Calculator.

Thanks in advance. Email please.

Your ignorant friend,
Antony R Hare 
----                               
                                                  ...Richard*GRAPHIC*Design...
                                                  ...Antony R Hare............ 
                                                  ...President................
                                                  ...whare@ac.dal.ca..........
                                                  ...image is almost..........
                                                  .......everything...........
Newsgroups: comp.os.ms-windows.programmer.misc
From: sloth@yoyo.cc.monash.edu.au (Andrew Bulhak)
Subject: Re: EDit window font
Organization: Monash University General Access Unix
X-Newsreader: TIN [version 1.1 PL6]
Date: Tue, 6 Oct 1992 00:40:22 GMT

There's a standard message (wm_SetFont, I think) that you can send to
any control (edit, static, list/combo, etc.) to change its font. I
don't have my manuals here, but it should be in the API manuals.


+-----------------------------------------------------------------------+
|  Andrew Bulhak		|                                       |
|  sloth@yoyo.cc.monash.edu.au	|  "God is real --                      |
|  Monash Uni, Clayton,         |   unless declared as integer"         |
|  Victoria, Australia          |                                       |
+-----------------------------------------------------------------------+
Newsgroups: comp.os.ms-windows.programmer.misc
From: shayden@ringer.cs.utsa.edu (Sean Lee Hayden)
Subject: Help with mouse functions
Organization: University of Texas at San Antonio
Date: Sat, 3 Oct 1992 13:33:46 GMT

I have written a program and i am tring to put mouse support
into it.  I am wondering what are the function to chec if a mouse button
has been pressed or not.

I have looked all through Microsoft 7.0 books and QuickC books as
well and have not had any luck.

So how do i check this???
This is not for a Windows application..This is for a DOS application.
I would like C language reference but will take anything you got

Thanks a bunch.

Sean Hayden
From: hill@netcom.com (Tom Hill)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: Access to D000:0000 thru FFFF
Date: 29 Sep 92 17:49:59 GMT
Organization: Netcom - Online Communication Services  (408 241-9760 guest)

In article <615@lax.lax.pe-nelson.com> twbrown@PE-Nelson.COM (Tom W. Brown) writes:
>In article <1992Sep24.200809.249@wuecl.wustl.edu>, wilcox@swarm.wustl.edu (Don Wilcox) writes:
>|> In article <610@lax.lax.pe-nelson.com> twbrown@PE-Nelson.COM (Tom W. Brown) writes:
>|> >
>|> >Fortunately the Windows KERNEL defines and exports some convenient selectors
>|> >that you can use.  Define the following external variable:
>|> >
>|> >   extern WORD PASCAL __D000H   // NOTE: two underscores!
>|> >
>|> >And to make a pointer to the a given offset within this address range do
>|> >the following (e.g. making an LPSTR):
>|> >
>|> >   LPSTR p = MAKELONG(offset, &__D000H);
>|> >
>|> This is really frustrating for me.  I have tried nearly every conceivable form
>|> of this expression, and I have yet to get the real data into my application.
>|> Is there anyone around who would be willing to look over my code for some
>|> mistake that I have made?  Basically, I have to read data starting at __B000H
>|> and going into the middle of __E000H.  I always get garbage.
>|> 
>

Have you tried AllocSelector(), & SetSelectorBase()? (Sorry if this has already
been suggested, I missed the beginning of this discussion). If that doesn't
work, send me email, I'll see what I can find.

Tom Hill
From: rocker@desire.wright.edu
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Viewing printer output
Date: 30 Sep 92 14:25:04 GMT
Organization: Wright State University


	Does anyone have a relativly simple way to view the printed output from
your program on the screen?

	Someone said if I had Adobe Illistrator, I could use a postscript
driver, print to a file, then read it into AI, but I do't have AI.

	I've tried using a HP Plotter drive and reading into Power Point, but
it won't read it.

	I really hate running back and forth to the printer trying to get my
pagebreaks right.

rock hard
Newsgroups: comp.os.ms-windows.programmer.misc
From: adfreema@uncc.edu (Andreas D Freeman)
Subject: Toolbars in windows
Reply-To: adfreema@uncc.edu
Organization: University of NC at Charlotte
Date: Wed, 30 Sep 1992 18:30:17 GMT


I'm trying to write a fancy program with toolbars but I can't seem to find any examples of toolbars.  Does anyone know how to program such toolbars.  If you have some code you dont't mine shareing I would for you to EMAIL it to me.  I also want to be able to pop up a window that has the buttons in it.  I would like to have the code in Borland C++ 3.1 or Turbo Pascal for Windows 1.5.  I apprecaite any response. Thank You.
Newsgroups: comp.os.ms-windows.programmer.misc
From: oneil@cwis.unomaha.edu (Sharon O'Neil)
Subject: VB 1.0 Questions Before I Buy
Keywords: Is it being phased out?
Organization: University of Nebraska at Omaha
Date: Sat, 26 Sep 1992 21:48:08 GMT

     After a period of thought and consideration about whether I should
actually take the plunge and buy VB, I decided to comparison shop.  I've 
found it at anywhere from $119 to $159.  

     What's puzzling me is that it seems to be kind of hard to find and
also, when I called Egghead they said they only had VB in the warehouse as
selldown stock.  First of all, I don't know what they mean by selldown
stock.  Does this mean that Microsoft is phasing it out for VB Pro (which
seems to be much, much more expensive, more than I want to spend) or is 
it due for an upgrade real soon?

     If it's due for an upgrade, does this mean it's not compatible with
Windows 3.1?  (I know these are probably stupid questions, but I want to
know before I buy it.) 

     If I do buy it, I think I've settled upon getting it from a mail order
place that has it for $128.  I would assume this is a decent price?

Sharon 
oneil@cwis.unomaha.edu
 
Newsgroups: comp.os.ms-windows.programmer.misc
From: amit@mdd.comm.mot.com (Amit Maitra)
Subject: VxD, DDK
Keywords: VxD, DDK, Windows Drivers
Organization: Motorola, Mobile Data Division - Seattle, WA
Date: Sat, 3 Oct 1992 01:27:33 GMT

I am trying to develop a driver for a "slightly" non standard Port. What I need
to do is take instant action when a signal occurs on this port. The "action"
will include reading data from other ports and sending it off on another port
as well. 

It is crucial that this action is done irrespective of what is
happening in the fore ground. i.e. even if there is a system modal box waiting
for response this action must be done immediately. None of the applications
need to know this happened.

Basically signal from this port should get top priority. What is the
best way of doing this ? I am new to writing Windows drivers. Any help
regarding the methodology or any sample driver code would be widely
appreciated. Also if there is any documentation (including books) which can
provide good examples would be helpful. I am only interested in 386 enhanced
mode.

Any help would be greatly appreciated. Thanks in advance,
 
Reply to  
 
Amit Maitra : amit@mdd.comm.mot.com
From: kaufman@Xenon.Stanford.EDU (Marc T. Kaufman)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: Subtraction bug
Keywords: MATH BUG IEEE ROUNDING
Date: 27 Sep 92 15:21:20 GMT
Article-I.D.: Xenon.kaufman.717607280
Reply-To: kaufman@CS.Stanford.EDU
Organization: CS Department, Stanford University, California, USA

jwu@zeus.calpoly.edu (John Shih Jen Wu) writes:

>I have run into a bug which is a result of the IEEE standard
>for math operations. For example, when preforming the following
>operation: 40672.81 - 399000. The result is 772.8099998, when
>the result should obviously be just 772.81.

>The error is due to IEEE standard of handling single and double
>precision numbers in math operations. Does anyone have a work
>round for this problem? I know it is possible, since the Windows
>calculator application does not have this problem.

First, there is no problem.  There is no exact binary representation for
0.81, so truncating it to any finite number of bits will result in an
"error" from the true value.  The Hexadecimal representations of
the numbers are:
                772.81      = 304.CF5C28F...
                772.8099998 = 304.CF5C25A...

so the result is accurate to 20 bits (1 part in a million).

When you want to print this kind of number, pick the number of significant
places (in your case, 2), and add 1/2 of the next place (.005), then
truncate the answer to 2 places.  This is how all good calculator routines
do it.  Note that, in your case, the answer is good to 7 places, and
adding (.00000005) and truncating to 7 places would give 772.8100000

If you are doing "business" arithmetic, where you really want the pennies
to come out correctly, you must scale all your input data by 100 (or 1000)
so that all penny amounts are integers.  Or you can do the arithmetic
in BCD (like COBOL does).

-- 
Marc Kaufman (kaufman@CS.Stanford.EDU)
From: anders@ipcsun1.his.se (Anders Eklund)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Debugging in Windows
Date: 30 Sep 92 12:02:45 GMT
Distribution: comp.os.ms-windows.programmer.misc
Organization: University of Skoevde, Skoevde


Hi folks,

  I have a question about how to debug C-programs under windows. I use
Borland C++ 3.0 and I'm about to get dual monitors. I have heard that
there exist a special windows version or something like that, that I
should use if I develop programs. Is it true? If that is the case,
where could I get it and how would it help me? I also wonder if
there are any good programs except the debugger shipped with Borland
which are useful. All answers are apreciated.

Thanks in advance.
Anders
--


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         ___
        /   /       /                --  Anders Eklund  anders@his.se --
       /__ /___ ___/___ ___ ___      --  Connectionist Research Group --
      /   //  //  //__//   /__       --  Computer Science  Department --
    _/   //  //__//__ /   ___/       --  University of Skovde, Sweden --

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Newsgroups: comp.os.ms-windows.programmer.misc,comp.os.ms-windows.programmer.tools,comp.windows.ms.programmer
From: sushi@netcom.com (John V. Sichi)
Subject: Visual Basic custom control TAB capture
Date: Tue, 29 Sep 92 08:04:34 GMT
Organization: Quadbase Systems (Sunnyvale, CA)
Summary: Need a clean way to do it
Keywords: VB custom control TAB

A custom control we're developing contains a number of data entry fields
which the user is supposed to be able to move among using the TAB key.
Visual Basic treats the entire control as a single tab stop, so when the
TAB key is dispatched, the control gets a WM_KILLFOCUS and the next control
in the tab order gets a WM_SETFOCUS.  We'd like to modify the course of events
so that the focus only moves to the next edit-control child window of the
custom control, until the last one is reached, at which point normal operation
should resume.  Any clever way to do this without being OS-hostile?  The
current plan is to use SetWindowsHookEx to catch the TAB key, but that seems
kind of messy (multiple instances and all) and I'm not sure it'll work.

Please mail any replies directly...thanks,

JVS


Newsgroups: comp.os.ms-windows.programmer.misc
From: euacis@eua.ericsson.se (Cecilia Pettersson)
Subject: Horizontal scrollbar in a listbox - How ???
Organization: Ellemtel Telecom Systems Labs, Stockholm, Sweden
Date: Wed, 30 Sep 1992 15:39:27 GMT

Is there an easy way of adding a horizontal scrollbar to a listbox  ??

(I've seen this done in a 4GL case tool, so it must be possible :-) )

Oh, by the way,I use 
 - Windows 3.0
 - Microsoft SDK

Thanks, Cecilia
Newsgroups: comp.os.ms-windows.programmer.misc
From: jt@fuw.edu.pl (Jerzy Tarasiuk)
Subject: Re: NEED C Code for reboot
Followup-To: comp.os.ms-windows.programmer.misc
Organization: Warsaw University Physics Dept.
Date: Mon, 28 Sep 1992 21:57:50 GMT

Can use: void (*foo)(); foo=MK_FP(0xffff,0); (*foo)(); - it is reset
using BIOS. Other way may be interrupt 19(hex) which should reset...

Newsgroups: comp.os.ms-windows.programmer.misc
From: kro@fics.uucp
Subject: is the file open?
Organization: Kvam data as
Date: Tue, 29 Sep 1992 18:14:30 GMT

I need to check if a certain file on disk is open by someone. My first
thought was to try to open the file myself, and then check the error status
of the open function. 

The system does in fact find out that this file is opened by someone. The only
problem is that it pops up a dialog box saying something like 'System error,
Sharing violation on drive C:', and I dont have any control over what is
happening.

Any suggestions on how to approach this problem?

Knut Rogde


-- 
------------------------------------------------------------------------
Knut Rogde                      Phone : +47 4 623766
Software enginer                Fax   : +47 4 623985
Kvam data as                    Email : kr@fics.uucp
Newsgroups: comp.os.ms-windows.programmer.misc
From: assela@aix.rpi.edu (A. Andre Asselin)
Subject: bug in BC 3.1 when generating assembler?
Date: Wed, 30 Sep 1992 08:14:01 GMT

Has anyone noticed a bug in BC 3.1 when the generate assembler code switch
is on?  I ran into a problem with it not updating the .obj file when the
switch was on (from the IDE).  Coomments?
    - Andre Asselin   (assela@rpi.edu)
Newsgroups: comp.os.ms-windows.programmer.misc