Click here to Skip to main content
15,902,634 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Generalhelp! error: BC30389: 'C' is not accessible in this context because it is 'Private' Pin
isnapols11-Aug-04 3:21
isnapols11-Aug-04 3:21 
GeneralRe: help! error: BC30389: 'C' is not accessible in this context because it is 'Private' Pin
Colin Angus Mackay11-Aug-04 4:00
Colin Angus Mackay11-Aug-04 4:00 
GeneralKodak Image controls Pin
Brad Fackrell11-Aug-04 3:02
Brad Fackrell11-Aug-04 3:02 
GeneralRe: Kodak Image controls Pin
Dave Kreskowiak11-Aug-04 5:18
mveDave Kreskowiak11-Aug-04 5:18 
GeneralRe: Kodak Image controls Pin
Brad Fackrell11-Aug-04 12:12
Brad Fackrell11-Aug-04 12:12 
GeneralWriting data to binary files Pin
Simon Kearn11-Aug-04 0:16
sussSimon Kearn11-Aug-04 0:16 
GeneralRe: Writing data to binary files Pin
Simon Kearn11-Aug-04 5:42
sussSimon Kearn11-Aug-04 5:42 
GeneralRe: Writing data to binary files Pin
Dave Kreskowiak11-Aug-04 6:01
mveDave Kreskowiak11-Aug-04 6:01 
Simon Kearn wrote:
if I use the CreateFile and WriteFile Win32API calls and specify the length of bytes

Why go through all that trouble...

As per your original problem... If you look at the Binary representation of both number, the problem should become clear:
You required time value:
4119EB10 = 01000001000110011110101100010000
The value your getting:
41467AC4 = 01000001010001100111101011000100

If you look at the binary versions closely, you'll find that the bulk of your value is being moved to the left two places and a 01 is being inserted. This is because your eyes are looking at the number as an Integer and the value being stored is a 64-bit Double (floating point value). The two data types are stored differently.
You required time value:
4119EB10 = 01000001  000110011110101100010000
The value your getting:
41467AC4 = 01000001010001100111101011000100

Your time value should be stored as a Long (32-bit signed Integer) instead of a Double. I thinkth is should get you a step closer to solving your problem.


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

Generalpdf conversion example program Pin
franco_8210-Aug-04 20:30
franco_8210-Aug-04 20:30 
GeneralRe: pdf conversion example program Pin
Member 53081011-Aug-04 3:17
Member 53081011-Aug-04 3:17 
GeneralRe: pdf conversion example program Pin
Dave Kreskowiak11-Aug-04 4:53
mveDave Kreskowiak11-Aug-04 4:53 
GeneralMessageBox And MsgBox Pin
beowulfagate10-Aug-04 16:25
beowulfagate10-Aug-04 16:25 
GeneralRe: MessageBox And MsgBox Pin
Nick Seng10-Aug-04 16:47
Nick Seng10-Aug-04 16:47 
GeneralRe: MessageBox And MsgBox Pin
normanordas10-Aug-04 20:45
normanordas10-Aug-04 20:45 
GeneralMultiple Form problems Pin
Achithyn10-Aug-04 15:48
Achithyn10-Aug-04 15:48 
GeneralRe: Multiple Form problems Pin
Nick Seng10-Aug-04 16:11
Nick Seng10-Aug-04 16:11 
GeneralRe: Multiple Form problems Pin
Achithyn10-Aug-04 16:37
Achithyn10-Aug-04 16:37 
GeneralRe: Multiple Form problems Pin
Nick Seng10-Aug-04 16:42
Nick Seng10-Aug-04 16:42 
GeneralRe: Multiple Form problems Pin
Achithyn10-Aug-04 18:47
Achithyn10-Aug-04 18:47 
GeneralRe: Multiple Form problems Pin
Nick Seng10-Aug-04 20:15
Nick Seng10-Aug-04 20:15 
GeneralRe: Multiple Form problems Pin
Dave Kreskowiak11-Aug-04 1:26
mveDave Kreskowiak11-Aug-04 1:26 
GeneralRe: Multiple Form problems Pin
Achithyn11-Aug-04 7:23
Achithyn11-Aug-04 7:23 
GeneralRe: Multiple Form problems Pin
Dave Kreskowiak11-Aug-04 8:57
mveDave Kreskowiak11-Aug-04 8:57 
GeneralRe: Multiple Form problems Pin
Achithyn11-Aug-04 9:45
Achithyn11-Aug-04 9:45 
GeneralDataGridView Pin
mtone10-Aug-04 15:34
mtone10-Aug-04 15:34 

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.