Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
D

DELETEUSER

@DELETEUSER
About
Posts
87
Topics
10
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Rich Text Box and Hyperlinks
    D DELETEUSER

    In a C# application I have created a rich text box (let's say richTextBox1) whose contents are saved to an XML file. Later I retrieve the text from XML file and display it in another rich text (let's say richTextBox2). If the text that I paste in richTextBox1 contains hyperlink associated to it then the url is displayed next to the word that initially contained hyperlink. Because of this when I retrieve the text in richTextBox2 it displays an url next to the word. It's too messy. Is there any way I can save and retrieve the hyperlink as in richTextBox1 and richTextBox2. e.g. If I copy the below statement to paste in richTextBox1 "Click here for Hotmail" <-- note: Hotmail is the hyperlink. If I paste the above text to richTextBox1 it gets pasted as below "Click here for Hotmail " In richTextBox2 it retrives as "Click here for Hotmail " I want it to display as "Click here for Hotmail" <-- note: with Hotmail as the hyperlink. Is there a way to do it? thanks ---------- Venus Patel http://patelsinc.blogspot.com/ A student knows little about a lot. A professor knows a lot about little. I know everything about nothing.

    C# csharp com xml question

  • Reseting the text in a control.
    D DELETEUSER

    In a windows form I have a textbox and a button. Initially the text box contains "Enter ID" as the default text. I enter some ID and click the button which saves the ID to an XML. After that, the text in the textbox should revert back to "Enter ID" as before. Right now my code is a below... // Windows Form Designer generated code // First time I intialize the dafault text this.txtbox1.Text = "Enter ID"; // Button_click private void button1_Click(object sender, System.EventArgs e) { //Write To File and reset all textboxes on the form for default text SaveToXML(); ResetAllTextBoxes(); } // Reset all text boxes on the window private void ResetAllTextBoxes() { this.textbox1.Text = "Enter ID"; .... .... this.textbox10.Text = "There has to be some another way" } I'm not satisfied with this implementation because if I have 10 textboxes I need to have 20 lines of code doing the same. 10 lines in the Windows Form Designer generated code and 10 in ResetAllTextBoxes() method. I tried the textbox1.ResetText() method but instead of reseting it to default text such as "Enter ID" it resets to blank. Is there a better solution. Thanks ---------- Venus Patel http://patelsinc.blogspot.com/ A student knows little about a lot. A professor knows a lot about little. I know everything about nothing. -- modified at 17:25 Tuesday 10th January, 2006

    C# com xml

  • Delegates
    D DELETEUSER

    I have been reading from various sources about delegates. The more I read the more I get confused. My question is - What can you do with delegates that you cannot do with just calling the method and not using delegate(s) howsoever? I mean assume that when an event occurs then instead of having a delegate call the method just call the method directly from the event handler. Also if you can send any good link that explains the concept it will be appreciated. Thanks ---------- Venus Patel http://patelsinc.blogspot.com/ A student knows little about a lot. A professor knows a lot about little. I know everything about nothing.

    ASP.NET question com

  • Delegates
    D DELETEUSER

    I have been reading from various sources about delegates. The more I read the more I get confused. My question is - What can you do with delegates that you cannot do with just calling the method and not using delegate(s) howsoever? I mean assume that when an event occurs then instead of having a delegate call the method just call the method directly from the event handler. Also if you can send any good link that explains the concept it will be appreciated. Thanks ---------- Venus Patel http://patelsinc.blogspot.com/ A student knows little about a lot. A professor knows a lot about little. I know everything about nothing.

    C# question com

  • Generating graphs with XML as the datasource
    D DELETEUSER

    Hi all, I have an XML file that contains the numerical data. I need to create a web control that reads in the data in the XML file and generates a 2 Dimensional bar graph from it. It needs to be ASP.NET and C#. I'm researching on GDI+ classes. Am I going the right way? Are there any classes that can help plot the graphs or do I need to create methods of my own? Any other help is appriciated too. Thanks ---------- Venus Patel http://patelsinc.blogspot.com/ A student knows little about a lot. A professor knows a lot about little. I know everything about nothing. -- modified at 15:22 Thursday 10th November, 2005

    ASP.NET csharp asp-net winforms com graphics

  • IIS problem
    D DELETEUSER

    http://10.2.2.2/intranet/iamges/arch.gif (same path!) Images is spelt wrong !!!! ---------- Venus Patel http://patelsinc.blogspot.com/ A student knows little about a lot. A professor knows a lot about little. I know everything about nothing.

    ASP.NET windows-admin help question

  • &lt;Script&gt;alert('hi, How are U?.....This site been interupted');&lt;/script&gt;
    D DELETEUSER

    The next time probably you may be doing like this from behind the bars...!!! ---------- Venus Patel http://patelsinc.blogspot.com/ A student knows little about a lot. A professor knows a lot about little. I know everything about nothing.

    ASP.NET tools question

  • low cost development team from china
    D DELETEUSER

    I'm really amazed. But a thing to remember is that Time and Destiny doesn't wait for no-one. Each team gets a turn to strike. ---------- Venus Patel http://patelsinc.blogspot.com/ A student knows little about a lot. A professor knows a lot about little. I know everything about nothing.

    ASP.NET csharp com collaboration

  • Classes
    D DELETEUSER

    Honestly what you want is a book about C# or any .NET language. Follow the link or do a google http://msdn.microsoft.com/library/default.asp?url=/library/en-us/csref/html/vclrfnamespace.asp[^] ---------- Venus Patel http://patelsinc.blogspot.com/ A student knows little about a lot. A professor knows a lot about little. I know everything about nothing.

    ASP.NET question

  • Classes
    D DELETEUSER

    NameSpace.ClassName.MethodName is the way you can do it. OR Using NamespaceName in the start Also depends on your access modifiers (public, private,...) ---------- Venus Patel http://patelsinc.blogspot.com/ A student knows little about a lot. A professor knows a lot about little. I know everything about nothing.

    ASP.NET question

  • Moderators who is Tejas_Bit
    D DELETEUSER

    Looking closely to replies posted by Tejas_Bit, most of them are just noise. Can we do something about it!! Links here http://www.codeproject.com/script/comments/forums.asp?msg=1159643&forumid=12076&mode=all&userid=1376504#xx1159643xx[^] http://www.codeproject.com/script/comments/forums.asp?msg=1159633&forumid=12076&mode=all&userid=1376504#xx1159633xx[^] ---------- Venus Patel http://patelsinc.blogspot.com/ A student knows little about a lot. A professor knows a lot about little. I know everything about nothing.

    ASP.NET com tools question

  • #include directive
    D DELETEUSER

    I doubt ASPNET allows that. Create user controls instead ---------- Venus Patel http://patelsinc.blogspot.com/ A student knows little about a lot. A professor knows a lot about little. I know everything about nothing.

    ASP.NET csharp asp-net help

  • Sorting the datagrid
    D DELETEUSER

    Data in a grid is commonly sorted by clicking the header of the column you wish to sort. You can enable sorting in DataGrid by setting AllowSorting to true. When enabled, the grid renders LinkButton controls in the header for each column. When the button is clicked, the grid's SortCommand event is thrown. It's up to you to handle this event in your code. Because DataGrid always displays the data in the same order it occurs in the data source, the typical logic sorts the data source, and then rebinds the data to the grid. ---------- Venus Patel http://patelsinc.blogspot.com/ A student knows little about a lot. A professor knows a lot about little. I know everything about nothing.

    ASP.NET css algorithms help

  • Compiling Web application from command prompt
    D DELETEUSER

    Follow this link maybe some help http://www.oreilly.com/catalog/prognetws/chapter/ch02.html[^] ---------- Venus Patel http://patelsinc.blogspot.com/ A student knows little about a lot. A professor knows a lot about little. I know everything about nothing.

    ASP.NET csharp asp-net dotnet windows-admin tutorial

  • Compiling Web application from command prompt
    D DELETEUSER

    Man the above solution doesn't work. I thought that the web browser will compile the aspx tags in the html and the CSC or VBC will compile the code. I created a simple project with Response.Write("Test"); in the code behind page and compiled it to a dll keeping the directory structure intact. But the follwong error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Could not load type 'CCTest.Global'. Source Error: Line 1: <%@ Application Codebehind="Global.asax.cs" Inherits="CCTest.Global" %> Let me know what happens when find a solution. ---------- Venus Patel http://patelsinc.blogspot.com/ A student knows little about a lot. A professor knows a lot about little. I know everything about nothing.

    ASP.NET csharp asp-net dotnet windows-admin tutorial

  • How toDisabling Back button in ASP.NET
    D DELETEUSER

    Soln by Colin Angus Mackay - Each time a page is generated store in the Session object some unique value. If you press refresh or back the value will already exist in your Session object and you can throw the user out of the application. ---------- Venus Patel http://patelsinc.blogspot.com/ A student knows little about a lot. A professor knows a lot about little. I know everything about nothing.

    ASP.NET csharp asp-net tutorial

  • permission erro
    D DELETEUSER

    next time please be more specific. check the user group for ASPNET debugger user permissions ---------- Venus Patel http://patelsinc.blogspot.com/ A student knows little about a lot. A professor knows a lot about little. I know everything about nothing.

    ASP.NET csharp asp-net help

  • Compiling Web application from command prompt
    D DELETEUSER

    How to compile and build complete asp.net web application from command prompt. I guess this should work vbc /out: bin\The_Name_You_want.dll /target:library /reference:All_Your_Import.dlls YourVBFile.vb If one file is changed, is it necessary to compile all the code behind (.vb) files in the project through vbc command? I have not much VB experience. But in CS just compiling the new file does the job. ---------- Venus Patel http://patelsinc.blogspot.com/ A student knows little about a lot. A professor knows a lot about little. I know everything about nothing.

    ASP.NET csharp asp-net dotnet windows-admin tutorial

  • How to create and use page templates
    D DELETEUSER

    Follow the link http://www.codeproject.com/aspnet/page_templates.asp[^] ---------- Venus Patel http://patelsinc.blogspot.com/ A student knows little about a lot. A professor knows a lot about little. I know everything about nothing.

    ASP.NET csharp asp-net wpf tutorial question

  • Need help: New Asp user
    D DELETEUSER

    Open a cmd shell, navigate to .NET Ver 1.1 folder and try entering aspnet_regiis.exe -i this will remap .NET exts to IIS ---------- Venus Patel http://patelsinc.blogspot.com/ A student knows little about a lot. A professor knows a lot about little. I know everything about nothing.

    ASP.NET help csharp windows-admin
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups