User Profile

Collapse

Profile Sidebar

Collapse
aeris
aeris
Last Activity: May 2 '10, 05:39 PM
Joined: Dec 12 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Thanks you all!
    Thanks for the coding.
    I think I know what should do from all your opinions. Thanks so much.
    By, Aeris. :)
    See more | Go to post

    Leave a comment:


  • Thanks so much for replying.. May I know what is the code to check if the Windows Picture and Fax viewer process is not active?

    Thanks in advance.
    By Aeris.
    See more | Go to post

    Leave a comment:


  • Thanks for replying. Let's say i had saved the image to a temp file, i want delete it automatically once the user click the close button on the Windows Picture and Fax Viewer.

    May I know how to code to detect when a Close button is clicked?
    something like
    if (WindowsPicture FaxViewer.Close == selected)
    {
    //delete the picture
    }
    what is the proper coding to detect the close button?
    ...
    See more | Go to post

    Leave a comment:


  • How to open pictureBox.Image in Windows Picture and fax Viewer?

    Hello, sorry for disturbing.
    I have a pictureBox on my form. May i know how to open the image from the pictureBox in Windows Picture and Fax Viewer?


    I've tried the code below, but it failed because the pictureBox1.Ima ge is not in String format.

    Code:
    private void button1_Click(object sender, EventArgs e)
            {            
                Process p = new Process();
    
                p.StartInfo.FileName
    ...
    See more | Go to post

  • aeris
    replied to How to insert value into the class?
    It is still the same eventhough i remove the ":this() ".
    I don't know what is wrong with my codes... I've been fixing it long ago, but still can not assign the value to the class...

    Some one please help...
    See more | Go to post

    Leave a comment:


  • aeris
    replied to How to insert value into the class?
    Ya i mean failed to assigning the value to the SourceFileName in the CarrierFile.cs class.

    I don't know how to assign a value to the class from a Form.
    See more | Go to post

    Leave a comment:


  • aeris
    started a topic How to insert value into the class?

    How to insert value into the class?

    Sorry to bothering you all. Can someone give me a hand here? How to insert value from a form into a class?

    I have a form, called EnterKeyWindow. cs.

    Code:
            public CarrierFile carrierFile;
    
            public EnterKeyWindow()
            {
    	InitializeComponent();
    	this.carrierFile = new CarrierFile(imageSourceLocation,String.Empty, 0, 0);
             }
    
            public EnterKeyWindow(CarrierFile
    ...
    See more | Go to post

  • aeris
    replied to How to bring a value from a class?
    Thanks for the reply.

    But I actually having two forms.

    From the first form, let's say I had reference the instance,
    ABC myNewABC = new ABC("Alpha", "Bravo", "Charlie")

    The Alpha, bravo and charlie are been inserted into the class.

    And then, how to pass the value from the class to the Second Form?...
    See more | Go to post

    Leave a comment:


  • aeris
    replied to How to bring a value from a class?
    Thanks for the reply.

    But I actually having two forms.

    From the first form, let's say I had reference the instance,
    ABC myNewABC = new ABC("Alpha", "Bravo", "Charlie")

    The Alpha, bravo and charlie are been inserted into the class.

    And then, how to pass the value from the class to the Second Form?
    See more | Go to post

    Leave a comment:


  • aeris
    started a topic How to bring a value from a class?

    How to bring a value from a class?

    hello, sorry to bothering all.

    May I know what is the coding to bring a value from a class's constructor?

    Below is the class.
    Code:
    public class ABC
        {
            public String aa;
            public String bb;
            public Int32 cc;
          
            public ABC(String Aa, String Bb, Int32 Cc)
            {
                this.aa = Aa;
                this.bb = Bb;
    ...
    See more | Go to post

  • aeris
    started a topic Buttons in ChildWindow?

    Buttons in ChildWindow?

    Hello! Can anyone here do me a favor?

    I have a MainWindow with a HideButton and RetrieveButton. When I click on either one button, it will goes to another ChildWindow. My ChildWindow have a OKButton.

    The question here,
    How to set if else statement in C# for pseudocode below?

    Code:
    private void OKButton_Click(object sender, EventArgs e)
    {
       //pseudocode
       if (HideButton in MainWindow
    ...
    See more | Go to post
    Last edited by tlhintoq; Jan 24 '10, 01:43 AM. Reason: [CODE] ...Your code goes between code tags [/CODE]

  • aeris
    started a topic how to show back the default image and text?

    how to show back the default image and text?

    Hello, sorry for disturbing.

    How to display the default text in textbox when using the newToolStripMen uItem_Click method?
    I have set the default text in textbox where when a user click on it, the text will be disappeared.

    Can anyone here help?
    Thanks!

    By Aeris.
    See more | Go to post

  • how to shift/move the contents in a textBox into a empty .txt file by using c#?

    Sorry to disturbing you all. I'm creating a window application by using C# language.
    The title stated above is incorrect.

    The real question is, may I know how to zip a text file by using c# coding?

    Is there anyone that can give a hand? Thanks so much.

    By Aeris.
    See more | Go to post

  • Thanks Steven so so much. It's work!
    Billion thanks! :)
    See more | Go to post

    Leave a comment:


  • Hello! How to write text on textbox after the default text is clear?

    Hello! I'm using C# to doing my window application.

    May I ask, how to write text on textbox after the default text is clear?

    I have setted the default text in textbox, when a user click on it, the default text is automatically clear. I did that by using "Click" event. But then, how to enable the user write text in the textbox?


    Code:
    private void textBox_TextChanged(object sender, EventArgs
    ...
    See more | Go to post
    Last edited by tlhintoq; Dec 12 '09, 09:47 AM. Reason: [CODE] ...Your code goes between code tags [/CODE]

  • But then, I realised that the textbox cannot be inserted text anymore. How to make it enable to insert text after the click event of clear text?

    Thanks !!
    See more | Go to post

    Leave a comment:


  • Billion thanks so much!

    My problem is solved. thanks so much, tlhintoq.

    By Aeris.
    See more | Go to post

    Leave a comment:


  • How to clear default text on textbox when I click directly on the textbox?

    Hello, I'm a beginner of using C#.

    I'm creating a window application,
    May I know how to clear the default text on textbox when I click directly on the textbox?
    For example, the txtBox has the words "[Insert your text here.]", so how to make the words all clear when user click on the textbox ?


    Sorry for disturbing you all, can someone provide me the codes please?

    Thanks,...
    See more | Go to post
No activity results to display
Show More
Working...