Click here to Skip to main content
15,903,033 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Convert heximal Pin
erikkloeze24-Feb-04 23:14
erikkloeze24-Feb-04 23:14 
GeneralRe: Convert heximal Pin
Dave Kreskowiak25-Feb-04 7:06
mveDave Kreskowiak25-Feb-04 7:06 
Generalunable to shutdown my computer with WMI Pin
yangchengmin24-Feb-04 21:44
yangchengmin24-Feb-04 21:44 
GeneralRe: unable to shutdown my computer with WMI Pin
John Kuhn25-Feb-04 10:54
John Kuhn25-Feb-04 10:54 
GeneralPlz help : Unable to Attach Msm file for .net framework Pin
Tasnim24-Feb-04 21:20
Tasnim24-Feb-04 21:20 
GeneralMDAC Merge Module Installation Pin
Tasnim24-Feb-04 18:50
Tasnim24-Feb-04 18:50 
GeneralDeployment of Crystal Report in VB.net(From where shud I get KeyCode) Pin
Tasnim24-Feb-04 18:48
Tasnim24-Feb-04 18:48 
GeneralString from vb to VC Pin
SiddharthAtw24-Feb-04 18:08
SiddharthAtw24-Feb-04 18:08 
Please help me I lost my night sleep. Tell in simple code.
From my VB client I am passing simple string "Siddharth", to a win32 dll function GetUserName(DATATYPE)(if DAtatype is BSTR or wstring tell me how to convert it into string in dll function declaration). My program should run in 98 as well as NT. I am trying lot of examples but they all are for long. When I convert it to string nothing works out.

VB client
Dim x as string
x = "String"
GetStringFromVb(wstring *)
end

Win32
GetStringFromVb(wstring*)
{
vector MyString;
MyString.push_back(wstring);
{
//..Lot of string manipulation
}
}

One more issue. in the win32 DLL.h if I declare stl parameter, it is not accepted by the compiler.

GeneralRe: String from vb to VC Pin
John Kuhn24-Feb-04 18:14
John Kuhn24-Feb-04 18:14 
GeneralRe: String from vb to VC Pin
SiddharthAtw26-Feb-04 19:10
SiddharthAtw26-Feb-04 19:10 
GeneralRe: String from vb to VC Pin
Dave Kreskowiak27-Feb-04 4:21
mveDave Kreskowiak27-Feb-04 4:21 
GeneralRe: String from vb to VC Pin
John Kuhn27-Feb-04 5:26
John Kuhn27-Feb-04 5:26 
GeneralRe: String from vb to VC Pin
Matthew Hazlett24-Feb-04 21:28
Matthew Hazlett24-Feb-04 21:28 
GeneralRe: String from vb to VC Pin
Dave Kreskowiak25-Feb-04 6:47
mveDave Kreskowiak25-Feb-04 6:47 
GeneralVB6 & VS.NET Pin
cnurse24-Feb-04 16:04
cnurse24-Feb-04 16:04 
GeneralRe: VB6 & VS.NET Pin
Dave Kreskowiak24-Feb-04 19:17
mveDave Kreskowiak24-Feb-04 19:17 
GeneralRe: VB6 & VS.NET Pin
cnurse24-Feb-04 19:22
cnurse24-Feb-04 19:22 
GeneralFileSystemWatcher event handler Pin
WESHILL24-Feb-04 12:09
WESHILL24-Feb-04 12:09 
GeneralRe: FileSystemWatcher event handler Pin
John Kuhn24-Feb-04 14:25
John Kuhn24-Feb-04 14:25 
GeneralUrgent: WSDL problem with SAP R/3 Pin
Orkun GEDiK24-Feb-04 8:42
Orkun GEDiK24-Feb-04 8:42 
QuestionHow to retrieve network Drives/All Computers in Network Pin
Tasnim24-Feb-04 1:04
Tasnim24-Feb-04 1:04 
AnswerRe: How to retrieve network Drives/All Computers in Network Pin
John Kuhn24-Feb-04 14:33
John Kuhn24-Feb-04 14:33 
GeneralReportEvent fails Pin
alex120523-Feb-04 23:36
alex120523-Feb-04 23:36 
GeneralRe: ReportEvent fails Pin
Dave Kreskowiak24-Feb-04 5:20
mveDave Kreskowiak24-Feb-04 5:20 
GeneralCrystalViewer Formula Field in VB.net Pin
Tasnim23-Feb-04 22:31
Tasnim23-Feb-04 22: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.