Answer Questions
Yazeedhs How to stop flickering whilst building up complex form?
I have an array with many hundreds of instances of a UserControl. I display these as a vertical list on a form and the user scrolls them with a VScroll. I achieve the scrolling by physically repositioning every user control, one after the other.&nbs ...Show All
vandero Controls in IE question
Folks: I'm currently running a few applets that are Windows Form Controls, hosted in a web browser, on my central web server farm. Everything works great, I can see my controls, connect to the database, etc. I have only 2 issues, which I'm trying to ...Show All
Piet Van de Ven hey anybody
i just want to know if i could create a new table into an existant database i'm handle an odbc and a mysql database i know it's a kind of a frankesnstein but it's my duty so can anybody helpme Here's the sample&nb ...Show All
hassssan app crashes when run in debugger
if my app is running without the debugger (not to be confused with debug and release mode) it works as expected. if app is run in the debugger it will crash at the commented line. void ChildDisplay::ReadNext(int iLength, String* sKey) { String* recbuff = S""; String* temp = S""; m_pMMDM->SetLL(NULL, sKey); m_pMMDM->ReadNext(NULL); for(int i=0; i < iLength; ++i) { m_pMMDM->ReadNext(NULL); recbuff = m_pMMDM->Fo ...Show All
kodiya How do you get the My Documents directory?
This may be an obvious question, but I'm going to ask it anyway. I'm writing an app in which I'm providing the ability to export data to Excel. When I display the Save Dialog box, I want to set the default directory to be My Docu ...Show All
dukesta3 Only downloading changes?
Okay, so I'm using Clickonce for deployment of a project that has an executable, some DLLs, and two folders full of text files. I published to a web site, downloaded, and all went fine. I then made a few changes to the executable and republished, making the new version mandatory. When I started the application, it downloaded the new version as expected, but did two things that I can't stand. First, it downloaded the whole thing. I thought it was ...Show All
GinkZ182 DataGridView GetFirstRow() problems
Hi all I'm using the GetFirstRow(DataGridViewElementStates::Displayed) function to work out which the first row displayed on the list at the current time. There are two problems with this though. First is that the docs say that it is meant to be for internal use of the framework rather than being used by plebs like myself. The second problem is that if the DataGridView isn't actually visible, the function returns -1. Not surprising I gu ...Show All
AnilGopu SplitContainer "Continuous Layout" or "Show Contents During Reizing" Option?
Hello, I am working with the SplitContainer control in VS .NET 2005 July CTP. When sizing a content area on the screen, such as when resizing a form or when moving a splitter bar, there are usually two ways to go about it. One is to draw the splitter bar / form bounds only, then resize and repaint the content area(s) and child controls once, when resizing is complete. The second way is referred to in Java as "Continuous Layout" and, I beli ...Show All
fxtrader Failed to load resources from resource file. Please check your setup.
I am attempting to run a .net windows form application on a Windows 2000 machine. But when I load the application it does nothign for 20 second then returns the error message: "Failed to load resources from resource file Please check your setup." At ...Show All
Olmann Accessing TitleBar of Windows Form
Hi, I would like to display a tooltip for a mouse hover over the title bar of a form esp. when the text is long and is truncated. For this to accomplish, I would need to access the titlebar element of the Form. Please suggest a way to accomplish this task. I was unable to find a conclusive solution for this problem. thank you, Sri There is no "titlebar element". The titlebar is drawn in the non-clien ...Show All
saint nik datagridview select cell
okay, this is driving me crazy!!! In my datagridview, on the current row, how do I select/set the focus of a particular cell I am already on the row I just want to set the focus to the third cell. after I validate a cetain cell, I want to tab to the next cell I tried: SendKeys.Send("{TAB}") and the application stalls I tried: DgvSched.CurrentCell = DgvSched[3, DgvSched.CurrentRow.Index]; and also ...Show All
Andrew87 Finding the handle of a custom control
Currently I am able to get the handle of a few different controls in a window including command buttons and text boxes, but when i try to get the handle of a custom control it can't find it. I even looped through every handle from that window and it never hit any with the class name equal to the custom control. Is there any reason why I can't seem to find the handle on my custom control. Any input is appreciated. Tha ...Show All
Calebs Garage Custom Paint MDI Window Background
How can i paint simple gradient on MDI Window Background You can set the BackgroundImage of the form, or override OnPaintBackground to do custom painting. Yes it helps. Thanks!! Thanks, Background image works but overrides sub does not work You don't say if .NET 1.x o 2.0 (and I don't know if there's a difference), but if you refer to the area of your main window behind MDI children, see this article on The CodeProj ...Show All
albewar any way to determine if a control is a "container"
to finalize my runtime drag/drop procedure i need, when dragging, to check on mouse up what the point i am dropping in is, ie like any designer, if the point the mouse is on, is a panel, group box, tabcontrol (or any descendant from t ...Show All
mmsspp using binding context
Consider two tables as follows. parenttable---------------table name code description 1111 “Redr” 1112 “Blue” 1113 “Green” 1114 “Purple” 1115 “Yellow” childtable code customer qty address 1111 Kmart 3 sfdsf 1112 Myer 4 dfdsf 1111 Myer 5 gsdgsg 1111 BigW 2 gsggf 1112 Kmart 12 ...Show All
