By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,618 Members | 1,543 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,618 IT Pros & Developers. It's quick & easy.

vb and c

P: 3
hi every one !
can i use visual basic as user interface with my c programs?
or even C++ programs? please help if there is any other way?
Mar 29 '07 #1
Share this Question
Share on Google+
5 Replies


vijaydiwakar
100+
P: 579
hi every one !
can i use visual basic as user interface with my c programs?
or even C++ programs? please help if there is any other way?
i think no
Mar 29 '07 #2

P: 20
hi every one !
can i use visual basic as user interface with my c programs?
or even C++ programs? please help if there is any other way?
U CAN WRITE A dll USING VC++ AND ACESS THOSE USING VB

IF U HAV ANY MORE DOUTS U R ALWAYS WELCOM
Mar 29 '07 #3

P: 3
U CAN WRITE A dll USING VC++ AND ACESS THOSE USING VB

IF U HAV ANY MORE DOUTS U R ALWAYS WELCOM


hey i have learnt basic c++. vc++ is kind of weired. The syntax is also little different. i need to finish my work fast cant learn vc++ now. can i write it in normal c++ and use vb as front end . please help
Mar 30 '07 #4

P: 20
hey i have learnt basic c++. vc++ is kind of weired. The syntax is also little different. i need to finish my work fast cant learn vc++ now. can i write it in normal c++ and use vb as front end . please help
u create a dll file in C++ only and use in VB
4 creating dll in C++ u search web
Apr 9 '07 #5

Expert 5K+
P: 8,434
hey i have learnt basic c++. vc++ is kind of weired. The syntax is also little different. i need to finish my work fast cant learn vc++ now. can i write it in normal c++ and use vb as front end . please help
As ChillUmesh pointed out, it is possible to create a DLL in C++, and call it from VB. So in this way you could use VB as the user interface, and invoke your C++ functions "behind the scenes". But it's probably not as quick and easy as you might think. I suspect you'll find it simpler to do one of the following:
  • Learn Visual C++
  • Do the job entirely in VB
  • Do it entirely in "basic C++" and find some way (downloaded tools?) to do the user interface from that language.
If you do need help with creating a DLL so that you can call it from VB, then I'd suggest the C/C++ forum is the place to ask. Actually, they will probably be a good source of info, whatever route you take. We can probably help with the calls, but I doubt you'll need much help to call a DLL.
Apr 9 '07 #6

Post your reply

Sign in to post your reply or Sign up for a free account.