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


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

Re: ShellExecute broken in Win10

From GS <gs@v.invalid>
Newsgroups comp.lang.basic.visual.misc, microsoft.public.vb.general.discussion
Subject Re: ShellExecute broken in Win10
Date 2017-05-09 14:13 -0400
Organization A noiseless patient Spider
Message-ID <oet0m8$d33$1@dont-email.me> (permalink)
References <oeqta7$aqi$1@dont-email.me> <oerad0$4n3$1@dont-email.me> <oeranb$5f0$1@dont-email.me> <20170509095822.00001d8c@eternal-september.org>

Cross-posted to 2 groups.

Show all headers | View raw


> Considering the above I wonder if
>
> * there's a bug in VBA

Well, apparently you are correct in your assumption. According to my VBA 
mentore this is a long time bug in VBA; -at some point ShellExecute got entered 
in lowercase and VBA now thinks it should be that way. Constants take 
precedence so the fix is (apparently) to enter...

  Public Const ShellExecute As Long = 0

..at the top of a module, choose Debug>>Compile (ignore the objection), then 
delete the line. Doesn't seem to work, though, so I'll get back to him and 
shift my focus to your other suggestions meanwhile...

-- 
Garry

Free usenet access at http://www.eternal-september.org
Classic VB Users Regroup!
  comp.lang.basic.visual.misc
  microsoft.public.vb.general.discussion

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


Thread

ShellExecute broken in Win10 GS <gs@v.invalid> - 2017-05-08 19:03 -0400
  Re: ShellExecute broken in Win10 Gary Scott <garylscott@sbcglobal.net> - 2017-05-08 19:16 -0500
    Re: ShellExecute broken in Win10 GS <gs@v.invalid> - 2017-05-08 22:11 -0400
      Re: ShellExecute broken in Win10 Gary Scott <garylscott@sbcglobal.net> - 2017-05-09 08:12 -0500
        Re: ShellExecute broken in Win10 GS <gs@v.invalid> - 2017-05-09 11:58 -0400
          Re: ShellExecute broken in Win10 Gary Scott <garylscott@sbcglobal.net> - 2017-05-09 20:26 -0500
            Re: ShellExecute broken in Win10 GS <gs@v.invalid> - 2017-05-10 01:01 -0400
  Re: ShellExecute broken in Win10 GS <gs@v.invalid> - 2017-05-08 22:46 -0400
    Re: ShellExecute broken in Win10 GS <gs@v.invalid> - 2017-05-08 22:52 -0400
      Re: ShellExecute broken in Win10 Arne Saknussemm <esre.10.arnsak@spamgourmet.com> - 2017-05-09 09:58 +0200
        Re: ShellExecute broken in Win10 GS <gs@v.invalid> - 2017-05-09 14:13 -0400
        Re: ShellExecute broken in Win10 GS <gs@v.invalid> - 2017-05-09 14:41 -0400
  Re: ShellExecute broken in Win10 - Mystery solved! GS <gs@v.invalid> - 2017-05-10 12:50 -0400

csiph-web