|
-
Apr 25th, 2002, 08:23 AM
#1
Thread Starter
Junior Member
How to do this interesting stuff ?
Hi dudes,
How to work with Automation in dot net. Any samples or links ?.
My requirement is i wanna open a vb.net or C# project, edit and compile vb.net or c# files dynamically from vb.net or C# my
win app.
for this, i should use, Automation. right ?
How to use it.
Many thanx in Advance.
Rafik
-
Apr 25th, 2002, 08:49 AM
#2
-
Apr 28th, 2002, 07:44 AM
#3
Fanatic Member
I could be wrong, but I don't think dotnet supports automation.
I think it does support command line arguments, so you could perhaps get the same effect by creating bat files and shelling to them.
Brian
(Fighting with the RightToLeft bugs in VS 2005)
-
Apr 29th, 2002, 12:53 AM
#4
Thread Starter
Junior Member
But I need Editor
Hi Brian,
My requirment is, I wanna open a C# project, edit and compile c# files dynamically from C# my win app. Though, CodeDOM helps us to compile the code dynamically, i want to use automation to provide editor, to write, save and compile the code.
I think, Automation is only way right ? Framework provides such classes like DTE.Solution, Project, ProjectItem, how to use it for do the above task ?
Any help and suggestions would be greatly appreciated
Rafik
-
Apr 29th, 2002, 03:38 AM
#5
Frenzied Member
Sounds like you're trying to make your own code editor in C#.
The compiler comes with the .Net framework SDK. Here's a link I found: http://www.dotnet101.com/articles/ar...ompOptions.asp
-
Apr 30th, 2002, 12:39 AM
#6
Thread Starter
Junior Member
Hi Shawn,
Compilations not a problem to me, Am using my CodeDOM for my compilations.
But, we need to get some code for open a source code of a method or class in VS.NET editor using automation.
Any samples ?
Rafik
-
Apr 30th, 2002, 03:42 PM
#7
Frenzied Member
Sorry but I don't understand the problem.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|