On 14 May 2010 14:07, Steve Onnis <[email protected]> wrote: > If I am going to do that I may aswell just read it and parse it manually > without the functions.
true, Cf lists functions are pretty good > > The question is, does the file "have to" have the header in it or is there a > way to do it without the header i think you have already answered that yourself :) > > -----Original Message----- > From: Zac Spitzer [mailto:[email protected]] > Sent: Friday, 14 May 2010 2:05 PM > To: [email protected] > Subject: Re: [cfaussie] using getProfileSections() > > read the file into a variable, add the header, write it back out and then > parse it? > > On 14 May 2010 14:01, Steve Onnis <[email protected]> wrote: >> I cant. The file is generated by a mail server and I don’t want to >> mess with it >> >> -----Original Message----- >> From: Zac Spitzer [mailto:[email protected]] >> Sent: Friday, 14 May 2010 2:00 PM >> To: [email protected] >> Subject: Re: [cfaussie] using getProfileSections() >> >> just wack a section heading in first like [GeneralProperties] >> >> On 14 May 2010 13:51, Steve Onnis <[email protected]> wrote: >>> I am trying to load up a .ini style file using this but i am having a >>> bit of an issue. For this function to work does the file "have to" >>> have the section part of the file? I am working with a file that is >>> just like this.... >>> >>> Retries=1 >>> NextSendTime=1273813109 >>> TimeAcquired=1273802309 >>> MessageID=0031B5FA83FE423E8562BCDD1B4AB991.MAI >>> Account= >>> Priority=Normal >>> Status=Unsent >>> >>> but when i try to use the getProfileSections() function i get nothing. >>> I have also tried GetProfileString() and using "" in the section >>> argument and also get nothing. >>> >>> Anyone shed some light on this? >>> >>> Steve >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "cfaussie" group. >>> To post to this group, send email to [email protected]. >>> To unsubscribe from this group, send email to >>> [email protected]. >>> For more options, visit this group at >>> http://groups.google.com/group/cfaussie?hl=en. >>> >> >> >> >> -- >> Zac Spitzer >> Solution Architect / Director >> Ennoble Consultancy Australia >> http://www.ennoble.com.au >> http://zacster.blogspot.com >> +61 405 847 168 >> >> -- >> You received this message because you are subscribed to the Google >> Groups "cfaussie" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/cfaussie?hl=en. >> >> >> -- >> You received this message because you are subscribed to the Google Groups > "cfaussie" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to > [email protected]. >> For more options, visit this group at > http://groups.google.com/group/cfaussie?hl=en. >> >> > > > > -- > Zac Spitzer > Solution Architect / Director > Ennoble Consultancy Australia > http://www.ennoble.com.au > http://zacster.blogspot.com > +61 405 847 168 > > -- > You received this message because you are subscribed to the Google Groups > "cfaussie" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/cfaussie?hl=en. > > > -- > You received this message because you are subscribed to the Google Groups > "cfaussie" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/cfaussie?hl=en. > > -- Zac Spitzer Solution Architect / Director Ennoble Consultancy Australia http://www.ennoble.com.au http://zacster.blogspot.com +61 405 847 168 -- You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
