Click here to Skip to main content
15,910,234 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Write to Stream Pin
nitin_ion8-Apr-05 18:09
nitin_ion8-Apr-05 18:09 
GeneralRe: Write to Stream Pin
Dave Kreskowiak9-Apr-05 10:15
mveDave Kreskowiak9-Apr-05 10:15 
GeneralGot stuck with a problem!!! Pin
Mahesh16797-Apr-05 22:10
Mahesh16797-Apr-05 22:10 
GeneralRe: Got stuck with a problem!!! Pin
Dave Kreskowiak8-Apr-05 3:24
mveDave Kreskowiak8-Apr-05 3:24 
GeneralHandling COM events in VB for Applications Pin
Anonymous7-Apr-05 21:41
Anonymous7-Apr-05 21:41 
GeneralRe: Handling COM events in VB for Applications Pin
Anonymous8-Apr-05 4:58
Anonymous8-Apr-05 4:58 
GeneralRe: Handling COM events in VB for Applications Pin
Anonymous8-Apr-05 5:21
Anonymous8-Apr-05 5:21 
GeneralRe: Handling COM events in VB for Applications Pin
Anonymous8-Apr-05 6:32
Anonymous8-Apr-05 6:32 
Option Explicit

Const FORMAT_MESSAGE_FROM_SYSTEM = &H1000

Private Declare Function FormatMessage Lib "kernel32" Alias _
"FormatMessageA" ( ByVal dwFlags As Long, lpSource As Long, _
ByVal dwMessageId As Long, ByVal dwLanguageId As Long, _
ByVal lpBuffer As String, ByVal nSize As Long, Arguments As Any) _
As Long

Private Function MessageText(lCode As Long) As String
Dim sRtrnCode As String
Dim lRet As Long

sRtrnCode = Space$(256)
lRet = FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM, 0&, lCode, 0&, _
sRtrnCode, 256&, 0&)
If lRet >0 Then
MessageText = Left(sRtrnCode, lRet)
Else
MessageText = "Error not found."
End If

End Function

GeneralRe: Handling COM events in VB for Applications Pin
GizzoF10-Apr-05 21:14
GizzoF10-Apr-05 21:14 
GeneralGrouping Properties Pin
AEAVY7-Apr-05 21:17
AEAVY7-Apr-05 21:17 
GeneralBlob field Pin
shinay7-Apr-05 19:52
shinay7-Apr-05 19:52 
GeneralRe: Blob field Pin
Anonymous8-Apr-05 5:18
Anonymous8-Apr-05 5:18 
GeneralRe: Blob field Pin
shinay8-Apr-05 7:16
shinay8-Apr-05 7:16 
GeneralPassing the where clause to a query in Access Pin
martin@martindeleon.com7-Apr-05 14:56
sussmartin@martindeleon.com7-Apr-05 14:56 
GeneralRe: Passing the where clause to a query in Access Pin
Christian Graus7-Apr-05 15:18
protectorChristian Graus7-Apr-05 15:18 
Generalfile extension Pin
acnetonline7-Apr-05 9:10
acnetonline7-Apr-05 9:10 
GeneralRe: file extension Pin
Anonymous7-Apr-05 18:35
Anonymous7-Apr-05 18:35 
GeneralImagelists Pin
rswipe7-Apr-05 5:06
rswipe7-Apr-05 5:06 
GeneralRe: Imagelists Pin
Dave Kreskowiak7-Apr-05 5:29
mveDave Kreskowiak7-Apr-05 5:29 
GeneralRe: Imagelists Pin
rswipe7-Apr-05 22:12
rswipe7-Apr-05 22:12 
GeneralRe: Imagelists Pin
Dave Kreskowiak8-Apr-05 2:10
mveDave Kreskowiak8-Apr-05 2:10 
GeneralProblem adding a user control in my application Pin
a7corsair7-Apr-05 3:09
a7corsair7-Apr-05 3:09 
GeneralNeed Help Pin
Anonymous7-Apr-05 2:21
Anonymous7-Apr-05 2:21 
GeneralRe: Need Help Pin
Jim Matthews7-Apr-05 3:23
Jim Matthews7-Apr-05 3:23 
GeneralRe: Need Help Pin
Anonymous7-Apr-05 10:45
Anonymous7-Apr-05 10:45 

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.