Search results for query: *

  • Users: Hack
  • Order by date
  1. Hack

    Opening a sql results window in a new form

    How much data is in the table, and, is it necessary to display it all?
  2. Hack

    Question apply skin to windows form

    Adding custom skins for Forms in VB.Net - CodeProject
  3. Hack

    stuck in a loop please help

    You can exit a For/Next loop with an "Exit For" You can exit a Do While loop with an "Exit Do" However, there is no "Exit While" to exit a While/Wend loop in VB. You could, however, use Exit Sub providing you don't have any code after the loop that needs to be executed.
  4. Hack

    any ideas ?

    In non programming terms, what is the forumla? Isn't it: total = Count times Price times Quantity? Why can't you use variables for that?
  5. Hack

    stuck in a loop please help

    With proper indentation, this is what we have going on.Input = serialport1.readchar While input <>(12) dataline = ”” While input<>(10) If input<(32) then 'just my comment - if there is no THEN why this statement? Else Dataline =...
  6. Hack

    Question Save File Dialogue

    You are probably right, but just to be sure.... What is the error message you get when it "crashes"?
  7. Hack

    Splitting the contents of a list view into multiple textboxes?

    Quick example:Private Sub ListView1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles ListView1.Click TextBox1.Text = ListView1.SelectedItems.Item(0).Text TextBox2.Text = ListView1.SelectedItems.Item(0).SubItems(1).Text TextBox3.Text =...
  8. Hack

    Question radio button checked and not checked at same time

    First off, BRAVO...I'm glad to see SQL is still alive and well. Second, I'm not sure what you are attempting to accomplish. ElseIf tmode.SelectedIndex = 0 Then sql = "SELECT * FROM licdata WHERE Mode = '" & tmode.Text & "'" ElseIf tmode.SelectedIndex = 1 Then...
  9. Hack

    Which tables to create and with what fields?

    Using a database is definately the way to go and Kyle.Allbright has provided a good, working start, to your initial design.
  10. Hack

    Several Issues with Comboboxes

    Why don't you set up a little database? Put all the shop guys names in a table and load your combo/grid/whatever directly from the database table? If you get a new guy, then you add his name to the database table. If someone leaves, then remove his name from the database table. Noone, except...
  11. Hack

    Several Issues with Comboboxes

    No, it doesn't give you that option...but now you have me confused. If all these guys are doing is clicking and picking then who is doing all the typing causing the duplicates? You??? :confused: If it is you, then you can solve your own problem by not typing in the same name 10 times.
  12. Hack

    Several Issues with Comboboxes

    1. First, don't allow people to type directly into your combo box. I always use a textbox. That makes it easier to check for duplicates. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If...
  13. Hack

    master details save only once at 1 form

    Save what to what?
  14. Hack

    Resolved Office 2010, x86 or x64?

    How often, in running Office in the past, have you required support for any problem you couldn't get an answer to by posting the question on the net. My vote is to go with the x64 if you are able.
  15. Hack

    Simple question 'the correct way!'

    I don't see any problem using either way.
  16. Hack

    Question How to call stored function

    No problem...always happy to help. :D
  17. Hack

    Question How to call stored function

    How do I call Oracle Stored Procedure from ASP.NET?
  18. Hack

    Primary and foreign key

    The NameID would contain an Id representing your Name. In the Cars table there should also be a NameID field. For each car you own (which would have its own ID) your NameID would be populated. To find out what cars you have would be something along the lines of:SELECT ca.Cars, na.Name INNER...
  19. Hack

    Question How do I use variables in a SQL statement

    You would use a variable created on your connection object. With that you can use parameters. I don't know what you are using for a database, but lets pretend it is SQL Server. You would do something like:Dim sSQL As String sSQL = "SELECT OrderID, CustomerID, EmployeeID, OrderDate...
  20. Hack

    Capturing RAW print data from a third party app

    Do the vendors of the third party application have anything like an SDK that you could use?
Back
Top