Answer Questions
Shady-Potter graphics flicker problem (double buffer not working)
I am trying to create a simple Breakout type game. I have a game panel on my form that holds my game (the paddle, ball, and board of blocks). I use a timer with an interval of 10 to move the ball a set distance every tick. The problem is that I also draw the board everytime this timer ticks and it flickers. I tried setting the doublebuffered attribute of my form to true but it didnt help. Anyone have any ideas either a different/ebtter way t ...Show All
buladbanaw Draw mode in the NET Framework
Tell me please the analogue of VB6 DrawMode propery in NET Framework, VB.NET, C#. This functionality is unfornuanately not part of GDI+. There is but a <strong>DrawReversibleLine</strong> which is implemented in <strong>ControlPaint</strong> and ...Show All
Ohad Israeli NullReferenceException in Unknown Module when binding 2 checkboxes.
Hi, I am getting a nullreferenceexception in Unknown Module, additional information: Object reference not set to a instance of an object when databinding 2 checkboxes in my form. This form is a secondary form called modally from the startup form. When I step through the code slowly, I don't get this error, I also don't get this error when I call show instead of ShowDialog. When I comment out one of the binding statements, I also no longer ...Show All
Jake Reynolds Dynamically loading MDIchild forms at runtime
Hi all, I would like to create an application where i can easily add / update components (e.g. inventory component, customers component) to the application without modifying the main project. I tried to design the architecture based on a MDI-application where I define the components in MDIchilds. The MDI-parent is then the main project. Each MDI-child has to be registered in a database and subsequently based on a user's credentials, this MDI ...Show All
Edwardo BUG: Microsoft.ApplicationBlocks.Data
In one of the ExecuteReader Methods, I'm pretty sure there is a bug. Public Overloads Shared Function ExecuteReader(ByVal connection As SqlConnection, _ &n ...Show All
delantian Binding Navigator Problem
Hi, I was wondering how you see the code for the previous, first and delete buttons on the binding navigator. The reason being is I run my application and the user presses the + button which displays a new record but if they then press the previous or first record button the program crashes with an unhandled exception. This is because there are fields in the new record that are required. I have put in a try catch for the Save button click ...Show All
xzhutiger Checkboxes that work similar to radio buttons????
I have a situation where I need two items with a checkbox checking scenario where either one or the other is checked, or both not checked. But never both of them checked. I was thinking I could just use radio buttons, but radio buttons do not allow unchecking both, either one or the other has to be checked. Anyone have an idea of how this could be done with checkboxes without putting some sort of validation script So that the checkboxes act ...Show All
Mclarenvj Crystal Report 8.0 using VB.Net 2005
I am currently using VB6 and Crystal Reports 8.0. I want to write some software using VB.Net 2005 and the crystal reports it includes. Now can I run the VB6 and crystal 8, on the same machine with VB.Net 2005 and it's crystal without dll or other issues thanks, DeanRIowa ...Show All
Ron Malizia AA Userdrawn listview vb.net
ey up chaps just wondering if anyone has any examples of code for a userdrawn listview but in vb not C#. Am trying to achieve a multi lined itemed list. Cheers in advance I don't have any samples that show how to do this for the ListView, but there is a sample that shows doing this with the new DataGridView in VS 2005. Check out the "How to:Customize the Appearance of Rows in the Windows Forms DataGridView" top ...Show All
ZnZn Can you make a contol resizeable that has inherited from UserControl?
Hi, I have a user control that pops up much like intellisense in visual studio to display a range of navigable options when a key combo is pressed within a textbox. I have called the user control within the parent form and programmatically called it using the following code within the parent form. MyUserControl control1 = new MyUserControl; control1.BorderStyle = BorderStyle.FixedSingle; this.Controls.Add(control1); contro ...Show All
Tim Daley HTML Textbox
Hi, I am developing a news website that is using ASP.net and SQL Server as database. Can anyone recommend a text box that I can use on a windows form that will allow formatting of HTML such as bold and hyerlinks that can be inserted into&n ...Show All
P. Weyrosta How to detect tab selection changed event in TabControl
I tried adding handler to handle the click event in the TabControl, it works but only when you use the mouse to select the tab. Since there are other means to select a tab in a tab control liked using the arrow keys or mouse.&nb ...Show All
Robert Vabo Window Forms questions (From within a from)
I'm new to C# visual studio 2003 and wanted to create a window forms. I would like to creat a form within form. Lets call the main form form_a and the two other forms that are inside form_a called form_b and form_c. Where form_a is the main form that is not resizable and form_b is inside form_a and form_c also inside form_a. Form_b would be located on the left side of form_a from top to bottom with form_c below it. Form_b & ...Show All
tomwindcloud Cannot Modify ToolStripItem Pressed property
Hi, The ToolStripItem has a (read-only) Pressed property . How can i explicitly set the state to pressed I am unable to find it in the docs. fizgig Hi David, Thank you for you insights. Option 1 works great. Bye, Fizgig As the ToolStrip is completely managed control there is no underlying Win32 control, so calling unmanaged code won't help. You have two choices that I c ...Show All
Fred Krusemark Asynchronous Web service call real-time patterns
I am currently using a timer to kick off periodic (say every 0.2 second) calls to a Web service a synchronously using the background worker component. I intend to use this pattern to update various user interface elements with the results from the Web service calls. I'm trying to use binding source objects (experimenting as they seem useful) to tie in the Web service results with the user interface (refreshing the binding sour ...Show All
