
bhatti81
Members-
Posts
24 -
Joined
-
Last visited
Content Type
Profiles
Forums
Blogs
Events
Articles
Resources
Downloads
Gallery
Everything posted by bhatti81
-
yes. it certainly means that controlling the mouse and keyboard from another computer, just like u have the "remote desktop" in winxp and also just like u do in netmeeting. I am making a commercial app, and remote desktop is gonig to be one part of it. so i wanted to know if anyone has any ideas of the available namespaces/api's in .net that can facilitate me
-
Is there anything in the .net that can help me perform application and desktop sharing. I know it is going to be something big, but currently dont know what are the available options that i have. So any ideas on what .net has for application and desktop sharing.
-
I want to launch my C# application from the asp.net code at the USER/CLIENT SIDE. What i want to do is that suppose when the user presses some button, the webpage code should launch my C# application and pass a few arguments to it. But Make sure that i want to launch it on the User/Client side not the server side. If launching an app on a client side is not possible, is there any script that can do so?
-
I am resubmitting this becoz in the last thread, image didn't upload. Hope so it does so this time. Is there any control available in C# with the help of which i can acheive something like as shown in the image below. I want to achieve something like a questionnaire where the user has the options to prepare questions and their answer just the way it is shown in the image below. Any ideas on what to use?
-
this works perfectly alright. Try applying this way. ============================================== private void AddColumn() { DataTable myTable= new DataTable(); // Add a new DataColumn to the DataTable. DataColumn myColumn = new DataColumn("myTextBoxColumn"); myColumn.DataType = System.Type.GetType("System.String"); myColumn.DefaultValue=""; myTable.Columns.Add(myColumn); easyDataGrid1.DataSource= myTable; DataGridTableStyle dgts = new DataGridTableStyle(); dgts.MappingName = myTable.TableName; dgts.AlternatingBackColor = System.Drawing.SystemColors.Info; dgts.BackColor = System.Drawing.SystemColors.Control; dgts.GridLineColor = System.Drawing.SystemColors.ControlDark; dgts.GridLineStyle = System.Windows.Forms.DataGridLineStyle.None; dgts.HeaderBackColor = System.Drawing.SystemColors.Highlight; dgts.HeaderForeColor = System.Drawing.SystemColors.HighlightText; dgts.PreferredColumnWidth = 80; dgts.ReadOnly = false; dgts.RowHeadersVisible = false; DataGridTextBoxColumn col0 = new DataGridTextBoxColumn(); col0.TextBox.Enabled = true; col0.Alignment = HorizontalAlignment.Left; col0.Width = 300; //this is what u want col0.HeaderText = "Heloooooooooo"; col0.MappingName = "myTextBoxColumn"; dgts.GridColumnStyles.Add(col0); easyDataGrid1.TableStyles.Add(dgts); }
-
I want to update a row in a DataTable. I have created the DataTable as pTable = new DataTable("Participants"); pTable.Columns.Add(new DataColumn("Type",typeof(string))); pTable.Columns.Add(new DataColumn("Name",typeof(string))); pTable.Columns.Add(new DataColumn("Email",typeof(string))); pTable.PrimaryKey =new DataColumn[]{pTable.Columns[2]}; I have set this datatable as the datasource of the datagrid. I then insert a hardcoded row from my code in it string[] user = new string[]{"a","b","c"}; pTable.Rows.Add(user); Now i want to update this row and i do it this way string[] user = new string[]{"d", "e", "c"}; pTable.LoadDataRow(user, true); but when i do so, it gives an error saying that it is violates some constraint voilation. where as the msdn says that LoadDataRow() method Finds and updates a specific row. If no matching row is found, a new row is created using the given values. So i just want to update a row from my code in a datatable that is the datasource of a datagrid.
-
this might solve ur problem http://www.datagridcolumnstyles.net/examples.asp check out the examples in here. cheers, Hayee
-
Is there any way that i can programmatically set (customize) the display width of the columns of datagrid. What i am doing is that i create a 2 DataTables that has two columns in it each and i put it in a DataSet. I bind the dataSet with the Datagrid. and when i run the program it shows my equal width of each columns, where as i want the width to be customized. For better understanding, see the image below. When i load the datagrid what i get is shown in image A. But i want that when i load the datagrid it should load as imageB.
-
how do we make the combo box read only (uneditable) i.e. it should only show the items in its collections, and on clicking it we shouldn't be able to write text into it.
-
I want to have a radio button in the tree view instead of check boxes. any ideas? (something like the image attached) If tree view can't provide this facility, what elsedo we have?
-
I want to have multiple choice Question/answer thing on a tree view. something like this Q1 --a1 --a2 --a3 Q2 --a1 --a2 Here Q1 and Q2 are the parent nodes and a1,a2,a3 are the child nodes. What i want in this is that the check boxes should appear before the the answers only(a1,a2,a3), not behind the question. There is an attribute for providing the checkboxes for the tree view but it places a checkbox behind all the nodes. But i want it to placed behind the child nodes only. (see the attached image of what i want). Secondly, If somehow this can't be possible, then what other control can i use that can accomodate me with the facility.
-
I want to have multiple choice Question/answer thing on a tree view. something like this Q1 --a1 --a2 --a3 Q2 --a1 --a2 Here Q1 and Q2 are the parent nodes and a1,a2,a3 are the child nodes. What i want in this is that the check boxes should appear before the the answers only(a1,a2,a3), not behind the question. There is an attribute for providing the checkboxes for the tree view but it places a checkbox behind all the nodes. But i want it to placed behind the child nodes only. (see the attached image of what i want). Secondly, If somehow this can't be possible, then what other control can i use that can accomodate me with the facility.
-
I have been able to sort this problem out with the help of someone from this forum. here goes the solutions To start an application you System.Diagnostics.Process class. Like this: VB: -------------------------------------------------------------------------------- System.Diagnostics.Process.Start("Path to executable") -------------------------------------------------------------------------------- To get some other options for starting the process use the ProcessStartInfo class: VB: -------------------------------------------------------------------------------- Dim pinfo As New System.Diagnostics.ProcessStartInfo pinfo.Arguments = "arguments go here" pinfo.FileName = "path to executable" System.Diagnostics.Process.Start(pinfo) 'start using the info provided in the pinfo object --------------------------------------------------------------------------------
-
Two important things i need to ask. 1. What piece of code will be required to launch an application from our asp.net code. The application is a .NEt application written in c# installed in the system(in program files). So what code will be required to launch that application. 2. When i will launch the application from my asp.net code, at that time i want to pass a string argument to my application. So how will i pass arguemnt while launching the application. Hayee
-
Two important things i need to ask. 1. What piece of code will be required to launch an application from our asp.net code. The application is a .NEt application written in c# installed in the system(in program files). So what code will be required to launch that application. 2. When i will launch the application from my asp.net code, at that time i want to pass a string argument to my application. So how will i pass arguemnt while launching the application. Hayee
-
ThankYou very much for the reply. I am new to .net and my ultimate source was msdn. And in the msdn they still use Winforms, so that is what was confusing me.
-
Hi, :( I want to include the namespace System.Winforms but it isn't getting included. I mean, in the editor when i write System. and teh drag down visual help comes that shows the sub namespaces theres is no Winforms in it. I have also checked into the "Add Reference" dialogue and its not even there. I've also checked the .NET framework folder in my system and there is NO System.Winforms.dll. Any ideas on how should i bring in System.Winforms? Hayee
-
hi, i want to use the netmeeting sdk in C# and use its COM objects of whiteboard/application/file/desktop sharing . How can that be done? Any resource that can help me out? Please be a little discriptive. regards, Hayee
-
Hi, Any ideas on how to perform remote installation. Like, i have made an application that resides on the webserver and when the user clicks a certain url it starts the installation (just like its in the case of yahoo messenger's installation). Hayee