Jump to content
Xtreme .Net Talk

TexG

Avatar/Signature
  • Posts

    90
  • Joined

  • Last visited

Everything posted by TexG

  1. Have a bit of trouble. Hoping that you all can help me out. I have a link below with the code for C++ i want to use. But cant figur out how or where to put it in my code. Thanks :confused: The Code Link
  2. New to this part of VB.net can you point me in the right direction or a example? Thanks
  3. Hi all, Im trying to figur out how to get all the names of a workgroup or domain to out put to a listview. The part of the output to listview i understand its how to get the names of the computers from the workgroup/domain like a network browser. Thanks for the help TexG :confused:
  4. Hi all, Im trying to figur out how to get all the names of a workgroup or domain to out put to a listview. The part of the output to listview i understand its how to get the names of the computers from the workgroup/domain im having problems on. Thanks for the help TexG :confused:
  5. Hello All, Trying to get all the user names that are on a stand alone system and out put to a listbox. Not just the user log on at the time. Not sure how to go about this. Can you all give me a point in the right direction. Thanks
  6. Thanks ill give it a try.
  7. Still trying to print a listview Controls contents any ideals?
  8. How would i do this in code?
  9. Hide selection is set to true.
  10. how would i emliment that in to a program?
  11. Hello all, How would i do a scan animaton like when your scaning for a file and the little folder comes up with the magnifing glass. How would i do that in a program? thanks
  12. For some reson i get errors on that code. says that SelectedIndex is not a member of the system.windows.forms.listview
  13. Dont know how or way it worked but it did thanks
  14. Hello All, i have a form with a treeview , listview, and a statusbar on it. im trying to use the splitter but haveing problems with it. i add a splitter to the form and dock it to the left. then i dock my treeview to the left. but it resizes and the statusbar is pushed to the right. how can i get splitter to allow me to resize the treeview and my treeview will stay the same length befor i dock it, and leave the statusbar left alone. thanks :confused:
  15. no trying to figur out what set a column index if i choose to add a column then get last column in listview and add to it. if i delete a column lets say 3 how to tell the program to delete column 3 i got a text box for the input the button ether adds or deletes if colum is there or not. plus two radiobuttons one add one delete. depending on which one is selectid the button will do what it needs to do. thanks
  16. anybody have anyideals? thanks
  17. Anybody have anyideals? thanks
  18. is there a way to custimize openfiledialog with just the drives and a ok button maybe a cancal button thats it? thanks
  19. No like when you do a openfile or save file.
  20. Trying to figur out how that gets a list of drives and show the folders graphicly. could you explain thanks
  21. Hello All, Looking for a way to show all the drives on my system. Would like it to even show the folders graphicly. Only want to beable to pic a drive or subdir nuthing else. Can you all help? Thanks
  22. Hi All, Is there a way to print a listview and items, column headers etc... Thanks
  23. Hello All, Got a problem i need help on. Its with Listview and the SelectedItems Clear. when i tab into a listview and get the ListView1.SelectedItems(0).Text and then click on lets say a delete button to remove the ListView1.SelectedItems(0).Text and then tab back to the listview window everthing is fine. But when i click on a item in listview and get the ListView1.SelectedItems(0).Text then click on the delete button to remove the item and then tab back into the listview window i get the first item selected and what ever the old count was is still hilighted but its hilighted color is normal so it give the impression that two items are selected one is the first item hilighted and the second looks like its pressed in. i have tryed to clear the selexted items but it only works when i tab around the form. its when i click the listview item that it wierds out on me any ideals on how to fix this thanks
  24. let me explain it again i think were off track. looking for duplicates if found then msgbox if not continue heres the code the key to the database is Jack_number if jack_number is allready in database msgbox nop cant do that else it adds it and contues on. Thanks robby Dim MyConnection As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & _ IO.Path.GetDirectoryName(Application.ExecutablePath) & "\DataBase\" & _ NameofDB) MyConnection.Open() Dim MyCommand As New OleDbCommand("INSERT INTO Cable " & _ "(Jack_Name, Jack_Location, IDF_Location, Patch_Panel_Number," & _ "Port_Number, Cable_Type, Assigned_Port_on_Switch, Assigned_Vlan) VALUES " & _ "('" & MainClass.ADDNewLineDB.TextBox1.Text & "', '" & MainClass.ADDNewLineDB.TextBox2.Text & "'," & _ "'" & MainClass.ADDNewLineDB.TextBox3.Text & "', '" & MainClass.ADDNewLineDB.TextBox4.Text & "'," & _ "'" & MainClass.ADDNewLineDB.TextBox5.Text & "', '" & MainClass.ADDNewLineDB.TextBox6.Text & "'," & _ "'" & MainClass.ADDNewLineDB.TextBox7.Text & "', '" & MainClass.ADDNewLineDB.TextBox8.Text & "')", MyConnection) MyCommand.ExecuteNonQuery() MyConnection.Close() MyCommand.Dispose() Dim i As Integer i = MainClass.DB.ListView1.Items.Count MainClass.DB.ListView1.Items.Add(MainClass.ADDNewLineDB.TextBox1.Text) MainClass.DB.ListView1.Items(i).SubItems.Add(MainClass.ADDNewLineDB.TextBox2.Text) MainClass.DB.ListView1.Items(i).SubItems.Add(MainClass.ADDNewLineDB.TextBox3.Text) MainClass.DB.ListView1.Items(i).SubItems.Add(MainClass.ADDNewLineDB.TextBox4.Text) MainClass.DB.ListView1.Items(i).SubItems.Add(MainClass.ADDNewLineDB.TextBox5.Text) MainClass.DB.ListView1.Items(i).SubItems.Add(MainClass.ADDNewLineDB.TextBox6.Text) MainClass.DB.ListView1.Items(i).SubItems.Add(MainClass.ADDNewLineDB.TextBox7.Text) MainClass.DB.ListView1.Items(i).SubItems.Add(MainClass.ADDNewLineDB.TextBox8.Text)
  25. Great site thanks. Still trying to figur out this one. Dim nAffected As Integer = MyCommand.ExecuteNonQuery() If nAffected = -1 Then messagebox.show("Already exists") End If
×
×
  • Create New...