Virtual Pascal

Classic Object Pascal for free

Barry Day
  • Male
  • Brisbane, Qld
  • Australia

Barry Day's Friends

  • Alcatiz

Barry Day's Discussions

...Code to build/display a typical hierarchy pls
4 Replies

G'day Folks,Does anyone have the code to build/display a typical hierarchy pls ?To clarify, I'm thinking of the sort of thing you'd find in a business to display who's in charge of whom/what…Continue

Started this discussion. Last reply by Barry Day Nov 26, 2016.

Deleting to the Windows Recycle bin - SOLVED!

G'day All,Following on from Alcatiz's suggestion, I tried to implement the call in a unit - but ran into various problems trying to define a function as 'External' .. within the unit.     In short it…Continue

Started Oct 31, 2015

Deleting to the (Windows) Recycle bin rather than ..permanently ... is there a way to do this pls?
2 Replies

G'day All,Deleting to the (Windows) Recycle bin rather than ..permanently ... is there a way to do this pls?That says it all I think :-) NB: This is running in batch mode - ie: "Compatible with…Continue

Started this discussion. Last reply by Barry Day Oct 25, 2015.

VP & Win 10 ... permissions issue(s)..
3 Replies

G'day Folks,Is anyone else experiencing issues with compiling, debugging  etcunder W10?.. (Both x32 & 64 are giving me ..heartburn)!Or, more to the point, does anyone have a foolproof…Continue

Started this discussion. Last reply by Barry Day Aug 31, 2015.

Gifts Received

Gift

Barry Day has not received any gifts yet

Give a Gift

 

Barry Day's Page

Latest Activity

Barry Day posted a discussion

Deleting to the Windows Recycle bin - SOLVED!

G'day All,Following on from Alcatiz's suggestion, I tried to implement the call in a unit - but ran into various problems trying to define a function as 'External' .. within the unit.     In short it was a no go.However, it turns out the desired (Windows) function "SHFileOperation" is already available in the VP UnitShellAPI .. and so doesn't need to be defined (as an external), seperately.Thus, as long as the setup stuff is done (as illustrated in Alcatiz's program), the call to…See More
Oct 31, 2015
Barry Day replied to Barry Day's discussion Deleting to the (Windows) Recycle bin rather than ..permanently ... is there a way to do this pls?
"G'day JL, Thanks for that - I'll give it a go later today. Cheers Barry"
Oct 25, 2015
Alcatiz replied to Barry Day's discussion Deleting to the (Windows) Recycle bin rather than ..permanently ... is there a way to do this pls?
"D'day Barry, You can use the SHFileOperation function :"
Oct 25, 2015
Barry Day posted a discussion

Deleting to the (Windows) Recycle bin rather than ..permanently ... is there a way to do this pls?

G'day All,Deleting to the (Windows) Recycle bin rather than ..permanently ... is there a way to do this pls?That says it all I think :-) NB: This is running in batch mode - ie: "Compatible with GUI"At the moment I have to "delete", by "renaming" a file to the folder "\MyRecycleBin" that I set up - vs the one managed in Windows. It's just another folder with an obvious name - nothing special about it.However this technique at least preserves the original folder structure that the file resided…See More
Oct 8, 2015
Barry Day replied to Barry Day's discussion VP & Win 10 ... permissions issue(s)..
"Thanks Robert... I think it all boiled down to the fact I had forgotten I was running under W10-x64 (vs x32).... Tho' why the Winsxs doesn't handle it, is a bit of a surprise . (The Winsxs seems to work quite well on other x32…"
Aug 31, 2015
Robert AH Prins replied to Barry Day's discussion VP & Win 10 ... permissions issue(s)..
"> NB: I don't get a specific error. And there is nothing in the Windows event logs? FWIW, I've turned off M$ offers of a free upgrade to WX (If it ain't broke don't fix it...) and given what I've read about everything…"
Aug 29, 2015
Marco van de Voort replied to Barry Day's discussion VP & Win 10 ... permissions issue(s)..
"Some things to try (no different than Win8 though) - install outside program files. - install on a non system drive (e.g. a subst). The root of a system drive is not writable. The root of a non system drive is also non writable, but that can be…"
Aug 24, 2015
Barry Day posted a discussion

VP & Win 10 ... permissions issue(s)..

G'day Folks,Is anyone else experiencing issues with compiling, debugging  etcunder W10?.. (Both x32 & 64 are giving me ..heartburn)!Or, more to the point, does anyone have a foolproof solution.........hope, hope!  :-)I have tried elevating it to run as admin etc .. but during a debuiggingsession, it still dies sooner or later with what I think is related tothe W10 (rigorous) permissions ...   NB: I don't get a specific error.NB: I have tried flagging vp.exe as 'admin' as well & I've…See More
Aug 24, 2015
Roland Chastain replied to Barry Day's discussion Does anyone have code to create a (windows) popup box providing an editable line - whch is returned to the VP program pls?
"Thank you, Alcatiz.  "
Jan 14, 2014
Alcatiz replied to Barry Day's discussion Does anyone have code to create a (windows) popup box providing an editable line - whch is returned to the VP program pls?
"A good way to do this is to use a tDlgWindow as main window. If you need many options, as the InputBox you found, you can create controls or edit their properties dynamically."
Jan 13, 2014
Roland Chastain replied to Barry Day's discussion Does anyone have code to create a (windows) popup box providing an editable line - whch is returned to the VP program pls?
"Thank you for your answer, Alcatiz. Yes, one would think that you are a real Australian man. :) Indeed, the tool looks simple, but it's very well done. I was simply wondering if I could open a tFileNameDlg directly from a console application,…"
Jan 11, 2014
Alcatiz replied to Barry Day's discussion Does anyone have code to create a (windows) popup box providing an editable line - whch is returned to the VP program pls?
"G'day Roland - you see Barry taught me some Strine ! :) So you mean a program, called within a process, displaying a dialog box ? It must be possible. The tool you found seems to be powerful. Regards, Alcatiz"
Jan 11, 2014
Roland Chastain replied to Barry Day's discussion Does anyone have code to create a (windows) popup box providing an editable line - whch is returned to the VP program pls?
"Hello gentlemen ! I had not visited the forum for a while, and I am glad to find an Alcatiz's code example today. @Alcatiz Would it be possible to turn your dialog box in a stand-alone program like this one : InputBox Best regards. Roland"
Jan 10, 2014
Barry Day replied to Barry Day's discussion Strange crash on using .. "Now" !!
"G'day Marco,Yes .. I spoke too soon  <sigh> ....It did indeed *appear* to have solved the problem, as it then ran perfectly.And I was ...overjoyed!   ...since it had been driving me nuts!  :-))But .. (isn't there…"
Oct 10, 2013
Marco van de Voort replied to Barry Day's discussion Strange crash on using .. "Now" !!
"It was not meant as a solution, but as a diagnostic aid. IOW if the exception location shifted the problem wasn't in the NOW but in whatever floating point code was executed before NOW. If the problem suddenly goes away probably hints that…"
Oct 9, 2013
Barry Day replied to Barry Day's discussion Strange crash on using .. "Now" !!
"G'day Marco, Genius!      That solved it 100% ....  No exception now...   Many Thanks! But .. pls tell us all why it's necessary. NB: It's true that my mickey-mouse program was using the FPU as…"
Oct 9, 2013

Profile Information

Country:
Australia
Pascal interest:
User of VP
Favorite Programming Languages:
Pascal Assembler
Prove you are human and name one of your favourite programming mechanisms
assign

Comment Wall

  • No comments yet!

You need to be a member of Virtual Pascal to add comments!

Join Virtual Pascal

 
 
 

© 2017   Created by Allan Mertner.   Powered by

Report an Issue  |  Terms of Service