all groups > dotnet windows forms > august 2004 > threads for august 1 - 7, 2004
Filter by week: 1 2 3 4 5
winform constructor
Posted by usha at 8/7/2004 2:54:01 AM
Hi,
Can a winform have 2 overloaded constructors?
Thanks
ushas
... more >>
How to embed old C++ window into .NET form?
Posted by Lei Jiang at 8/6/2004 7:08:06 PM
I have a drawing application written in C++, and want to use it in a
framework written in C#. Since the amount of C++ code is very large, it's
unpractical to translate them to C#. So I want to use the window in C++ as a
control in C#. It seems there are a lot of method to do this :
1. Rebuild ... more >>
Custom Components, Threads, and Invoke
Posted by Wavemaker at 8/6/2004 6:40:38 PM
I've created a custom component that is derived from the Component
class. This component can be added to a form. What I've noticed is
that I run into problems if I call methods on the component from a
different thread than the one in which it was created.
I'm aware that you should never access... more >>
Directory Selection Dialog
Posted by JezB at 8/6/2004 3:14:51 PM
How do I invoke the standard windows dialog which allows the user to browse
the filing system and choose a directory or a file ?
... more >>
ExecuteCommand on Windows Service
Posted by Steve C. Orr [MVP, MCSD] at 8/6/2004 2:38:18 PM
I have a windows forms app that interacts with a windows service that I
made.
My windows forms app can iteract with the windows service well. It can
start & stop the service, etc.
But one thing it cannot do is call the ExecuteCommand method of the windows
service.
I get an "access denied" err... more >>
Scroll RichTextBox
Posted by JezB at 8/6/2004 12:37:15 PM
How do I programatically scroll a RichTextBox to the end of it's contents ?
... more >>
Some more Question Retrieve list of excel app in Running Object Ta
Posted by stan_siu at 8/6/2004 11:27:02 AM
My question on hand is to retrieve a list of running Excel instances to
attach from a
..NET C# application.
I did some research on the group and learned from Mr Yu[MSFT] of a code
snippet that enumerating the ROT using UCOMIRunningObjectTable interface.
My problem is that when I pass the... more >>
Property grid navigation
Posted by John J. Hughes II at 8/6/2004 9:56:27 AM
I have implimented a custom data grid and property gid on several of my
forms. I find it really nice when updating multiple record. I select a
dozen record or so and the property grid gives me the fields to change and
the ones I change affect all.
The problem is I have several customer compl... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Event used to change pages in a page form?
Posted by Stephen Russell at 8/6/2004 9:09:32 AM
I have a multi page form, and in some processing I need the user to switch
to a different page.
This code doesn't seem to get the switch to happen.
this.dsVehicle = this.oSingle.GetVehicle(lnKey); // update dataset for
editing
this.VehiclesPage.Show(); // sw... more >>
About Dialog and Version/Build Information
Posted by chazmanian at 8/6/2004 8:53:03 AM
Is there an easy way to garner the build information from the assemblyinfo.cs
file in my Windows forms application and then display that in a label or
labels in an "About" box?... more >>
@ symbol in command line arguments
Posted by Brian Jones at 8/6/2004 8:53:02 AM
I have a c# winform application. I want to pass a file-path on the command
line, however when the app checks the command line arguments, the argument
has a '@' prefixed to it.
Anyone know why?
... more >>
passing information between forms
Posted by jhs at 8/6/2004 8:49:01 AM
I'm developping in C#.
I need to provide information between 2 form (formely Form1 and Form2)
I need to do the following:
Form 1 creation
....
Form1 call Form2 passing information(way1)
....
Form2 data validation
Form2 unload and passing validated data (way2)
....
Form1 unload
Way 1... more >>
Crash deep in S.W.F.dll: UnsafeNativeMethods.CallWindowProc
Posted by Matt Holmes at 8/6/2004 7:57:03 AM
I am getting a very strange crash deep inside the S.W.F.dll when closing a
window. Basically when the Window 'X' is pushed, or I call 'this.Close();'
from inside the form, I get a crash inside the main WinForms DLL. I have done
some deep debugging via the disassembly of that DLL, and it appear... more >>
Windows RadioButtons Group
Posted by Aleck at 8/5/2004 10:25:01 PM
Hie
Can you please assist me on how to automatically select/check a radiobutton
depending on a value from a SQL Server database. I have several groups of
windows radiobuttons in VB.Net. This is easier done in a web application but
not so obvious in a windows application.
Thank you
--
... more >>
create an instance of type 'System.Attribute'
Posted by msnews.microsoft.com at 8/5/2004 8:43:44 PM
I created a BindingListView that subclasses from ListView ... when switch to
designer mode I get ...
The designer must create an instance of type 'System.Attribute' but it
cannot because the type is declared as abstract.
Poor designer. Anyone know how I can help him out?
... more >>
DataGrid array
Posted by Roy Clemmons at 8/5/2004 6:26:04 PM
Greetings,
I have an array of DataGrid classes. Each DataGrid in the array needs to
handle the SizeChanged event.
How do I dynamically accomplish this using vb.net? In other words, how do I
programmatically set a handler for each DataGrid in the array?
Thanks!
---
Outgoing mail is c... more >>
Netadvantage Ultracombo & date time problem
Posted by John at 8/5/2004 5:55:23 PM
Hi
I have this application that I am fighting with for days now. Here is the
whole project; www.infovis.biz/tasks.zip. Please run and press the new task
button to see what I mean. Much of the code is either form taskvision or
infragistics samples btw and requires netadvantage 2004 vol2.
I h... more >>
performance problerm with custom control
Posted by Sigrid at 8/5/2004 4:49:41 PM
I have a custom control A, that has two text fields and a datagrid object.
the datagrid is populated within the control, quering the information from
the database at the time of construction. Now I have a Form, with a tabbed
control, let's name it B. On the object B we need to display N instances... more >>
ContextMenuItem and shortcut
Posted by dirk at 8/5/2004 4:33:19 PM
Hello
How do you get the control if the click event handler for ContextMenuItem
was invoked by the assigned shortcut? In this case the SourceControl
property may be incorrect if the context menu is shared by more than one
control. The SourceControl will be the last control that displayed the
... more >>
Justifying Text in a RichText control
Posted by lori.pearsall7 NO[at]SPAM gte.net at 8/5/2004 2:34:58 PM
I'm attempting to format rich text with C# by sending messages to the
underlying richedit control.
The text can be formatted by sending an EM_SETPARAFORMAT message.
However, when I set the wAlignment to be PFA_JUSTIFY, it doesn't work.
I know that this option only works with Rich Edit 2.0 or l... more >>
Calling Function on other Form C#
Posted by Ed West at 8/5/2004 11:36:02 AM
Hello
I open a new form and do some stuff, and when I am done I want to call a
function on the original form... how can i do this? Do I need to send
in the calling form as a reference or something? if so, how exactly do
i do this? thanks.
**Form1:**
public void UpdateSchedule()
{
... more >>
Process.Start problems
Posted by Elmo Watson at 8/5/2004 11:29:48 AM
I'm just starting to learn VB.Net (winforms) - having known classic vb for
years...
I was trying to build a 'dll compiler' just for grins, using the vbc.exe
that resides in the DotNet Directory.
I have a form that browses to that directory, and builds a string from it,
adding "vbc.exe", alo... more >>
Find the DotNet Directory
Posted by Elmo Watson at 8/5/2004 10:05:49 AM
How do I programmatically find the most recent DotNet Directory on the
machine of the app that's running?
Is there a variable/method/property?
... more >>
Owner-Drawn Buttons in C#
Posted by Jeff at 8/5/2004 9:55:35 AM
Hello,
I need a button control that will allow me to display mutiple icons/bitmaps
simultaneously.
Say for example you had a standard Forms.Button with text "Device 1" and you
need to display
small icons in each corner of the button to show state/status of Device 1.
Is an owner-drawn butto... more >>
How do I simulate a tab event in code?
Posted by Bill at 8/5/2004 9:35:58 AM
I would like to trap TextChanged events and validate them for correct values
from values coming in from a pen panel. If the values are valid, I want to
automatically tab to the next control.
But.... How do I raise the tab event in software?
... more >>
Frustration..
Posted by Jeff at 8/5/2004 9:13:32 AM
Hello,
Bitmap.MakeTransparent( ) causes some really wild graphical anomalies.
This must me a bug. Does anyone know a work-around?
Can anyone shed some light on this issue?
To see this in action just do the following:
1. Create a new Windows Application Project
2. Add two buttons to th... more >>
Controls can't be deleted
Posted by Daniel Mantilla at 8/5/2004 9:01:24 AM
I am trying to delete some controls from a windows form but the VS 2003
designer doesn't allow me to do that. Simply the Cut, Copy, Paste and Delete
options aren't available. The form isn't readonly. I am just hiding the
controls I don't want anymore but the form is getting clogged.
Any help w... more >>
Problem Persisting a nested control using the DesignerSerializationVisibility attribute
Posted by webmaster NO[at]SPAM vbusers.com at 8/5/2004 8:20:08 AM
I have a progress bar which is nested control and I want to persist
the design time properties of this nested control. I thought all I
needed to do was mark it with the
DesignerSerializationVisibility.Content attribute, as below:
[DesignerSerializationVisibility(DesignerSerializationVisibility... more >>
transparent .gif question
Posted by Deanna Delapasse at 8/5/2004 2:28:32 AM
Hi,
I've got some custom control buttons created with circular gif images. When
I place them on top of a panel using a .wmf file as its background I see the
form's color poking through the transparent corners of my buttons instead of
the pretty .wmf image.
Any ideas why that would happen?
... more >>
How to enter a new value in a combobox at runtime?
Posted by Hans at 8/4/2004 4:41:02 PM
Hi,
I have a question.
How to enter a new value in a combobox at runtime in VB.NET ?... more >>
Icon in Task Bar
Posted by jcriv at 8/4/2004 3:17:01 PM
Hi,
I have a VB.Net winforms program that monitors some report folder. All
works well in that respect.
I have the program start 'Minimized' and I also have the program
automatically start when the system starts. However, the program sits
Minimized as a big block in the Task Bar (Bar at ... more >>
Button Click to switch pages in a pagframe?
Posted by Stephen Russell at 8/4/2004 2:40:40 PM
I have a multi-page form where I need to switch the user to the second page
after I fetch it's data.
Here is my code :
this.dsVehicle = this.oSingle.GetVehicle(lnKey);
this.PropertiesPage.Show();
But it doesn't work. Any ideas on how to get the switch of page?
TIA.
... more >>
child form doesn't appear in the task bar
Posted by Zeev Bunich via .NET 247 at 8/4/2004 12:27:29 PM
I have 2 forms Form1 and Form2
Form1 is the owner of Form2 and should activate it on Button1_Click
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
' Create another form and display it
Dim newForm As New Form2
... more >>
.Net HTML Ressources Vs res:// protocol
Posted by Vincent at 8/4/2004 12:15:04 PM
Hi, I want to do something and I didn't find a solution yet.
I want to have a webbrowser which displays HTML pages that are stored in my executable's ressources, using the res:// protocol to access them.
I want to do it in VB.NET.
I find that specifying 'Embedded Ressource' at the 'Build Action' ... more >>
Seting Focus
Posted by Ed at 8/4/2004 12:03:02 PM
Hi,
Is there any codes or functions for ASP.NET that can set the focus on a
control.
e.g. after i hit a Search Button to find an employees information, i want
the cursor to be on the control name of "LastName"
like LastName.Setfocus???
Thanks
Ed... more >>
Synchronising files
Posted by JezB at 8/4/2004 11:12:50 AM
I want to synchronise files between directories as part of my .NET
application. Ideally I'd like to invoke an XCOPY-like operation which copies
only new and changed files from source to target. Is anything like this
available as part of the framework ? If not how do I invoke a windows
command fr... more >>
Button Properties
Posted by Darryn Ross at 8/4/2004 10:22:20 AM
Hi,
I was wondering if the "default" property of a button has been changed to
something else or if it has even been included in the .Net classes for C# as
it was in VB 6??
Regards
Darryn
... more >>
UIProcess Application Block
Posted by dm_dal at 8/4/2004 9:25:12 AM
Sorry for the cross-post, but I wasn't sure which group would be best.
I'm working with the UIProcess Application block in a C# WinForms
application. I was testing a first go at it when I came across this error.
I'm wondering if anyone has any ideas.
[Error Message]
"Error loading UIP conf... more >>
CheckedListBox control not drawing correctle when checkbox is clicked
Posted by Julian Anstes via .NET 247 at 8/4/2004 7:49:51 AM
I've a CheckedListbox control on a windows form which displays a=
number of items that I load dynamically=2E Now, when I go to=
select (i=2Ee=2E check) and item in the list, if I click on the=
actual text of the item, then the checkbox for that item is=
checked as expected=2E If, however, I ... more >>
Call an .exe from a Winforms application?
Posted by Barry Chen via .NET 247 at 8/4/2004 5:35:48 AM
(Type your message here)
Hi Folks,
I got an old third-party application which is an executable=
(=2Eexe)=2E I would like to simply activate this application in my=
Winforms application=2E So as a first step, I drop a ?process?=
control from the Component group of the toolbox on my form a... more >>
Open parent window then child window - parent loads after?
Posted by Robert Mirabelle via .NET 247 at 8/4/2004 5:32:17 AM
Hi,
I'm loading a parent form, which launches a child form from its=
OnLoad handler, but the parent window always finishes opening=
after the child and therefore pops in front of it=2E How can I=
wait until the parent form is fully loaded and visible before=
launching the child?
Thank... more >>
Newbie - Add C# project to VC++ .NET solution???
Posted by ob long via .NET 247 at 8/4/2004 5:21:47 AM
Hi,
Thanks in advance for any help given=2E=2E=2E
I need an enhanced type of list view where i can select a cell &=
get its column/row/content information=2E A colleague has given me=
a 'ListViewEx' example in C# which has the following files:
AssemblyIinfo=2Ecs ListViewEx=2Ecs ListViewEx=2... more >>
Set form's MdiParent property?
Posted by X X via .NET 247 at 8/4/2004 5:19:36 AM
This is the form "hierarchy":::::
Main Window (MdiContainer)
- MDI child form
- Form (this form's MdiParent has to be set to "Main Window", but how?)
I open a little form from an mdi child window. When I open the form, I want to set the form's MdiParent property to my "Main Window",... more >>
System.IO.FileInfo error
Posted by Joel Jordan via .NET 247 at 8/4/2004 5:09:17 AM
I have a web application that copies a file from a mapped drive=
to the local drive=2E Files are about 1MB=2E
'start code
dim mSharedWorkingDir as string =3D "M:\2004\July\Word\"
dim szFile as string =3D "AAPL071520040741AM=2Edoc"
dim mCreatorDir as string =3D "d:\creator\"
dim fi as filein... more >>
Problem with Windows Forms Designer...
Posted by electrovik via .NET 247 at 8/4/2004 5:03:42 AM
I have a custom control called, lets say, SportBillyComboBox, which
inherits from ComboBox. When I add my control from the toolbox, I get
an error (System.NullReferenceException : Object not set to an
instance of an object) on my form replacing the control, but my newly
added SportBillyComboBox... more >>
cast DataGridItem.DataItem to type
Posted by tom via .NET 247 at 8/4/2004 5:00:07 AM
Hi
I'm binding an array of objects to a datagrid. I then want to select a few of these items before proceeding to the next page.
My problem is that I can't cast the DataGridItem.DataItem from the datagrind into a custom type.
Here's the code:
// this is the datagrid
protected System.Web... more >>
Reset MouseHover trigger?
Posted by Darren Croese.247 via .NET 247 at 8/4/2004 4:48:05 AM
Greetings,
I have a large Paintbox control as the background of a form in=
VB=2ENet=2E This paintbox control has various shapes on it and I=
wish to detect when the mouse is hovering over a shape=2E
This works fine for the first mousehover event but once the event=
has been triggered, it... more >>
c# PropertyGrid
Posted by sonia NO[at]SPAM mer.co.il at 8/4/2004 2:27:29 AM
Hi.
How can automatic open all PropertyGrid trees?
Thanks Sonia.... more >>
VS 2003 Designer bug? -- Duplicate declaration error
Posted by Deanna Delapasse at 8/4/2004 1:34:02 AM
Hi,
I have a very simple custom control (just a button with a bitmap
background). Sometimes when I add several of the controls to a form and run
the app the last one or two controls appear to lose their properties and are
redrawn blank at the top left of the form. I finally noticed that w... more >>
How to Marshal a call to Timer
Posted by BilMuh at 8/3/2004 11:51:03 PM
Hello Esteemed Developers and Esteemed Experts,
I have a background-running-thread in my application that is designed and developed at Windows Forms (.NET) by using Visual C++ .NET Standard on Windows 2000 Professional O.S.
Whenever the required job is done in that background-running-thread,... more >>
Inherit controls can use but it can not be showed in IDE
Posted by Joe at 8/3/2004 9:21:01 PM
Dear all
I use a inherit controls to inherit a mustinherited control, however it can not be showed in ide with the error:
An error occurred while loading the document, Fix the error, and then try loading the document again. The error message follows: The designer must create an instance of type , ... more >>
Consuming Returned Data in a WindowsForm App from a web service
Posted by Wayne Taylor at 8/3/2004 12:51:10 PM
Hi All,
I have a weather web service, if I do the following I get the data return OK
as XML...
Dim WeatherData As New weather.WeatherInfo.GlobalWeather
Debug.WriteLine(WeatherData.GetCitiesByCountry("United Kingdom"))
What I don't understand is how to consume/read the data. I presu... more >>
How do you use one dataset in multiple forms?
Posted by John Holmes at 8/3/2004 11:43:46 AM
I have an application with a form that has bound controls to dataset.tables.
I have an Add button that brings up a modal form and I'd like to work with
the same instance of the dataset to insert new records and use combo boxes
that are populated from that dataset. The dataset gets filled when the... more >>
DataColumn Expression
Posted by Joel Rumerman at 8/3/2004 10:40:42 AM
Is there a way to insert a blank line (\n) into a DataColumn expression?
i.e. Dim dc as new DataColumn("test1", Type.GetType("System.String"),
"Address1 + '\n' + Address2"))
I can't seem to get .NET to recognize the escapt character
Thx, Joel
... more >>
COM with C#
Posted by jmmb at 8/3/2004 9:57:38 AM
There is a template to create COM components with VB.NET in VS.NET, but not
in C#. Anybody know a template that I could use to do that in the same way
it`s done with VB.NET?
thanks,
... more >>
Impressive Decompiler
Posted by jmmb at 8/3/2004 9:54:10 AM
http://www.remotesoft.com/
Anybody tried the decompiler above. It seems to just decompiler any .NET
code, even when using dotnet offuscator. Is there any way of protecting my
intelectual property agains these decompilers?
thanks very much.
... more >>
localization
Posted by jmmb at 8/3/2004 9:49:46 AM
How can I capture an operating system message when changing the regional
settings in control panel in order to refresh the interface of my localized
application. And, How can I refresh the controls in the form without having
to load it again? Just like MS Office does.
thanks a lot.
... more >>
currentcell property of datagrid
Posted by shail at 8/3/2004 9:47:01 AM
I am using a datagrid control currentcell property . I get the following error
System.Web.UI.WebControls.DataGrid' does not contain a definition for 'CurrentCell'... more >>
ListView control
Posted by Ohad Young at 8/2/2004 6:15:56 PM
Hi,
I need to display multiple items, each has a textual description, icon and
enable multiple selection.
So far the ListView control seems to be the ideal control to use.
However, another requirement is that some of the items will have a checkbox
next to them while others will have a button ... more >>
Need some advice on a toolbar on a form
Posted by William Gower at 8/2/2004 6:07:36 PM
I have a toolbar on a form. It has buttons like Close, Save, Cancel, Add,
Edit, Delete etc. When the form is displayed the user can't save or cancel
anything yet. and when the use clicks on add they can save or cancel but
they can't do anything else. Should I make the buttons visible/invisible... more >>
Getting PK of last inserted record via dataset
Posted by Daren Hawes at 8/2/2004 5:35:01 PM
Hi guys,
I am doing the following and need the PK ID of the record I just
inserted..
Thx in advance..
I am
1. Filling a dataset
2. Inserting a row
3. -- Need the just inserted PK --
4. Making a online payment with the PK as a reference
5. If all is well (Payment side) Updating ... more >>
Smart Client
Posted by Chris B at 8/2/2004 5:29:02 PM
I have a Windows Forms application that can run as a SmartClient.
I am able to share the application .exe over a LAN by doing the following:
1) Create a reaonly share on the folder that contains the .exe
2) Have network users connect to the share and run the .exe
This all works, but leaves a... more >>
Find a Parent Control of Control
Posted by dinoo at 8/2/2004 2:13:03 PM
Some one help me out.
I have a windows form.I added Panel to a windows form.
I put a textbox in a Panel.
When ever I try to get Parent of textbox. its always returns me the handle of Form not the panel.
Is there any way to get the Parent Control of a control on the Form?
Am I missing anyt... more >>
DrawImageUnscaled appears to draw image to incorrect size
Posted by moondaddy at 8/2/2004 1:37:13 PM
Using vb.net 1.1 I'm trying to draw an image to a form using the
'DrawImageUnscaled' method. it seems that some images are drawn to the
correct size, and some are 10 or 20% larger and I haven't found anything in
the different images that would contribute to this. All the images I'm
testing wit... more >>
keyboard input
Posted by Daniel Bello Urizarri at 8/2/2004 12:17:32 PM
Hello:
Im working on a a control that is kind of console, with three
richtextboxes, two of them readonly for output and the other one, for input
data, My problem is that whem some of the readonly have the input focus and
the user press a key, I want the input focus and the key on the input
r... more >>
How do I print my entire project .VB files simultaneously
Posted by Raj at 8/2/2004 8:37:05 AM
I have about 20 code files, and I don't want to print them 1 by 1.... is there a way to do this in one click?
Thanks
... more >>
Premature resize event only on Japanese system?
Posted by Bert Hyman at 8/2/2004 7:57:17 AM
I have an application that's failing only when it's run on a Japanese
Win2KPro SP4 system because a form is receiving a resize event
"prematurely", or at least before the form is prepared to receive it.
With dotNet 1.1 installed, the application works as expected on
US-English, German and Ital... more >>
Weird problem?
Posted by haiwen at 8/2/2004 7:43:05 AM
Hello, everyone:
I met a weird problem, I have a panel include one treeview and one button, I want to click the button and set the panel visiable=false. If I click the treeview first then click button, it works fine, but if I click the button before click the treeview, it causes problem because t... more >>
how to set loop is true for wmp
Posted by haiwen at 8/2/2004 7:37:01 AM
Hello, everyone:
I need to set up my Windows media player replay automatically, but I couldn't find the loop property, could anyone help?
by the way, when the endofStream event fired, it seems I never get this event fired even the player is stopped.
Sincerely,
haiwen... more >>
GetHelpKeyword Problem
Posted by Susan at 8/2/2004 7:33:04 AM
Probably a stupid question, but I'm just learning C# and .Net. I'm trying to create a "What's This" button on my form next to input box the user is supposed to fill in. I have the question mark up top working, but am trying to make the form as user friendly as possible. The code segment is as follow... more >>
Loading bitmaps at run time
Posted by Gravy at 8/2/2004 7:17:02 AM
Hi,
I have a requirement where by I wish to load a set of bitmaps (and imagelists!!) whilst my application is running. I wanted to make it a little flexable by allowing the bitmaps (resources) to be distributed in a seperate assembly. The assmbly name etc would be specified in the config file. Th... more >>
How do I trigger a mouse click?
Posted by Kingherc at 8/2/2004 4:43:03 AM
Hello!
I'm trying to generate a VB.NET code to trigger/make a mouse click. Can someone write me a sample code to do that? It'd also help me if you knew how to trigger a right mouse button click. Thank you!... more >>
Single exe.config file multiple application
Posted by Nilay Shah at 8/2/2004 3:25:02 AM
Hi,
I have multile windows application (exe)files. Currently I have multiple config files, one for each exe file. As all application are related, content of all config files are same.
Maintaining the multiple config file is a headache. Is there any way that I can just have one config files for ... more >>
Wath patch are installed
Posted by nicolas at 8/2/2004 2:01:02 AM
Hi,
With wmi i don't know what patch are installed . someone have a solution to know who verifiy if one patch are installed or not.
thank you
nicolas
ps : sorry for my bade english... more >>
I want windows xp Visaul styles in Windows 2000
Posted by VIJAY KUMAR at 8/1/2004 9:45:01 PM
I want to develop an applications in windows 2000. My entire form (Title bar, buttons, checklists,DropDown )should appear in windows Xp syle.
Can anybody help me? ... more >>
Problem with control form1's object from form2
Posted by Umut ERGÜN at 8/1/2004 3:21:18 PM
hi!..
i have got 2 forms in my project and i want to change textbox1 value in
form1 from form2
i did like that
while form1 and form2 show mode
Public class form2
dim form1 as new form1
form1.textbox1.text="MP"
end class
what is the problem there is no error but no events too
... more >>
How can I store global variables in WinForm application
Posted by Tony at 8/1/2004 4:09:01 AM
Hi all,
I want to store some global variables in WinForm application like in Asp.Net.
For example, when user has successfully logged ini, userID and userName will be stired in global variables.
How can I do this?
Thanks!
... more >>
|