LotusScript to C API Programming Guide

rtLib Domino Rich Text Management template
Home
Hide details for ContentContent
Getting started
Basic declaration conversion
Data and reference types
Editing reference type items
Purchase
Ready-to-use samples
Hide details for Online resourcesOnline resources
Technotes and goodies
Reference
Header files
Forum
Links
Happy readers

Anonymous

login


 

Hosted by Prominic.NET, Inc.
Main topic: Need to create a valid UniversalID string without using document.UniversalID

Need to create a valid UniversalID string without using document.UniversalID (by Andreas Bisiach, 06/15/2006 05:09:34 AM)

Hi,

I have a external system that needs to compute valid universal IDS

I can only rely on Visual Basic like programming language

I was trying to build a universal id in such way:

Hex(Clng(Date))+Hex(Clng(Time))+Hex(Clng(Date))+Hex(Clng(Time))

The above code should resemble the fact that an universal id is a structure of DBID+TIMEDATE. Both DBID and TIMEDATES are structures made of 2 DWORDS each(2=long in script)

My problem is that the lenght i get is far too short.

Do I need to And, Or, xOr before doing Hex? Anf if yes how (Sorry not really an expert on this)

Thanks