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


Groups > alt.computer > #10503

Re: Excel FOO; useful help? (See next step at **)

From Robert Baer <robertbaer@localnet.com>
Newsgroups alt.computer
Subject Re: Excel FOO; useful help? (See next step at **)
References <KUVvB.88937$zE2.19326@fx20.iad> <opprlq$jmp$1@dont-email.me> <fw4wB.128156$e33.35991@fx01.iad> <opqncp$mq7$1@dont-email.me> <z3lxB.119855$Iu1.27597@fx07.iad>
Message-ID <vmmxB.204522$8I2.9767@fx40.iad> (permalink)
Date 2017-09-22 22:33 -0700

Show all headers | View raw


Robert Baer wrote:
> Paul wrote:
>> Robert Baer wrote:
>>> Paul wrote:
>>>> Robert Baer wrote:
>>>>> '' Excel app no longer works
>>>>>
>>>>>     vNam = Cells(2, 7).Text + "V"   'board voltage
>>>>>     pPath = "D:\ANALOG\HVREG\Boards\TITANTWO\TT_C\Jumpers\"
>>>>>     ActiveSheet.Shapes(1).Select
>>>>>     ' cannot get printer to work, and no useful help
>>>>>     ' ALWAYS wants to print to f'ing "My Documents" no matter what
>>>>>     ' AND to add insult to injury, it asks for file name
>>>>> '' THIS USED TO WORK
>>>>>     Application.ActivePrinter = "Acrobat PDFWriter on FILE:"
>>>>>     ActiveWindow.SelectedSheets.PrintOut Copies:=1, Preview:=False, _
>>>>>     ActivePrinter:="Acrobat PDFWriter on FILE:", printtofile:=True, _
>>>>>     Collate:=False, PrToFileName:=pPath + vNam
>>>>>     ' the following scheme does not work either
>>>>>     Application.ActivePrinter = "Acrobat PDFWriter on FILE:,
>>>>> PrToFileName:=pPath + vNam"
>>>>>     Kill pPath + vNam   'only PDF left
>>>>> ' END  END
>>>>>
>>>>>   Help, please.
>>>>>
>>>>>
>>>>
>>>> The account doing the printing, doesn't have "permission"
>>>> to access the area used on the D: drive. You'd moved the
>>>> disk or the data around, and a new account is involved.
>>> * Yes, i _did_ move things including XLS files around, in fact a lot
>>> of things..drive X to drive Y; other things..drive W to drive Y.
>>>   Then copied .XLS (etc) files to drive Z.
>>>   Macro fails in exactly the same way on either drive.
>>>
>>>   OS independent: Win2K, WinXP.
>>>>
>>>> The problem probably isn't in the Excel code at all,
>>>> and the problem is external to the code. Your new
>>>> environment is doing it.
>>>>
>>>> Pure guess,
>>>>     Paul
>>>   Looks like a rather good (plausible) guess.
>>>   So...how would i go about finding sub and sinking same?
>>
>> Is D:\ an NTFS or a FAT32 partition ?
>>
>> That shouldn't be a problem on FAT32. FAT32 doesn't have permissions.
>> FAT32 also has a 4GB max file size, and isn't suited to storing your
>> movie collection. That's a disadvantage of it.
>>
>> On NTFS, you could do properties on the areas
>> in question, then check the Security tab,
>> to see if the owner is "unknown". The OS can only
>> know about owners listed in users and accounts
>> (you're not likely to be on a "domain" at home).
>> When the OS is installed, it has a long string
>> of numbers as a prefix for the accounts. And the
>> "Robert" account on one machine (NTFS ownership)
>> is not the same as the "Robert" account on a new install.
>> You can add ownership to individual files, but that's
>> a pretty painful way to do it.
>>
>> The later OSes have "takeown" but I don't know
>> what the equivalent is for WinXP. The suggestion
>> here is to use subinacl.exe, available for download.
>>
>> https://www.howtogeek.com/forum/topic/xp-takeown-and-cacls
> * NO GO: Partial quote of above:
> (QUOTE)
> download subinacl.exe here:
> http://www.microsoft.com/downl.....laylang=en
>
> You must be administrator.
>
> Copy this code to a text file and change extension to .cmd
> Place subinacle.exe in the same directory as the .cmd file you made and
> run it.
> (/QUOTE)
>
>    Well, the download gives an .MSI, and the screens _say_ installed.
>    BUT _no_ subinacle.exe program anywhere.
>    Therefore cannot follow any of the howtogeek instructions after that
> quote.
>
>>
>>
>> http://www.microsoft.com/en-us/download/details.aspx?id=23510&751be11f-ede8-5a0c-058c-2ee190a24fa6=True&e6b34bbe-475b-1abd-2c51-b5034bcdd6d2=True
>>
>>
>>
>> Another way to study this, at least on WinXP, is with
>> Process Monitor from Sysinternals. It says "Vista" now,
>> so the current one may be "too new". The URL for the
>> older version, is not constructed the way this URL is.
> * Will try this next..
**
   Tried the download M$ gave, nogo so stumbled on the ver 3.1 and that 
"works".
  It wants to continually run/capture no matter what.
   So while running, i ran my Excel program to fail point, then saved 
the capture (Logfile.PML).
   Exited out, re-ran and loaded the PML.
   Long as all hell, seems i started at 170760 and ended at 400107.

   But see no way to extract in ASCII form, what i see on the screen to 
a text file for analysis; just that "segment" is long as all heck.
   And the program wants to continue to run/capture; it finally stumbles 
on itself and stops responding.

   Tried highlighting what i wanted for copy to paste to text editor; 
_empty_ buffer so nogo.
   Tried highlighting for delete; nogo.
   Seems no editing other than a find.

   Any ideas for progress here?
   Thanks.


>
>>
>> https://docs.microsoft.com/en-us/sysinternals/downloads/procmon
>>
>> The web page for the older version is here. Version 3.1 seems
>> to be the last for WinXP, if you believe the Requirements
>> list on the page.
>>
>> https://web.archive.org/web/20150117221121/http://technet.microsoft.com:80/en-us/sysinternals/bb896645
>>
>>
>>
>> I had some trouble with the download link. I hope this works.
>>
>>
>> https://web.archive.org/web/20150208154759if_/http://download.sysinternals.com/files/ProcessMonitor.zip
>>
>>
>>
>> You start that running, do your (broken) Excel operation,
>> then see what thing it is trying to do (writefile, createfile)
>> and guess from that why it's failing. Using the filter option,
>> allows viewing only WriteFile operations, or viewing only
>> CreateFile operations. As otherwise, the Process Monitor
>> program collects too much data for humans to use.
>>
>> But using the Properties dialog and security tab in File Explorer,
>> should be as effective. Process Monitor, is if you need to
>> construct a brand new theory, based on behavior.
>>
>> HTH,
>>      Paul
>

Back to alt.computer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Excel FOO; useful help? Robert Baer <robertbaer@localnet.com> - 2017-09-18 13:20 -0800
  Re: Excel FOO; useful help? VanguardLH <V@nguard.LH> - 2017-09-18 16:50 -0500
    Re: Excel FOO; useful help? Robert Baer <robertbaer@localnet.com> - 2017-10-15 22:06 -0700
  Re: Excel FOO; useful help? Paul <nospam@needed.invalid> - 2017-09-18 21:25 -0400
    Re: Excel FOO; useful help? Robert Baer <robertbaer@localnet.com> - 2017-09-19 01:25 -0700
      Re: Excel FOO; useful help? Paul <nospam@needed.invalid> - 2017-09-19 05:18 -0400
        Re: Excel FOO; useful help? Robert Baer <robertbaer@localnet.com> - 2017-09-20 01:49 -0700
        Re: Excel FOO; useful help? Robert Baer <robertbaer@localnet.com> - 2017-09-22 21:04 -0700
          Re: Excel FOO; useful help? (See next step at **) Robert Baer <robertbaer@localnet.com> - 2017-09-22 22:33 -0700
            Re: Excel FOO; useful help? (See next step at **) Paul <nospam@needed.invalid> - 2017-09-23 02:09 -0400
              Re: Excel FOO; useful help? (See next step at **) Robert Baer <robertbaer@localnet.com> - 2017-09-23 21:42 -0700
                EXCEL-G@PEACH.EASE.LSOFT.COM authorization Robert Baer <robertbaer@localnet.com> - 2017-09-23 22:42 -0700
                Re: Excel FOO; useful help? (See next step at **) Paul <nospam@needed.invalid> - 2017-09-24 05:42 -0400
                Re: Excel FOO; useful help? (gurr!) Robert Baer <robertbaer@localnet.com> - 2017-09-24 16:12 -0700
        Re: Excel FOO; useful help? Robert Baer <robertbaer@localnet.com> - 2017-10-15 22:13 -0700
          Re: Excel FOO; useful help? Paul <nospam@needed.invalid> - 2017-10-16 01:31 -0400
            Re: Excel FOO; useful help? Robert Baer <robertbaer@localnet.com> - 2017-10-17 20:25 -0800
              Re: Excel FOO; useful help? Paul <nospam@needed.invalid> - 2017-10-18 00:29 -0400
                Re: Excel FOO; useful help? Robert Baer <robertbaer@localnet.com> - 2017-10-20 21:45 -0700
                Re: Excel FOO; useful help? Paul <nospam@needed.invalid> - 2017-10-21 05:56 -0400
            Re: Excel FOO; useful help? Robert Baer <robertbaer@localnet.com> - 2017-10-17 21:18 -0800
              Re: Excel FOO; useful help? Paul <nospam@needed.invalid> - 2017-10-18 01:29 -0400
                Re: Excel FOO; useful help? Robert Baer <robertbaer@localnet.com> - 2017-10-21 20:57 -0800

csiph-web