HDTenEightyP/NetNews huggingface dataset:
From: beaurega@ireq.hydro.qc.ca (Denis Beauregard)
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: Re: FONTS
Date: 26 Aug 92 13:59:43 GMT
Organization: Institut de recherche d'Hydro-Quebec, Varennes, Canada

In article <1992Aug24.095048.27543@crash> bsweet@crash.cts.com (Bill Sweetman) writes:
>
>=-=-=
>all -
>
>I'm looking for a small fixed font.  right now I'm using the ANSI_FIXED_FONT
>but it is still too big.  Is there some way using CreateFont, that I can
>make a smaller FIXED FONT??  any help is appreciated.
>
>thanks,
>-bill
>=-=-=

If you are using a VGA video card, what about using a CGA font?
You should load the CGA font from the Windows disks.  I did so long ago,
but just did not keep the details.  Perhaps, it should be an easy job!

And if you have EGA card, the CGA font will look a bit bigger.
However, the .FON (I did this with Windows 3.0) fonts are not Word
compatible (since Word was using own caracter set).

-- 
  \_\    Denis Beauregard  *  internet:beaurega@ireq.hydro.qc.ca
 /   \   Genealogiste officiel : Beauregard/Jarret/Jarest/Vincent
J   __>  Vient de paraitre : Andre Jarret et ses Ancetres
\_.-===  En vente par l'auteur                      Opinions ? Et pis non !
Newsgroups: comp.os.ms-windows.programmer.tools
From: ddoherty@ics.uci.edu (Donald Doherty)
Subject: Re: C/C++ 7.00 patch
Reply-To: ddoherty@ics.uci.edu (Donald Doherty)
Organization: Univ. of Calif., Irvine, Info. & Computer Sci. Dept.
Date: Fri, 4 Sep 1992 05:38:23 GMT

In article <75440001@hpdmd48.boi.hp.com> gordonm@hpdmd48.boi.hp.com (Gordon Margulieux) writes:
>I'm probably the only one that didn't know but there's a C700 patch on
>MS BBS (206)936-6735 {9600 baud}.
>

What does the patch fix?

Newsgroups: comp.os.ms-windows.programmer.tools
From: rdw1@rodan (Robert D Warren)
Subject: Wanted: CMF2MIDI program.
Organization: Appalachian State University
X-Newsreader: Tin 1.1 PL4
Date: Thu, 3 Sep 1992 23:23:19 GMT

	A short time a ago I came across a small utility by the name of
CMF2MIDI.???. It converts Soundblaster CMF files to MIDI format that Windows
can play. However, this file was stored on a CD-ROM that only paid members
could access. I thought someone out there could direct me to a copy for
free on a site, or mail me one. I am also interested in a ROL2MIDI converter,
but I would need something to convert CMF files to ROL. Thanks in advance.

						B
--

     *********************************************************************
     * Robert D. Warren             * Internet: acsop17@appstate.edu     *
     * Appalachian State University *                                    *           * Boone, North Carolina        *                                    *
     *********************************************************************

From: galenr@hpgrla.gr.hp.com (Galen Raben)
Date: Thu, 3 Sep 1992 23:04:20 GMT
Subject: Re: PD RTF EDITOR WANTED
Organization: Hewlett-Packard, Greeley, CO
Newsgroups: comp.os.ms-windows.programmer.tools

In comp.windows.ms.programmer, whedon@netcom.com (Bill Whedon) writes:

>The subject line says it all, but if your rn doesn't show it (mine doesn't),
>here it is again:
>   PD RTF EDITOR WANTED

>(or shareware, for which I will pay if it works well).

>Any ideas, pointers, etc.?
>Thanks,
>Bill Whedon   whedon@netcom.com

If you are looking for one for creating Windows Help files Xantippe works
fine!  Not really that useful for serious word processing though (no spell
checker).  It's shareware - the price is right, $15...

Last I noticed it was on cica.indiana.edu in /pub/pc/win3/util as
xantippe.zip

Hope that helps...
- Galen -
Newsgroups: comp.os.ms-windows.programmer.tools
From: macole@wam.umd.edu (Mario A. Cole)
Subject: Re: VB Dev Kits
Organization: University of Maryland, College Park
Date: Fri, 28 Aug 1992 21:27:12 GMT

In article <BtMpsr.8no@news.cso.uiuc.edu> skhg0983@uxa.cso.uiuc.edu (Steve Holzgraefe) writes:
>
>Does anyone have have any yays/nays about either the Professional Toolkit
>from Microsoft or VBTools from Microhelp? I'm interested in any pointers,
>criticisms, experiences, comparisons, etc.  Also, any info on VB v2 and
>any new tools it might contain would be great.
>
>Thanks.

I have VBTools 2.0 and it contains some very interesting controls...it 
includes a high-res picture control, which allows 256-color images to 
be displayed; a screen saver control; several command buttons, which include
options for multiple bitmaps or icons; there is a toolbox control that allows
you to create a toolbox of button (I guess maybe even a toolbar); there is
a scrolling text control (of course, after I wrote a routine for it!); there
is a control for colored bar graphs and charts; and so on....

In a nutshell, it expands the capabilities of VB tremendously...VBTools 2.0
comes with a shit-load controls (I can't quite remember the number...but 
there are alot).  As for VB 2.0...I only read that it will be much faster
than the first.  At this rate, I think Visual C++ will be in order...:-)
Anyways, VB is becoming quite a serious programming tool...and fun too!
I can create a serious application with little surprises (for those serious
computer weenies who don't smile at anything!)  I took a 256 color image of
the president of my company and had scrolling text roll by...thank God he
was amused.

Mario


-- 
Mario A. Cole			     |  HJ Ford Associates Incorporated
macole@wam.umd.edu		     |  1111 Jeff Davis Hwy Suite 808
University of Maryland College Park  |  Crystal City, Arlington, VA 22202
(301) 868-9249 		             |  (703) 553-5580
Newsgroups: comp.os.ms-windows.programmer.tools
From: mkim@wpi.WPI.EDU (Mansig Kim)
Subject: VB: InputBox$ + 2 Option Boxes
Organization: Worcester Polytechnic Institute
Date: Wed, 2 Sep 1992 16:34:51 GMT

Could someone respond to this??

I am implementing something like "InputBox$ + two option buttons" 
(call it MY-INPUT-BOX).

Here,  MY-INPUT-BOX is called 10 times (arbitrary number), and each time
user selects one option button and clicks OK, which calls the next 
MY-INPUT-BOX.

I could not include option buttons on the InputBox$, so I
created a window with 2 option buttons and 1 commandbutton (for OK) on it.
I still want to call this 10 times.

Now, the problem is how to interrupt(WAIT) the calling until the user
selects one option button and clicks OK??

for i = 1 to 10
    call MY-INPUT-BOX
    select one option box
    WAIT until OK clicked
    ^^^^
next

Here is my way for the WAIT portion.

DO Until OK-clicked
   idle(do dummy counting??)
Loop

Ok-clicked is initially set to FALSE. But once you click OK button, 
it sets Ok-clicked to True, which gets out of DO-Loop and calls the next
MY-INPUT-BOX. I tried this, but the window's frozen and I should stop the run
with ctrl-brk.

Anybody out there to stretch my idea or any other comments??

Thanks.

Mansig
From: dpbsmith@world.std.com (Daniel P. B. Smith)
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: Re: Can VB write over itself?
Date: 1 Sep 92 01:12:10 GMT
Organization: The World Public Access UNIX, Brookline, MA

Wow! Joe Robinson's approach (just treat the .EXE as a string and do
a brutal search-n-replace) has a certain raw elegance to it that would
never have occurred to me!

I've had a similar problem (want to "stamp" or serialize each .EXE file
I distribute).  What I've been doing is to use the Resource Workshop
(by Whitewater, I think, but distributed with Borland C++) to put a string
resource in the .EXE.  The problem is I can't figure out any good way to
automate it.  Windows seems to have stuff in its API for READING resources,
but not for WRITING them.  

Maybe the approaches could be combined somehow?  Is there any documentation
from MS on what the resource format is?  Maybe you could make the 
search-n-replace safer by making sure it occurs in the resource instead of
the actual executable code itself?


-- 
Daniel P. B. Smith
dpbsmith@world.std.com
Newsgroups: comp.os.ms-windows.programmer.tools
From: kwanghan@iti.gov.sg (Tan Kwang Han (SE))
Subject:  CodeView for Windows
Reply-To: kwanghan@iti.gov.sg
Organization: Information Technology Institute, National Computer Board, S'pore
Date: Tue, 1 Sep 1992 09:38:50 GMT

I use the C7 codeview for windows as a debugger.
However whenever I quit the debugger, it has this annoying thing of not 
properly restoring the colors of whatever the dubugger window previously cover.
In fact everything below turns black and white. 
The color can be restored by forcing a repaint of the desktop thought.

Did I forget to set anything.
I'm using Windows 3.1, MS C7, a Trident SVGA card (Quadtel chip) with 1 K on board.


Any help is appreciated.
---
TAN Kwang Han    	               /* All comments are mine alone */
Information Technology Institute,      National Computer Board, Singapore
Internet : kwanghan@iti.gov.sg       | Voice : (65) 7720 548
Bitnet   : kwanghan@itivax.bitnet    | Fax   : (65) 7795 966

Newsgroups: comp.os.ms-windows.programmer.tools,comp.windows.ms.programmer
From: westes@netcom.com (Will Estes)
Subject: Any Way To Use Turbo Debugger Windows With Monochrome Monitor?
Date: Tue, 01 Sep 92 21:01:28 GMT
Organization: Mail Group

Does anyone know of a way to use Turbo Debugger For Windows with Borland
C++ 3.1 with a monochrome monitor?  I have a single 19" monochrome
monitor that emulates Hercules on my system.  The Borland technician
told me to use the svga.dll in the VideoDLL option in TDW.INI (SVGA for
a monochrome monitor?!).  My screen goes blank both with and without
anything specified in VideoDLL.  Can TDW be made to work with a hercules
monitor?  

Thanks,
Will Estes	Internet: westes@netcom.com
Newsgroups: comp.os.ms-windows.programmer.tools
From: neil@progress.COM (Neil Galarneau)
Subject: Re: GDI heap Walker available?
Keywords: heap gdi walker
Organization: Progress Software Corp.
Date: Thu, 27 Aug 1992 17:56:12 GMT

_Undocumented Windows_ is out and comes with both GDI and USER heap walkers.

I haven't used them yet.

The book is great.



Neil
From: hlpell@sequent.com (Howard Pell)
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: Re: Can VB write over itself?
Date: 31 Aug 92 13:21:15 GMT
Organization: Sequent Computer Systems (Canada) Ltd.

joero@microsoft.com (Joe Robison) writes:

>In article <U=T.714494455@cansqnt> hlpell@sequent.com wrote:
>> I want to have my software product prompt the user for his/her name and the
>> registration number and then store this in a safe place, as do most
>> software packages.  Can Visual Basic overwrite its own .EXE file to store
>> this info?  That is, can I set aside an area of the .EXE that will be used
>> exclusively for this purpose?  Then if the setup program sees that this
>> area has data in it, it will not prompt the user to re-enter his/her name
>> and registration number.
>> 
>> Any and all help appreciated.

>Well, doing this gives me the heebee-geebies (is that how you spell that?)
>but here you go:

>Function ReplaceTextinEXE (EXE As String, Target As String, replace As String)
>Dim f As Integer, i As Long, X As String
>    If Len(Target) <> Len(replace) Then Exit Function
>    f = FreeFile
>    If UCase$(Right$(EXE, 4)) <> ".EXE" Then EXE = EXE + ".EXE"
>    Open "foo.exe" For Binary Access Read Write Shared As f
>    For i = 1 To LOF(f) - Len(Target)
>        X = String$(Len(Target), " ")
>        Get #f, i, X
>        If X = Target Then
>            Put #f, i, replace
>            ReplaceTextinEXE = -1
>            Close #f
>            Exit Function
>        End If
>    Next
>End Function


>Essentially what you want to do is store a target string somewhere in
>your application (an invisible label on a form, in the tag property of
>any control, even as literal in your code).  Then you call this function 
>and pass it the EXE name, the target string, and the replacement string.  
>Obviously the target and replacement have to be the same length.  Also, 
>since you don't have any control over the order that strings get put in 
>the finished EXE, you want to make sure this string is unique so you 
>replace the right one (and so this function will fail if you ever run 
>it on the same EXE again). Notice too that this changes the file on
>disk, not the copy in memory (if any).  So if you make the EXE modify
>itself, you won't see the change until the next time you run it from
>disk (moreover, you won't be able to run multiple instances of the app
>--until you re-run it from disk--because the version in memory is different 
>from the version on disk). For this reason you probably want to have a
>separate "setup" program that writes into the EXE (this is what most
>commercial applications do).

>Like I said, actually writing into an EXE is a fairly risky thing to do.
>Be careful.

>Hope this helps.

>--
>Joe Robison
>joero@microsoft.com
>NAMS (Not A Microsoft Spokeshuman)

Thanks for the assistance and warnings.  I will give this a try.  Someone
also suggested I try declaring a global constant and assigning it a unique
string.  Then search the .EXE for this string and replace it.  Much the
same as your suggestion.

I'll let you know how it turns out.

Howie
From: venkataraman@misvax.mis.arizona.edu (Remesh Venkataraman)
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: Windows Messages and Visual Basic
Date: 30 Aug 92 20:46:00 GMT
Distribution: usa,local
Organization: University of Arizona MIS Department

I have developed a custom control kit, modeled after the simple circle1 example
in the VBProf.Dev.Kit Manual.  It is intended to receive a special type of messa
ge sent out by an in-house windows network kit.  My problem is that while I am
able to receive the messages and take appropriate action, when I end the appli
cation within Visual Basic, it gives me an error saying

"Erro caused in VB.EXE" or something to that order.  Certain events lead up
to this, beginning with Visual Basic losing its ability to repaint its windows.

Any pointers as to where I might be messing up ? Anybody experienced similar
problems just dealing with standard windows messages ?

Any and all help will be appreciated,

-ramesh
========================================================================
Standard Disclaimers Apply
University of Arizona			
Management Information Systems

E-mail:
venkataraman@misvax.mis.ariona.edu       
Sprint:
(602)-621-2748
========================================================================
Newsgroups: comp.os.ms-windows.programmer.tools
From: steveng@world.std.com (Stephen Ng)
Subject: Re: Can VB write over itself?
Organization: The World Public Access UNIX, Brookline, MA
Date: Tue, 1 Sep 1992 12:29:02 GMT


If you have either the Borland or MS development kits, you can just
use the resource compiler to bind the resource into the executable,
instead of an interactive tool like the resource workshop.  I
timestamp my executable automatically this way, using an awk script to
create the time/version string.    

Cheers,

Newsgroups: comp.os.ms-windows.programmer.tools,comp.os.ms-windows.programmer.misc,comp.windows.ms.programmer
From: mm@pico.OZ (Manuel Mall)
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: VB for dBase and Novell
Date: 3 Sep 92 10:29:18 GMT
Organization: Comp Sci, Uni. Western Australia.
X-Newsreader: Tin 1.1 PL4

I am looking for DLLs which allow access to dBase files
and the Novell bindery.

I have heard about CodeBase and vxBase. Anybody out there
who has any experience with these DLLs and can comment.

Forgot to mention that I want to access dBase and Novell
from VisualBasic.

Thanks

Manuel Mall
QPSX Communications Ltd
33 Richardson St
West Perth, WA 6005
Australia
email: mmall@qpsx.oz.au
From: newkerk@zso.dec.com (Oscar Newkerk)
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: Re: Looking for info on jpeg format...
Date: 31 Aug 92 21:26:51 GMT
Reply-To: newkerk@zso.dec.com (Oscar Newkerk)
Organization: Digital Equipment Corporation


From the README file in the free JPEG software.  Also there is a mailing list
at jpeg-info@uunet.uu.net


 REFERENCES
==========

The best and most readily available introduction to the JPEG compression
algorithm is Wallace's article in the April '91 CACM:
        Wallace, Gregory K.  "The JPEG Still Picture Compression Standard",
        Communications of the ACM, April 1991 (vol. 34 no. 4), pp. 30-44.
(Adjacent articles in that issue discuss MPEG motion picture compression,
applications of JPEG, and related topics.)  We highly recommend reading that
article before looking at any of the JPEG software.

For more detail about the JPEG standard you pretty much have to go to the
draft standard, which is not nearly as intelligible as Wallace's article.
The current version is ISO/IEC Committee Draft CD 10918-1 dated 1991-03-15.
The standard is not presently available electronically; you must order a paper
copy through ISO.

The JPEG standard does not specify all details of an interchangeable file
format.  For the omitted details we follow the "JFIF" conventions, revision
1.01.  A copy of the JFIF spec is available from:
        Literature Department
        C-Cube Microsystems, Inc.
        399A West Trimble Road
        San Jose, CA  95131
        (408) 944-6300
Requests can also be e-mailed to info@c3.pla.ca.us (this address good after
10/10/91).  The same source can supply copies of the draft JPEG-in-TIFF specs.

If you want to understand this implementation, start by reading the
"architecture" documentation file.  Please read "codingrules" if you want to
contribute any code.
From: matte@plutonium.CChem.Berkeley.EDU (Matt Rose)
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: How to get DLLs out of memory.
Date: 26 Aug 92 13:42:44 GMT
Distribution: usa
Organization: University of California, Berkeley
NNTP-Posting-Host: plutonium.cchem.berkeley.edu

I'm programming in BCW 3.1, and having a great ol' time of it.

However I do encounter the occasional crash, as does happen when developing
code.  
The problem is that if I crash after I've loaded a DLL I never have opportunity
to call FreeLibrary(hLib);.  At least I think this is my problem.  The next tim
 Load my DLL everything seems fine until I get to the point where I try
to call one of the functions whose address I got with GetProcAddress().
At this point I get a Not Present error in the DLL.

So... What up dude?

matt

-disclaimer
	My ignorence and poor spelling in no way reflect the opinions of 
	UC Berkeley.
Newsgroups: comp.os.ms-windows.programmer.tools
From: kwanghan@iti.gov.sg (Tan Kwang Han)
Subject: Win SDK 3.1 upgrade missing manuals
Keywords:  SDK 3.1 Missing Manuals
Reply-To: kwanghan@iti.gov.sg
Organization: Information Technology Institute, National Computer Board, S'pore
Date: Tue, 1 Sep 1992 01:34:50 GMT

Recently I upgraded my win SDK to version 3.1. I discovered that there  were 2 missing
manuals as compared to what was stated in the Getting started manual.
- MS win User Interface Guideline
- MS Win Guide to Programming
I called the distributor but they claimed that as my was a upgrade package, 
Therefor I was not entitled to the 2 manuals.
Just want to check with you people out there whether I've being short changed.


----
TAN Kwang Han    	               /* All comments are mine alone */
Information Technology Institute,      National Computer Board, Singapore
Internet : kwanghan@iti.gov.sg       | Voice : (65) 7720 548
Bitnet   : kwanghan@itivax.bitnet    | Fax   : (65) 7795 966
From: timmer@dutiag.tudelft.nl (I. Timmermans)
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: ole
Summary: ole
Keywords: ole
Date: 28 Aug 92 10:44:20 GMT


Hello, 

I'm looking for information on programming OLE applications for
Windows. More specific; I'm looking for the source code of a
sample OLE client application which is a bit less complicated
than the CLIDEMO sample of the SDK. I would like to know what the 
minimum is one should do to support a bit of OLE.

FYI: I'm writing a file viewer which should be able to view 
objects through using an OLE server (e.g. view a bitmap bycreating a link with PaintBrush).

I'm also looking for a simple sample program which explains how I
should create a metafile and copy it to the clipboard. So far, my
implementations (based on the Petzold book) haven't led to much
good. (Clipboard Viewer can display them, but Write can't).

I hope you can help me,
Hans Timmermans
(timmer@dutiws.twi.tudelft.nl)
(compuserve 75730,1727 (will be from internet: 75730.1727@compuserve.com))



Newsgroups: comp.os.ms-windows.programmer.tools
From: reimer@fraser.sfu.ca (Kenneth Ryan Reimer)
Subject: Two questions about MS C/C++ 7.0
Organization: Simon Fraser University, Burnaby, B.C., Canada
Date: Wed, 2 Sep 1992 03:40:54 GMT

And they are...

1.  Does MS C/C++ 7.0 include the 6 large MS Press Windows Technical Reference
    books?

2.  Is MS C/C++ 7.0 available on CD-ROM?

Please reply via e-mail to this address or 76526.1454@compuserve.com - Thanks!
Xref: sparky comp.os.ms-windows.programmer.tools:795 comp.os.ms-windows.programmer.misc:1563 comp.os.ms-windows.misc:2481
From: anderson@mayo.edu (Alfred I. Anderson)
Newsgroups: comp.os.ms-windows.programmer.tools,comp.os.ms-windows.programmer.misc,comp.os.ms-windows.misc
Subject: VG - colors/fonts in Grid possible
Date: 28 Aug 92 16:33:53 GMT
Organization: Mayo Foundation

Microsoft distributes the GRID control as an enhancement to Visual Basic in 
the Professional Toolkit.  It is a very useful control!

Question: how can the character attributes of forecolor and fontsize be set 
on a CELL BY CELL basis? 

It is easy to give the entire grid these attributes.  However, I can't find 
a way to adjust the attributes on a cell basis.  For example, all numbers 
appearing in column 1 should be in black unless they are negative in which 
case they should appear in red.  Or, every 5th row should be printed in a 
bold-face font, other rows printed in a normal font.


Can anyone suggest a way of doing this?

Alfred
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Alfred Anderson                Internet:    anderson@Mayo.edu
Mayo Foundation - Rochester MN 55905
-----------------------------------------------------------------
Newsgroups: comp.os.ms-windows.programmer.tools
From: carr@scinet.up.ac.za ( Allen Carr (NW1:2-1):-2838)
Subject: BWCCGetPattern()
Date: Wed, 26 Aug 1992 14:32:59 GMT
Organization: Gold Fields Computer Centre for Education
Keywords: BC++ 3.1

I wanted to create a window which used BCW's custom controls, with the 
pretty background. I created a class THWindow which defined the following 
virtual method:
	void THWindow::GetWindowClass(WNDCLASS& AClass) {
		TWindow::GetWindowClass(AClass);
		AClass.hbrBackground = BWCCGetPattern();
	}

The first time this program was run, everything was OK. On exiting any other 
Borland product which used BWCC lost their background. 

My reasoning for using BWCCGetPattern() was that it returned an HBRUSH so it 
should have worked with WNDCLASS.hbrBackground.

Any offers ??

I have found that using
	AClass.lpfnWndProc = BWCCDefWindowProc;
instead of
	AClass.hbrBackground = BWCCGetPattern();
seems to overcome the problem.

alan carr

email: carr@scinet.up.ac.za
From: clay+@cs.cmu.edu (Clayton Bridges)
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: Looking for Resource Displayer
Date: 31 Aug 92 01:41:16 GMT
Article-I.D.: cs.BttrCs.74B.2
Organization: School of Computer Science, Carnegie Mellon

I'm looking for a Win3.x program that will display what percent
resources I've got left in a small window (like the digital clock). A
program that could give me more information on resources, like who is
taking up what, etc. would be even more useful.

Please mail any pointers to me, and I will compile and send to the list. 

Thanks
Newsgroups: comp.os.ms-windows.programmer.tools