Software Development Network Logo
  • Visual FoxPro
  • Audio and Video
  • .NET Development
  • Smart Devicet
  • Visual C#
  • Visual Studio
  • Windows Forms
  • IE Development
  • VS Team System
  • Visual Basic
  • Windows Vista
  • SharePoint Products
  • SQL Server
  • Visual C++
  • Microsoft ISV

Software Development Network >> Windows Forms

Windows Forms

New Question

Problem with CheckBox on GroupBox on UserControl on a TabControl not responding after Validation
creating label
Scrollbar.value cant be set to scrollbar.maximum
Save File Dialog. (I have code, just need a little help fixing)
Windows Service Problem on 2000 Server
HTML Based Label Component?
Messagebox
ListView Items Clear Problem
Validating serial number while installling
Interface events

Top Answerers

teqmem
ajliaks
vision2020
Stefan Toller
Doomer D. Great
Douglas H. Troy
abadreamer
ackermsb
ReneeC
pblecha
sitemap
Only Title

Answer Questions

  • xtw resize the datagrids?

    I have two datagrids on a form. Sometimes the top one contains for rows, sometimes the bottom one. Is there a way that the user can grab the bottom of the top datagrid and move it up so that it becomes a smaller window, then grab the top of the bottom datagrid and slide it up so it becomes a larger window Thanks If you're using .NET 2.0, the SplitContainer would be the right tool for the job. Put it on the form, set its Dock property to Fill an Orientation property to Horizontal. Put the first grid in the upper panel and second grid in lower one. Set both grid's Dock panel to Fill. If you're using .NET 1.x, the Splitter control will help you achieve a similar solution. Just dock it between both grids. ...Show All

  • TPECI Import a CSV into a MSQL table

    Ok Using Visual Studio 2005, (and C# if that matters) I have a MySQL Table, which I am going to export into a CSV (Comma Seperated Value) Sheet I know in MySQL you can insert a CSV to add the rows to the table How do I do this in MSQL, using Visual Studio 2005 Muchas Gracias the only thing I have for MSQL (yes I mean Microsoft SQL) is what was installed, when I installed Visual Studio 2005, which s the Config Manager What I done, was Export the MySQL table, using full INSERT code then done find and replace (as the fieldnames were different) and changed Double quotes for Single Quotes " ' Then just ran the query in the Visual Studio DB Section Do you have to do it in code SQL ...Show All

  • Japu Deployment of VB.NET Application Fails

    I am developing on at home and trying to deploy my application and sql database to another computer, totally different location, which is being used as a server and client. I am working with SQL 2005 and VS 2005 Pro. I've tried everything from xcopy to clickonce. I obviously have no clue as to what I am doing. My goal is to develop the software and database on computer and then deploy to this other computer. Please help this simple minded moron. Thanks If your application will work if you basically copy the files to the target machine, then you can install it using ClickOnce. If you also need to make changes to the system configuration, like creating registry entries and the like, you should crea ...Show All

  • re infecta Copy files using custom actions in Setup Project

    I have a project to deploy but there is a file (non code), that will need to be copied to a directory on the install machine, that is not the application directory (app dir). To make maters worse, this directory will be different on every machine. So I can not use the File system editor. My thinking was to use a custom action on the Install_AfterInstall event. This action would look in the application directory where that app had just been installed and copy this file to a specific dir on the users machine. The problem is this dir could be anywhere on the users machine. The good news is the dir will always be named the same. How do I get the app dir name so I can copy this file at the end of the setup process Will the file exist on t ...Show All

  • vicarious Enabling AxMSFlexGrid to multilingual

    Dear All, I have an application using VS.Net2005. In one of my form i use AxMSFlexGrid activeX control. This control works fine what i want. While i am trying to make this control(i.e. its column header) multilingual it does not works correctly. It shows its column header like . I set its font to my desired font (Bengali) but it does not work. Any help in this regard ...Show All

  • R.Tutus Mouse event handler on a DataView problem

    Hi there I am trying to get some events to work on a DataGridView. This EventHandler was suggested by Intellisense. Nonetheless it gave me an error. dataGridView1.CellMouseEnter += new DataGridViewCellEventHandler ( dataGridView1_CellMouseEnter ); Error 1 No overload for 'dataGridView1_CellMouseEnter' matches delegate 'System.Windows.Forms.DataGridViewCellEventHandler' D:\VCsharp_Projects\tapTCPports_1\Form1.cs 1516 53 tapTCPports_1 I changed it as follows with the same outcome. It gives me the same error. dataGridView1.CellMouseEnter += new System.Windows.Forms.DataGridViewCellEventHandler ( dataGridView1_CellMouseEnter ); What is the problem Thanks. It seems to be ok. You may try add this event handler using VS d ...Show All

  • Rainz Windows Activation

    Hi. I have just formatted my hard drive and when i try to re-activate windows it says my key is in use. Is there any way to re-activate not via phone Any help appreciated. Sorry if this is wrong place to post. You can ask your question in following webpage.I hope it helps http://www.microsoft.com/communities/newsgroups/default.mspx ...Show All

  • Fiddel cross Thread control accessbility

    I am having a serious problem with accessing controls in another thread. This is the runtime error message I get. I want to describe the setup in general terms without displaying the code since it is large and complicated and would need a lot of editing for clarity if I am to do it. What I hope to get from this post is a general recommednation as to how such problems should be handled. It more information is desirable I will post the code. I have a Form1 class. There is another class, BuildNewTabsPages , that generates new TabPages for my TabControl on demand. When a new TabPage is created all its subcontrols end up in a Thread in the ThreadPool, I suppose. When the new TabPage is created by calling a function makeNewIntraDayPAG ...Show All

  • Tryst Num Lock

    I use key down event to check if num key is on or off the problem is if the form not focus the event will not work also I cant use timer tick event hope someone understand what I mean and help me to find the solution Look at the Control.IsKeyLocked method, which you can use to test NUM LOCK, CAPS LOCK, and SCROLL LOCK: http://msdn2.microsoft.com/en-us/library/system.windows.forms.control.iskeylocked.aspx I found this code: Public Class Form1 Sub New () InitializeComponent() AddHandler Application.Idle, AddressOf Application_Idle End Sub Private Sub Application_Idle( ByVal sender As Object , ByVal e As EventArgs) If Control.IsKeyLocked(Keys.NumLoc ...Show All

  • llorrac Populating ListBox with data from SQL server 2000 database

    Hi, I have an MS Access 2003 database and I need to populate a ListBox that I have in my form with data from a column. I already know how to write and read from the database, I'm just having some trouble with this particular ListBox case. How can I get all the values of a column and list them in a ListBox I know there is a way but I can't seem to remember or find it. I have created a temporary solution that actually works but I know there is a normal way to do this. This is the code of a button_click event: For i = 1 To count ' The number of lines of the table sql = "Select FIELD From TABLE Where ID = " + i.ToString con = New OleDbConnection( "provider=microsoft.jet.oledb.4.0;Data Source=C:\DataBase. ...Show All

  • Gordon Bell Problems with Windows Forms

    Hi, I'm starting with windowsforms and I have had a problem that I can't solve. What I mean is: I'm trying to do an standard program, i.e., a window with a menustrip and its menus like File, Edit, View,... Then, When I click on File it opens a menu with the options New, close.... I want my program to have this behavior: when I click on new, it created a new subwindow inside de original one ( you know, as a common program) and when you select another time "new" then create another kind of tabPage where you can see the two windows, one at time, and you can change the window you want to see only clicking on the top of the subwindow. But I don't know even how to create a subwindow. Can anyone help me, please ...Show All

  • Leonard Lee How to design Stylish window in C#

    Dear all I've one issue which is difficult to me. I want to present my GUI as a stylish GUI. I mean. button with curved edges,drop down with curved edges, Groupbox with curved edges. I think most of us would have worked with WINAMP (Mp3 player). In WINAMP itself ou can do whatever you want. i mean you can resize, you can attach and detach window and more And you can set skins also for your winamp. But these all things i've to be done with use of basic controls which is availale as default tools in dotnet window application. Can anyone help me to fix this issue This is very must for my project. Please help me Guys/Girls. Dear Mr.Ken Tucker Thanks for your reply. I'm very happy to se ...Show All

  • sweet_salt Text to Screen

    Hello, I need help figuring out how to write text directly to the screen. I've looked at the forums and the online help but still no luck. Any help would be appriciated. Hi, if you want to write the the screen device context you can use GetDC with a value of null to get the desktop device context, then you can draw onto that directly. The following code is an example of how to draw some red text directly onto the screen: using System; using System.Drawing; using System.Runtime.InteropServices; namespace ConsoleApplication1 { class Program { [DllImport("user32.dll")] static extern IntPtr GetDC(IntPtr hWnd); [DllImport("user32.dll")] static extern int ReleaseDC(IntPtr hWnd, IntPtr hDC); ...Show All

  • arkiboys Determining the path to a certain directory

    part of the project i'm writing is dependant upon a couple files that get installed alongside another program. Is there a way to do a search for the .exe file of the other program, and save the path to that folder in a variable so I know where to tell my program where to look for the files it needs. Thanks, smtraber Recursiving the directory you want to search, as: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Collections; using System.IO; namespace Samples { public partial class FileSearch : Form { public FileSearch() ...Show All

  • Vijay Guru Prasadh Converting a windows form (and other) object(s)?

    I am writing a c# DLL and want some functions to create windows forms and windows form objects. The DLL is for a language that only has standard variable types such as int, float, double, string, etc. So I cant really input an object as a function parameter. Is there a way to get some sort of string or integer handle for an object Also, if anyone could give me an example to write a button creation function that returns a handle I would greatly appreciate it. The only type of handle to an object that .NET provides is an object reference. So you'll need to devise your own mapping. What I'd do is create a pair of dictionaries - one Dictionary<string, object>, and one Dictionary<object, ...Show All

222324252627282930313233343536373839

©2008 Software Development Network

powered by phorum