RE: 'moving' an activeperl install to a new machine (xp to windows 7)
-Original Message- From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl-win32- users-boun...@listserv.activestate.com] On Behalf Of Greg VisionInfosoft Sent: Friday, March 15, 2013 14:12 To: Perl-Win32-Users@listserv.ActiveState.com Subject: 'moving' an activeperl install to a new machine (xp to windows 7) hi all, ive got a wonderfully working activeperl 5.8.9 environment that was originall setup on Windows XP. so that i dont need to reinstall the many, many packages that ive ammased throughout the years - i had the thought to simply copy my entire 'perl' folder from the older windows xp pc to my newer windows 7 pc. certainly this will move perl and all packages just fine... the problem with this, is i dont know how to preserve the built-in PPM database functionality. What you want to do is: ppm profile save [ filename ] Write profile of configured repositories and installed packages to the given file. If no file is given then print the profile XML to standard output. Then install the AS you want and do: ppm profile restore [ filename ] Install the packages listed in the given profile file. If no file is given try to read the profile from standard input. Jan D is on the list and someone else may have more input, but I don't believe you want to just copy it across... If you have any questions and/or problems, please let me know. Thanks. Wags ;) David R. Wagner Senior Programmer Analyst FedEx Services 1.719.484.2097 Tel 1.719.484.2419 Fax 1.408.623.5963 Cell http://Fedex.com/us originally i had 5.8.8 and only one file: C:\Documents and Settings\GAiken\Local Settings\Application Data\ActiveState\ActivePerl\ppm-MSWin32-x86-multi-thread-5_8.db at some point in time, i ran a 5.8.9 install ON TOP OF my 5.8.8 installation, and from that point on, the PPM folder structure somehow changed to become 3 files: C:\Documents and Settings\GAiken\Local Settings\Application Data\ActiveState\ActivePerl\ppm-MSWin32-x86-multi-thread-5_8.db C:\Documents and Settings\GAiken\Local Settings\Application Data\ActiveState\ActivePerl\ppm-MSWin32-x86-multi-thread-5_8.db-journal C:\Documents and Settings\GAiken\Local Settings\Application Data\ActiveState\ActivePerl\820\ppm-MSWin32-x86-multi-thread-5_8.db I am suspecting that there is truly just one 'master database file', that being: C:\Documents and Settings\GAiken\Local Settings\Application Data\ActiveState\ActivePerl\ppm-MSWin32-x86-multi-thread-5_8.db does anyone have any first hand knowledge here what i would do, to somehow utilize my old .db file on the new windows 7 pc? i am thinking i can run the 5.8.9 install to the new windows 7 pc, then see if i can determine where the new *.db file gets created - and then possibly just 'swap out' the newly created *.db file with my original *.db file? i guess i have nothing to loose by trying this, but it would be nice if someone has walked this path before me, and can tell me which branches to duck under - so to speak... greg ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
I have a secondary Inbox folder and trying to read the messages in the 2ndary inbox
I got some code from a reply I found on Perl Monks and brought over to my Desktop and ran the code. It does what I am after, BUT I do not want the default inbox, but another inbox. The code for the default inbox is: my $folder = $namespace-GetDefaultFolder(olFolderInbox); How do I get a different folder to read from messages from??? I have looked at the OLE browser, but there is way too many things to look at and I am lost at this point. Thoughts?? If you have any questions and/or problems, please let me know. Thanks. Wags ;) David R. Wagner Senior Programmer Analyst FedEx Services 1.719.484.2097 Tel 1.719.484.2419 Fax 1.408.623.5963 Cell http://Fedex.com/us ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
RE: I have a secondary Inbox folder and trying to read the messages in the 2ndary inbox
-Original Message- From: Jan Dubois [mailto:j...@activestate.com] Sent: Monday, July 25, 2011 12:24 To: 'Wagner, David --- Sr Programmer Analyst --- CFS'; perl-win32- us...@listserv.activestate.com Cc: Wagner, David --- Sr Programmer Analyst --- CFS Subject: RE: I have a secondary Inbox folder and trying to read the messages in the 2ndary inbox On Mon, 25 Jul 2011, Wagner, David --- Sr Programmer Analyst --- CFS wrote: I got some code from a reply I found on Perl Monks and brought over to my Desktop and ran the code. It does what I am after, BUT I do not want the default inbox, but another inbox. The code for the default inbox is: my $folder = $namespace-GetDefaultFolder(olFolderInbox); How do I get a different folder to read from messages from??? Sorry, no time to test right now, but I suspect something like this might work: my $folder = $namespace-Folders(Outlook Data File)-Folders(Alternate Input); Thanks, Jan. That was close, but what I ended up was doing a properties against the other inbox: \\Mailbox - Email.Reports So I removed the \\ and used that portion for the first Folders and for the second Folders used Inbox and was able to read... I appreciate the insight. Know you are busy, but when the time is available, where does one find out such info. Never would have found it. I looked at the MS Outlook 12.0 Object Library. I found Folders and if that is the right Folders, I do not see it.. Again, I have it going, but when you have sometime to drop a few pointers, it would be greatly appreciated... Cheers, -Jan ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs