Click here to Skip to main content
15,889,730 members
Home / Discussions / Mobile
   

Mobile

 
QuestionSaving data in the background - multi threaded Pin
steve_rm7-Nov-07 4:48
steve_rm7-Nov-07 4:48 
QuestionPerformance issue (Is debug mode faster? ) Pin
tusha5-Nov-07 4:12
tusha5-Nov-07 4:12 
AnswerRe: Performance issue (Is debug mode faster? ) Pin
João Paulo Figueira6-Nov-07 21:46
professionalJoão Paulo Figueira6-Nov-07 21:46 
QuestionPlatform Builder 's BSP Wizard problem Pin
TariqZ5-Nov-07 1:06
TariqZ5-Nov-07 1:06 
Questionsend SMS automatic from PC Pin
phuong oanh2-Nov-07 15:12
phuong oanh2-Nov-07 15:12 
AnswerRe: send SMS automatic from PC Pin
DigiOz Multimedia5-Nov-07 5:38
DigiOz Multimedia5-Nov-07 5:38 
QuestionAre there alternatives to OpenFileDialog?????? Pin
Hurricane30002-Nov-07 7:00
Hurricane30002-Nov-07 7:00 
QuestionIt works on Emulator, does't works on real device..... Pin
Hurricane30002-Nov-07 6:53
Hurricane30002-Nov-07 6:53 
Hi to all,



I'm writing a code (in VB .net Compact Framework environment) to read a text file (where is included a field containing a DateTime in Ole Automation format i.e.: 39097.4010995 is equivalent to 1/15/07 9:37:34 AM ).
Before to adding the part of code relative to above work,the program (in fase of development yet), was working almost perfectly in both emulator (windows mobile 2003 SE) and the real device.
After I added the following code lines (only that relatives to DateTime elaboration):

----------------------------------------------------

Dim Tempi() As Single
Dim DatOra As DateTime
Dim Tempo As TimeSpan
Dim Tempo1 As DateTime
Dim Tempo2 As DateTime


Tempi = New Single(TotRecords) {}


DatOra = DateTime.FromOADate(Microsoft.VisualBasic.Mid(line, D1, D2))

If CountLines = 7 Then
Tempo1 = DatOra : Tempo2 = DatOra

Else
Tempo1 = Tempo2 : Tempo2 = DatOra
Tempo = Tempo2 - Tempo1
End If

Tempi(CountLines - 7) = Tempo.TotalSeconds

-------------------------------------------------------

the program is perfectly working only on emulator, but on real device, return me this error:

ArgumentException
Impossible to show an error message. It is not been found assembly of the optional resource that contain it.

in System.DateTime.DoubleDateToTicks()
in System.Windows.Forms.Form.WnProc()
in System.Windows.Forms.Control._InternalWnProc()
in Microsoft.AGL.Forms.EVL.EnterMainLoop()


My device is Windows mobile 2003 SE based, updated to Version 2.00 of Compact framework, and is Italian language Culture.

To develop code, I'm using English version of VS 2005 and Compact Framework environment.

Any idea on where is the problem?
May be that problem depends on different languages (I am not sure)? If yes can someone help me please?

Marco








QuestionVB.Net Compact - Reposition form on SID enabled event Pin
mccaber822-Nov-07 5:11
mccaber822-Nov-07 5:11 
AnswerRe: VB.Net Compact - Reposition form on SID enabled event Pin
wizardcode14-Nov-07 2:48
wizardcode14-Nov-07 2:48 
QuestionPlatform builder Pin
subosubo1-Nov-07 18:52
subosubo1-Nov-07 18:52 
QuestionReg Exp Library for Mobile 6 Pin
Jnewg51-Nov-07 12:53
Jnewg51-Nov-07 12:53 
QuestionPocketPC - how do you work these again? Pin
john john mackey1-Nov-07 12:18
john john mackey1-Nov-07 12:18 
AnswerRe: PocketPC - how do you work these again? Pin
João Paulo Figueira6-Nov-07 21:51
professionalJoão Paulo Figueira6-Nov-07 21:51 
GeneralRe: PocketPC - how do you work these again? Pin
john john mackey13-Nov-07 14:43
john john mackey13-Nov-07 14:43 
QuestionJava and netBeans question? Pin
Benny_Lava1-Nov-07 6:05
Benny_Lava1-Nov-07 6:05 
QuestionHow to enlarge an existing bitmap on a VGA device? S.O.S Pin
ttarantula31-Oct-07 23:08
ttarantula31-Oct-07 23:08 
AnswerRe: How to enlarge an existing bitmap on a VGA device? S.O.S Pin
Alain Rist1-Nov-07 8:31
Alain Rist1-Nov-07 8:31 
GeneralRe: How to enlarge an existing bitmap on a VGA device? S.O.S!!! Pin
ttarantula19-Nov-07 19:43
ttarantula19-Nov-07 19:43 
QuestionRe: How to enlarge an existing bitmap on a VGA device? S.O.S!!! Pin
Alain Rist19-Nov-07 20:36
Alain Rist19-Nov-07 20:36 
AnswerRe: How to enlarge an existing bitmap on a VGA device? S.O.S!!! Pin
ttarantula19-Nov-07 20:58
ttarantula19-Nov-07 20:58 
GeneralRe: How to enlarge an existing bitmap on a VGA device? S.O.S!!! Pin
Alain Rist19-Nov-07 21:25
Alain Rist19-Nov-07 21:25 
QuestionRe: How to enlarge an existing bitmap on a VGA device? S.O.S!!! Pin
ttarantula19-Nov-07 22:23
ttarantula19-Nov-07 22:23 
QuestionObject Store DBs on Windows CE Pin
ohart31-Oct-07 6:36
ohart31-Oct-07 6:36 
QuestionArabic pocket pc Pin
SVb.net31-Oct-07 5:31
SVb.net31-Oct-07 5:31 

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.