|
Can you please share the code with me.....i am searching for the same from long....not unable to get the information on google.
or you can suggest any site wherein i'll get the code
|
|
|
|
|
Is that possible to draw a graph by getting the values from database in windows application
|
|
|
|
|
|
|
I don't pretend to be a .NET expert, but I saw a query that the OP could have got an answer to by doing a painfully obvious search. Had to vent it out.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
hello
i have acrystalreport wich is conect to dataset
i have ther textboxes in section 1 and in section 4
i want to change the text of these textboxe by acode in run time
thanks
|
|
|
|
|
this.BackColor = colorDialog1.Color;
The main Form disapears and I have to go into the control bar at the bottom to find it.
How do I use ToolTip after I placed one onto the form as a non-visual component? How do I link it to a component & choose the text on the tip?
|
|
|
|
|
1) That's odd.
2) You should see a tooltip property on each control on the form.
|
|
|
|
|
not all components, such as oval VB shape, have tooltip property
|
|
|
|
|
|
watch ur language
|
|
|
|
|
Me? You're the one who said "VB".
|
|
|
|
|
1. Very very odd.
2. See below code. You can add this in the Form_Load Event.
toolTip1.AutoPopDelay = 5000;
toolTip1.InitialDelay = 500;
toolTip1.ReshowDelay = 500;
toolTip1.ShowAlways = true;
toolTip1.SetToolTip(this.btnRun, "Run");
toolTip1.SetToolTip(this.btnSelectDirToSave, "Select Output Directory");
toolTip1.SetToolTip(this.btnSelectTxtFile, "Select File to Process");
Hope this helps
Excellence is doing ordinary things extraordinarily well.
|
|
|
|
|
PIEBALDConsult's reply answered my question, and I like to do things Visually using the editor anyhow
|
|
|
|
|
OK
Excellence is doing ordinary things extraordinarily well.
|
|
|
|
|
Hi!
I want to create few pannels(or any other object) that can be resized during run time.
Where can I see example of how to so.
I want that the mouse image will change to like in the design options in the .NET.
and so I will be able to controll few pannels(objects) in a form and to arrange them like I want .
Can some one show me a good example of this or code example.
Thanks
|
|
|
|
|
All you need to do is handle MouseDown, MouseUp, MouseMove and Paint events. Use Cursor property to change the cursor the way you like.
A bit of Googling will definitely give you some examples.
जय हिंद
|
|
|
|
|
Hello.
I have a application with a webclient. In that webclient I am loading a homepage with about 5 frames, but one of the frames are refreshing constantly each 30second.
That gives me problem when I want to use the source from another frame - because when I use IsBusy and it is refreshing the frame with constantly refreshing while I am navigating another frame, does the application think that frame is done navigating too, and then I of course get an error.
It happens very often, and stops the whole program.
So is there any way only to check one frame if it is done loading ?
Hope your guys can help me out.
|
|
|
|
|
Hello,
I have a button that opens a new form.
I want to check if the new form (form2) is already open then it will open another new form (form3). But if those 2 forms already open it will write a message. How can i do it?
|
|
|
|
|
FindWindow is a function For Finding Window.
If you can think then I Can.
|
|
|
|
|
public static Form IsFormAlreadyOpen(Type FormType)
{
foreach (Form OpenForm in Application.OpenForms)
{
if (OpenForm.GetType() == FormType)
return OpenForm;
}
return null;
}
Form2 UForm = null;
Form3 YForm = null;
On Form2 Show click event
if ((UForm = IsFormAlreadyOpen(typeof(Form2)) == null)
{
UForm = new Form2();
UForm.Show();
}
else
{
UForm.Select();
}
On Form3 Show click event
if ((YForm = IsFormAlreadyOpen(typeof(Form3)) == null)
{
YForm = new Form3();
YForm.Show();
}
else
{
MessageBox.Show("Forms are open");
}
Thanks,
A.m.a.L
|
|
|
|
|
Didn't you asked same thing few threads down?
जय हिंद
|
|
|
|
|
Hi All,
I have a class Class1. In Class1 constructor I am calling InitializeComponent().Which will be used to add controls to form at runtime. I have one more method Initialize(). In this Initialize() I am filling the value for the combo box.
My problem is the value is not updated in combo box.
Could any one help me to solve this issue.
Code snippet:
<pre>
Public Class1()
{
InitializeComponent();
}
Public void Intialize()
{
string[] employees = new string[]{"Hamilton, David", "Hensien, Kari"};
SampleComboBox.Items.AddRange(employee);
SampleComboBox.SelectedItem=employee[0];
SampleComboBox.SelectedIndexChanged += new System.EventHandler(this.SampleComboBox_SelectedIndexChanged);
}
This code is present in Designer.cs
Private InitializeComponent()
{
this.SampleComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.SampleComboBox.DropDownWidth = 97;
this.SampleComboBox.FormattingEnabled = true;
this.SampleComboBox.Location = new System.Drawing.Point(84, 16);
this.SampleComboBox.Name = "SampleComboBox";
this.SampleComboBox.Size = new System.Drawing.Size(91, 21);
this.SampleComboBox.TabIndex = 2;
this.Controls.Add(this.SampleComboBox);
this.Name = "SampleApp";
this.Size = new System.Drawing.Size(190, 51);
this.ResumeLayout(false);
}
private System.Windows.Forms.ComboBox SampleComboBox;
</pre>
Thanks,
Anandi
|
|
|
|
|
You need to call the Initialize method after InitializeComponent
Public Class1()
{
InitializeComponent();
Initialize();
}
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn) Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia) Why are you using VB6? Do you hate yourself? (Christian Graus)
|
|
|
|
|
how to validate the function on the front end in c# throe coding its important and urgent
|
|
|
|