Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.basic.visual.misc > #1557

Re: Strange Win 7 behavior using ComDlg32.OCX

From "CoderX" <coder@x.com>
Newsgroups microsoft.public.vb.general.discussion, comp.lang.basic.visual.misc
Subject Re: Strange Win 7 behavior using ComDlg32.OCX
Date 2012-09-02 19:00 -0400
Organization A noiseless patient Spider
Message-ID <k20oef$5gi$1@dont-email.me> (permalink)
References <7uf74813tpaeqrtk9ujae8gd191sbbnvmt@4ax.com>

Cross-posted to 2 groups.

Show all headers | View raw


FWIW, I've been using the API version from vbAccelerator for years, and 
works under w7.  www.vbaccelerator.com


"-mhd" <not_real@invalid.com> wrote in message 
news:7uf74813tpaeqrtk9ujae8gd191sbbnvmt@4ax.com...
I have written an Outlook addin that uses ComDlg32.OCX to pop the Font 
dialog.

A few (very few) users report that when they click the button to pop the 
font
dialog all they see is a flicker or flash indicating something happened but 
no
dialog is presented. It seems they are all Win 7 users and I believe mostly
using Outlook version 2010.

I had been using the API method sample code from Randy Birch's
http://vbnet.mvps.org/ when I initially got the bug reports and decided to
switch to the common dialog ocx in case I wasn't implementing the API method
properly. Same result - same people with the original problem.

Using ComDlg32 Version 6.01.9816

'get hDC
Printer.Print
With CommonDialog1
   .hDC = Printer.hDC
   .flags = cdlCFBoth Or cdlCFEffects
   .CancelError = True
   .ShowFont
End With
Printer.KillDoc
If Err = cdlCancel Then Exit Sub
With CommonDialog1
   AddrText.FontName = .FontName
   AddrText.FontSize = .FontSize
and so on...

In my Inno script I install the file using the following (ignore the 
linebreak)
Source: c:\vbfiles\sp6\ComDlg32.OCX; DestDir: {sys}; Flags: restartreplace
sharedfile regserver

Any ideas?

Thanks -mike 

Back to comp.lang.basic.visual.misc | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Strange Win 7 behavior using ComDlg32.OCX -mhd <not_real@invalid.com> - 2012-09-02 16:34 -0400
  Re: Strange Win 7 behavior using ComDlg32.OCX "CoderX" <coder@x.com> - 2012-09-02 19:00 -0400
    Re: Strange Win 7 behavior using ComDlg32.OCX -mhd <not_real@invalid.com> - 2012-09-02 20:16 -0400
      Re: Strange Win 7 behavior using ComDlg32.OCX "Eduardo" <mm@mm.com> - 2012-09-03 08:44 -0300
        Re: Strange Win 7 behavior using ComDlg32.OCX -mhd <not_real@invalid.com> - 2012-09-04 21:00 -0400
          Re: Strange Win 7 behavior using ComDlg32.OCX Karl E. Peterson <karl@exmvps.org> - 2012-09-05 14:29 -0700
            Re: Strange Win 7 behavior using ComDlg32.OCX -mhd <not_real@invalid.com> - 2012-09-05 18:41 -0400
              Re: Strange Win 7 behavior using ComDlg32.OCX Karl E. Peterson <karl@exmvps.org> - 2012-09-05 16:15 -0700
                Re: Strange Win 7 behavior using ComDlg32.OCX -mhd <not_real@invalid.com> - 2012-09-05 21:33 -0400
  Re: Strange Win 7 behavior using ComDlg32.OCX "Mayayana" <mayayana@invalid.nospam> - 2012-09-03 08:50 -0400
    Re: Strange Win 7 behavior using ComDlg32.OCX -mhd <not_real@invalid.com> - 2012-09-04 20:50 -0400
      Re: Strange Win 7 behavior using ComDlg32.OCX "Mayayana" <mayayana@invalid.nospam> - 2012-09-04 22:29 -0400
        Re: Strange Win 7 behavior using ComDlg32.OCX -mhd <not_real@invalid.com> - 2012-09-05 00:02 -0400
  Re: Strange Win 7 behavior using ComDlg32.OCX "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-09-05 11:05 +0100
    Re: Strange Win 7 behavior using ComDlg32.OCX Karl E. Peterson <karl@exmvps.org> - 2012-09-05 14:24 -0700
    Re: Strange Win 7 behavior using ComDlg32.OCX -mhd <not_real@invalid.com> - 2012-09-05 18:36 -0400
    Re: Strange Win 7 behavior using ComDlg32.OCX -mhd <not_real@invalid.com> - 2012-09-13 12:12 -0400
      Re: Strange Win 7 behavior using ComDlg32.OCX -mhd <not_real@invalid.com> - 2012-09-13 14:50 -0400
        Re: Strange Win 7 behavior using ComDlg32.OCX justineclin@gmail.com - 2015-01-08 14:22 -0800
          Re: Strange Win 7 behavior using ComDlg32.OCX "Mayayana" <mayayana@invalid.nospam> - 2015-01-08 18:20 -0500

csiph-web