|
|
Hi
I need to control Visual Studio outside of the environment (create solutions, build solutions etc) from a C# application and was going to go down the route of generating the solution and project files in code and just changing the bits I need to. However I have been reading about the VS automation model which has all the functionality to do what I need.
It appears to be for extending the environment. Is there a way interacting with Visual Studio the way you would use a COM component or does the automation model offer this and I dont realise it?
Thanks
At university studying Software Engineering - if i say this line to girls i find they won't talk to me
Dan
|
|
|
|
|
Well you can certainly build solutions from external apps like nant or msbuild does.
Why do you need to create solutions from an external application?
led mike
|
|
|
|
|
I am nearing completion of a a game making tool for my final year university project.
I have the tool creating the code files but at the moment the user would have to open Visual Studio add the files to an XNA project and then build it - the idea of the tool is that no coding is needed so I would like to hide all this from the user.
Thanks for your help I will look into those.
At university studying Software Engineering - if i say this line to girls i find they won't talk to me
Dan
|
|
|
|
|
Hey
Thanks for your help - msbuild does exactly what I want!!!
At university studying Software Engineering - if i say this line to girls i find they won't talk to me
Dan
|
|
|
|
|
hi,
I want to customize combo box such that what ever user enters in to it should appear in upper case. Please let me know
Thank You
*** Why EXPERTS behave like a fool ***
|
|
|
|
|
Hi,
there is a TextChanged event; you could attach a handler that replaces the entire
text by its uppercase equivalent.
Luc Pattyn [Forum Guidelines] [My Articles]
This month's tips:
- before you ask a question here, search CodeProject, then Google;
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get;
- use PRE tags to preserve formatting when showing multi-line code snippets.
|
|
|
|
|
Thank u luc pattyn ....
I have not followed your idea
I have written this in the keypress event and it worked
string str = e.KeyChar.ToString().ToUpper();
char[] ch = str.ToCharArray();
e.KeyChar = ch[0];
Regards
Sidnhu Tiwari
*** Why EXPERTS behave like a fool ***
|
|
|
|
|
Hi,
yes that works for keyboard input, but not for pasted data (CTRL/V).
Luc Pattyn [Forum Guidelines] [My Articles]
This month's tips:
- before you ask a question here, search CodeProject, then Google;
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get;
- use PRE tags to preserve formatting when showing multi-line code snippets.
|
|
|
|
|
Is there a way to allocate disk space before copying a file in c#?
sample code will be greate help
Thanks
|
|
|
|
|
Are you talking about ensuring there is enough space on the disk to store the file?
Obviously, if there isn't enough space, any attempt to save it will throw an exception. You would have you free up sufficient space manually.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
Hi,
haven't done this for a long time, but I would try and create a file, write a byte,
seek to the intended file size and write another byte; then you could rewind and
write the actual data, or close and overwrite any way you choose.
Luc Pattyn [Forum Guidelines] [My Articles]
This month's tips:
- before you ask a question here, search CodeProject, then Google;
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get;
- use PRE tags to preserve formatting when showing multi-line code snippets.
|
|
|
|
|
What is the exception thrown when another thread tried to access another control which its not given the right to??
Som
|
|
|
|
|
You can check all these yourself easily enough mate...
If you want to find out the exceptions a class throws then visit MSDN and look it up there, or you can simulate the exception and it will tell you the name of it when the program crashes.
Mark.
|
|
|
|
|
hi,
i want to set the column width of DataGrid, but i dunno how to do?
because i'm not using TableStyles
codes :
DataTable DT = new DataTable();
dataGrid1.DataSource = DT;
now, how can i set width of first column ???
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87??6?N8?BcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-i?TV.C\y<p?jxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
Get to the dataGrid1.Columns[i] or dataGrid1.Column["name"] and set its width?
|
|
|
|
|
no, its not so easy, there is no Property named Columns in DataGrid
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87??6?N8?BcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-i?TV.C\y<p?jxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
Urg, now I remember why I always use TableStyles in DG.
|
|
|
|
|
Just do this :dataGridView1.Columns[1].Width=X;",Maybe that's what you'll do.
Always do you best,what you plant you will harvest
later!
modified on Friday, March 21, 2008 4:54 AM
|
|
|
|
|
No, my question is about DataGrid not DataGridView
harry~ wrote: We can't change the first column's width sometimes
hehe, why?? i can change any of DGV
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87??6?N8?BcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-i?TV.C\y<p?jxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
I am so sorry that the DGV we used is defined by our company,you can change any column's width of the .net's DGV.
Always do you best,what you plant you will harvest
later!
|
|
|
|
|
nevermind
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87??6?N8?BcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-i?TV.C\y<p?jxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
Hi,
I have to download file and folders from the server folder without using link button.
Regards,
sjs4u
|
|
|
|
|
Okay....and what have you tried to do to accomplish this?
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
|
|
|
|
|
What is the exception thrown for:
"Object reference not set to an instance of an object." ??
Can someone wirte me a few lines of try catch code or a link which checks whether an array is uninitialised?
Som
|
|
|
|