IT SOLUTIONS
Your full service technology partner! 
Randy Prentice -Collapse +Expand
-Collapse +Expand
rprenphoto
-Collapse +Expand Profile◄╣
Member Info
Member Narration

POSTS:
MB Posts (20)
KB Comments (1)

Search rprenphoto:

Advanced
Personal Account . . .
Randy Allen
-- UNK



Real Name:  Randy Prentice
Primary Role:  Coder
Joined: Feb 2010 (10 years ago)
Visits: 73

Message Boards Activity

20 posts.
More...

Thread 6 of 6
Thread Starter or a Reply (but not last)  Group

Randy Allen
Network names to actual paths
Hi, I would like to enumerate all network drives or should I say, valid paths to them. I am able to enumerate their 'names' from the registry but not the associated 'real' path. For example: I can obtain a reg key file name Dell laptop (Inspiron) but am unable to extract the actual path:  \\Inspiron\C dell laptop.  The browser nethood file name does respond to fs.findfirst. The actual path displays in the comments column when viewing My network places.  I did some registry searches for actual paths to see if I could reverse engineer but the only results found is MRU stuff. This is surprising. I've actually written a parsing proc to switch around the name...but it is klunky and unreliable at best. This needs to be accomplished in OPAL Paradox 9. Ideas welcome. Hope this makes sense. Thanks. Randy
Posted to MB Topic: ObjectPAL « Paradox Board
8 years ago

rprenphoto
{Too Long!}
8 years ago
Nothing New Since Your Last Visit
2510
Hits

Corel Paradox / ObjectPAL Coding

Thread 5 of 6
Thread Starter or a Reply (but not last)  Group

Randy Allen
Solution
One solution I found: enumRegistrykeys("Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\WorkgroupCrawler\\Shares\\", RegKeyCurrentUser,ar) Typically, this registry path would not be terminated by a backslash, but including it provides a double slash in the results which makes it easy to extract the core value. Also the core value included a forward slash which needed to be reversed. It works fine and responds correctly to fs.findfirst. Its one way--anyway. -rp , , , ,
Posted to MB Topic: ObjectPAL « Paradox Board
8 years ago
Nothing New Since Your Last Visit
Corel Paradox / ObjectPAL Coding

Thread 4 of 6
Thread Starter or a Reply (but not last)  Group

Randy Allen
enumerate files and include subdirectories
The subject line says it all. Any ideas for enumerating files from an arbitrary folder and include subfolders as well? Actually, all I need is to enum a folder tree and write all the subfolder paths to a table. But either way...  It's easy enough to separate the files from the folders. I've tried a few things but have yet to come up with an air tight solution.   I've been writing opal for a long time but this one has my brain in a twist.  I'm using paradox 9. Thanks. Randy
Posted to MB Topic: ObjectPAL « Paradox Board
8 years ago

rprenphoto
Hey Dan, Thanks so much. Your advice was right on. Best, Randy  www.rosettesoftware.com
8 years ago
Nothing New Since Your Last Visit
2815
Hits

Corel Paradox / ObjectPAL Coding

Thread 3 of 6
Thread Starter or a Reply (but not last)  Group

Randy Allen
RE: enumerate files and include su...
Hey Dan, Thanks so much. Your advice was right on. Best, Randy  www.rosettesoftware.com
Posted to MB Topic: ObjectPAL « Paradox Board
8 years ago
Nothing New Since Your Last Visit
Corel Paradox / ObjectPAL Coding

Thread 2 of 6
Thread Starter or a Reply (but not last)  Group

Randy Allen
P9, vista and UAC
Hi Mike, I have a paradox9 app which I distribute with runtime. Works fine on XP and W7. However with vista it cannot initialize the BDE unless the UAC is turned off.  Is there another way to circumvent having to disable the UAC.  Someone mentioned the 'running as administrator' option that's available by right clicking on the startup icon. Does this work? Problem is, I do not have (and don't want) a vista machine to test options.  It is a stand alone, one-user app with local share set to false Thanks. Any advice or tips are appreciated. Randy
Posted to MB Topic: Paradox Setup, Vista, etc. « Paradox Board
9 years ago

Dan
Prior to moving on to win 7, I ran pdox 9 on vista for a number of years and once I got the configuration worked out I had very few problems.
9 years ago
Nothing New Since Your Last Visit
3240
Hits

Corel Paradox / ObjectPAL Coding

Thread 1 of 6
Thread Starter or a Reply (but not last)  Group

Randy Allen
RE: P9, vista and UAC
Thanks for the info, Dan. i'm using a custom config file loaded from the startup commandline. So I cleared the netdir field and now sysinfo indicates the net dir is the startup dir. Hope this works. From what I read on the link, it seems like it should. Thanks, again. Randy
Posted to MB Topic: Paradox Setup, Vista, etc. « Paradox Board
9 years ago
Nothing New Since Your Last Visit
Corel Paradox / ObjectPAL Coding
More...
Go ahead!   Use Us! Call: 916-726-5675  Or visit our new sales site: 
www.prestwood.com


©1995-2020 Prestwood IT Solutions.   [Security & Privacy]