Click here to Skip to main content
15,895,656 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Pin
Kimhoy26-Oct-12 2:34
Kimhoy26-Oct-12 2:34 
AnswerRe: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Pin
Bernhard Hiller26-Oct-12 2:39
Bernhard Hiller26-Oct-12 2:39 
QuestionVB6 on Windows 7 Pin
Member 451235624-Oct-12 20:09
Member 451235624-Oct-12 20:09 
AnswerRe: VB6 on Windows 7 Pin
Eddy Vluggen24-Oct-12 23:21
professionalEddy Vluggen24-Oct-12 23:21 
AnswerRe: VB6 on Windows 7 Pin
Bernhard Hiller26-Oct-12 2:43
Bernhard Hiller26-Oct-12 2:43 
GeneralRe: VB6 on Windows 7 Pin
Member 451235629-Oct-12 18:42
Member 451235629-Oct-12 18:42 
AnswerRe: VB6 on Windows 7 Pin
Member 45123564-Dec-12 21:27
Member 45123564-Dec-12 21:27 
QuestionBinar array into user defined Type (How to?) Pin
Member 953964724-Oct-12 11:45
Member 953964724-Oct-12 11:45 
I have following problem in my VB6 project:

I have an array of 44 bytes, aTZI(), which is a result of WMI objRegistry.GetBinaryValue call.

I also have defined a user types and a variable:

Public Type SYSTEMTIME
wYear As Integer
wMonth As Integer
wDayOfWeek As Integer
wDay As Integer
wHour As Integer
wMinute As Integer
wSecond As Integer
wMilliseconds As Integer
End Type

Public Type TIME_ZONE_INFORMATION
Bias As Long
StandardName(0 To 63) As Byte
StandardDate As SYSTEMTIME
StandardBias As Long
DaylightName(0 To 63) As Byte
DaylightDate As SYSTEMTIME
DaylightBias As Long
End Type

Public zoneTZI As TIME_ZONE_INFORMATION


How can I get aTZI into zoneTZI, so that I can read each element of the TIME_ZONE_INFORMATION?

Whatever I try to do gets me an error "Only user-defined in public object modues can be coerced to or from a variant pr passed to late-bound functions"

Every suggestion will be appreciated.

Thanks!
AnswerRe: Binar array into user defined Type (How to?) Pin
Eddy Vluggen24-Oct-12 23:19
professionalEddy Vluggen24-Oct-12 23:19 
QuestionVB.Net q Pin
khalid33323-Oct-12 23:30
khalid33323-Oct-12 23:30 
AnswerRe: VB.Net q Pin
Eddy Vluggen24-Oct-12 0:03
professionalEddy Vluggen24-Oct-12 0:03 
AnswerRe: VB.Net q Pin
khalid33324-Oct-12 17:19
khalid33324-Oct-12 17:19 
QuestionCOM Interop between C++ program and VB.NET DLL Pin
_obi_22-Oct-12 13:14
_obi_22-Oct-12 13:14 
AnswerRe: COM Interop between C++ program and VB.NET DLL Pin
Bernhard Hiller22-Oct-12 20:57
Bernhard Hiller22-Oct-12 20:57 
GeneralRe: COM Interop between C++ program and VB.NET DLL Pin
_obi_22-Oct-12 21:23
_obi_22-Oct-12 21:23 
Questioncsv => txt file Pin
dubscat22-Oct-12 9:41
dubscat22-Oct-12 9:41 
AnswerRe: csv => txt file Pin
David Mujica22-Oct-12 10:51
David Mujica22-Oct-12 10:51 
GeneralRe: csv => txt file Pin
dubscat22-Oct-12 11:29
dubscat22-Oct-12 11:29 
GeneralRe: csv => txt file Pin
David Mujica23-Oct-12 3:25
David Mujica23-Oct-12 3:25 
GeneralRe: csv => txt file Pin
dubscat23-Oct-12 6:47
dubscat23-Oct-12 6:47 
GeneralRe: csv => txt file Pin
David Mujica23-Oct-12 8:10
David Mujica23-Oct-12 8:10 
GeneralRe: csv => txt file Pin
dubscat23-Oct-12 8:12
dubscat23-Oct-12 8:12 
GeneralRe: csv => txt file Pin
dubscat23-Oct-12 8:14
dubscat23-Oct-12 8:14 
GeneralRe: csv => txt file Pin
dubscat25-Oct-12 8:55
dubscat25-Oct-12 8:55 
GeneralRe: csv => txt file Pin
David Mujica26-Oct-12 3:14
David Mujica26-Oct-12 3:14 

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.