Has anyone managed to use Postgres for wiki and local db ?

I've seen all over the internet questions and solutions for:
could not connect to database postgres: could not connect to server: No such file or directory
          Is the server running locally and accepting
          connections on Unix domain socket "/var/pgsql_socket/.s.PGSQL.5432"?
some of the solutions kind of stop the postgessql server. That is, apparently according to this
post by Todd  Heberlein, they stop the wiki and webpage servers but allow for your own db.
Actually I'd like to know if it is possible to have the same postgressql instal (the OS X Server) used for both the wiki\web\etc pages and for our own local db.
If so, how?
Much appreciated.

Thank you both.
Linc, I finally understood what was going on once I read the KB page.
There are already running two different postgress processes on the server.
One is for the server itself and other for our use.
Once I understood that, I could figure out what to do.
As for you, MrHoffman, I assume the page you pointed me to your page. If so, let me know there are some things that are different in ML and I can use what I did to post it there.
It was very helpfull.
Thank you so much.
Anyway, before I forget:
One has to look  at  "/Library/Server/PostgreSQL/Config/com.apple.postgres.plist
and check the listen_address for this file. Set it to 127.0.0.1 and everything works fine
Here is the output I get:
$ sudo serveradmin start postgres
Password:
postgres:state = "RUNNING"
petrescu:Config deivy$ serveradmin fullstatus postgres
postgres:dataDirHasBeenInitialized = yes
postgres:PG_VERSION = "9.2.1"
postgres:dataDir = "/Library/Server/PostgreSQL/Data"
postgres:postgresIsResponding = yes
postgres:dataDirIsDirectory = yes
postgres:PGserverVersion = 90201
postgres:dataDirExists = yes
postgres:setStateVersion = 1
Very happy! Thanks

Similar Messages

  • Answer Yes/No - has anyone managed to use LoaderMax successfully?

    Just a Yes or a No would help me out here!
    But for more of the story...
    We've built an AIR for Android app that loads external SWFs into the app. This works beautifully.
    We're now currently trying to do the same for iPhone, but it is an exercise in sheer frustration so far.
    We tried to use the usual loader methods to load the SWFs in, but the COMPLETE event never fired. It would show progress all the way up to 0.99888999, then stop.
    We then tried to use LoaderMax, which worked for one glorious half hour (ie, a SWF was added to the LoaderMax queue, LoaderMax managed to fire the COMPLETE event, hurrah!) but then ... mysteriously ... it STOPPED WORKING. Why? WHY?
    Can anyone PLEASE help?

    A Very Strange Update.
    Gather round children...
    I can reliably produce this very strange behaviour. These are the steps:
    1. Create a new iPhone OS document. Mine is called loadtest.fla.
    2. Put the following into the Actions panel:
    import com.greensock.*;
    import com.greensock.loading.*;
    import com.greensock.events.LoaderEvent;
    var queue:LoaderMax = new LoaderMax({name:"mainQueue", onProgress:progressHandler, onComplete:completeHandler, onError:errorHandler});
    queue.append( new SWFLoader("bleep.swf", {name:"mainClip", estimatedBytes:3000, container:this, x:50}) );
    queue.load();
    function progressHandler(event:LoaderEvent):void {
        trace("progress: " + event.target.progress);
    function completeHandler(event:LoaderEvent):void {
      trace(event.target + " is complete!");
    function errorHandler(event:LoaderEvent):void {
        trace("error occured with " + event.target + ": " + event.text);
    3. Create a new ActionScript 3.0 document - mine is called bleep.fla (I may have spent too much time trying to solve this problem!)
    4. Draw some kind of shape on the stage, then save to the same directory as the iPhone OS document.
    5. Compile bleep.
    6. Ctrl+Enter on loadtest. This should all be working fine, ie, bleep should be loading and appearing on stage.
    7. In the iPhone OS Settings, add bleep.swf to the Included Files list. Publish to the iPhone. Still seems fine.
    NOTE: This is the last good moment. This is the last point I could get it to work on the iPhone!
    8. Now, add any kind of ActionScript to bleep.fla. Anything. I just put in a line like this:
    var foo:String = "Hello";
    9. Now, repeat steps 5-7.
    10. Repeat steps 5-7 again in disbelief. Wow. Is it true? Did putting in a single line of code prevent bleep.swf from being loaded?? How is this possible??? etc.
    So I'm really asking for help now. I just can NOT believe that something this rudimentary could be a problem. Surely I must have done something wrong, although I have done so little that I can't think of what it might be! Could someone please test this out and confirm if it is or is not possible to load an external swf in Packager for iPhone?

  • Has anyone needed to use AppleCare for the AppleTV2?

    My complimentary 90-day support ends soon, and I'm wondering if it's worthwhile to buy the extended care for this particular device?

    Here's an excerpt from the email from Apple:
    "The AppleCare Protection Plan for Apple TV gives you:
    Apple hardware coverage.
    Hardware coverage on your Apple TV, included accessories, and AirPort device or Time Capsule"
    Does that mean that my current (and older) AirPort Extreme is included in the Apple TV coverage?

  • Using 'Multisite for iWeb' and the new iWeb 09

    I use multisite for iWeb by Clarkwood software to publish multiple sites I have designed with iWeb. Now that the NEW iWEB 09 has the essentially same ability (to upload/manage multiple iWeb sites) I was wondering if anyone else is using 'Multisite for iWeb' and has ran into any problems when upgrading?
    Thanks!
    -JKP

    With the disastrous introduction of iWeb '08, I rebuilt all my websites on new, blank domain files.
    I have 26 sites with each domain file in a separate folder. These are kept in a in a folder - iWeb - in a second dock.
    I can launch any site with two mouse clicks - far quicker than launching Multisite or iWebsites.
    I have dealt with many instances of domain file corruption in this forum and it doesn't seem to matter which method is used - splitting domain files, iWebsites or Multisite.
    I followed the advice of Cyclosaurus and Suzanne of 11 Mystics and have had no problems at all.
    I'm not throwing any accusations at any of the above methods of handling multiple domains - I'm just not prepared to risk using them.

  • HT2458 Has anyone else who uses AT&T as their carrier been told if you cannot access your voicemail through your iPhone that there is no way to check your voicemails? This is an issue since I had to send my phone in for repair. Thank you

    Has anyone else who uses AT&T as their carrier been told if you cannot access your voicemail through your iPhone that there is no way to check your voicemails? This is an issue since I had to send my phone in for repair. Thank you

    You received incorrect information from AT&T.  You can indeed access your voicemail without your iPhone.
    Call AT&T at (800) 331-0500 (assuming you're in the U.S.).  This is a 24 hour a day, 7 day a week number.  Ask them how to access your voicemail.  Normally, you would just do this by dialing your number from another phone, typing "*" once your voicemail recording starts, and entering your password.  You don't know your password, so it's probably the last four digits of your phone number or perhaps the seven - or ten-digit phone number.  Let the AT&T person tell you.

  • Has anyone managed to deploy Acrobat Pro 9.0 for Mac through ARD?

    Has anyone managed to get Adobe Acrobat Pro 9.0 for Mac to deploy with any level of reliability through tools such as Apple Remote Desktop?
    The main CS3 apps are "better", if still kludgy to deploy somewhat silently, but every time I've tried to get Acrobat Pro 9.0 to deploy, it steadfastly refuses to do so without demanding admin access on at least the first launch, and insisting on running the Updater in the process, which is completely unacceptable.
    I should say that I've looked at their Adobe Acrobat deployment site (http://www.adobe.com/products/acrobat/solutions/it/), and it's entirely useless for the Mac version.
    Why do Adobe make this so hard?

    Okay, I think I've figured this out.
    * On a clean machine (ie: no Adobe software), install Adobe Acrobat Pro
    * Run Acrobat. Insert license code. Allow it to "selfheal". Quit.
    * Run Distiller. Allow it to "selfheal". Quit.
    * Edit AcroEFGPro90.plist and AcroEFGDist90.plist which can be found in Contents > MacOS within the Acrobat and Distiller apps respectively.
    * Change the "Requires" tags from "YES" to "NO" for all the file resources.
    * Copy these to plist files into /Library/Application Support/Adobe/Acrobat/ and overwrite the ones that are already there.
    * Run Acrobat and Distiller again. Allow "selfheal" if prompted. Quit.
    * Run again. Quit.
    * Build a Mac OS X installer package of the following:
    /Applications/Adobe Acrobat Pro 9.0
    /Applications/Utilites/Adobe Utilities
    /Library/Application Support/Adobe/
    /Library/Application Support/FLEXnet*
    /Library/Preferences/com.adobe.*
    /Library/Preferences/FLEXnet*
    /Library/Internet Plug-ins/AdobePDFViewer.plugin
    /Library/ColorSync/Profiles/
    /Library/Printers/PPD Plugins/Adobe*
    /Library/Printers/PPDs/.../.../.../ADPDF9.PPD (one per language)
    /Users/Shared/Adobe
    /usr/libexec/cups/backend/pdf900
    * After you've built the package, go through the Acrobat application bundle and find cupshup.pl. Copy it into the Resources folder of the installer package, and rename it to "postflight" (this gets the installer to configure the PDF printer).
    * Distribute through ARD.
    * Grab com.adobe.* from ~/Library/Preferences
    * Distribute the com.adobe.* files to all users; the .plist files can be done through Workgroup Manager, however com.adobe.118.registration must be copied as-is into the user folder, rather than being injected via MCX or the defaults command or any other method, as it's not a plist.
    Dear Adobe,
    MAKE THIS SIMPLER.
    Your Friend,
    etc...

  • Has anyone found a workaround driver for using a Xerox WorkCentre PE220 Series printer with Mountain Lion?

    Has anyone found a workaround driver for using a Xerox WorkCentre PE220 Series printer with Mountain Lion?

    John -
    My "Use" menu only contains Apple print drivers.  And Canon drivers, from the location I set this machine up.  None for my home use....which is a Xerox machine.
    Not being on the menu, I don't know how to acquire this generic driver. 
    Any further helpful hints?
    I appreciate your thoughts and help.
    Lisa

  • Has anyone had success using NI PCI cards at -20C? My specific needs are for RS-422/482 and GPIB cards.

    NI cards have been qualified to operate only to zero degrees C. I need serial abd GPIB PCI cards that operate to -20C for military application. Has anyone had success using these cards at this lower operating temperature?

    Hi,
    I am not sure if this helps, but the ENET-232 is spec'd to operation at -40 degrees C.
    Best Regards,
    Aaron K.
    Application Engineer
    National Instruments

  • Has anyone develped a plug-in for Informix,Terradata or Postgres DB?

    Hi,
    Has anyone dveeloped a plug-in for Informix,Terradata or Postgres DB? if yes, would you mind sharing the plug-in with the EM user community?
    Thanks
    Anirban

    Not a plugin, but a standalone free application:
    http://homepage.mac.com/knarf/MacOSaiX/
    Works great!

  • Has anyone managed to get a 3TB dynamic disk on Windows 2003 Server?

    I just got a pair of new 3TB disks that I wanted to put on my Windows 2003 server enterprise x64 system, SP2, all updates installed.
    When I first tried to convert to dynamic, I got the error "The operation did not complete" as described in this KB article
    http://support.microsoft.com/kb/826823
    It says there is a patch, but there is not one for x64, just x86 and ia64
    I found another technet discussion here:  https://social.technet.microsoft.com/Forums/en-US/winserverfiles/thread/cb62238c-b3d0-4989-b45a-ae6de6701a7b?stoAI=10
    However its best suggestion is to use a product from AOMIE, but I tried that and it didn't even recognize the disk.  It also suggests that one needs a better version of diskpart.exe and to try to the 32 bit version.  Anyone have any experience
    with that?
    I also tried creating moving the disk to Windows 7 x64, making it dynamic there, but when I move the disk back to 2K3 it does not recognize it, and goes back to a 2TB partition.  I also saw something about needing a 512 block size for 2K3, but W7 does
    not allow anything smaller than 1K.

    Hi,
    During my research, if found the following artcle which also mentioned a 3TB disk should be supported in Windows 2003 SP1:
    Has anyone managed to get a 3TB dynamic disk on Windows 2003 Server?
    http://social.technet.microsoft.com/Forums/en-US/winserverfiles/thread/a720ae72-0c04-44dd-94c0-2e6aecce530e
    So I contact the author about this issue. He said it could be caused if your hard disk is a 512e drive as the 3TB drives on the market today are normally 512e drives.
    However manufacturers stopping identifying this, and if the controller is old, FSUtil will not able to identify a 512 drive but recognized it as a normal 512n drive.
    Thus please provide the drive model so we could search on manufacturer's website for exact information.
    Also please paste the screenshot in your reply which Satish mentioned if available.
    In addition, here is an article Robert provided:
    http://www.windowsitpro.com/article/what-would-microsoft-support-do/support-advanced-format-hard-drives-141584

  • Has anyone managed to load a movie on their Moza

    I've bought two of these things for the kids this Christmas, and I can load pictures, and music, but I can't seem to load any of my movies. Has anyone else While in the Central Software it shows the file transferring, it take a long time but finally gets to 00%. When I try to view it on the mp3 player it plays 5 seconds, and that's it. It obviously didn't transfer everything. It plays in Media Player as well. I tried to transfer it using media player too. It locks up and I have to end the program. I need a hammer.

    Re: Has anyone managed to load a movie on their Mozaic i With a screen resolution of 28 x 60 you're going to be hard-pressed to get great quality from downscaling a full-size movie. That said, you dissatisfaction with the movies converted by this Daniusoft application may simply indicate the compression level was too aggressi've. That would appear as blocky or splotchy areas during playback or freeze frames. With any converter you need to balance between the quality setting and the final output file size.
    If you search the forum you'll find mention of an application called BADAK http://www.robbiek.com/badak.htm. It is a free converter that is significantly faster than the once Creative bundles that has a preset option for the flash Zen. Those setting will probably work reasonably well for the Mosaic if you change the output resolution from 320x240 down to 60x28. However, I don't have a Mosaic so I'm speculating. Even so the presets may not be ideal for some source video being converted. Quality video transcoding is a "fiddle with it" process not a "one-button" process.

  • Has anyone managed to get a PS3 Controller to work with OSX Lion?

    Hi,
    I wanted to connect my PS3 controller to my iMac (late 2011) using bluetooth but have been unable to do so. It will connect for a brief time but then it will lose connect as it has not paired. It also asks me for a pairing code. I have tried 0000 and this does not work. I have searched the internet and it seems this is a common issue. Has anyone managed to get it working?
    Does anyone know if Apple plan to fix the issue with a forthcomming update?
    Cheers,
    Tim

    There are numerous threads on this, please use the "More Like this" tool, you will find it on the right. I'm not sure if anyone has any solutions but that is the logical place to start.

  • Has anyone managed to embed flash content within there responsive HTML5 website?

    Has anyone managed to embed flash content within there responsive HTML5 website? I'm aiming to get my client gallery Flash based but don't want to sacrifice my responsive HTML5 layout to achieve this.
    I feel the Flash gallery would be more secure than my current option,
    Thanks in advance
    Katie xx
    http://www.katiegarcha.com

    It dawned on me what the problem was, in my Actionscript, I am using a XML sheet to call the pictures in the gallery. The XML sheet is located in the same folder as the actionscript, but not in the same folder as the html page, hence the Flash working when it is directly called but not when it is somewhere else. Once this dawned on me, I remembered that I used "short" urls for the images thinking of them all being in the same folder as the actionscript, but not thinking about their relative link from the location of the HTML page. So, I believe that if I change the relative urls to fit the location of the HTML instead of the location of the SWF page, it should work.

  • Has anyone managed to get HP Warranty Information into SCCM?

    Has anyone managed to get HP Warranty Information into SCCM?
    I have tried a few scripts that I found on the net but none of them seem to work as I believe HP updated there site this year..

    OK, I played around a bit (scripting from a web page isn't way beyond me) but... a few caveats.  My lab isn't available right now; so all I could test was that the script ran on an HP laptop.  A single HP laptop.  and created the regkeys in
    (in my case) HKLM\software\wow6432node\CompanyName\WarrantyInformation.  So... one single test on one single workstation, and no testing of the mof edit means... I'll need your help to confirm it works.
    Anyway, below is the script.  Other caveats:  It drops a log, and then continuously adds to the log file in %temp% (of the SYSTEM, which is using %windir%\temp).  So depending upon what you want/need--you may want to change the EnableLogging
    = True to EnableLogging = False (once you confirm it works on all/most of your boxes).  The other caveat, of course, is to change the sCompanyname = to be your Company Name; although I suggest you don't have spaces or special characters in it.  Short
    'n' sweet.  Then, naturally, once you have a box with the regkeys, use Mark Cochrane's RegKeytoMof 3.0 or higher to build the mof edits for you to paste to the bottom of your configuration.mof and sms_def.mof.  In that blog above Eric Schloss was
    using DCM as the delivery method to deliver the script to populate the regkeys--that worked for him and I see no reason it wouldn't work for everyone--so once you've tested the script interactively from a psexec -s -i cmd.exe shell on an hp box (to see it
    create the regkeys) I'd make a DCM like Eric did and target a collection with a few HP laptops or desktops and confirm it works via the DCM. 
    Anyway, give this a try--again... only tested on 1 single, lonely little HP laptop.  Needs a bigger test base!
    Edit:  and... even using Regkeytomof sometimes regkeys can be tricky.  If the mof edit doesn't work right to pull the data back, post what you've added.  someone here can usually spot if there's something not right about it and help you fix
    the mof edit.
    Edit #2: removed bad space, and bad copy/paste job as discovered by sevengs.  Thanks!
    on error resume next
    EnableLogging = True
    sCompanyName = "CompanyName"
    Set oShell = CreateObject("wscript.Shell")
    Set fso = CreateObject("scripting.filesystemobject")
    strTemp = oshell.ExpandEnvironmentStrings("%temp%")
    If EnableLogging Then
    Set oLogFile = fso.OpenTextFile(strTemp & "\WarrantyInfo.log", 8, True)
    oLogFile.WriteLine "*********************************************************"
    End If
    WriteLog "Beginning warranty information lookup."
    sWebServiceHost = "http://h20000.www2.hp.com/bizsupport/TechSupport"
    sWebServiceURL = "WarrantyResults.jsp"
    sWebService = sWebServiceHost & "/" & sWebServiceURL
    'Get the system's serial number from WMI
    Set oWMIService = GetObject("winmgmts:\\.\root\cimv2")
    Set colItems = oWMIService.ExecQuery("Select SerialNumber from Win32_BIOS",,48)
    For Each objItem in colItems
    sSerialNumber = objItem.SerialNumber
    Next
    WriteLog "Serial number of system is " & sSerialNumber
    'Get the Product ID from WMI
    Const wbemFlagReturnImmediately = 16
    Const wbemFlagForwardOnly = 32
    lFlags = wbemFlagReturnImmediately + wbemFlagForwardOnly
    strService = "winmgmts:{impersonationlevel=impersonate}//./root/HP/InstrumentedBIOS"
    strQuery = "select * from HP_BIOSSetting"
    Set objWMIService = GetObject(strService)
    Set colItems = objWMIService.ExecQuery(strQuery,,lFlags)
    sProductNumber = ""
    For Each objItem In colItems
    If objItem.Name = "SKU Number" Then
    sProductNumber = objItem.Value
    End If
    If objItem.Name = "Product Number" Then
    sProductNumber = objItem.Value
    End If
    Next
    If Len(sProductNumber) = 0 Then
    WriteLog "ERROR: Product Number could not be determined."
    oLogFile.WriteLine "*********************************************************"
    oLogFile.Close
    WScript.Quit(9)
    Else
    WriteLog "Product number of the system is " & sProductNumber
    End If
    Set colItems = oWMIService.ExecQuery("Select AddressWidth from Win32_Processor",,48)
    For Each objItem in colItems
    sAddressWidth = objItem.AddressWidth
    Next
    WriteLog "Operating system is " & sAddressWidth & " bit."
    'Define the parameters string to send to the web site
    sParameters = "nickname=&sn=" & sSerialNumber & "&country=US&lang=en&cc=us&pn=" & sProductNumber & "&find=Display+Warranty+Information+%C2%BB&"
    WriteLog "Opening the web site URL " & sWebService & "?" & sParameters
    'Define and call the web site
    Set oHTTP = CreateObject("Microsoft.xmlhttp")
    oHTTP.open "GET", sWebService & "?" & sParameters, False
    'oHTTP.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
    oHTTP.send
    If oHTTP.Status = 200 Then
    WriteLog "Successful response from the web site."
    'WriteLog oHTTP.ResponseText
    Process oHTTP.ResponseText
    Else
    WriteLog "ERROR: the web site returned status code " & oHTTP.Status
    WriteLog "Returning exit code 1."
    nExitCode = 1
    End If
    If EnableLogging Then
    oLogFile.WriteLine "*********************************************************"
    oLogFile.Close
    End If
    WScript.Quit (nExitCode)
    Function Process (HTML)
    WriteLog "Processing the HTML returned from the site."
    intSummaryPos = InStr(LCase(html), "serial number")
    If intSummaryPos = 0 Then
    Process = ""
    Exit Function
    End If
    intSummaryTable1Start = InStrRev(LCase(html), "<table", intSummaryPos)
    intSummaryTable1End = InStr(intSummaryPos, LCase(html), "</table>") + 8
    intSummaryTable2Start = InStr(intSummaryTable1End, LCase(html), "<table")
    intSummaryTable2End = InStr(intSummaryTable2Start, LCase(html), "</table>")
    table1 = getStr(intSummaryTable1Start, intSummaryTable1End, html)
    table2 = getStr(intSummaryTable2Start, intSummaryTable2End, html)
    const HKLM = &H80000002
    Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\default:StdRegProv")
    sKeyPath = "SOFTWARE\" & sCompanyName & "\WarrantyInformation"
    WriteLog "Registry key path is HKLM\" & sKeyPath
    oReg.CreateKey HKLM,sKeyPath
    WriteLog "Processing the first table from the web page."
    arrGeneral = processTables(table1,1)
    'arrGeneal should be in the form Serial Number, Product Number, Product Line, Product Description, Warranty Check Date
    WriteLog "Processing the second table from the web page."
    arrContracts = processTables(table2,2)
    'arrContracts should be in the format Warranty Type, HW Warrenty Start Date, HW Warranty End Date, HW Warranty Status, Setup Warranty Start Date, Setup Warranty End Date, Setup Warranty Status
    WriteLog "Setting registry values."
    WriteLog "SerialNumber is " & arrGeneral(0)
    oReg.SetStringValue HKLM, sKeyPath, "SerialNumber", arrGeneral(0)
    WriteLog "ProductNumber is " & arrGeneral(1)
    oReg.SetStringValue HKLM, sKeyPath, "ProductNumber", arrGeneral(1)
    WriteLog "SerialLine is " & arrGeneral(2)
    oReg.SetStringValue HKLM, sKeyPath, "ProductLine", arrGeneral(2)
    WriteLog "SerialDescription is " & arrGeneral(3)
    oReg.SetStringValue HKLM, sKeyPath, "ProductDescription", arrGeneral(3)
    WriteLog "WarrantyCheckDate is " & CStr(CDate(arrGeneral(4)))
    oReg.SetStringValue HKLM, sKeyPath, "WarrantyCheckDate", CStr(CDate(arrGeneral(4)))
    WriteLog "WarrantyType is " & arrContracts(0)
    oReg.SetStringValue HKLM, sKeyPath, "WarrantyType", arrContracts(0)
    WriteLog arrContracts(1)
    WriteLog "HardwareWarrantyStartDate is " & CStr(CDate(arrContracts(1)))
    oReg.SetStringValue HKLM, sKeyPath, "HardwareWarrantyStartDate", CStr(CDate(arrContracts(1)))
    WriteLog "HardwareWarrantyEndDate is " & CStr(CDate(arrContracts(2)))
    oReg.SetStringValue HKLM, sKeyPath, "HardwareWarrantyEndDate", CStr(CDate(arrContracts(2)))
    End Function
    Function getStr(startpos, endpos, data)
    Dim tmp
    'Get the substring
    tmp = Mid(data, startpos, endpos - startpos)
    ' Remove end of line
    tmp = Replace(Replace(Replace(tmp, VbCrLf, ""), vbCr, ""), vbLf, "")
    getStr = tmp
    End Function
    Function processTables(table, ttype)
    ' Remove HTML Tags and replace with "|"
    Set re = New RegExp
    re.Pattern = "<[^>]+>"
    re.IgnoreCase = True
    re.Global = True
    table = re.Replace(table, "|")
    table = Replace(table, "&nbsp;", "")
    table = Replace(table, ":", "")
    table = Replace(table, " ", "")
    ' Remove excess |
    re.Pattern = "[|]+"
    table = re.Replace(table, "|")
    ' Clean up a bit more
    re.Pattern = "\|\s+\|"
    table = re.Replace(table, "|")
    ' Remove | from start and end of string
    re.Pattern = "^\||\|$"
    table = re.Replace(table, "")
    arrTable = Split(table, "|")
    arrTmp = ""
    If ttype = 1 Then ' General Info Table
    i = 1
    For Each cell in arrTable
    Select Case LCase(Trim(cell))
    Case "serial number"
    sSerialNumber = arrTable(i)
    Case "product number"
    sProductNumber = arrTable(i)
    Case "product line"
    sProductLine = arrTable(i)
    Case "product description"
    sProductDescription = arrTable(i)
    Case "date of warranty check"
    sCheckDate = arrTable(i)
    End Select
    i = i + 1
    Next
    arrTmp = sSerialNumber & "|" & sProductNumber & "|" & sProductLine & "|" & sProductDescription & "|" & sCheckDate
    ElseIf ttype = 2 Then ' Contract Info
    i = 0
    For Each cell in arrTable
    cell = Replace(cell," ","")
    if Instr(lcase(trim(cell)),"wty hp hw maintenance onsite support") > 0 then
    cell = "wty hp hw maintenance onsite support"
    end if
    if Instr(lcase(trim(cell)),"wty hp hw maintenance offsite support") > 0 then
    cell = "wty hp hw maintenance offsite support"
    end if
    if Instr(lcase(trim(cell)),"wty hp support for initial setup") > 0 then
    cell = "wty hp support for initial setup"
    end if
    Select Case LCase(Trim(cell))
    Case "warranty type"
    sWarrantyType = arrTable(i+8)
    Case "wty hp hw maintenance onsite support"
    sHWStartDate = arrTable(i+1)
    sHWEndDate = arrTable(i+2)
                        sHWStatus = arrTable(i+3)
    Case "wty hp hw maintenance offsite support"
    sHWStartDate = arrTable(i+1)
    sHWEndDate = arrTable(i+2)
    sHWStatus = arrTable(i+3)
    Case "wty hp support for initial setup"
    sISStartDate = arrTable(i+1)
    sISEndDate = arrTable(i+2)
    sISStatus = arrTable(i+3)
    case else
    End Select
    i = i + 1
    Next
    arrTmp = sWarrantyType & "|" & sHWStartDate & "|" & sHWEndDate & "|" & sHWStatus & "|" & sISStartDate & "|" & sISEndDate & "|" & sISStatus
    End If
    ' Remove | from start and end of string
    re.Pattern = "^\||\|$"
    arrTmp = re.Replace(arrTmp, "")
    'wscript.echo arrTmp
    arrResult = Split(arrTmp, "|")
    Set re = Nothing
    processTables = arrResult
    End Function
    Function WriteLog (sText)
    If EnableLogging Then
    oLogfile.WriteLine Now() & " " & sText
    End If
    End Function
    Standardize. Simplify. Automate.

  • Has anyone managed to change the battery in a creative Zen MX

    =i bought a 6gb zen MX? in November 2007 and have used it every day since. The battery is now in a sorry state and doesn't hold a charge for more than about 4 hours. After fully charging it, if you then leave it overnight the battery almost totally depletes. The battery is definitely a goner. Has anyone opened one of these players, changed the battery and then got the thing back together successfully? I've looked around on the net but can't find any info on how i might open the player to insert a new battery. Meanwhile i've bought a new Creative ZenMX but i prefer the old one with its dedicated slider for on/off and lock and it would be great if i could somehow get a new battery into it.
    I still have my old Ceati've Zen Jukeboxes (30gb and 60gb) and i wore a couple of batteries out in those. But all you had to do was open the player and shove in a new battery. Shame that facility no longer exists in Creative's MP3 players.
    Any help on the issue of replacing the battery in an MX would be much appreciated.

    Re: has anyone managed to change the battery in a creative Zen MX%Thanks for the links Bertwin, much appreciated.
    Now i have a problem in obtaining a replacement battery. Back in the day you could phone Creative (in Ireland) and order replacement batteries but alas, no longer. On the net you can easily find replacement batteries for every Creative player.....except for the Zen MX. ? The replacement x-fi battery looks similar? and has the same wire connections but it is 3.7v as opposed to 3.6v in the MX. Also the x-fi battery is rated at? 550mAh while the MX is rated at 0.55AH. (Though i guess that could mean they are the same capacity only it's written differently)
    The Creative part number for the MX battery is BAC0603R79925 and the Creative Model No is : LPC6333445
    If anyone knows where to obtain this battery please post.

Maybe you are looking for

  • How to install memory

    Ok, simple question I hope, I have found confusing info on here and the web, I will be adding 4 gigs to my Mac Pro 2008 3.1, it currently has 2 gigs one on top one on bottom, I know I must place both one gig modules on the same board and both the new

  • IPad mini is not charging, displays only blank screen

    Hello! My mom's month-old iPad mini suddenly refused to charge. She charged it last night when the battery display claimed that the batter was down to 5%. She checked her iPad a few hours after she plugged it in for charging, and claimed that it was

  • Windows 7 Installation CD necessary?

    Hi, I want to install Windows 7 on my mid-2010 17" MacBook Pro. Everything I have read about the installation suggests that you need to use a Windows 7 installation disk but nowhere does it seem to acknowledge that some people may have purchased Wind

  • How to get start and end time of an ESB instance in SOA 10.1.3.4

    Hi All, I am using soa 10.1.3.4 and want to track the esb instance start and end time. (For example, in case of bpel we can query the cube instance table to get creation and modify time of an instance. ) How to get that in esb? Thank you. Regards, Sa

  • Why is my open window not centring the file previews?

    Whenever I try to open a file in Illustrator CS6 I have to scale the open window across both of my monitors just to be able to see the file preview in the columns mode. If i with the viewing mode to the iTunes artworks style mode I can just barely se