|
Open up your start menu and locate Visual Studio; right click on it and select Properties from the context menu - this opens up a window which contains the full path to devenv.exe.
|
|
|
|
|
The directory for Visual C# 2008 was C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE and there's no devenv file in it.
BTW, I didn't download the whole package, but only Visual C# 2008 Express Edition!
|
|
|
|
|
AhmedOsama wrote: Firstly, I'm not that idiot so that I don't know the difference between command prompt and VS command prompt that comes with VC++.
Aight, that one should accept "devenv" as a command.
AhmedOsama wrote: Secondly, can't you read that I've searched the whole C: directory for that file?
Aw, in that case you'd have to install Visual Studio.
Bastard Programmer from Hell
|
|
|
|
|
Have you tried creating the application in a location other than the temporary directory?
|
|
|
|
|
Pete O'Hanlon wrote: Have you tried creating the application in a location other than the temporary directory?
Can you please explain how to do it? Maybe that's my solution. Damn, I'm so tired of searching for a week!
|
|
|
|
|
When you do File New Solution, the dialog that appears has a directory to create it in at the bottom. Set it to a sensible directory; for instance I always use d:\dev.
|
|
|
|
|
Thank you all for trying to help, but thank God I've solved the problem by going to this directory with CMD:
C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE
and typed this in CMD:
VCSExpress.exe /ResetSkipPkgs
And there was no devenv.exe files but this file
Thank you again!
|
|
|
|
|
I am creating a new tab onclick of a menu item at run time.....and in this tab i have to add a datagridview..and there is text box and execute button outside this tab...
when i write any query and press execute then the result should be displayed on dridview..bt the problem is i m creating gridview at run time while user clicks an new query tab on menu...so problem is how to take reference of this gridview when i m doing coding on execute button...Like...Here i Have create that tabpage.
private void exitToolStripMenuItem_Click(object sender, EventArgs e)
{
Class1.res++;
string s="ResultSet"+" "+Class1.res;
TabPage tp = new TabPage(s);
tabControl1.TabPages.Add(tp);
tabControl1.SelectedTab = tp;
}
and on execute button i am doing this code..
OdbcCommand cm = new OdbcCommand(richTextBox1.Text,cn);
cm.ExecuteNonQuery();
OdbcDataAdapter ad =new OdbcDataAdapter(richTextBox1.Text, cn);
DataSet dst = new DataSet();
if (dst.Tables["R"] != null)
{ dst.Tables["R"].Clear();
}
ad.Fill(dst, "R");
if (dst.Tables["R"].Rows.Count > 0) {
DataGridView dgv = new DataGridView();
dgv.ReadOnly = true;
dgv.BackgroundColor = Color.White;
dgv.DataSource = dst;
dgv.DataMember = "R";
}
..
While i am doing this it is not showing any result.....actually i have to add gridview on tab page...bt according to this code tab page is not available at design time......so plz provide any solution...
|
|
|
|
|
You don't seem to have added the DataGridView to the Controls of the TabPage.
What I have done in the past is derive a custom TabPage that has a DataGridView already on it and which accepts a DataTable in its constructor.
public partial class tpDataTable : System.Windows.Forms.TabPage
{
private System.Windows.Forms.DataGridView dataGridView1;
private System.ComponentModel.IContainer components = null ;
public tpDataTable
(
System.Data.DataTable Table
)
{
InitializeComponent() ;
this.dataGridView1.DataSource = Table ;
...
this.tcResults.TabPages.Add ( new tpDataTable ( dt ) ) ;
modified 22-Mar-12 10:06am.
|
|
|
|
|
thanks for d reply....But i have solved my problem....actually i had missed that code....but i solved my problem just defining gridview globally and assingning memory to it when i need it....
|
|
|
|
|
plz
i want code in c# for server connect between tow program to send data in array ?
|
|
|
|
|
Posting the same question twice won't get you an answer any faster. See my answer to your original post.
/ravi
|
|
|
|
|
thnx ..
i want this server to connect between two program in windows phone7
|
|
|
|
|
See this[^] tutorial for using WCF on Windows Phone 7.
/ravi
|
|
|
|
|
thnx so much
|
|
|
|
|
plz
i want code in c# for server connect between tow program to send data in array ?
|
|
|
|
|
I recommend using WCF to communicate between your applications. See this[^] tutorial to get started.
/ravi
|
|
|
|
|
Excellent. I'm really pleased for you. I'm sure if you do a search in Google, you'll find millions of hits; there are probably quite a few articles here on Code Project featured in that list.
Good luck.
|
|
|
|
|
mercy
|
|
|
|
|
Hello Sir -
My Name is Rohit Srivastav and currently I am pursuing
my Engineering Degree from MGM College Noida , India.
Currently I am working with my project "Solid
Modeling", in which a 2D image is converted into 3D image and I have
done that part but problem is that I can't perform following these
operation :-
1. Paranoma
2. color filling in a particular region
3. removing selected part of an image
4. joining 2 image of different shape.
5. 3D object generation:- pyramid,cube,sphere,cone,cylinder
6. showing projections(parallel and Perspective)
7. 3D object rotation
8. editing of an image
9. Transformation
So please guide me. How can I perform these operation, please send
me source code or related things.
Thank You.
Rohit Srivastav
|
|
|
|
|
Rohit Srivastav wrote: please send
me source code
I am pretty sure that no one is going to send you all that code. Have you tried google?
Why is common sense not common?
Never argue with an idiot. They will drag you down to their level where they are an expert.
Sometimes it takes a lot of work to be lazy
Please stand in front of my pistol, smile and wait for the flash - JSOP 2012
|
|
|
|
|
I know that no one is send all the code, this message is the result of my frustration.
I tried this since 3 months and the whole project is submitted on 16 April 2012.
I just want to guidelines that how I create it.
|
|
|
|
|
|
thanks brother hope it works.
|
|
|
|
|