Hi,
I am starting a process which is an excel file.what it does is opens the excel file with the data content on the click of a button .now when i again click this or another button which uses this file m not able to delete it n gets the message file in use..so i found out another method whose code snippet is given below.First i start the process then i kill it if the process if already running..but the problem am facing is in Vista...
User Profile
Collapse
-
functions not working in Vista while in windows it goes smoothly.....
Last edited by tlhintoq; Feb 25 '09, 08:51 PM. Reason: [CODE] ... your code goes here [/CODE] tags added -
how to display design and html script in C#
i have a webbrowser which displays html files of different forms(with images,with stylesheets etc).Every time the html file would have different formats so keeping track of all tags is not possible.
now i select some part of this text from the webbrowser and write that data in htm format.
The task which now i have is " how can i make the written data of htm format again to be displayed in any way so that i could see... -
thanx a lot buddy ..it worked :) -
-
how to edit text in a combobox
hi,
I have a combobox which has dropdown style set to "dropdownlist"( since i dont want the element getting populated in the combobox to be edited).
Apart from populating the comboxbox from items form the file am giving an extra item "New" which should allow the user to add new element.
but the problem which i come across is since the dropdown list dont allow th user to edit the text am not... -
But i dont want an css to be aplied it would be cumbersome..is ther any way to paint the points in the cell by specifyign a region??Leave a comment:
-
Hey guys ...
sorry for the delay in replying....and thanx for the response..
I want it for Windows object datagridview control.if i get to know how do we color the corner of a cell.Like suppose i want to show there are two or more indication to be given to the cell.so i was thinking ill start from lower right corner.for 1st indication ill color red,the next line ill color blue and so on..
hope its clear now..thanxLeave a comment:
-
Hi please...could ne1 solve my this problem......
i want to assign an enitre column to the DataGridViewSel ectedCellCollec tion object...its very urgent.....Leave a comment:
-
How to color the corner of the datagridcell
hey can ne1 tell me how to color the corner of a cell in the datagridview -
i assign a menu to entire column in the datagridview,th en when i click select entire column frm the menuiten then what i want is the entire column should be selected in to an object which is of type DataGridViewSel ectedCellCollec tion.
I want this because i already have made a function which takes selected cell values so tht i dnt need to modify the functions.Leave a comment:
-
ther are other functions in event click ...so i tght on a particluar click if i get the column vlaue then i cn asign cells to selected value so tht entire selected object can be passed......... jss guide meLeave a comment:
-
hi,
I want to kno is ther any way to set the cells in the entire column as selected cells.
like..If i do a for loop whioch will assign the cell values.
I tried
DataGridViewSel ectedCellCollec tion obj = null;
for(int r =0;r<datagridvi ew.rowcoun;r++)
{
obj[index].value = datagridview[column,row].value;
}
here am getting an error object set to null...Leave a comment:
-
To assign one column to a datagridselectedcolumn
Hi,
Please can any one help me out.ITs urgent.
I have a DataGridViewSel ectedCellCollec tion object,i would like to assign an enitre column of my datagridview to this DataGridViewSel ectedCellCollec tion object .I cant set selection mode to coulmn header cos already row header is being used.
Please guide me..Thanx. -
create a HtmlDocument object from a file
Do you know how to create a HtmlDocument object from a file
without using a WebBrowser control?
i want to cast a html file to htmldocument like v do in webbrowser can ne1 tell me how to go about it? -
If i remove the white space thn it works fine..but thn the files cming from the user would be in any format..so hw to remove these whitespaces???Leave a comment:
-
i have pasted the code snippet which am using here....
StreamReader sr = File.OpenText(G :\\HtmlReports\ \Original.htm);
string input = sr.ReadToEnd();
input = input.Trim();
StreamWriter strWriter = new StreamWriter("G :\\HtmlReports\ \ReplacedHtm.ht m");
strWriter.Write (input);
The junk values which am able to see in the browser is
"ï¿½ï¿½ï¿½ï ¿½ "...Leave a comment:
-
i read it using s.REadToEnd(); too
but still the problem is same...:(...Leave a comment:
-
help me remove the junk values from html files...in c# 2008
hi,hope atleast this question would b answered...
Am using C# 2008
Am reading a html file
using :
streamreader sr = new streamreader(pa th,Encoding.DEf ault);
string input = sr.Read();
streamwriter sw = new streamwriter(pa th);
sw.Write(input) ;
sw.Close();
here the html file initially is proper but after writing it... -
Smish started a topic C#-FORM:Inserting comments in an html file at the star and end of selected Textin .NETC#-FORM:Inserting comments in an html file at the star and end of selected Text
Hey,
Am opening a html file in a webbrowser in windows application in VS2008
Task Of mine is:
whn the user would be selecting a part from this file the selected chunk shd get coloured and start comment and end comment should b added at the respectinve position.
Problem faced by me:
I can colour the selected part by execCommand but am not able to insert the comments..
... -
No activity results to display
Show More
Leave a comment: