|
Please read this, and then rewrite your question.
--------------------------------------------------------
My development blog
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|
|
hi all,
when i update the dataadapter.he throw this error. i don't now how can i hendel this error.
pls help
vipin paliwal
|
|
|
|
|
Hi - I am having a problem with my project whereby the form name changes to 0 when the program is running - the code is ME.text = "Calculator" and this stays in the top blue line for a random period of time then changes to 0 - this is especially annoying when the app is minamized just seeing 0 on the task bar.
Is there a compiler switch I need to set - the problem only occures with my program.
Can anyone help me please?
Regards
|
|
|
|
|
You must have some code that does that somewhere...
--------------------------------------------------------
My development blog
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|
|
If only it were that simple - no, my code is not doing this.
|
|
|
|
|
Form names do not magically change, they have to be told to do so. Any chance thisprogram is doing something out of the ordinary that you maynot 100% understand?
Other programs can get a handle to your form and change its name, but this is less likely.
Current blacklist
svmilky - Extremely rude | FeRtoll - Rude personal emails | ironstrike1 - Rude & Obnoxious behaviour
|
|
|
|
|
I may have responded too soon and I appoligise, you were right, my code was doing this. Thank you for your help.
|
|
|
|
|
Seemd like the only logical explenation
--------------------------------------------------------
My development blog
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|
|
Hi,
I've found a very interesting exaple in c#.net.
http://www.quantumsoftware.com.au/ProductsServices/WindowsFormsComponents.aspx[^]
But I want to use it in vb.net project.
So I want to convert all that needed into vb.net format.
But I have some problems with it.
Could anyone help me to convert.
I only need one example of right actions.
For example, can anyone convert for me ExtendedDataGridFormSample form and component?
Thanks
|
|
|
|
|
Why don't you just reference the assembly from that site and use it?
--------------------------------------------------------
My development blog
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|
|
If I may use these files only adding them all to my vb project then could you please tell me what I need to do to use them?
|
|
|
|
|
You need to add areference to a compiled DLL. Then you can use those classes as any other .NET or your class.
--------------------------------------------------------
My development blog
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|
|
Thank you so much
|
|
|
|
|
How to validate the given text to the text area? for example check the phone number is it has only integers.
I'm new student to VB.NET
Please help me!
Sadee
skaushalye
|
|
|
|
|
Use the keypress event of the text box read this article[^] for more information.
|
|
|
|
|
sir, could u pls tell me ho wto create button back in vb.net?i m very new to this vb.
Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
End Sub
-- modified at 23:26 Monday 24th April, 2006
|
|
|
|
|
Keep this in the same thread please!
And you still haven't said what you mean by "back"... Back what?
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
owh, i mean, that button will go back to the previous window,which is frmMain, when user click on it.i m vy sorry to bother u sir.thank u for ur help
-- modified at 23:56 Monday 24th April, 2006
|
|
|
|
|
You can call it anything you want, but usually they're called "OK" and "Cancel". The simplest form of this is to put these 2 buttons on a form and in the click events set the forms DialogResult property. You also set the form's AcceptButton property to the OK button and its CancelButton property to the Cancel button (after you put the buttons on the form!)
Private Sub OKButton_Click(blah, blah) Handles OKButton.Click
Me.DialogResult = DialogResult.OK
Me.Close()
End Sub
Private Sub OKButton_Click(blah, blah) Handles OKButton.Click
Me.DialogResult = DialogResult.Cancel
Me.Close()
End Sub
In the form that puts this form up:
Dim myNewForm As Form2
If myNewForm.DialogResult = DialogResult.OK Then
' Do whatever based on the data in myNewForm
End If
myNewForm.Dispose()
There's a more to forms and buttons than this, but way too much for a forum environment.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
I have create an application which receive a command argument,
The sub main will check the process list, if the same with my application process name,
it will terminate. It is my stupid method to control single instance.
But how can I get the second command argument?
For example,
First time, command argument is "Hello"
and the application shows "Hello"
Second time, command argument is "World!"
but the process list contains my process name, and so it terminate.
How can I send the "World!" to existing instance of my application?
Can I add any listener to do that except adding a watch file handler?
Please advise, Thank you!
|
|
|
|
|
All you have to do is search the articles for "single instance" and you'll find a few examples of what you're talking about. Or click here[^]...
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Hi everybody ,
can you tell me please how to update a database with a command builder ?
actualy i know the code to do it ,or the codeS to do that & i want you see this S cuz i found many codes do that
i havn't understood all the statements can you axplain to me please ??
thank you very much;)
try to be good if you can't be the best
|
|
|
|
|
please i want to know how can i bind a file music with a event in ma application
for example from load untill unload or when we click a button or .....
can you help ??
thnx even if you can't
try to be good if you can't be the best
|
|
|
|
|
Hi ,
sorry the title wasn't clear enough isn't it ??
anyway thank you , i will give you an example to let you better understand
i have two forms in the first i have a textbox & a button & in the second i have a label & a button too
i want when i pick the button in the first form ,the second form shown & when i pick the button of the second one , the content of the textbox in the first form shown on the label
i hope you understand this stupide english please if you know how just tell me
thank you again
try to be good if you can't be the best
|
|
|
|
|
In Form1's Button Click event, write the following code.
[code]
Load Form2
Form2.Show
[/code]
In Form2's Button Click event, write the following code.
[code]
Me.Label1.Caption=Form1.Text1.Text
[/code]
|
|
|
|