Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by RotorTorque

  1. RotorTorque

    Insert Query problems. Please help.

    Thanks SQLSister. RotorTorque ;-)
  2. RotorTorque

    Insert Query problems. Please help.

    bborisev anhd SQLSister, There could be an unlimited number of records, but usually no more than 3. I will know how many files there are because I will do an attachment count in my VB.Net 2005 application. CaseID is an Identity field in tblCases, and a foreign key in tblAttachments. Thank...
  3. RotorTorque

    Insert Query problems. Please help.

    bborissov, Here is some sample data: Table tblCases (should save 1 record) CaseID = 1 Description = "Error File" Table tblAttachments (should save 2 records) CaseID = 1 AttachmentFilePath = C:\Image1 CaseID = 1 AttachmentFilePath = C:\Image2 I also want the Query to Return The CaseID from...
  4. RotorTorque

    Insert Query problems. Please help.

    Hi all, I have an insert query that needs to save data into 2 tables (tblCases, tblAttachments). There could be multiple attachments per 1 Case. Table tblCases Has the following fields: CaseID Description Table tblAttachments has the following fields: CaseID AttachmentFilePath Thanks in...
  5. RotorTorque

    I need help with a Print Screen function.

    Hi all, I have a VB.Net 2005 application that I need to add a Help Desk button to the toolbar. The following should occur when the user clicks the button: 1.Take a snapshot of the screen (i.e. Print Screen), and save the snapshot as a .GIF or .JPG file. Another option will be to take a...
  6. RotorTorque

    How can I delete Items from a ComboBox

    AlexCuse, In my ComboBox, if I right-click a dropdown menu appears. One of the options in the menu is Delete. Is there a way to capture the event when a user clicks on Delete? Thanks you RotorTorque :-)
  7. RotorTorque

    How can I delete Items from a ComboBox

    Thank you AlexCuse. RotorTorque. ;-)
  8. RotorTorque

    How can I delete Items from a ComboBox

    Hi all, I use a ComboBox in my VB.Net 2005 application. I allow the users to add items to this ComboBox by entering an items name in a TextBox they then press a button and the item is added to the ComboBox. Now they want to be able to remove an item from the ComboBox if they mistakenly add...
  9. RotorTorque

    Toolstrip with a textbox. How can I tab into it?

    Thank you Sorwen, Do you know how to modify the Border in a ToolStrip control? Thanks once again. RotorTorque :-)
  10. RotorTorque

    Combobox population of display and value

    Thank you ZmrAbdulla RotorTorque :-)
  11. RotorTorque

    How can I remove a table from a DataSet

    Thank you Teamgc. Your solution worked. RotorTorque
  12. RotorTorque

    Combobox population of display and value

    SiriusBlackOp, in your code: With ComboBox1 .DataSource = DS.Tables(0) .DisplayMember = "Description" .ValueMember = "Code" '.SelectedIndex = 0 'OPTIONAL End With How would I use the ComboBox1_Click event to get the ValueMember value? Thanks in...
  13. RotorTorque

    How can I remove a table from a DataSet

    Hi all, I am using the following code in my VB.Net 2005 application to get data into a DataSet and then load a combobox: Public Sub GetSubType(ByVal cbo As ComboBox, ByVal intX As Integer) Dim SQLConn As New SqlClient.SqlConnection SQLConn = New SqlClient.SqlConnection...
  14. RotorTorque

    Toolstrip with a textbox. How can I tab into it?

    Hi all, I have a toolstip control in my VB2005 application. I have added a textbox to the toolstrip. I want the user's to be able to tab into this textbox when they tab through the various controls in the form. How can I do this? Thanks in advance, RotorTorque :-)
  15. RotorTorque

    Are Stored Procedures still used in SQL SERVER 2005?

    Hi all, I used the following code for filling a Dataset with a Stored Procedure 'Declare and Set the connection property Dim SQLConn As New SqlClient.SqlConnection SQLConn = New SqlClient.SqlConnection SQLConn.ConnectionString = My.Settings.HelpDeskConnection SQLConn.Open() 'Declare a SQL...

Part and Inventory Search

Back
Top