all groups > dotnet windows forms > march 2004 > threads for wednesday march 31
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
Adding a control programmingly
Posted by william at 3/31/2004 9:21:11 PM
Hi, everyone
After adding a control into a container like form using form.controls.add(myControl), how could I reference it
For example
dim aControl as new butto
me.controls.add(aControl
then I want set backcolor of this button, how
Thanks
william... more >>
Printing "x" pages per sheet
Posted by benboris78 NO[at]SPAM yahoo.com at 3/31/2004 8:19:47 PM
Hi All,
In c# or vb.net, when i throw the print Dialog, is there any way i can
retrieve the value that the user has chosen for the pages to be
printed per sheet?
for e.g. in the "Layout" tab of the print dialog, there is an option
which says how many pages needs to be printed per sheet. Bu... more >>
Error accessing .config file when using manifest file
Posted by Jan Hornych at 3/31/2004 7:11:09 PM
Hi,
my program is written in .NET as a classic desktop application. I moved the
application to a fileserver now. The server is in the same network, I can
start the application like \\192.168.1.20\myDir\myApp.exe (I configured .Net
Framework permissions to Full Trust for URL file://192.168.1.20/*... more >>
How to get the handle of a control after adding it programmingly
Posted by william at 3/31/2004 7:11:07 PM
Hi, Guys
After adding a control into a container programmingly, for example, myForm.controls.add(myControl), how can I reference this control in my code
Thank
william... more >>
ListBox databind to DataTable
Posted by Greg at 3/31/2004 6:23:49 PM
I've got a DataTable I'm trying to bind to a ListBox.
listBox.DataSource = dtCustomers;
listBox.DisplayMember = "customer_name";
listBox.ValueMember = "customer_id";
The returns my all the rows in the DataTable but in the
ListBox all the items are "System.Data.DataRowView".
What am I ... more >>
Using ADO dataset
Posted by Atif - Alghanem at 3/31/2004 4:53:13 PM
hi,
I need to use a dataset without binding to a text box. i need to move value
from dataset to textbox manually. does anyone have any sample for this.
Thanks and regards
atif
... more >>
CodeDom Problem -- Would It Kill You Nitwits to Document Stuff?????
Posted by Mark Olbert at 3/31/2004 4:51:21 PM
Flame on.
I am SICK and TIRED of the incredibly LOUSY documentation that Microsoft provides for creating
custom components.
Here's my situation:
I've implemented a custom CodeDomSerializer class to handle serialization of my component's state to
and from the InitializeComponent() method.
... more >>
WithEvents keyword gone!
Posted by John at 3/31/2004 4:11:07 PM
Hi, all
I got a problem when I create a custom control. I created a custom Button and it works just fine. But the Windows Form Designer always remove the WithEvents keyword of my object declare. If I manually add the keyword, it works for a monent and it will automatically gone after some time. W... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Exception from static method
Posted by Saurabh at 3/31/2004 2:47:23 PM
Hi All,
I have an application which has certain preferences stored in a file. The
general architecture of reading these preferences is, There is a preferences
accessor class (Preferences) which has 2 static methods GetValue and
SetValue. My application accesses the preferences through this cla... more >>
Detecting Installed Applications
Posted by Steve C. Orr [MVP, MCSD] at 3/31/2004 1:55:03 PM
From my application that I will be widely deploying, I have several
applications that I need to check for programatically to see if they are
installed or not. I also need to get the path to these applications. After
searching through the registry, I don't see any single place that holds this
i... more >>
opening the default web browser
Posted by Paul M at 3/31/2004 1:09:31 PM
how can i open the default web browser, from my vb.net windows app?
thanks,
... more >>
Two-way Databinding with Custom Control
Posted by sandman at 3/31/2004 11:41:11 AM
I've created a custom control that inherits from TextBox. Everything has worked fine up to now. I bind a typed DataSet to my control and when I fill the DataSet, the appropriate record is loaded. I call BeginEdit on the row. Then I change the data in my app, and call EndEdit for the row. But when ... more >>
Windows Application
Posted by CV at 3/31/2004 11:37:57 AM
Hi,
I have an application developed in vb.net. I would like to distribute the
application in a CD with auto run. If the target system doesnot have the
frame work installed, then the frame work should be installed
automatically. I will include dotnetfx.exe in the same folder where
setup.i... more >>
Real Challenge!! Capture KeyPress and Text from other Applications
Posted by DraguVaso at 3/31/2004 10:49:46 AM
Hi,
For a telephony-application I need the following:
When the user presses F10 in whichever application (Word, Excel, Notepad,
Custom made Applications, ...) my program has to capture this, and go look
in that application and select the telephone-number the user has put his
cursor on.
I... more >>
ListBox Item Value
Posted by Frank at 3/31/2004 8:06:31 AM
How can I get the value property from the item collection
in a ListBox control. I know I can get the selected
value with listBox.SelectedValue, but how can I get the
value property of all the selected items?
I would like to loop through the list and look and the
values.
I wish somet... more >>
vbc.exe error
Posted by Nate at 3/31/2004 5:11:10 AM
I'm having a problem when trying to compile a user control from the command line. I know I have the path mapped correctly but it immediately throws the error "vbc is not a valid Win32 application". This is driving me nuts
N... more >>
How do I freeze DataGrid's Columns?
Posted by RV at 3/31/2004 4:31:07 AM
Hi
I would like to know if anyone knows how to implement the funcionality of freezing columns of a datagrid (like in excel for eg.)
Thanks
... more >>
PadRight generating error
Posted by AdrianFriend at 3/31/2004 2:11:09 AM
Hi Al
Hopefully this is will be quite simple to answer !!! The following code produces the error "Object reference not set to an instance of an object
Dim objStream As StreamReader = New StreamReader(strFileName
Dim objStringBuilder As StringBuilder = New StringBuilde
Dim strLine As Strin
... more >>
to work with oracle..
Posted by pavana at 3/31/2004 12:46:09 AM
hi frineds.
Recently i baught .net enterprise developer licence. I baught this licence to work with oracle database in windowsforms.I instaleed this and still i couldn't access oracle databasde.Could you please help me out regarding this.I worked with sql server in the "stadered" version. But ... more >>
|