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
G

GunaChinna

@GunaChinna
About
Posts
49
Topics
25
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Default script in dot net is?
    G GunaChinna

    Hi which is the default script used in dot net?

    C# tools question

  • Assigning a TextBox object to another TextBox object
    G GunaChinna

    Hi i tried my level best to achieve the task with the help you provided. But couldn't get the desired. Here is the snippet of code that i use. Can u please use this code to achieve the task with the help you provided [Icloneable interface or reflection or copying properties through code]? TextBox tbxFirst = new TextBox(); TextBox tbxSecond = new TextBox(); tbxFirst.Location=new Point(100,100); tbxFirst.Text = "First"; tbxSecond.Location=new Point(10,10); tbxSecond.Text="Second"; tbxSecond = tbxFirst; this.Controls.Add(tbxSecond); this.Controls.Add(tbxFirst); What i want is to have both the textboxes at the specified location with its text.

    C# tutorial question

  • Assigning a TextBox object to another TextBox object
    G GunaChinna

    I wanna assign a textbox object to another text box object, so that to accomplish, all the properties and values present or assigned to that textbox object will be copied to this textbox object. For example, I have a textbox with it's location as (x=10,y=10) and name be "First" then another's as (x=100,y=100) and "Second". Now if i assign the first object to second object... what will happen is, it will just make a reference to the previous one. When printing.. both will point to first object only. What i want is all the properties of first object should be copied to second object and if i change some values of the second object.. it should accept those values. [I wanna have both the textbox printed in the mentioned locations]. How can this be achieved?

    C# tutorial question

  • Microsoft Chart control 6.0-Row Data
    G GunaChinna

    Can the Microsoft chart control take row values as double? If so how?(Any code example). And i want to plot the row values against the coloumn values.(as the coloumns contain a pointer on the chart for the specified coloumn value).

    C# tutorial question

  • InvalidActiveXSateException was unhandled- MSChart control 6.0
    G GunaChinna

    To get rid off that exception, Just add the control first with your container before using any of it's properties or methods. AxMSChart20Lib.AxMSChart m_objChart = new AxMSChart20Lib.AxMSChart(); this.Controls.Add(m_objChart); m_objChart.Title.Text = "My first chart";

    C# question

  • FileName as CommandLineArgument
    G GunaChinna

    i am trying and hope i will get it soon. And will get back to u if i need...

    C# tutorial question

  • FileName as CommandLineArgument
    G GunaChinna

    i am NOT running it from console. i have to run it in windows mode. A sample code would help me better.Could u please?

    C# tutorial question

  • FileName as CommandLineArgument
    G GunaChinna

    How to pass a file name as command line argument in main function?

    C# tutorial question

  • registry.classesroot
    G GunaChinna

    Yaa. Sure. Thanks a lot for ur time and patience.

    C# windows-admin

  • registry.classesroot
    G GunaChinna

    Yes. But it couldn't serve my need. My need is, i have created my own application, also it contains my own extension. When i click on files that are created with my application, it should open its contents in my application. This needs to be registerd in registry. So with the help of this class, I hope it can be achieved. Can u pls give a code to achieve this.?

    C# windows-admin

  • registry.classesroot
    G GunaChinna

    Can some one provide me a demo code using this class.

    C# windows-admin

  • My own application and My own extension-how to add in Registry?
    G GunaChinna

    My own application and My own extension-how to add these in Registry?

    C# windows-admin tutorial question

  • New Editor
    G GunaChinna

    Yes it works. Thanks a lot.

    C# question tutorial

  • New Editor
    G GunaChinna

    Will get u back if i get more doubts.

    C# question tutorial

  • New Editor
    G GunaChinna

    It shows me 'IndexOutOfRangeException Unhandled' in program.cs Application.Run(new Form1(args[0]));

    C# question tutorial

  • New Editor
    G GunaChinna

    And my main function is in Program.cs file

    C# question tutorial

  • New Editor
    G GunaChinna

    I dont get what u try to say. This is my code. Can u suggest with this code....(ofdFile=Openfiledialog,rtbFile=richtextbox) void btnOpen_Click(object sender, EventArgs e) { ofdFile = new OpenFileDialog(); ofdFile.DefaultExt = @"*.gun"; ofdFile.Filter = @"Gun Files|*.gun"; if (ofdFile.ShowDialog() == System.Windows.Forms.DialogResult.OK && ofdFile.FileName.Length > 0) { //ofdFile.FileName. rtbFile.LoadFile(ofdFile.FileName, RichTextBoxStreamType.PlainText); } }

    C# question tutorial

  • New Editor
    G GunaChinna

    The error is ok now. and i have done main(string[] args) or Environment.GetCommandLineargs..... But still when i double click the created file(file with .gun extension),, it still doesn't contain the content.

    C# question tutorial

  • New Editor
    G GunaChinna

    Hi, When i use Main(string[] args) or Environment.GetCommandLineArgs; it shows me the following error. Error 1 'string' does not contain a definition for 'rtbFile' (Richtextbox instance)

    C# question tutorial

  • New Editor
    G GunaChinna

    Requirement: I want to create an application, which should be able to create a file, with the file extension be specified by me. And, when i double click to open that file, it should open it's content in that application. How can this be achieved? ( like word,excel..etc) Code so far: For example.. I have created a application with a Richtextbox control to display data,buttons to create a new file, openfile,savefile and to exit. And let my file extension be ".gun". Time to Answer: Now, what happens is i create new file, save(savefiledialog) it with .gun extension. This files gets opened when i open it using 'open(openfiledialog) button' which is present in my application. But when i double this file (which is placed on desktop) it opens only the application and not with the content.? How can i get it with the content when the file is double clicked?

    C# question tutorial
  • Login

  • Don't have an account? Register

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