Search:

Type: Posts; User: Larry Hinklestein

Search: Search took 0.03 seconds.

  1. Re: Why does VB 2010 keep crashing?

    Yeah, that's probably it. It's my work computer which had Vista and then we upgraded it to Windows 7 without adding any memory. I'll see if I can squeeze some money out of management for some extra...
  2. [RESOLVED] Why does VB 2010 keep crashing?

    I'm not running my program, I'm not running any other programs, I'm just typing in code and suddenly VB 2010 becomes unresponsive although the mouse still works, then a couple of seconds later it...
  3. Re: Fill combobox with column from database

    I have an existing project that I'm wanting to use a database to store information for. These are the steps I did -

    I added a new datasource and created a new database. I go to Database Explorer...
  4. Fill combobox with column from database

    Anyone know a good tutorial that shows how to populate a combobox with data from a table column in a database? I've been trying for hours and can't get it to work.


    Thanks.
  5. Re: User Control form disappears from Solution Explorer

    Okay, found it.

    I'm designing the user interface first figuring on adding all the code afterwards. When I double-clicked on the user control the code page came up with the following code -

    ...
  6. [RESOLVED] User Control form disappears from Solution Explorer

    I add a user control to my project and it shows up in the solution explorer with the icon that designates it
    as a form. As I go moving things around on the control I'll accidentally double-click it...
  7. Re: How to set margins in print preview ?

    Works great, thanks for the help!
  8. How to set margins in print preview ?

    I've got a form with a button on it with the PrintDocument1 and PrintPreview1 controls loaded (VB 2010).

    This is the code -



    Public Class Form1

    Public Sub print_test(ByVal pr As...
  9. Re: Newbie - Stored procedure fires, table on form not updated?

    Doesn't work on mine.

    Went to Microsoft, did all the updates ( which took 6 frickin' hours on Vista - geez ), no change.

    If it's any consolation I loaded up C# and it doesn't work there either...
  10. Re: Newbie - Stored procedure fires, table on form not updated?

    The datatable reloads fine, the DataViewGrid on the form doesn't.

    This is what I have -


    The database contains 2 tables, Table1 and Table2. The tables are identical and contain one column...
  11. Re: Newbie - Stored procedure fires, table on form not updated?

    Another evening with no progress.

    This simply has to be a bug, there's no other answer.

    I know for certain the query is being executed. In the Database Explorer I can right-click on the tables...
  12. Replies
    150
    Views
    36,045

    Re: Alternative to VB.net ?

    Well of course it took time to learn VB6, I didn't simply learn it overnight. But it was much simpler and far more intuitive to learn than Net. I know Net requires a "new way of thinking", well maybe...
  13. Replies
    150
    Views
    36,045

    Re: Alternative to VB.net ?

    Guess it's back to VB6 then. Thanks for replying.
  14. Re: Newbie - Stored procedure fires, table on form not updated?

    By dragging the datagridview from the toolbox onto the form. A box then popped up asking what to use for the data source from which I selected Table2BindingSource.

    Looking at the properties for...
  15. Replies
    150
    Views
    36,045

    Alternative to VB.net ?

    Hi everyone.

    I absolutely rocked in VB6, I wrote application after application with ease. It was easy and intuitive and I could crank out the code.

    So now I'm looking to learn a language more...
  16. Re: Newbie - Stored procedure fires, table on form not updated?

    Yes, I understand that - the database itself is updated so now I need to update the table in the dataset - can't figure out how to do that though.
  17. Re: Newbie - Stored procedure fires, table on form not updated?

    Ah - I forgot to execute the thing - added this -

    SQLCMD.ExecuteNonQuery()

    Clicking the button on the form appears to do nothing, but if I stop the program and start it up again the...
  18. Re: Newbie - Stored procedure fires, table on form not updated?

    Stored procedure -

    ALTER PROCEDURE dbo.StoredProcedure1
    /*
    (
    @parameter1 int = 5,
    @parameter2 datatype OUTPUT
    )
    */
    AS
  19. Replies
    1
    Views
    1,420

    Searching without logging in

    If you do a search without logging in you're taken to the search page where you have to answer this question -


    Fill in the blanks, from above the form: Today's Posts ___ Calendar Forum Actions
    ...
  20. Re: Newbie - Stored procedure fires, table on form not updated?

    I thought that was what the SELECT statement did.

    INSERT INTO Table2 (Component)
    SELECT [Component]
    FROM Table1
  21. Re: Newbie - Stored procedure fires, table on form not updated?

    Added - this is the result from doing a test execute on the query -


    Running [dbo].[StoredProcedure3].

    (1 row(s) affected)
    (0 row(s) returned)
    @RETURN_VALUE = 0
    Finished running...
  22. [RESOLVED] Newbie - Stored procedure fires, table on form not updated?

    I'm basically trying to copy a column from one table to another and then display it on a form. Here's what I did -


    - Created new Windows application and added a service-based database. ( Visual...
  23. Re: A database table can't show decimal places?

    Oops, got it, turns out there's two properties window and I kept trying the wrong one. Right click the table and select 'Open Table Definition' and a property box for the columns opens up underneath,...
  24. Replies
    5
    Views
    1,881

    VS 2010 Re: Datagridview Data Type

    Visual Basic 2010 express, using the built-in Service Database. Turns out what you have to do is right-click the table, select Open Table Definition (it's not called Edit Schema anymore) and a column...
  25. [RESOLVED] A database table can't show decimal places?

    Okay, I create a database, I add a table to it, I right-click the table and select "Show Table Data", I add the value 4.625 to the field and it changes to 5. I tried several different data types,...
  26. Replies
    5
    Views
    1,881

    VS 2010 Re: Datagridview Data Type

    [QUOTE=jrb01;4119743]I have solved this problem myself.

    >select database file
    >select tables
    >right click over database file (just under the table)
    >select "edit table schema"
    >click the...
  27. Re: Is something wrong with my VB download?

    Got it, thanks.
  28. Is something wrong with my VB download?

    I just downloaded VB 2010, installed and activated it, and tried this snippet of code -


    Public Class Form1

    Dim item1 As String
    item1 = "test"

    End Class
  29. Re: How to reference a control inside a tabcontrol page ?

    Oh wait, I found it.

    When they got pasted over the references got wiped out ( why would it do that ? )

    Fellow noobs - to fix this go to the properties panel, click on 'Events' (the little...
  30. [RESOLVED] How to reference a control inside a tabcontrol page ?

    Hello everyone, newbie here.

    Visual Basic 2010 -

    I started off with a basic little form containing some combo boxes and a box for drawing in. I would select items from the combo boxes and it...
Results 1 to 30 of 30



Click Here to Expand Forum to Full Width