all groups > dotnet windows forms > july 2004 > threads for tuesday july 27
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Transparent UserControl Flickers when form get resized.
Posted by Jaikumar at 7/27/2004 11:45:03 PM
Hi,
1) I have created one windows application, In the main form ( form1) i have added one usercontrol (usercontrol1), In that user control i am drawing one image.
2) In the UserControl1 i am showing one transparent form (form3) when ever user preseed left mouse button.
3) The form3 has one tra... more >>
How do I get size and location of a form when then form is minimized?
Posted by johnfofawn NO[at]SPAM hotmail.com at 7/27/2004 7:57:49 PM
I want to read the size and location so I can save the window's
position so I can later restore it.
John... more >>
OracleClient.OracleDataReader dataGrid
Posted by JM at 7/27/2004 6:10:05 PM
Is there a way to load a DataGrid using an OracleClient.OracleDataReader? I've seen code where a SqlDataReader is used, but I get an error when trying to use an OracleDataReader.
... more >>
Changing Text on MessageBoxButtons
Posted by Joe Thompson at 7/27/2004 4:43:06 PM
Hi,
I am using VS 2003 to write a C# application. I want to display a MessageBox but I want two buttons: "Repeat" and "Cancel". I realize there is a RetryCancel option but I would really like it to say "Repeat". Is there a way to do this?
Thank you,
Joe... more >>
Child Forms
Posted by SouthSpawn at 7/27/2004 2:36:38 PM
I have an app that will call many child forms. I would like these child
forms to always display on top on the parent form until they are close. I
can get the first child form to stay on top. But when others are opened,
then the first child form I called will get hidden behind the parent form.
Ho... more >>
SHDocVW - Documentation?
Posted by Matthias Steinbart at 7/27/2004 1:55:19 PM
Hi,
could anybody tell me where I can find some documentation on the SHDocVW (IE
Browser Control)?
Thanks in advance,
Matthias
--
-----
fragmente einer flugbahn - http://emvoid.de
... more >>
Datagrid Issues
Posted by GreyAlien007 at 7/27/2004 1:04:35 PM
Okay, so here goes:
I want a user to be able to delete a row simply by highlighting a row in the datagrid and pressing the "delete" key...the datasource for the datagrid is a datatable (well I think implicitly a dataview gets created but whatever), at any rate I handle the DataTable.RowDeleting m... more >>
Dynamic controls
Posted by plains5728 at 7/27/2004 11:35:02 AM
I need to dynamically add labels at runtime.
Dim iLabel(numPer * 12) As Label
Dim pLabel(numPer * 12) As Label
For count = 1 To numPer * 12
iLabel(count) = New Label()
iLabel(count).Top = (count - 1) * 25 + 56
iLabel(count).Left =... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
help pls.
Posted by wilson at 7/27/2004 10:20:20 AM
is there any way to get logged in user domain account in windows applicaton like request.servervariables("logon_user") in asp apps. i am using VB6 not dot net. pls do have a help
thanks
wilson... more >>
how to prevent the midi- form to open two
Posted by Joe at 7/27/2004 10:13:27 AM
Dear all,
i don't want the parent form can open the samd midi form twice how to do that... more >>
close a form when open a new form
Posted by Joe at 7/27/2004 10:12:59 AM
Dear all,
i open a form call A, then call a form B to show
how can i close the form A, but not close the B form... more >>
Windows Message List
Posted by Vince at 7/27/2004 10:07:34 AM
Hello all, I was wondering where I could find the list of ALL WINDOWS MESSAGES DEFINITIONS ? Like
WM_SYSCOMMAND = 274
SC_CLOSE = 61536
and so on...
I need to know what are the messages sent by an MDI form to all his child forms when the MDI closes...
Thx !
... more >>
how to set one tree node is selectd programmatically?
Posted by haiwen at 7/27/2004 10:07:28 AM
Hello, everyone:
Is there a way to set one tree node is selected if not yet programmatically?
Sincerely,
haiwen ... more >>
Failed to load resources from resource file.
Posted by Roan at 7/27/2004 9:59:43 AM
Has anyone see this message? It also says "Please check your setup".
In my windows form, it comes up as a message box with the title "Setup Error". I've found where other people have had this problem, but no hard information on what causes it or how to fix it.
All help is appreciated.
--Chris... more >>
HOWTO: generate a file from Design Mode
Posted by Soe at 7/27/2004 9:50:57 AM
Hi everybody,
Question 1)
I'm just wondering if anyone could tell me how I could create a file when the user enters the file path information in the Properties Window (F4) of a User Control in the Design Mode.
Question 2)
If the user modifies an existing file name (or) file path of the pro... more >>
components
Posted by Joe at 7/27/2004 9:40:45 AM
Dear all
what is the different between components and class, usercontrol and customcontrol... more >>
ctype(sender, menuitem).Name?
Posted by Joe at 7/27/2004 9:38:06 AM
Dear all
how to get the menuitem name
forexample
ctype(sender, menitem).name
but there have no .name
i know we can use ctype(sender, menuitem).text but the text will change when i
use localization........... more >>
Repost: Odd Printing Problem
Posted by Steven at 7/27/2004 9:29:34 AM
I am reposting this because it seems to have been ignored yesterday. Perhaps because it took all day for my question to be posted to the discussion forum.
I have encountered this problem sporadically with occasional users of my VB.Net programs. Occasionally, when a user prints from one or anoth... more >>
How do I grab the network address of a printer?
Posted by M K at 7/27/2004 9:27:03 AM
I want to save app specific info about printers on a network. How can I grab the network address of a printer? How can I browse a network for printers to show the user a list? Thanks.... more >>
Set Size of Custom Control
Posted by Joe at 7/27/2004 9:22:33 AM
Dear all
i create a custom control , and there have one listviewbox over it, and the size of
the listviewbox is the same as the custom control, however, when i place the custom
control onto a form and i resize the custom control, the listviewbox is not change the
size, i want the size of listvi... more >>
Don't cut ActiveDocumentHost from .Net 2.0
Posted by Samuel Jack at 7/27/2004 9:21:30 AM
To all those who thought that with .Net 2.0 and ActiveDocumentHost (see http://www.windowsforms.net/WhidbeyFeatures/default.aspx?PageID=2&ItemID=12&Cat=Runtime&tabindex=5) we would finally have a clean way of display OLE documents (Excel, Word, etc) within Windows forms:
I have just read here htt... more >>
Excel component deployment in winform program(C#)
Posted by Lee at 7/27/2004 9:19:48 AM
Hello,
I use excel to display and print data in my winform program(c#),but I find
it cannot run on machines without office installed,Is there any way to
deploy the excel component with my program?
Clients may not install excel.
Sorry for grammar mistakes.
Lee
... more >>
How to resize the plusMinus signal in treeview with icon
Posted by haiwen at 7/27/2004 9:18:35 AM
Hello, everyone:
It seems the plusMinus' size is related to the size of the icon, the problem is the default 16X16 is too big for me, if I set the image size of imageList to 8X8, then the plusMinus symbol almost can not be found.
Is there anyway to set the size of plusMinus and icon of the tr... more >>
How do I repeat Controls like a repeat region in ASP
Posted by Daren Hawes at 7/27/2004 3:41:36 AM
Hi,
I am planning an VB.NET Windows Application that is a survey system.
I need to know how to "Repeat" questions etc.
In asp I would create a table, bind the data to controls and then repeat
the table for the number of questions..
--------------------------------------
|Question 1: ... more >>
Design time textbox at runtime
Posted by Jim Schachjt at 7/27/2004 1:43:48 AM
OK, here's the deal.
I'm writing an MS-Paint like program in C# using GDI+. Everything has been
pretty simple up till this point but now i want to add functionality similar
to the textbox tools used in all kinds of apps (paint, word, any drawing
app...). is there a way to setthis up without desi... more >>
Out of Memory Exception
Posted by sunil NO[at]SPAM volcanomail.com at 7/27/2004 12:48:17 AM
Dear All,
I am getting Out of Memory exception sometimes while executing this code...
wot am I doing wrong here....
private int GetStringLength(string StringToMeasure)
{
System.Drawing.Graphics oGraphics = this.CreateGraphics();
Font sGridFont = _MyGrid.Font;
string sDummyString = Strin... more >>
|