Computing.Net > Forums > Programming > Interaction between C and VB script

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Interaction between C and VB script

Reply to Message Icon

Name: satya999
Date: July 24, 2006 at 23:10:26 Pacific
OS: Win XP
CPU/Ram: 1gb
Comment:

How a C program takes values that are enetered through VB script in a window.

satya



Sponsored Link
Ads by Google

Response Number 1
Name: Fel
Date: July 25, 2006 at 12:21:04 Pacific
Reply:

vb script as in browser?
i never tried this in vb script
but in vb6 u can use shell command
and call the C executable file with parameter

so in main in the C prgram add the parameter
eg:

void main(int val1, int val2)
{

}

and the shell command

dim str as String
dim v1, v2 as Integer
str = *the path to the exe file*
v1 = 1
v2 = 2
Shell("str "+v1+", "+v2+"")

Athlon 64 2800+ @ 2.63 Ghz Stock Cooling
Timings:2-3-2-5
V-Gen 512MB pc3200
DFI Lanparty UT NF3
Abit R9550 VGuru XTurbo
525Mhz/300Mhz


0

Response Number 2
Name: satya999
Date: July 29, 2006 at 04:41:37 Pacific
Reply:

I have written few functions in C and built a dll. I am now working on a VB Form.. My intension is to access that C function in the dll from VB Form.I Need to use the same values that are entered in the VB Form in my C functions.Plz help me with an example.


satya


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Interaction between C and VB script

what differs between c++ and vb? www.computing.net/answers/programming/what-differs-between-c-and-vb/10808.html

Difference between .VBE and .VBS www.computing.net/answers/programming/difference-between-vbe-and-vbs/14943.html

visual C++ vs C++ and C www.computing.net/answers/programming/visual-c-vs-c-and-c/8925.html