hi, i want to automate visual studio 2015 from an external VBA to build a solution, and i do not know what should i do , automate directly vs compiler or i should automate IDE, who can help me with advice and source code
yosri.bensalah@outlook.fr
yosri_1
0
Junior Poster in Training
Recommended Answers
Jump to PostDon't know exactly what you mean by "automate visual studio", but these might help.
Jump to PostYou can run
devenv.exe
and build your project from the command line. Typedevenv /?
to get the command line arguments/switches. You'll have to spawn it as an external process. Use the vba
Shell
call to do thatret = Shell("command line …
Jump to PostI see you need to get your command line working then we can share that command and help you put that into your Line 2.
Jump to PostTry Shelling devenv instead of test.bat
Jump to PostBack to my question. If you want to know how long it takes to do the add, doing it through vba is pointless. Just run the executable directly. Also, you are just going to get a value of 0 for testing one addition. Even if you put in a loop …
All 31 Replies
ddanbe
2,724
Professional Procrastinator
Featured Poster
yosri_1
0
Junior Poster in Training
yosri_1
0
Junior Poster in Training
yosri_1
0
Junior Poster in Training
Reverend Jim
4,678
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
yosri_1
0
Junior Poster in Training
rproffitt
2,565
"Nothing to see here."
Moderator
yosri_1
0
Junior Poster in Training
Reverend Jim
4,678
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
yosri_1
0
Junior Poster in Training
yosri_1
0
Junior Poster in Training
Reverend Jim
4,678
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
yosri_1
0
Junior Poster in Training
yosri_1
0
Junior Poster in Training
Reverend Jim
4,678
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
yosri_1
0
Junior Poster in Training
Reverend Jim
4,678
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
yosri_1
0
Junior Poster in Training
Reverend Jim
4,678
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
yosri_1
0
Junior Poster in Training
yosri_1
0
Junior Poster in Training
Reverend Jim
4,678
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
Reverend Jim
4,678
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
ddanbe
2,724
Professional Procrastinator
Featured Poster
Reverend Jim
4,678
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
yosri_1
0
Junior Poster in Training
Reverend Jim
4,678
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
yosri_1
0
Junior Poster in Training
yosri_1
0
Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.