Advertisement
4_2005-2006 Windows API Call/ Explanation #163421

MSVBVM60.DLL API Calls

Much like kernel32.dll or user32.dll, MSVBVM60.DLL (or MSVBVM50 for VB5) contains a myriad of useful API function calls that you can utilise - although many of these are undocumented. Just out of interest, I'd thought I'd post a few up here. Seeing as we all have to distribute that annoyingly chunky DLL with our apps, maybe we could start researching and put the thing to really good use!

AI

AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Source Code
original-source
''you'll need to stick a command button on your form
Private Sub Command1_Click()
  ''See what these functions return...
  MsgBox "1+2=" & Trim$(Str$(vbaVarAdd(2, 1)))
  MsgBox "10-5=" & Trim$(Str$(vbaVarSub(5, 10)))
  MsgBox "6*6=" & Trim$(Str$(vbaVarMul(6, 6)))
  MsgBox CStr(vbaVarCat("lo!", "Hel"))
End Sub
Original Comments (3)
Recovered from Wayback Machine