HDTenEightyP/NetNews huggingface dataset:
Newsgroups: comp.os.ms-windows.programmer.tools


Subject says it all, I need to display jpeg (.jpg) images in Visual Basic.
If anyone knows how to decode jpeg images or can give me a lead where
to find info on the format I would greatly appreciate it!  Does anyone
know of someone that has written a control to do this?

Thanks!
- Galen -
galenr@hpgrla.gr.hp.com

Newsgroups: comp.os.ms-windows.programmer.tools
From: whedon@netcom.com (Bill Whedon)
Subject: Re: Looking for info on jpeg format...
Date: Fri, 28 Aug 92 08:08:01 GMT
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 

In article <36720010@hpgrla.gr.hp.com> galenr@hpgrla.gr.hp.com (Galen Raben) writes:
>
>Subject says it all, I need to display jpeg (.jpg) images in Visual Basic.
>If anyone knows how to decode jpeg images or can give me a lead where
>to find info on the format I would greatly appreciate it!  Does anyone
>know of someone that has written a control to do this?
>
I'd like info on this, too.  As to VB, I think it's going to be much too
slow decoding raster graphics.  If I get the info, I'll put together a C DLL
and let y'all have it free.  Maybe some Real Smart Dude will even do an
assembler one, and we can really pick up some speed!
Bill Whedon

Newsgroups: comp.os.ms-windows.programmer.tools
From: eau@runx.oz.au (Eric Ulevik - Equity Systems Ltd)
Subject: Microsoft C/C++ 7.0 versus Borland C++ 3.1
Summary: Which is the best Windows compiler?
Keywords: compiler stability performance
Organization: RUNX Un*x Timeshare.  Sydney, Australia.
Date: Sat, 29 Aug 92 02:47:39 GMT

We're trying to decide between Microsoft and Borland compilers
as a standard compiler for building our products. We will use 
both compilers during development - the question is which one 
to use to generate the final .EXE.

Our products (real-time financial market analysis) need to run
for months at a time, collecting data and analysing it at 
high rates. Thus our primary concerns are the stability of the
generated code, and its performance.

Does anybody have any feedback on which compiler produces
more reliable code? And which produces faster code?

(Obviously, both of these compilers are very reliable,
but given that we usually end up finding problems with the
operating system or hardware we would like to minimize problems).

Thanks,
-- 
--
Eric Ulevik, Equity Systems Limited, Sydney, Australia. eau@runxtsa.runx.oz.au
From: aa596@cleveland.Freenet.Edu (Peter Haller)
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: Re: Emacs under MS-Windows (was: MicroEMACS under GUI - what&where?)
Date: 2 Sep 92 22:44:11 GMT
Reply-To: aa596@cleveland.Freenet.Edu (Peter Haller)
Organization: Case Western Reserve University, Cleveland, OH (USA)
NNTP-Posting-Host: slc12.ins.cwru.edu


In a previous article, weisman@osf.org (Dave Weisman) says:

>
>Mirco writes:
>
>	Now I heard of other versions of MicroEMACS for
>	window-orientated enviroments (MS Windows, XWindows, ...). Up to
>	now I haven't discovered yet which versions do exist or where to
>	get them. 
>
>I've been a very, very happy demacs user for some time now.  Some
>of my current work is under MS-Windows and unfortunately demacs
>doesn't work in that model.  It's not just that demacs isn't
>written as a typical Windows program, but it also doesn't run
>under a Windows/DOS session.  (The specific problem is that a
>Windows/DOS session supports DPMI, but demacs/go32 likes VCPI.)
>
>Has anyone researched what's necessary to either port GO32 to
>DPMI, or, take a deep breath, do a real emacs port to Windows?
>

Emacs has been ported to Windows. It is a very good port also. It
is available on simtel20 , cica, and Compuserve. MEWIN.ZIP is the
file. (It is also available for Windows NT!)

PCH
-- 
Peter C. Haller				|	'If you do what you
Lorain Products				|	have always done,
aa596@cleveland.Freenet.Edu 		|	expect what you have
"Are we having fun yet?"		|	always received.'
Newsgroups: comp.os.ms-windows.programmer.tools,comp.os.ms-windows.programmer.misc,comp.windows.ms.programmer,news.answers
From: eri316@tijc02.uucp (Ed Ingraham         )
Subject: MSC 7 PWB Problem?
Organization: Siemens Industrial Automation, Johnson City TN
Date: Fri, 28 Aug 92 12:49:09 GMT

I'm using MS C 7.0 + Win 3.1 + DOS 5.0 + Novell 3.26.
This is on a 386DX with 4MB and plenty of disk space.
After doing a couple of days of browsing source code
on our file server, the PWB crashes, sometimes taking
Windows along with it. Once I saw a message from PWB
that indicated it was out of memory. And ideas on what
to look at?

Ed Ingraham
Siemens Industrial Automation
Johnson City, Tennessee
tijc02!eri316@uunet.uu.net
Newsgroups: comp.os.ms-windows.programmer.tools
From: aa596@cleveland.Freenet.Edu (Peter Haller)
Subject: Bug in TLINK
Reply-To: aa596@cleveland.Freenet.Edu (Peter Haller)
Organization: Case Western Reserve University, Cleveland, OH (USA)
Date: Sun, 23 Aug 92 19:33:45 GMT


FYI:

I have discovered a bug in TLINK for BCPP 3.1. This has been confirmed
by Borland. The bug is that you cannot create a FIXED code segment
with BCPP.  Normally, and according to the Windows SDK, you would use
the SEGMENTS directive in the module definition file for a DLL or EXE
to declare a specific segment as FIXED. After much frustration, and
many failed attempts to discuss this with Borland Tech support, Borland
confirmed the problem. The Segment is marked in the DLL/EXE as being 
discardable. (I have discovered a work around, but it is both painful and
forces one to perform a lot of overhead. If anybody is interested, I will
give them my work around.)

PCH
-- 
Peter C. Haller				|	'If you do what you
Lorain Products				|	have always done,
aa596@cleveland.Freenet.Edu 		|	expect what you have
"Are we having fun yet?"		|	always received.'
Newsgroups: comp.os.ms-windows.programmer.tools,comp.windows.ms.programmer
From: dspascha@eos.ncsu.edu (DAVID SCOTT PASCHAL)
Subject: Re: Any Way To Use Turbo Debugger Windows With Monochrome Monitor?
Originator: dspascha@c00089-100lez.eos.ncsu.edu
Reply-To: dspascha@eos.ncsu.edu (DAVID SCOTT PASCHAL)
Organization: North Carolina State University, Project Eos
Date: Tue, 1 Sep 1992 22:09:34 GMT


In article <=3jnbva.westes@netcom.com>, westes@netcom.com (Will Estes) writes:
|> Xref: taco comp.os.ms-windows.programmer.tools:789 comp.windows.ms.programmer:12238
|> Newsgroups: comp.os.ms-windows.programmer.tools,comp.windows.ms.programmer
|> Path: taco!gatech!destroyer!sol.ctr.columbia.edu!The-Star.honeywell.com!umn.edu!csus.edu!netcom.com!westes
|> From: westes@netcom.com (Will Estes)
|> Subject: Any Way To Use Turbo Debugger Windows With Monochrome Monitor?
|> Message-ID: <=3jnbva.westes@netcom.com>
|> Date: Tue, 1 Sep 92 17:01:28 GMT+5:00
|> 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
|> 

Hi.  Do you mean have a dual-monitor setup (Windows on (S)VGA screen and TDW
on monochrome)?  If so, it's easy -- run TDWINST (or TDINST -W) and it's one
of the options (I think under "Display").

Tschuess,
David Paschal
Newsgroups: comp.os.ms-windows.programmer.tools
From: joero@microsoft.com (Joe Robison)
Subject: Re: Can VB write over itself?
Date: 30 Aug 92 20:02:17 GMT
Organization: Microsoft Corp.

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)
Newsgroups: comp.os.ms-windows.programmer.tools
From: dbushong@wang.com (Dave Bushong)
Subject: Re: Help: Can't load WINDEBUG.DLL! Why?
Organization: Wang Labs, Lowell MA, USA
Date: Fri, 04 Sep 92 16:53:28 GMT

dbushong@wang.com (Dave Bushong) (that's me!) writes:


>I'm trying to debug a Windows app I wrote.  Some data is
>getting overwritten.  So when I try to use Turbo Debug for
>Windows, it says that it can't load WINDEBUG.DLL (I've
>never tried to use TDW before).  

I got an answer, I needed to get the latest version of the
DLL for Win 3.1.  It works great! (Thanks, Torstein!)

Dave
-- 
Dave Bushong, Wang Laboratories, Inc.
Project Leader, OCR products
Internet: dbushong@wang.com
From: ckhung@aludra.usc.edu (Chao-Kuei Hung)
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: Window profiler and logge - available?
Date: 27 Aug 1992 09:25:48 -0700
Organization: University of Southern California, Los Angeles, CA
NNTP-Posting-Host: aludra.usc.edu

This question is probably need answer from Microsoft ...

I heard on the Hardware Engineering Conference that Microsoft were going
to provide a new tool set which can let programmer to profile and
log useful Windows information.It was said "will be available around
summer". I wonder ...

If there is a beta version, please let me know, too. Thank you in
advance.

Chiangd. Aug. 27, '92
From: remilld@ccu.umanitoba.ca (Jason Remillard)
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: HELP WITH DEC LN03|NOVELL|MS-DOS
Date: 1 Sep 92 15:58:18 GMT
Organization: University of Manitoba, Winnipeg, Manitoba, Canada

Hello there,

	I need a big favor from someone who has created and/or ported
over a Printer Definition File (PDF) for use on Novell Netware 3.11
to be able to use a Digital LN03r Scriptprinter (PostScript) on the
network..  I can run the printer through Windows 3.1 using their 
Digital LN03r printer driver and it works wonderfully.

	The book for the printer states that I should use the Apple
Laserwrite PLus printer driver, but since when does Digital know anything
about their own products.  I called DEC and they told me to look at 
CompuServe, call Novell and/or Microsoft and ask them for printer drivers.

	I guess that's what you get with 5 figure hardware/software
support charges.....   :.(



Anyways, if anyone knows of someone, or is that someone, please contact
me....




			Thank-You.

---------------------------------------------------------------------------
Jason L. M. Remillard		        remillard@ceddwntwn.lan1.umanitoba.ca
University of Manitoba DOWNTOWN			  --   or   --
MicroLab Assistant			    remilld@ccu.umanitoba.ca
----------------------------------------------------------------------------
Winnipeg, Manitoba - Way up in the Great White North, eh!!!               
----------------------------------------------------------------------------
From: lahiff@hprdash.rose.hp.com (martin lahiff)
Date: Wed, 2 Sep 1992 17:07:32 GMT
Subject: Re: MONEY to be made: VB & Grid Control!
Organization: HP Roseville Site Main Hub
Newsgroups: comp.os.ms-windows.programmer.tools

Look into the package VB-Tools, 2.0.  I don't remember the vendor
or relevant information off of the top of my head, but it DOES
allow setting attributes on a cell-by-cell basis.

The grid control is one of several in the package.

Basically, you will need to set the active cell (the cell to modify),
change the properties (foreground color for example), and presto!

We have used this in an application successfully (and easily!).



Regards,

Martin LaHiff
From: miker@ceco.ceco.com (Michael J. Rizzo)
Newsgroups: comp.os.ms-windows.programmer.tools,comp.windows.ms.programmer
Subject: Re: Questions on NT and TPW
Date: 28 Aug 92 19:42:53 GMT
Followup-To: comp.os.ms-windows.programmer.tools
Organization: Commonwealth Edison Co., Chicago, IL

re: article <dekock.714313831@shannon> dekock@shannon.ee.wits.ac.za (Nick de Kock) 
and re:  cms2839@ultb.isc.rit.edu (a.stranger)

>>Anyway - Does anyone know whether Borland intends to produce a Win32
>>API for TPW? If so, when?
>>

>				i don't know if this is what you meant ,
>but TPW 1.5 does support the Windows 3.1 32 bit functions . looke up 32
>bit in the help system for details .


I believe Nick is referring to the Win32 API set for MS-Windows NT and the
Win32s (s=subset) API's for MS-Windows 3.x as opposed to what Microsoft now
terms Win16 API (the API used in current MS-Windows programs).

Check with Borland about an Early Experienced program designed around 32-bit
MS-Windows NT support, et. al.  I know there is a message in the Windows programmer
section on Compuserve for Borland which talks about an EEP for Borland C++
(which means Win32 API support!!)

-- 
| Michael J. Rizzo		(Comments made in this message do      |
| Commonwealth Edison           not necessarily reflect those of CECO) |
| P.O. Box 767, Rm 1139G G.O.   UUCP: ...!uunet!ceco.ceco.com!miker    |
| Chicago, IL 60690-0767	Internet: miker@ceco.ceco.com          |
Newsgroups: comp.os.ms-windows.programmer.tools
From: rrempel@selkirk.sfu.ca (Rodney Dwight Rempel)
Subject: Re: VB Dev Kits
Organization: Simon Fraser University, Burnaby, B.C., Canada
Date: Thu, 27 Aug 1992 17:12:38 GMT

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.

>Steve "I don't want to hear this" Holzgraefe
>s-holzgraefe@uiuc.edu

Don't know specifically about the toolkits, but I would suggest  waiting
to see what Microsoft include in the version 2 of VB. Rumor-mill says
October-November (??) for shipping date. Packing upgrades with good (?)
ideas from competitor's products seems to be the norm for MS; I wouldn't
be too surprised to see many of the add-on functions in the new version.

Rod Rempel - rrempel@sfu.ca
Department of Kinesiology, Simon Fraser University 
... if two million people do a stupid thing it's still a stupid thing.
From: dionf@ERE.UMontreal.CA (Dion Francois)
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: Borland C++ with Protogen or AF?
Date: 4 Sep 92 00:17:13 GMT
Organization: Universite de Montreal

Hi,
	i am planning on buying BC++ 3.1. In educational package, i can get
it with protogen (sans source generation) or for 120$ more with application
framework. If i buy it with the full working Protogen it's 200$ more (320$).

So which option should i consider, and what are they really? :

1- BC ++ 3.1 at 120$ (educational price)
2- BC ++ 3.1 with protogen at 320$
or
3- BC ++ 3.1 with application framework and c++ video tutorial bundle at 240$

Does app framework really ease the job of doing a window application? 

Any information appreciated.

Ciao,
	Francois Dion ( dionf@ERE.UMontreal.CA )
Newsgroups: comp.os.ms-windows.programmer.tools
From: skhg0983@uxa.cso.uiuc.edu (Steve Holzgraefe)
Subject: VB Dev Kits
Organization: University of Illinois at Urbana
Date: Thu, 27 Aug 1992 06:24:25 GMT


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.

Steve "I don't want to hear this" Holzgraefe
s-holzgraefe@uiuc.edu
From: henryg@kullmar.se (Henry Gessau)
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: -PLM switch to MSC compiler
Summary: Undocumented (?) -PLM switch for cl
Keywords: -PLM MSC Windows compiler etc
Date: 31 Aug 92 15:07:19 GMT
Organization: Firma Bo Kullmar Datakonsult



I have just taken over a programming project. I found a makefile for
building a DLL for Windows 3.0 (well that's what the comments say).
The C sources for this are compiled with (among others) a switch
"-PLM".
Both MSC 5.1 and 6.0 accept this switch, but I can't find any
explanation for it in any manuals or anywhere in qh.

What is it?
-- 
Henry Gessau          henryg@kullmar.se
From: dpbsmith@world.std.com (Daniel P. B. Smith)
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: Re: VB Dev Kits
Date: 1 Sep 92 01:04:21 GMT
Organization: The World Public Access UNIX, Brookline, MA

I can only speak about the VB Professional Toolkit. Can't compare it with
anything else.  The VB Pro Toolkit is one of the best $99 values I've
ever bought.  One nice thing is that the documentation is VERY well done.

Important pieces: the "Setup kit" lets you build automatic installation
programs.  On the one hand, it's a LITTLE amateurish (actually has a bug
in the file copy program). On the other hand, IT WORKS.  And it's easy
to customize and modify.  And the routines and DLL it comes with have
applications elsewhere.  I have a very good, usable setup program -- and
without the kit I just never would have gotten around to getting it all
done.

The help files.  WINSDK.HLP (only 3.0, unfortunately).  A collection of
what seem to be all the VB-related files from the Microsoft Knowledge Base
in help-file format. One that documents the INTERNAL API calls of VB
itself.

And the controls.  I don't know how I lived without the THREED and the
GRID controls.  (Although the "spin button" seems totally bogus -- there's
something wrong about the way it handles clicks, there's a strong tendency
for it to trigger TWICE when you click it ONCE).

And a few other goodies, like the CDK.

It was a THOROUGHLY satisfactory purchase and I recommend it highly.
 

-- 
Daniel P. B. Smith
dpbsmith@world.std.com
From: eric@bcserv.wustl.edu (Hugo (Eric))
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: Conversion of MSC code to Borland C++
Date: 3 Sep 92 14:19:45 GMT
Organization: Washington University in Saint Louis, MO USA
Distribution: na
NNTP-Posting-Host: bcserv.wustl.edu
Summary: Can anyone recommend a reference describing conversion process
Keywords: MSC, Borland C++

Dear Programmers,
     Can anyone recommend some reference material describing the
major differences between Microsoft C++ and Borland C++ (v3.1)
I have some MSC source code that I'd like to compile with my
Borland package and I need to correct a few errors.  I'm strictly
a novice at C++ at this time so if someone could rrecommend a
reference that describes the major differences between these packages
I'd appreciate it.  Thanks.  Please email any responses to reduce
bandwith, I will forward info to interested parties or post a
summary if requested.
-- 
  Eric R. Hugo, Postdoctoral Research Associate |eric@bcserv.wustl.edu
  Dept. of Biochemistry and Molecular Biophysics|                
  Washington University School of Medicine      |               
  Box 8231, St. Louis, MO 63110_________________| (314) 362-3342
From: jere@uta.fi (Jere K{pyaho)
Newsgroups: comp.os.ms-windows.programmer.tools,comp.windows.ms.programmer
Subject: Re: Any Way To Use Turbo Debugger Windows With Monochrome Monitor?
Date: 2 Sep 92 10:40:36 GMT
Organization: University of Tampere, Finland

In article <1992Sep1.220934.620@ncsu.edu> dspascha@eos.ncsu.edu (DAVID SCOTT PASCHAL) writes:
>
>Hi.  Do you mean have a dual-monitor setup (Windows on (S)VGA screen and TDW
>on monochrome)?  If so, it's easy -- run TDWINST (or TDINST -W) and it's one
>of the options (I think under "Display").
>
>Tschuess,
>David Paschal

Just starting TDW with the -do command line option worked fine for me.
I have a DesigView 19e Hercules emulating display as a debugging 
companion for a VGA display.

Jere
-- 
/* Jere K{pyaho -- jere@kielo.uta.fi -- University of Tampere, Finland */
/* Department of Translation Studies -- Department of Computer Science */
From: dbushong@wang.com (Dave Bushong)
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: Help: Can't load WINDEBUG.DLL! Why?
Date: 4 Sep 92 01:32:02 GMT
Organization: Wang Labs, Lowell MA, USA


I'm trying to debug a Windows app I wrote.  Some data is
getting overwritten.  So when I try to use Turbo Debug for
Windows, it says that it can't load WINDEBUG.DLL (I've
never tried to use TDW before).  

I assume that there's something I forgot to do.

Does the DLL need to be in c:\windows?  (it's there)  Does it need
to be in c:\bc\bin?  It's there also.  How about in c:\borlandc\bin?
I made one of them and copied it there, too.  How about in the
directory that the app is in (c:\devel\server\testapp\ocrtest.exe)?
Yes there is a copy of it *there* also.

I'm not stupid, but I think I may be ignorant about what I've skipped.

If you can help me, I'll e-mail you an OCR'd 5-dollar bill.

Thanks in advance,

Dave
-- 
Dave Bushong, Wang Laboratories, Inc.
Project Leader, OCR products
Internet: dbushong@wang.com
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: Re: Microsoft C/C++ 7.0 versus Borland C++ 3.1
From: lance@lancea.actrix.gen.nz (Lance Andrewes)
Date: Mon, 31 Aug 92 06:25:03 GMT
Distribution: world
Organization: none

eau@runx.oz.au writes in article <1992Aug29.024739.9311@runx.oz.au>:
> 
> We're trying to decide between Microsoft and Borland compilers
> as a standard compiler for building our products. We will use 
> both compilers during development - the question is which one 
> to use to generate the final .EXE. [etc]

There's a comprehensive review of C/C++ compilers in PC Magazine,
July 92, volume 11 number 13.

__
 _______  Email: lance@lancea.actrix.gen.nz
////      ZL2AJH    Wellington, New Zealand