Search Result

Collapse
14 results in 0.0042 seconds.
Keywords
Members
Tags
windows forms
  •  

  • Windows Forms button click activates console command

    Hello

    I have the following program: i made a console application in a windows form, i've put all the code in the MainProgram.cpp (not the Form1.h) and now i would like to do the following (managed to make the application show both the form and the console at the same time)

    When i click a button from the form, it should activate a switch - case portion from the MainProgram.cpp , which acts like a menu.

    Since...
    See more | Go to post

  • Fernand
    started a topic How to declare an array of windows form's?

    How to declare an array of windows form's?

    Hi, i am a newbie at programing so bare with me please.

    I'm making a windows form based application, i started by adding my forms and classes for each window i'm creating but i got my self with the question: How to create a function that allows me to use a "Next" and "Back" buttons to navigate through the forms without losing the information and hiding the ones that are not currently being used keeping the information...
    See more | Go to post

  • How to release db file updates without the client loosing its records?

    I'm struggling to find a solution with the release of updates of a windows application. When I modify the SQL database (integrated mdf file) adding maybe new tables or stores and I publish the new version of the app, the client correctly updates the program but looses all its records (the database seems to be totally replaced).
    I'm wondering if anyone knows how to avoid the client loosing its records, but at the same time get the database...
    See more | Go to post

  • Sfreak
    started a topic How to use WebService session in C# Windows Forms?
    in .NET

    How to use WebService session in C# Windows Forms?

    Hi,

    Im running a test of performance between WCF and WEBSERVICES and im trying to setup the same things in both technologies. My WCF server works fine (except Circular Reference issues working with Entity Framework and stuffs like that but its not the case here) and now im trying to setup a WebService to learn how Session works in Windows Forms. Ive seen examples for ASP.NET using the class COOKIECONTAINER but i cant figure out...
    See more | Go to post

  • oceantrain
    started a topic Windows Application Deployment help

    Windows Application Deployment help

    I am trying to deploy a simple windows forms application using the standard Publish option in Visual Studio. I am using a SQL server compact file (.sdf) as my database. When I deploy the app and install it on a test computer, I get this error:

    The Path is not valid. Please check the directory for the database.

    and then it shows me the connection string I have configured in the app config file. But according to MSDN I...
    See more | Go to post

  • Win Forms - Display self Disappearing Notifications/PopUps in quick succession?

    Hi all!
    I really need to show neat and professional looking messages, like helper tips, or error notifications, in quick succession, often occurring before the first message has disappeared....

    I was trying to display those notifications in a ToolStripStatus Label, but whats happening with my code is I have to wait for my background worker to finish displaying one message, before the other can be displayed and this hangs the UI...
    See more | Go to post
    Last edited by Niheel; Jun 19 '10, 01:44 AM. Reason: please use code tags to display code

  • basicballistic
    started a topic windows form textbox text formatting

    windows form textbox text formatting

    Is there a way to format the text in a multiline textbox in a way that would give the same formatting capabilites as an html webpage?

    For example I would like to show the following text in a textbox in the exact same manner as it appears here:

    Hello, my name is bob.

    And plus the ability to change color and font of individual sections of text.

    Is this possible? If so, how do I go about implementing...
    See more | Go to post

  • Reference external class from Windows Form

    Hopefully this hasn't been asked already - apologies if so

    I have a Windows Form running inside C# - built using the form designer

    I've built a number of methods inside the form Events which I now want to strip out into External class files (in order to try and make the app a bit more architecturally correct so to speak).

    To do this, I have created a new Project which I've added to the Solution.
    ...
    See more | Go to post

  • WinForms horizontal scrolling - unexpected behaviour

    Hi Experts,

    I'm trying to create a panel-derived class with Autoscroll = true that scrolls horizontally when using <Shift>+Mousewh eel. Sounds like a straight forward task, doesn't it?
    I tried this code:
    Code:
    protected override void OnMouseWheel(MouseEventArgs e)
    {
        if ((Control.ModifierKeys & Keys.Shift) == Keys.Shift)
        {
            // Get original horizontal position
            int iHorizontalPosition
    ...
    See more | Go to post

  • Samishii23
    started a topic Pre-defined PictureBox[], now null?!

    Pre-defined PictureBox[], now null?!

    I have 132 PictureBoxs in an array. 44 in 3 seperate panel controls.
    At the load up, all the PBs are defined, set to their appropriate places, and given their appropriate attributes. Then the panels are hidden for later use in the program.

    Later when I run my method to show the appropriate PBs based on user input. When though I have initilized all the PB and what not. They all return Null when I try modify them in my method,...
    See more | Go to post

  • Need to check file exsits on AS400 server using Winform Application

    Hi,
    I am working on a Windows Application where i need to check a file exists in particular library with user crediantials.
    Please suggest how to do it.

    Note : .Net framework 1.1 (VS2003)
    See more | Go to post

  • ActiveFrom in a windows application

    Hi , i am developing a winforms application.
    I have four forms which is inherited from Baseform in another project .
    In all four forms i am using a label to show some transaction count based on network status. i have implemented a thread which gets active form of application and settign up the text . Code works fine if application screen is active, if minimize and open any other application , i am getting an null error exception....
    See more | Go to post
    Last edited by tlhintoq; Oct 7 '09, 08:07 PM. Reason: [CODE] ...your code here...[/CODE] tags added

  • Updating PictureBox every one minute in multiple forms

    I am new to dotnet.
    I have Baseform (Windows form) with some controls & PictureBox are top right corner which is used to display the status of network.

    I have an application with one login screen and three other funcationality screens which is inherited from Baseform. On login in , user can go to any of the functionality screen by selecting the options. in all three screens Picture box needs to be updated with green or...
    See more | Go to post

  • DataBinding - Windows.Forms - Updating underlying DataTable

    Hi,

    I've got a question which I'm hoping has a simple answer.

    I have a series of control bound to an underlying DataTable.

    The databinding are setup to update the data source on validation.

    I have an event handler monitoring the ColumnChanged event on the DataTable, and in certain circumstances I update another column in the datatable.

    When I change another column's value...
    See more | Go to post
Working...