|
This is an example of how it works and then it has to put everything on screen accordinly
<xml>
<name>button1
<text>button
<name>button2
<text>Exit
<textbox>
<name>Texty
<textbox>
<name>txtName
|
|
|
|
|
Hi all,
I have a datagridview (whose datasource is an untyped dataset) and a textbox in a form .
My grid(and dataset) has three columns.
My requirement is as the user keys in letters in the textbox the closest match should be highlighted in the grid and I must be getting autoselect options in the textbox.
For eg.Suppose I have words MICHIGAN and MICHAEL in the dataset
I key in M in the textbox ,then my textbox should have MICHAEL in it with "ICHEAL" highlighted.
The search is to be performed in only one column of the dataset.
Any help in this regards prefarably code snippets(vb.net,windows application) or approach is highly solicited
Sandy C
|
|
|
|
|
There are some good articles on this site about exactly that. I suggest you have a look at the articles section.
David Loring
!! Keep Music Live !!
|
|
|
|
|
I have a scenario in which I have aform that contains a datagridview, 2-3 labels and text boxes ,1-2 buttons on the form.
This form opens as a pop up when click a button in the parent form.Now I want to close this form when the user click any where in the parent form.
I have tried using lostfocus event of the particular form .
Please send me suitable code snippets if possible or the approach to go about it.
Looking forward to a quick reply
Sandy C
|
|
|
|
|
Sandy, close it in the activate event of the parent form.
Private Sub Form1_Activated(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Activated
If Not IsNothing(moPopup) Then
moPopup.Close()
moPopup = Nothing
End if
End Sub
|
|
|
|
|
Why I only can deploy 1 time? When I deploy second time, error will come out.
Error 1 Deployment and/or registration failed with error: 0x8973190e. Error writing file '%CSIDL_PROGRAM_FILES%\teh\teh.exe'. Error 0x80070020: The process cannot access the file because it is being used by another process.
Device Connectivity Component
Another problem is the file in PDA also can run 1 time only, after i closed my application, i want to run it again and tap the exe file, but no response at all. Why like that??
Both of this problem can solve by reset my PDA. It is troublesome. Is it normal?
|
|
|
|
|
Because the second time, you're trying to write to a file that's been installed, and is running. Why would you deploy without removing it first ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
U meant i have to use file.delete in my coding? Or remove it manually from PDA?
I'm facing the problem with manually remove, error show that the file is running.
How can i know which activity is running?
|
|
|
|
|
... i know the way to listing all SQL server in my lan or domain and put the name of each server in a var and after store it in Shett of excel or in mdb...
Now i want to know the way, if existis, to have the same result in VB or VBA to listing all DB2 server in my Lan or Domain...
Is possible?
Tks.
|
|
|
|
|
how to connect sql server 2000 in window service in vb.net
|
|
|
|
|
harshcontractor wrote: how to connect sql server 2000 in window service in vb.net
The same way you would anywhere else. With a SqlConnection .
|
|
|
|
|
thanks
but my problem was : to connect with sql server in network (not local).
sql 2005 supports this.
Harsh
|
|
|
|
|
shhhhhhhhhhhhhhhhh wrote: to connect with sql server in network (not local).
Yes. You still connect with a SqlConnection object. Use the machine name, or IP address in the connection string instead of "(local)"
shhhhhhhhhhhhhhhhh wrote: sql 2005 supports this
Yes.
|
|
|
|
|
:(hallo everyone,
i got following error in my vb.net(winforms) application while i m trying for removing specified row.
-->Uncommitted new row cannot be deleted.
I wrote following code to delete datagridview(DGVCustDept) row
DGVCustDept.AllowUserToDeleteRows = True
DGVCustDept.Rows.Remove(DGVCustDept.Rows(1))
thanx for any help in advance
priya
|
|
|
|
|
pls find this url it's already dicussed....
www.codeproject.com/cs/database/dttl.asp
Parwej Back...............DON of Developer.......
Parwej Ahamad
g_parwez@rediffmail.com
|
|
|
|
|
Hi,
Im using vb.net as a front end and oracle as a back end,have to compare the two database object type and object name if its available means i need as true else false and should be entered in the isavail column...
Eg..
obj_type obj_name isavail
------------ --------------- ---------
package package_name
index Index_name
like wise im having in the datagrid,then im selecting
adp=new oledbdataadapter("select object_type,object_name from user_objects",con)
adp.fill(ds)
how to i compare these selected user objects to that datagrid available objects_type and object _name and is it available means i need to fill yes in the isavail column in the datagrid else no..
Help me plzzz..
Thks in adv...
Kannabiran.
Kannabiran..
|
|
|
|
|
Hi,
I need to rotate the 'A' button control by angle degrees at runtime. On click another 'B' button 'A' button should be rotated clockwise.
Is there any way to do this?
Rams
Be simple and Be sample.
|
|
|
|
|
No
You can pretend to rotate by 90% increments, that's about it, unless you use WPF, or do some funky owner drawing to fake it.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Could you give me more details about using owner drawing graphics with all even handlings (like onclick, mousedown etc.) to rotate.
-- modified at 0:56 Tuesday 6th February, 2007
Be simple and Be sample.
|
|
|
|
|
If you owner draw, you'd still have a rectangular button, but you'd draw the odd shaped button on it, and you'd have to handle all events to reject them if you were on the button, but not on the drawn area.
Just look at any article on round buttons, or other irregular shaped buttons, that's what yuo need to do.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
I have drawn shape over button using graphicspath region and while make it rotate, shape moves within button control, but not the control itself, so the shape will be hided once it cross the button area.
Let me have any link on how to draw shape over button control and make it rotatable using angles.
Thanks in advance.
Be simple and Be sample.
|
|
|
|
|
That's all you can do. You can't change that a button is rectangular, if you rotate it, you need to resize it to allow for this. Like I said, really, what you want can't be done, outside WPF.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
I had to create a rotating control like this. I had to create a custom user control and paint a graphic of the control on it, then rotate the control image. The user control has to be big enough to rotate your image all the way around (or as far as you want) but that's okay because you need that space on your form anyway.
|
|
|
|
|
What is the easiest way to Read a DataTable with a list of tables
from OLEDB Using VB.Net
Thanking you
Somasundaram
|
|
|
|
|
A better method is to use the bindingsource and set the filer. e.g.
BindingSource1.Filter = string.format("{0} LIKE '{1}%'",me.cboSearchText.Text,me.txtSearch.text)
This should be in the text changed event of the text box.
--Steve
hii ,
good code from steve,
but will u thell Please, wht is cboSearchText?
& wht more i have to write for bindingSource?
Thanx.
--Regards Priya
priya
priya
|
|
|
|