Software Development Network Logo
  • Windows Vista
  • Visual Studio
  • Architecture
  • Visual C#
  • .NET Development
  • Smart Device
  • Visual J#
  • Visual C++
  • Visual FoxPro
  • Visual Basic
  • Game Technologies
  • Windows Forms
  • VS Team System
  • Windows Live
  • VS Express Editions

Software Development Network >> Windows Forms

Windows Forms

New Question

Webbrowser.DocumentText different than actual html source code.
Stupid DataGrid Question
Missing ticks when in tracing mode?
problem with dataview sort
Draw on the screen itself
Problem with Windows Forms Designer...
ToolStrip
Question for a .NET Master : Mouse Wheel+PrintPreviewControl+?=Scroll
Disappearing Controls
Some labels cut off at 2/3 height on some computers

Top Answerers

lkh
Marco_Perrone
rodrigo_msbs
Heistgonewrong
Jariibomo
Christopher_N
Kelley Bryant
joerage
TheIlliterate
Paul Rony
Topix: Harrison Ford
Only Title

Answer Questions

  • Tony Cheung Copying files in C#

    And for my last trick question of the week :) I am attempting to copy files from one directory (given as a parameter), to the TEMP directory on the user's system.  I have found the System.IO.File object, and read about using streams to acc ...Show All

  • smooth3006 Problem in using Aggregate function with column and expression

    Hello Every One. Wishing u all a good day, My problem is as follows : I have to tables  in dataset Ds1 as tblinvoice(InvNo,FCustNo,InvDate) and TblInvoiceDetails(FInvNo,Qty,Price) I have created a relationship between them as follows Ds1.relations.add("InvDetRel",Ds1.TblInvoice.InvNo,Ds1. ...Show All

  • Jon Davis OracleParameterCollection Problem

    Hi there, I receive the following message when I run my function that executes an Oracle Stored Procedure: The OracleParameter is already contained by another OracleParameterCollection Does anyone know why this is happenning Below the code I used:     Private Overloads Function Oracle_ExecuteProcedure(ByVal ProcedureName As String, ByVal Parms As OracleClient.OracleParameter()) As Integer       ...Show All

  • ruslan ovechkin Trouble drawing theme elements transparently

    I'm trying to draw a windows theme element (the window close button, specifically) to an image, and whenever I do, the image has ragged non-transparent bits. I got this code from a sample that didn't do this (it was all owner-drawn, mine draws to an image.) Any idea why it won't draw with full transparency Bitmap output = new Bitmap(closeButton.Width, closeButton.Height, System.Drawing.Imaging.PixelFormat.Format32bppArgb); Graphics fx = Grap ...Show All

  • Tommy Vinson Activation Key

    Hi Everybody How r u all I am developing an intra office messanger using c#.I want that my product setup will be secured by both product key and activation key.I want to make a trial version that required a produck key to run trial version but after 30 days it required activation key.So only that user can use my application Product Key : Product key is same as window cd key Activation Key : Activation Key can be get by my website.You ...Show All

  • Armanchos Copy a graphic to memory and viceversa

    I've a picturebox with a bitmap and two text printed on it with the .drawstring .drawimage functions Now I need to save this info into memory and plot it again later, how could I do I explain why I need this: I've a form that have some childs  ...Show All

  • Seungho Nam How to embed a FoxPro 9 table into a C# form?

    I have a simple form in MS C# .NET 2003 designer. I also created a table in FoxPro 9 designer. What I want to do is to have the table appear as a part of my form. I have done it many times in a different platform: Visual dBASE and I am sure it can be done here but how I tried many tricks. In tools I selected odbcConnection and dropped it on the form. In the properties for this data object there are windows for "database" and "DataSource." They a ...Show All

  • Preky Oh, the magic that the Tab key does (focus)

    [Using VS2005 Beta2...] The FocusRectangle is a very fickle thing. Create a form with two buttons on it. Create a KeyPress event for the form that cycles focus between the two buttons (turn on KeyPreview for the form): private void Form1_KeyPress( object sender, KeyPressEventArgs e) {   if (button1.Focused)   {     button2.Focus();   }   else   {     button1.Focus();   ...Show All

  • Dennis Miller Set/unset DataGrid columns ReadOnly

    Hello all. I have a DataGrid filled w/ data from one of two database tables (both have identical columns). I need certain columns to be readonly on one table and others readonly on the other. My question is: how do I set/unset them readonl ...Show All

  • VBRookie CheckBoxList values to be sent out in Email

    I have a form with a checkboxlist, where the form will then send the results of the form out as an email. How do I iterate through the checkboxes in the email part of the code as the code creates the email   Here is what I have that is not working: sbMsg.Append("<strong>Additional Rooms:</strong> "); // Iterate through the Items collection of the CheckBoxList  control and display the selected items. for ( int ...Show All

  • David Hatherly Mouse button issues

    How do you test for the mouse button clicked event e.g left, center or right-mouse button within an "IF" statement as you can see from the if statement the MouseEventArgs  e object's button property takes a value of Left, Right, Center or& ...Show All

  • BrianLag How to print a rectangle to an A4 paper using the exactly requested size?

    Hi all, Lets say that I have an A4 paper, and I want to print a rectangle as follows: 5cm from the Top. 3cm from the Left. 3cm from the Right. 5cm from the Bottom. Also how do I print a string inside the rectangle as follow ...Show All

  • Janee Read profile and membership properties in a Winform application

    Hi All, I'm developing a small website with a backoffice winform application. The website has a profile section with user preferences, and I'm using the profile manager in web.config. The backoffice (winform) application needs to read some profile properties per user. I can access the membership information, but I didn't find any class or method to read the user profile, with their custom properties. I already referenced the System.W ...Show All

  • ABT-BSM Guest user

    Hey all, I am getting exceptions when using a Guest user about temporary profile. Is it possible to use Guest user with ClickOnce Thanks. Hey, I have written a form application and I am writing to write to a registry key under HKLM\Software. The question is that if I am running in full trust does it give me the privilege to write to HKLM, even if I am running as Guest or Normal user Thanks. ...Show All

  • VinceAnguiano Regional settings and date conversion

    This can't be right but apparently is: I'm writing an application that needs to convert a string to a date.  Sounds simple, right My system's Regional settings are set to English Canada.  The short date format is dd/mm/yyyy.  VB.Net is returning dates in the format mm/dd/yyyy (US English).  This code fails every time: Personal.EffectiveDate = GridRow2.Cells("New Value").Value.ToString.Trim Error: Cast from string "8/23/2005" ...Show All

131415161718192021222324252627282930

©2008 Software Development Network

powered by phorum