Outlook 2003 Script: How to create an Id for task

N

news.microsoft.com

Hi All,

I have a new folder in my public folders, I create a personal form and make
it as default form used by everyone

I want to number programaticaly all task with a unique Id exp 00001 to
99999

can someone help
 
M

Michael Bauer [MVP - Outlook]

Am Wed, 18 Oct 2006 09:27:18 +0200 schrieb news.microsoft.com:

Here´s a simple sample to increase a counter and store the current value in
a text file. You must also copy the samples for ReadFile and WriteFile. The
path in the constant FILE_NAME must exist already.
 
N

news.microsoft.com

Excuse me where is the sample ???



Michael Bauer said:
Am Wed, 18 Oct 2006 09:27:18 +0200 schrieb news.microsoft.com:

Here´s a simple sample to increase a counter and store the current value
in
a text file. You must also copy the samples for ReadFile and WriteFile.
The
path in the constant FILE_NAME must exist already.
 
M

Michael Bauer [MVP - Outlook]

Am Fri, 20 Oct 2006 12:25:00 +0200 schrieb news.microsoft.com:

That´s true. You could use the Scripting Runtime instead. Create an
FileSystemObject and use its OpenTextFile and CreateTextFile functions.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.VBOffice.net --
ReadFile and WriteFile are not allowed in Outlook Script...



Michael Bauer said:
Am Thu, 19 Oct 2006 10:27:25 +0200 schrieb news.microsoft.com:

Sorry, I forgot to insert the link:
http://www.vboffice.net/sample.html?mnu=2&smp=15&cmd=showitem

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.VBOffice.net --

Excuse me where is the sample ???



"Michael Bauer [MVP - Outlook]" <[email protected]> a ?it dans le message de
[email protected]...
Am Wed, 18 Oct 2006 09:27:18 +0200 schrieb news.microsoft.com:

Here´s a simple sample to increase a counter and store the current value
in
a text file. You must also copy the samples for ReadFile and WriteFile.
The
path in the constant FILE_NAME must exist already.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.VBOffice.net --


Hi All,

I have a new folder in my public folders, I create a personal form and
make
it as default form used by everyone

I want to number programaticaly all task with a unique Id exp 00001
to
99999

can someone help
 
B

bbnimda

Hi I'm not good in vbs do you have any sample of code....

Tks

Michael Bauer said:
Am Fri, 20 Oct 2006 12:25:00 +0200 schrieb news.microsoft.com:

That´s true. You could use the Scripting Runtime instead. Create an
FileSystemObject and use its OpenTextFile and CreateTextFile functions.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.VBOffice.net --
ReadFile and WriteFile are not allowed in Outlook Script...



Michael Bauer said:
Am Thu, 19 Oct 2006 10:27:25 +0200 schrieb news.microsoft.com:

Sorry, I forgot to insert the link:
http://www.vboffice.net/sample.html?mnu=2&smp=15&cmd=showitem

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.VBOffice.net --


Excuse me where is the sample ???



"Michael Bauer [MVP - Outlook]" <[email protected]> a ?it dans le message de
[email protected]...
Am Wed, 18 Oct 2006 09:27:18 +0200 schrieb news.microsoft.com:

Here´s a simple sample to increase a counter and store the current value
in
a text file. You must also copy the samples for ReadFile and
WriteFile.
The
path in the constant FILE_NAME must exist already.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.VBOffice.net --


Hi All,

I have a new folder in my public folders, I create a personal form
and
make
it as default form used by everyone

I want to number programaticaly all task with a unique Id exp 00001
to
99999

can someone help
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top