Click here to Skip to main content
15,949,686 members
Home / Discussions / Mobile
   

Mobile

 
GeneralRe: How to get Window Rect coordinates wrt to its parent window rect coordinates. Pin
subramjobmail11-Sep-03 15:53
subramjobmail11-Sep-03 15:53 
GeneralRe: How to get Window Rect coordinates wrt to its parent window rect coordinates. Pin
Daniel Strigl15-Sep-03 20:23
Daniel Strigl15-Sep-03 20:23 
GeneralVectors in windows CE Pin
SysLo7-Sep-03 4:57
SysLo7-Sep-03 4:57 
GeneralRe: Vectors in windows CE Pin
João Paulo Figueira7-Sep-03 7:24
professionalJoão Paulo Figueira7-Sep-03 7:24 
GeneralRe: Vectors in windows CE Pin
Daniel Strigl7-Sep-03 20:24
Daniel Strigl7-Sep-03 20:24 
GeneralRe: Vectors in windows CE Pin
SysLo7-Sep-03 20:29
SysLo7-Sep-03 20:29 
GeneralUnload a form Pin
Mahesh Varma6-Sep-03 0:53
Mahesh Varma6-Sep-03 0:53 
GeneralOdd behaviour inserting into Sql CE Pin
freshthinking4-Sep-03 22:25
freshthinking4-Sep-03 22:25 
I have a relation called Correspondence of the following format:

corrId int identity(1, 1) primary key
type varchar(50)
cwith varchar(50)
isInternal smallint(2)
rowguid uniqueidentifier

the rowguid attribute was added by sql server when setting
up merge replication.

On the CE application I am trying to insert a row into the table and then pull the corrId back out using @@IDENTITY. Strangely when I try and insert I get the following error:

HR: 800040E2F
Native: 25016
Message: A duplicate value cannot be inserted into a
unique index [,,,,,]
Source: Microsoft SQL Server 2000 Windows CE Edition
Parameter 1: 0
Parameter 2: 0
Parameter 3: 0
Parameter 4:
Parameter 5:
Parameter 6:

I could understand the error if the corrId wasn't being incremented by 1 each time (& it didn't have the uniqueidentifier attribute). The question is what am I missing that's causing the problem?

Thanks in advance.
GeneralRe: Odd behaviour inserting into Sql CE Pin
João Paulo Figueira4-Sep-03 22:39
professionalJoão Paulo Figueira4-Sep-03 22:39 
GeneralRe: Odd behaviour inserting into Sql CE Pin
freshthinking4-Sep-03 22:49
freshthinking4-Sep-03 22:49 
GeneralRe: Odd behaviour inserting into Sql CE Pin
freshthinking5-Sep-03 0:44
freshthinking5-Sep-03 0:44 
GeneralMy program is not work in Pocket PC 2003! Pin
David12153-Sep-03 17:01
David12153-Sep-03 17:01 
GeneralRe: My program is not work in Pocket PC 2003! Pin
João Paulo Figueira4-Sep-03 1:46
professionalJoão Paulo Figueira4-Sep-03 1:46 
GeneralRe: My program is not work in Pocket PC 2003! Pin
David12154-Sep-03 15:32
David12154-Sep-03 15:32 
GeneralRe: My program is not work in Pocket PC 2003! Pin
Jonas Larsson4-Sep-03 20:34
Jonas Larsson4-Sep-03 20:34 
QuestionScriptinghost for NetCF ???? Pin
carsonB3-Sep-03 2:53
carsonB3-Sep-03 2:53 
GeneralDatabase connection with pocket pc emulator Pin
shoukat rasool1-Sep-03 11:33
shoukat rasool1-Sep-03 11:33 
GeneralPhone call (TAPI) with PPC Pin
Member 55831131-Aug-03 13:01
Member 55831131-Aug-03 13:01 
GeneralRe: Phone call (TAPI) with PPC Pin
Member 5583112-Sep-03 6:42
Member 5583112-Sep-03 6:42 
Generalprecalculating button control size issue Pin
rodent¹28-Aug-03 4:43
rodent¹28-Aug-03 4:43 
GeneralRe: precalculating button control size issue Pin
João Paulo Figueira28-Aug-03 6:07
professionalJoão Paulo Figueira28-Aug-03 6:07 
GeneralRe: precalculating button control size issue Pin
rodent¹28-Aug-03 6:19
rodent¹28-Aug-03 6:19 
GeneralRe: precalculating button control size issue Pin
rodent¹28-Aug-03 9:10
rodent¹28-Aug-03 9:10 
GeneralRe: precalculating button control size issue Pin
João Paulo Figueira28-Aug-03 12:03
professionalJoão Paulo Figueira28-Aug-03 12:03 
GeneralRe: precalculating button control size issue Pin
rodent¹28-Aug-03 12:43
rodent¹28-Aug-03 12:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.