|
What, school project, do some research (try Google), do some reading, ask SPECIFIC questions where we can help. No one is going to do your project for you but we will help if you have a valid question.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
am74 wrote: it is very needed to me
Do you have a specific question? Try working on your own project then ask when stuck on something specific.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
Hi there All !
Sorting Unicode is very easy ,
Combobox in VB.2005 is supported Unicode String
but some of the function like the AutoCompleteSource in search string in combobox is not work well with string unicode ,
does anyone know how to make it well ? , i need some of code and link , or any ideas as you can ..
or u have any way that similar to that function , pls speak out .. come on , i wait for you to reply na
best regard from
nimol men
|
|
|
|
|
Anatha wrote: need some of code and link
Try this site...[^]
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
Hi
i have a gridview control and i want to export its data to sql database table.how can it possible.
thanx
|
|
|
|
|
You are using all the wrong terms - you cannot "export" a gridview to a SQL table.
However you can insert each row in the gridview into an existing table in SQL server. Use 2 loops, 1 for rows, the second for cells in the gridview. At each row populate the insert method (preferably a stored proc) with each cell from the gridview. Insert/execute the method. Process the next row.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Alternatively, you can bind the DataGridView to a datasource which will automatically create select, insert and update queries. Not as flexible but easier to implement.
|
|
|
|
|
Yah, I just hate to use the dataset inbuilt stuff, I really loathe having to put any SQL intelligence in a UI object. I'm of the school that only allows stored procs for 99.9% of DB access.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Mycroft Holmes wrote: I'm of the school that only allows stored procs for 99.9% of DB access.
I hear ya'
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
i have set Password character property of Textbox1 as * it working fine with my system but this same application in some other system it display password string instead of * for Ex 123456 instead of *
Any help what kind of problem is this??
Hitesh sojitra
|
|
|
|
|
Try setting the UseSystemPasswordChar property of the textbox to true .
|
|
|
|
|
Thank for reply
but if i use UseSystemPasswordChar = true still it not shown me * in any system... any other solution?
Hitesh sojitra
|
|
|
|
|
Hi,
I have one question related to the visualstylebackcolor property of buttons. When I put one button directly on the form and set that property to false , it works fine but when I put the same button in panel it show a button like its visualstylebackcolor property is true even if the property window is showing it false.
How to solve this problem ?
Thanks,
Dan
|
|
|
|
|
Hii
i hope u do little bit wrong.
you follow these steps
Insert a panel on form.
Insert a button on form not panel.
then insert a button on form change the style and cut the button from Form and paste it on Panel it works properly.
May it solve you problem.
Thanx
~ Khatri Mitesh
|
|
|
|
|
Sorry but the same problem .I followed the same steps you wrote !
|
|
|
|
|
Does anybody know a way to dump the password hashes of the Windows Operating System (Primarily Windows XP, but compatibility would be good)?
Also is there anyway to access the HKLM root on a limited account, I badly need to know to get my program to work correctly.
|
|
|
|
|
raing3 wrote: Does anybody know a way to dump the password hashes of the Windows Operating System (Primarily Windows XP, but compatibility would be good)?
There isn't one. The hash only works one way. You cannot reverse the hash to get the password out. The only way to figure out what it is is to hash a test password and compare that hash to the stored hash. If it's a match, you found the password. Considering the shear number of number, character and letter combinations, you're looking at testing billions of passwords to guess the correct ones.
There are tools out there that do just this. Google for "L0ftcrack".
|
|
|
|
|
raing3 wrote: Also is there anyway to access the HKLM root on a limited account, I badly need to know to get my program to work correctly
No. The registry's HKEY_LOCAL_MACHINE key requires admin permissions to get write access to it.
|
|
|
|
|
Use Linux to make a copy of the C:\WINDOWS\system32\config\sam file then use lOphtcrack.
You might could use impersonation[^] to access the registry.
|
|
|
|
|
raing3 wrote: know a way to dump the password hashes
No there isn't, hashes are one way. The purpose of a secured cryptographic hash is to make it be something that cannot be worked backwards into the original password.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
How do I get the selected row index from a listView?
|
|
|
|
|
lvData.SelectedItems(0).Index
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
I am working with access database and vb.net. I like to make two listBox in a form. first for product list and second for suppliers list of those corresponding products. When I click product list item corresponding suppliers of that product should be show in supplier list.Data retrive from products and suppliers table from database. I am a begainer of programming. Please help me to design the code.
|
|
|
|
|
Hiii
I send a sample of code that use the Access Database (Test.mdb from C and that contain Table1 ( "Prodct" and "Supplier") fields.
Dim myConnection As New OleDbConnection()
dim oDataAdapter as dataAdapter
Dim oDataTable as DataTable
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
myconnection=new oledbconnection("Provider=Microsoft.Jet.OLEDB.4.0; Data Source=C:\Test.Mdb")
oDataAdapter = New OleDbDataAdapter("Select * From Table1", myConnection)
oDataTable=New DataTable
oDataAdapter.Fill(oDataTable)
ListBox1.DataSource = oDataTable
ListBox1.ValueMember = "product"
end sub
Private Sub ListBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ListBox1.SelectedIndexChanged
dim sProduct as string=ListBox1.SelectedItem.ToString()
if not isNothing (sproduct) then
oDataAdapter = New OleDbDataAdapter("Select Supplier From Table1 where Product=" & sProduct & ", myConnection)
oDataTable=New DataTable
oDataAdapter.Fill(oDataTable)
ListBox2.DataSource = oDataTable
ListBox2.ValueMember = "Supplier"
end if
End Sub
may be it helps you.
Thanx
~Khatri Mitesh
|
|
|
|
|
Hi,
You need to implment the parent-child relationship between the two tables to get the desired results. You may try the following code snippet:
---------------------------------------------------------------------------------------------------
BEGIN CODE
Dim dc As OleDbConnection
Dim connstr As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source = C:\Nwind.mdb;"
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim da As OleDbDataAdapter
Dim dt As DataTable
Dim dv As DataView
dc = New OleDbConnection(connstr)
da = New OleDbDataAdapter("Select * from Products", dc)
dt = New DataTable
da.Fill(dt)
dv = New DataView(dt)
Me.ListBox1.DataSource = dv
End Sub
Private Sub ListBox1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles ListBox1.SelectedIndexChanged
Dim SupplierIDString = Me.C1Combo1.Columns("SupplierID").Text.ToString()
Dim da As OleDbDataAdapter
Dim dt As DataTable
Dim dv As DataView
dc = New OleDbConnection(connstr)
da = New OleDbDataAdapter("Select * from Supplier where SupplierID = '" + SupplierID+ "'", dc)
dt = New DataTable
da.Fill(dt)
dv = New DataView(dt)
Me.ListBox2.DataSource = dv
End Sub
END CODE
---------------------------------------------------------------------------------------------------
Hope this helps .
Regards,
John Adams
ComponentOne LLC
|
|
|
|