Quantcast
Channel: Windows Forms General forum
Browsing all 12583 articles
Browse latest View live

Hide/Show MDI Child forms when Ribbon Tab is changed

I am using a Ribbon Control on a MDI Parent Form in my desktop application.  I would like to perform a ribbonTab1_ActiveChanged event that hides specific MDI Child formsonly if they are open and shows...

View Article


Will not run on Windows 8

My program runs fine on Windows 7 and XP but it will not run on Windows 8. It just says "stopped working" in the middle of the launch.And Windows 8 will not give me any details at all. Just says they...

View Article


Intercept open/save button

Hi everybody,Is there any way to intercept events in open/save dialogs?I found this link, but the example is not too clear for me... I´ve tried, but I thing is missing a lot of the code there!Thanks...

View Article

What sets the DrawItem state in a combobox

Working with vb 2010I am trying to create a Combobox with similar 'label' functionality to the Word font selector i.e. there are some items in the list that are not highlighted (I've got this done) and...

View Article

How to resize control runtime in vb.net same like in design time ?

Hai   In my application i will create picture box dynamically,i move also,but i cant resize the picture box in runtime.Is it possible to resize picture in runtime like click corner and increase or...

View Article


Why when i move the mouse around on the pictureBox1 it dosent draw the path...

This is the code in form1:using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using...

View Article

how to communicate with a winform through an internet browser?

I need some advice for a winform app developed on .NET 4.0 in VS2010.I'd like to add a new feature: communicating through an internet browser with the winform.I do not have any experience in web...

View Article

[NAV2009] [Web-Services] Filter data from a datagridview where the datagrid...

Dear All,I am building an external form application using Dynamics NAV 2009 web services.I have pulled the data and the code that I used is below.WS_GLEntry.WS_GLEntry_Service GLEntryService = new...

View Article


Reference a Control on Another Form

I am using C# to build a dialog form which will search and find strings in cells on a DataGridView which resides on a different form. What syntax should I use to reference the DataGridView?Rob E.

View Article


Streaming binary to PDF Adobe Reader

Hi everyone.  I can't seem to find a solution to my question anywhere so here goes.I currently have both a windows forms (.net 3.5) app and ASP.net web app (.net 4.0).  I have a web service on my...

View Article

EM_GETLINE

Hmm.. does anyone have a working example of using the message EM_GETLINE from C# using SendMessage ? I found its code is 0x00C4.I just cant get it working right.. I know the first char of the wParam...

View Article

want to include an image as my first highlight before actual project starts

hello        i am going to build a sample project of fee modules in school hence as i click on icon present on desktop at first a hologram of organisation has to appear for 15 secs then actual software...

View Article

Image may be NSFW.
Clik here to view.

MicroSoft PowerPoint causing problem when opening PPTX presentation in...

Hi ,we are getting following powerpoint error while viewing powerpoint file in windows form application.sometimes it also appears when viewing /showing powerpoint directly?due to this application which...

View Article


change first line font type of text in rich textbox

HaiI am using a  RichTextbox in my c# windows application.I want to give red colour only for first line in the RichTextbox.For that i try:                txtRich.SelectionStart = 0;...

View Article

Image may be NSFW.
Clik here to view.

got register screen when i open crystal-report Through my C# program

hii got register screen when i open crystal-report Through my C# programwhen i press cancel its open the report.how to Prevent this screen ?thanks

View Article


cant see crystal-report on my toolbox - visual-studio 2010

hii cant see crystal-report on my visual-studio 2010i install the crystal-report - and still can seeanother problen, i open project that has crystal-report and when i open this report i see only binary...

View Article

C# - Enabling CompatibleTextRendering on RichTextBox

Hello there,I'm currently working on a side-project in C# and it's an update to an existing program of mine.Here's my problem: I have a WinForm which is in the Aero-design (ExtendDWMIntoClientArea) and...

View Article


Still getting the "there are no components in [location] that can be placed...

I'm trying to make a User Control. When I right-click on the toolbox and select "Choose Items...", then "Browse...", then my .dll, it gives me that error.My classes are publicI have tried clicking over...

View Article

Maximizing Issue In Windows Form

Hi Experts, Please Help Me In ThisI am Using MDI Application Which Having Around 25+ Windows Forms. 20 Forms Are Having Fixed Size - Center Screen - And Fixed Single Border - But Only 5 Forms Are...

View Article

Moving mouse quickly doesn't create the points in Red like when moved slowly...

On top of form1 i did:private int pixelscounter; private int counter; private float xFactor, yFactor; List<PointF> points = new List<PointF>(); double increment = 1.25; double factor = 1.0;...

View Article
Browsing all 12583 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>