Hey friend> Thanks, I appreciate your time and efforts. Thank your vey much for your suggestions.
hsprasain
Posts
-
Making a particular cell of datagrids uneditable [modified] -
Making a particular cell of datagrids uneditable [modified]Hey: Thanks a lot: I appreciate your time and help. I think I should think of making custom Datagrid control to add readonly features for each cell. Do you have any ideas how shall I do that?
-
Making a particular cell of datagrids uneditable [modified]Hey Johan: Thanks a lot for good advice. Unfortunately, I was unable make a particular row uneditable. Below is my code.
Public Function CreateData(ByVal row As Integer, ByVal col As Integer) dt = New DataTable("sublayers") Dim i, j, k As Integer ' col is used for determing column headers. dt.Columns.Add(New DataColumn("Sublayer No", GetType(String))) dt.Columns.Add(New DataColumn("Material Set No", GetType(String))) dt.Columns.Add(New DataColumn("Thickness (m)", GetType(String))) dt.Columns(2).ReadOnly = True For i = 1 To row dr = dt.NewRow() For j = 0 To col - 1 dr(j) = " " Next dt.Rows.Add(dr) Next i 'creating a datase Dim ds As New DataSet ds = New DataSet ds.Tables.Add(dt) 'adding the table to dataset DataGrid1.SetDataBinding(ds, "sublayers")
I'm using this function to dynamically create datagrids. I neber got options to make rows uneditable. Can you advise how shall do this. Thanks a lot for your help. -
How to make a particular item of datagrid uneditable?Hi all: Is there any way to make a particular item of the datagird unediatble ( ie a cell) ? I'm using VB.NET 2003. I'd appreciate your help in advance.
-
Making a particular cell of datagrids uneditable [modified]Hey thanks a lot! I also thought in similar way that you thought. I still got some weird problems. I'm not allow to make the whole column unediatable. I can make only some of the cells of the column. I'd appreciate if you could give me an idea how I can make a praticular cell unediatable rather than by whole coulumn. I'm sorry for my unclear questions last time. Thanks many for your help in advance
-
Making a particular cell of datagrids uneditable [modified]Hey: I'm using VB.NET 2003. I didn't find Datagrid1.Rows.count and Datgrids1.Columns.Readonly and ... features. Can you help me how can add those features to grids to run your code? Thanks for your help in advance.
-
Making a particular cell of datagrids uneditable [modified]Hey all: Can anybody give me ideas how can I lock the particular cell of the datagrids. I used Readonly properties of Datagrids, that makes whole datagrids uneditable. I want only some particular cells of grids to be uneditable. Thanks many for your advance help. -- modified at 11:51 Friday 6th July, 2007
-
Datagrid column background color [modified]Hey all: Is there any way in VB. Net to set background or foreground color whole column of datagrid? -- modified at 0:14 Thursday 5th July, 2007
-
Greek Symbols in LabelsHey: Thanks. I tried with the first one. It works fine for me.
-
Greek Symbols in LabelsHey all: I want to write some greek symbols in labels. Like instead of "phi" I want to display its symbol. Can you please help me how can I do this.
-
progress barHey I repalced whatever you have told me but I still get some compile errror? What exactly o and . are doing? and it also gave me some erros on other parts of code. Is the code written in VB.NET?
-
progress barHey all: I have written a code that will export my data from Datagrids to Excel. It is taking sometime to write the data in excel file. I thought it would be better if I could provide some visual feed back to user like in progress bar or any other when my application writes data in Excel. Can any body help me how to set the inteval and how can know that excel application is opened from the code? Others type of suggestions for achieving my tasks is highly appreciated.
-
Reading the data of DatagridsThanks! Datagrid1.item(row,col) works me.
-
Reading the data of DatagridsHey all: Can you help how to read the data of Datagrids? More concisely, I have loaded some data to datagrids. Now I want to read each elements of datagrids and want to store in some datastrutures( two dimensional array) or other, if possible. Can any body help me how can I achieved this?
-
Creating Setup with shotcutsHey: Sorry. I have not created the shotcut properly. Thus, I was getting weird result. It works very well now. Thanks a lot for your help.
-
Creating Setup with shotcutsHey: I'm using SetUP project template of Setup and Deployment Project. Even I do include the shortcut files in my setup. It does show. But my problem was the shortcut icons just open the destop. I want the short cut to open my .exe file of my application instead. Like when we click word icon, it opens word file. Thanks a lot for your help.
-
Creating Setup with shotcutsHey all: I want to deployed my project by creating a setup file which will create shotcuts icons of the project on destop. In addition, the application also should be added in All programs file of start Menu of windows. I was able to create setup files with out shorcuts on destop. Can you help how to get shotcuts on destop and start menu of window?? Thanks
-
Executing Process from VB ApplicationHey: I tried as per your suggestions but it doesn't work out. Same error. I'm getting really frustrated.
-
Executing Process from VB ApplicationBy default it is taking taking the filpath of ../bin and my input file is inside bin. However, I tried with absolute path too. It doesn't make any differnce.
-
Executing Process from VB ApplicationThe exact code that I wrote as per Christian's suggestion is:
Dim yourParamString As String = "input1.sa" Process.Start("SH_EVP2.exe" + yourParamString)
The exception that I got while executing the application is: The system can't find the file specified. However I have input1.sa in the bin directory. I felt "SH_EVP2.exe" + yourParamString string got concanated and come up with new file name. Thus I'try the other one that I've posted above. Thanks for your help