|
how do i get the event handler
|
|
|
|
|
Well, I would respond with a bit of general advice. More so than ever, there are people downloading VB Express, looking at the IDE and deciding they can write a windows program. Most of these people will fail. If you want to learn to code, you need to learn the language before you play with it's frameworks, write console apps before windows apps. It seems to me that it's likely you're at this level, and should take a step back.
The easiest way to create an event handler for a button is to double click on it in the design view.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Stop, backup, and learn the basics[^] before you beat us to death with easy questions.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I've been trying to implement the autocomplete functionality on Pocket PC application but I can't get arround the framework restriction.
Can anyone help?
Thanks.
|
|
|
|
|
What Framework restriction???
Also, your question would be better handled in the Mobile Development[^] forum.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Dave Kreskowiak wrote: What Framework restriction???
I can't use the Findstring methods or the selectionstart and selection lenght properties in the Compact Framework
|
|
|
|
|
Hi all
In my app i am creating a thread and cheking the status.
When i tried to check the status of the thread after the execution of the method that it is reffering, It is giving that thread state is Stopped.
what doest it mean.
Is that the thread object is still alive.
1) If so how to destroy the thread object once its state is "Stopped".
2) The other issue is how to restart a thread which is in stopped state.
|
|
|
|
|
varmag wrote: 1) If so how to destroy the thread object once its state is "Stopped".
You don't have to do anything. The GC will collect the Thread object once it falls out of scope.
varmag wrote: 2) The other issue is how to restart a thread which is in stopped state.
Not possible. Once a thread is stopped, there's no restarting it. You have to create a new thread is you want it to run again.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi,
I have a DataGridView (using VB.NET 2005) which is filled with data from a DataSet. When I doubleclick on a row of the DataGridView (FullRowSelect is enabled) I want to copy the values of the row into Textboxes on the same form.
Can someone please help me on this one? Urgent ...
Thanks!!
G72360
|
|
|
|
|
textbox1.text=datarow1.selecteditem.text or something like that
SelectedItem.text
SelectedValue.tostring
Need a counter two...
Dim i as Integer
For i=0 to datagrid1.selecteditems
txt'put them in textboxes
Next
i dont know...
FeRtoll Software.net
--------------------
I fertoll@net.hr I
--------------------
|
|
|
|
|
datagridview has no selectedItem or selectedValue ...
|
|
|
|
|
did u tryed DataGrid1.Item(the selected row,column)?
FeRtoll Software.net
--------------------
I fertoll@net.hr I
--------------------
|
|
|
|
|
Thanks! your last message cleared it all up for me
i'm using dgrdUsers.Item(1, dgrdUsers.CurrentRow.Index).Value now and it works fine!
|
|
|
|
|
well good for you... good luck
FeRtoll Software.net
--------------------
I fertoll@net.hr I
--------------------
|
|
|
|
|
I want to change the fonts of the VB forms dynamically.My intension is to change the font depending on the System's Regional and language settings during runtime.I have tried the Form1.Font = "Tahoma" .Even though it didnt give any error, it did not make any changes.Please help.
Regards
Ranjan
|
|
|
|
|
chk this
http://uk.builder.com/programming/windows/0,39026618,39233186,00.htm
|
|
|
|
|
Setting the font of the Form will not change the font of the controls on it. (Each control will have it's own Font property.) It only changes the font of the titlebar and any text directly written, using only certain methods, to the form surface itself.
Also, you change the Font by creating a new Font object, not specifying a string. One possibility is:
myForm.Font = New Font("Tahoma", 8)
The Font class has about a dozen constructors, so you can find out more here[^].
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-- modified at 14:44 Monday 6th March, 2006
|
|
|
|
|
Hi,
I am using VS2005 and want to use the System.Web.UI.Design namespace to provide a user interface to edit list items.
However, VB 2005 doesnt recognise the name space. It underlines the namespace with a blue line and the message is :
"Namespace or type specified in 'System.Web.Ui.Design' doesnt contain any public member or cannot be found. Make sure the namespace or type is defined and contains at least 1 public member. Make sure imported element name doesnt use any aliases"
Is there an equivilant to this namespace?
|
|
|
|
|
System.Web.UI.WebDesign or Web...something
FeRtoll Software.net
--------------------
I fertoll@net.hr I
--------------------
|
|
|
|
|
I think you have to add a reference to the dll that contains the System.Web.UI.Design namespace - it isn't added by default to every project.
'--8<------------------------
Ex Datis:
Duncan Jones
Merrion Computing Ltd
|
|
|
|
|
Hi,
In which country the code project organization located.
|
|
|
|
|
|
I have created a shared for word, add a new command bar.
How can I remove it?
Not only remove the command bar, but the whole add-in.
|
|
|
|
|
Hi,
I want to know the path of Desktop , My Computer , Network Neighbourhood then I want to use them in Directory class .In Directory class I will use the path to explore them by using the function
Directory.GetDirectory("Path").
Thank You
Pankaj Garg
-- modified at 3:52 Monday 6th March, 2006
|
|
|
|
|
this is my path to desktop:
D:\Documents and Settings\FeRtoll\Desktop
Startmenu:
D:\Documents and Settings\FeRtoll\Start Menu
MyDocu:
D:\Documents and Settings\FeRtoll\My Documents
Cookies:
D:\Documents and Settings\FeRtoll\Cookies
now i dont know how will u...
need to get user name first
and then dim Xpath as string in form load
xpath="D:\Documents and Settings\"+UserName+"\Desktop"
the user name i dont know how to get.
FeRtoll Software.net
--------------------
I fertoll@net.hr I
--------------------
|
|
|
|