Click here to Skip to main content
15,913,055 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: curson location Pin
charchabil0313-Nov-06 1:09
charchabil0313-Nov-06 1:09 
GeneralRe: curson location Pin
MatrixCoder13-Nov-06 7:56
MatrixCoder13-Nov-06 7:56 
GeneralRe: curson location Pin
charchabil0313-Nov-06 11:01
charchabil0313-Nov-06 11:01 
QuestionHow to make the program with multi language ????? any Kind program come Pin
kindman_nb11-Nov-06 7:05
kindman_nb11-Nov-06 7:05 
AnswerRe: How to make the program with multi language ????? any Kind program come Pin
kindman_nb12-Nov-06 7:58
kindman_nb12-Nov-06 7:58 
GeneralRe: How to make the program with multi language ????? any Kind program come Pin
Syed Shahid Hussain12-Nov-06 8:28
Syed Shahid Hussain12-Nov-06 8:28 
GeneralUntil i will use it ,,,, thanks Syed Pin
kindman_nb12-Nov-06 19:04
kindman_nb12-Nov-06 19:04 
Question"what is data type conversion between VB and VC++?" Pin
Orchid8511-Nov-06 1:58
Orchid8511-Nov-06 1:58 
Hi everyone,
I created a project in VC++ (Class Library project in visual studio 2005) and I would like to use it in VB .
I defined 2 functions in classlibrary that one of them uses simple data type such as int,bool,.. in input and return value and other one uses data type such as char * .
When I use simple data type ,there is not any problem and I can call the function in vb successfully but when I use another data type such as (char * ,..)I can not call it and even I can not see the function in vb.
My question is about data type conversion between VC++ and VB.
My code is same as below :
//==============================
MyClassLibrary.h
#pragma once
using namespace System;
namespace MyClassLibrary{
public ref class InitCard
{
public :
bool VerifyPin(char *) ; //I can not see this function in VB
bool SetCardAccessKey(int); //I can see and use this function in VB successfully .
};
}
//======================My VB code is same as below :
Imports MyClassLibrary
Dim Jvm_offcard As New MyClassLibrary.InitCard
Jvm_offcard.SetCardAccessKey(2);
//Jvm_offcard.VerifyPin("1234") //there is an error on this line

I would like to know how can I use data type such as (char *,byte array ,string) between VC++ and VB code.
I would appreciate for any help .
Yours sincerely,
Orchid

AnswerRe: "what is data type conversion between VB and VC++?" Pin
Kevin McFarlane11-Nov-06 3:29
Kevin McFarlane11-Nov-06 3:29 
GeneralRe: "what is data type conversion between VB and VC++?" Pin
Orchid8511-Nov-06 4:31
Orchid8511-Nov-06 4:31 
GeneralRe: "what is data type conversion between VB and VC++?" Pin
Orchid8511-Nov-06 23:09
Orchid8511-Nov-06 23:09 
GeneralRe: "what is data type conversion between VB and VC++?" Pin
Kevin McFarlane12-Nov-06 7:12
Kevin McFarlane12-Nov-06 7:12 
GeneralRe: "what is data type conversion between VB and VC++?" Pin
Kevin McFarlane12-Nov-06 7:17
Kevin McFarlane12-Nov-06 7:17 
GeneralRe: "what is data type conversion between VB and VC++?" Pin
Orchid8513-Nov-06 2:24
Orchid8513-Nov-06 2:24 
GeneralRe: "what is data type conversion between VB and VC++?" Pin
Kevin McFarlane13-Nov-06 8:47
Kevin McFarlane13-Nov-06 8:47 
QuestionAuto updating Custom Control Pin
ZahidHayat11-Nov-06 1:02
ZahidHayat11-Nov-06 1:02 
QuestionAttached Scanner Pin
Sinchan Nikam11-Nov-06 0:33
Sinchan Nikam11-Nov-06 0:33 
AnswerRe: Attached Scanner Pin
Christian Graus12-Nov-06 6:49
protectorChristian Graus12-Nov-06 6:49 
QuestionProblem with Crystal reports dynamic printing in .net Pin
arashrajaei10-Nov-06 23:18
professionalarashrajaei10-Nov-06 23:18 
AnswerRe: Problem with Crystal reports dynamic printing in .net Pin
Janani Divya12-Nov-06 14:43
Janani Divya12-Nov-06 14:43 
QuestionForm Query Pin
sukhchain singh10-Nov-06 19:27
sukhchain singh10-Nov-06 19:27 
AnswerRe: Form Query Pin
CWIZO11-Nov-06 1:49
CWIZO11-Nov-06 1:49 
QuestionHow to handle Maps in VB.NET Windows Application Pin
Durga Ammu10-Nov-06 18:37
Durga Ammu10-Nov-06 18:37 
AnswerRe: How to handle Maps in VB.NET Windows Application Pin
Janani Divya12-Nov-06 14:35
Janani Divya12-Nov-06 14:35 
QuestionRandom Exclamation Marks Pin
Marc Paliotti10-Nov-06 9:31
Marc Paliotti10-Nov-06 9: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.