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

Software Development Network >> Windows Forms

Windows Forms

New Question

access in another form
c# and .mdb or any other database application
Change Tab Page Shape
Open form asynchronosly with reportviewer?
Adding Components to Windows Forms
abstract UserControl
How to use an IF statement to filter values in a DataSet column?
Tabpage control
Why is DataGridView so slow?
Enabling/Disabling ToolStripMenuItem objects

Top Answerers

Tony Robyn
Barry-ELX
Lawrence 007
Omniscient
leonardoreyes
codequest
Daniel Karanov
fiaolle
Eddie Garcia
Ross Watson
Haverford Consultants Inc.
Only Title

Answer Questions

  • cdolor Licensing and User Counts

    I distribute software that I write and would like to accomplish two things: (1) Produce a 'license key' for the user, so they cannot copy the application from someone else and use it. Perhaps a key based on the server domain or IP address. (2) In the App.config file put some encrypted key that indicates the number of users permitted. I will then compare this to the total number of users added to a Users table to manage the license restrictions. (I license based on number of users defined, not concurrent users). Thanks. Hi I'm just trying to make something like that myself. I want to provide my application with a license key. The user enters this key on installation (first run) and connects to a ...Show All

  • gafrank Deploy vb.net office plugin over lan

    Hi I've made an add-in for powerpoint and I want to make an installer that automatically installs requested files and registry entries to a remote computer over the company lan. If possible it should also install the "Office Interop Assemblies". Is there a good way to achieve this And if I have to make my own insteller then how do I add entries to the registry // Lasse ...Show All

  • CBuilder Installer package

    Hi, I am looking for a good and free installer package. A programm like Instal Shield or somthing simmlar like that. I have found Inno Setup to be the best, and easiest to use. You should get ISTool aswell, which is an IDE for Inno Setup Scripts. Would like to hear anyone elses ideas for deployment though. I've found NSIS to be much more versatile and customizable than Inno, but has a steeper learning curve. http://nsis.sourceforge.net/Main_Page They do have a pretty good forum, but as always, RTFM and also try out all the samples which cover all the basics. VB express includes Click Once as an deployment technology - If you purchase a copy of Viusal Basic then you'll get a few more features incl ...Show All

  • Rapper How to record screen?

    Hi I wish to record the desktop/screen/particular window. The user clicks record button and recording starts till user clicks stop button. How do I access different windows from c#.net The window can be a webcam window of skype/yahoo or a windows media player playing a clip or the desktop !! Thanks Aseem Chiplonkar Hi Thanks for the links. I wanted to know about recording the screen/window as a video file. The article is about taking a screenshot. I got some tools online which does that but I was curious as to how I can have my own Thanks, Aseem Chiplonkar You could use "Windows Media Encoder SDK" to do t ...Show All

  • spshah Is there a way to programmatically change the tab control's selected tab font?

    Is there a way to programmatically change the font for the label of a selected tab in a tab control and leave the font for the labels of the non-selected tabs and the font for the selected tab contents unchanged I would like to make the font for the tab label of the selected tab bold when a user selects that tab, but not change the font for the content of the selected tab to bold and not make the font for the entire tab control (i.e., the tab labels in the tab control) bold. So far, I have only found that I can change the font for the entire tab control to bold, and this changes all the tab labels to bold as well as changing the font for the tab contents to bold. If there is a way to do this, would you please post a code sample Thanks. B ...Show All

  • 13one Get Controls collection and list it on xml or text file

    Hi We are using Idesginer for creating user driven form designer, does any one worked on saving the controls list /control collection and their properties on to a test file or xml file and retrive them back on the desginer form. Any help in this regard will be great. Thanks for the link. Yes I have already seen this code. well written. I was wondering if there is any other way to do this than using serialization - since we are not using serialization and also we need write a custom to xml file. Listing the controls and their properties for other tools to read. thanks..anyway I believe this link has what you are looking for: http://msdn.microsoft.com/msdnmag/issues/06/03/DesignerHosting/ Download the sour ...Show All

  • Xavier Arnau array assigning problem

    i want to assign the value 500 in this position and else 8 Dim arr() As Integer = {70, 71, 72, 73, 74, 111, 113, 114, 116, 117, 119, 120, 122, 123, 125, 126, 128, 129, 131, 132, 134, 135, 137, 138, 140, 141, 143, 144, 146, 147, 149, 150, 152, 153, 155, 156, 158, 159, 161, 162, 164, 165, 167, 168, 170, 336, 424} the total array size is 554 arr2(554) how can i do this arr2(0)=8 arr2(70)=500 note 70 is the 0 element of the arr() thanks Thanks a lot.... There are 554 numbers array. i want to assigne the different values to these array. i want to assign "500" only these values 70, 71, 72, 73, 74, 111, 113, 114, 116, 117, 119, 120, 122, 123, 125, 126, 128, 129, 131, 13 ...Show All

  • Keyboard Trampler listbox problems

    i am a student at UF. im trying to write code for a depreciation calculater that will show the depreciation year by year. each line will have 3 item in 3 seperate columns; year, depreciation, amount left. so far i can only get my list box to display the year without giving me an error message. please help, fielder What error message are you getting What programming language are you using Probably you should be using a ListView instead of a ListBox since ListView has columns. ...Show All

  • Sqnyy Data files not copied on updates

    Hi, I am settings up my application to work with ClickOnce deployment. However, after instlling installing an update, the database doesn't get copied. I tried everything I could think of. It is a SQL Server Express database created in ClickOnce data folder (ApplicationDeployment.CurrentDeployment.DataDirectory). I use User Instances, that is, I connect directly to the database file. So, I install version 0.0.7.0 of my application, run it, it creates a new database, I add data to it. Then, I update to version 0.7.1.0. The database doesn't get copied so I loose my data. I made sure the database is detached before updating. Any ideas I'm clueless on this one. This is the database that *should* get copied: C:\Documents and Settings\Et ...Show All

  • hula_samvaad How do I play a sound from my Applications Resource file?

    I have added my sound to my applications resource file... But when I go to call on it: Manage__.Properties.Resources... It does not show up in the list of resources. All my images show up in the list, just not any of the sounds I have added. All my sounds are in the .wav format.... Any ideas as to why I can't access them (I am using C# Express) Correct, 'Manage__' is my namespace. I have not tried to use the manifest resources as I do not know how. I havn't heard of them untill now. Hi, have you checked your Resources.resx, is the .wav file shown Hi Dave, I tried, but i couldn't reproduce it. (I added it through Resources.resx, chose Audio and Add Resources. ) By the way, is 'Manage__' your namespace ...Show All

  • ShadowRayz Easier way to do if( XXXXX = X || XXXX = Y)?

    I have an if/or statement that looks like this <code> if(cbManufacturer.SelectedIndex == -1 || cbManufacturer.SelectedIndex == 0) ep.SetError(cbManufacturer, "Please provide a Manufacturer."); </code> Is there an easier way to do the Or part of it so I don't have to use cbManufacturer.SelectedIndex twice (Or in some instances more times) And I know you can do <code> if(cbManufacturer.SelectedIndex == -1 ) ep.SetError(cbManufacturer, "Please provide a Manufacturer."); </code> else if (cbManufacturer.SelectedIndex == 0) ep.SetError(cbManufacturer, "Please provide a Manufacturer."); </code> but that is definitely not easier... Thanks! Thanks, but I know about the case sta ...Show All

  • SkiesOfBordom How to remove ORCA warning ICE33 ICE82 ICE69 VS 2005 Setup project

    Hello There I have created a Setup project using VS 2005 for Office add-in. Setup is created successfully without any error and warning but when I validate setup using "ORCA" its having following warnings. ICE33 WARNING Reg key _D07820B722E34B5FAC309650D805D1A2 is used in an unsupported way. ProgId should be registered via the ProgId table. This entry may overwrite a value created through that table. ICE33 WARNING Reg key _E6919C0D42774F7CA0B53A472E767196 is used in an unsupported way. ProgId - CLSID associations should be registered via the ProgId and Class tables. This entry may overwrite a value created through those tables. ICE33 WARNING Reg key _93511C827CD44164 ...Show All

  • matthew2005 Vista UAC and ClickOnce Issues

    Hi, I am working on certifying our applications on Vista. I'm running Vista RC2 build 5744 and Visual Studio 2005 with SP1 Beta. The issue I have is that, as a certification requirement, applications have to be proven to install and run under a limited user account. I have no problem with that requirement in theory but in practise this seems to be a totally different matter given the tools available. I have done a lot of testing using ClickOnce publishing under different scenarios but there are some difficulties and inconsistencies. In the end I used a simple "smart client" windows application with just one form. Our deployment scenario would be similar. I tested different trust levels etc. Now this is what I found: ...Show All

  • V.E BackgroundWorker.ReportProgress: Thread Safe?

    Does ProgressChanged event fire on the thread the backgroundworker was started, similar to RunWorkerCompleted Is it safe for modifying properties in controls I have a class with a sub Start, and an event called ShowInfo for example. I want to use a backgroundworker to process stuff inside Start, and when it needs to show info it calls ReportProgress. Is this safe Please post WinForms related questions in the WinForms forum. Please reserve the BCL forum for questions related to the libraries that are not covered elsewhere. I'm moving this post to the WinForms forum. In answer to your question, yes all events on the BCW are invoked on the UI thread (not necessarily the thread that started the BCW). This class uses the Sy ...Show All

  • John Wesley Harding Mouse inside or outside the client area

    Hello everyone, How can I check if the mouse is inside or outside the client area.. To be more specific I have tried to make a calculation for inner controls but this do not work for the Form. I also tried to add a MouseLeave event which sets the mouseInside boolean to false and a MouseEnter event which sets the same boolean to true.. But interestingly when my mouse is over a control inside the Form the MouseLeave event is fired.. I am doing a drag-drop operation and I need to know when the user tries to drag something outside the main form. Is there a way to achieve this Thanks in advance and best regards ! About a year ago I blogged about this on my companies blog. Unfortunately the blog no longer exists but I search ...Show All

666768697071727374757677787980818283

©2008 Software Development Network

powered by phorum