User Profile

Collapse

Profile Sidebar

Collapse
Smish
Smish
Last Activity: Apr 16 '09, 05:46 AM
Joined: Jan 6 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • functions not working in Vista while in windows it goes smoothly.....

    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...
    See more | Go to post
    Last edited by tlhintoq; Feb 25 '09, 08:51 PM. Reason: [CODE] ... your code goes here [/CODE] tags added

  • Smish
    started a topic how to display design and html script in C#

    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...
    See more | Go to post

  • Smish
    replied to how to edit text in a combobox
    thanx a lot buddy ..it worked :)
    See more | Go to post

    Leave a comment:


  • Smish
    replied to how to edit text in a combobox
    i tried but i couldn't enable it..
    See more | Go to post

    Leave a comment:


  • Smish
    started a topic how to edit text in a combobox

    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...
    See more | Go to post
    Last edited by Frinavale; Jan 27 '09, 05:15 PM. Reason: Moved to C# Answers from insights

  • Smish
    replied to How to color the corner of the datagridcell
    in .NET
    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??
    See more | Go to post

    Leave a comment:


  • Smish
    replied to How to color the corner of the datagridcell
    in .NET
    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..thanx
    See more | Go to post
    Last edited by Smish; Jan 1 '09, 06:45 AM. Reason: Spell mistake

    Leave 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.....
    See more | Go to post

    Leave a comment:


  • Smish
    started a topic How to color the corner of the datagridcell
    in .NET

    How to color the corner of the datagridcell

    hey can ne1 tell me how to color the corner of a cell in the datagridview
    See more | Go to post

  • 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.
    See more | Go to post

    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 me
    See more | Go to post

    Leave 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...
    See more | Go to post

    Leave a comment:


  • Smish
    started a topic To assign one column to a datagridselectedcolumn
    in .NET

    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.
    See more | Go to post

  • Smish
    started a topic create a HtmlDocument object from a file
    in .NET

    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?
    See more | Go to post

  • 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???
    See more | Go to post

    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
    "ï¿½ï¿½ï¿½ï ¿½ "...
    See more | Go to post

    Leave a comment:


  • i read it using s.REadToEnd(); too
    but still the problem is same...:(...
    See more | Go to post

    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...
    See more | Go to post

  • C#-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..
    ...
    See more | Go to post

  • Smish
    replied to Select TExt in webbrowser...
    in .NET
    hi,
    Am using Visual Studio 2008...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...