Search Results - VBForums

Search:

Type: Posts; User: wes4dbt

Page 1 of 13 1 2 3 4

Search: Search took 0.07 seconds.

  1. Replies
    4
    Views
    59

    VS 2010 Re: updating thru a bindingsource

    jmc, Thanks for the reply.

    I did add the combobox in the designer.
    I do change the selected item text of the combobox before I click the Savebutton. Is there another property I must set to have...
  2. Replies
    4
    Views
    59

    VS 2010 updating thru a bindingsource

    I was playing around with manually creating a bindingsource at runtime and then trying to update a database table.


    Imports System.Data.OleDb
    Public Class Form2

    Private da As New...
  3. Replies
    5
    Views
    106

    VS 2013 Re: What are the Components?

    Since 2001 VS has contained VB .Net. I would not suggest writing any new apps using VB6, they barely work on windows 8 and it's only going to get worse for VB6. VS 2013 has an Express version you...
  4. Re: How to Show a Form(in Project-B that prints Crystal Reports) in Project-A in vb 2

    Not sure I know exactly what you mean. you can save the cr in any folder you want, then use the "crRpt.Load("somereport") method. any project could access the report.
  5. Replies
    16
    Views
    106

    Re: Change Sql vlaues through datagridview

    You could leave the ID in your dgv, just set the visible property to false. Your getting the "cannot find a column named Age" error probably because that is not the column name. In your form...
  6. Re: How to Show a Form(in Project-B that prints Crystal Reports) in Project-A in vb 2

    Are Project A and Project B in the same solution or in totally different applications?
  7. Re: Compare datagrid value to query value before save

    You may want to rethink your program design. I wouldn't wait till after all the data has been entered into the dgv to check the quantity. You should do it as each quantity is entered. you could do...
  8. VS 2013 Re: Copying RichTextBox to RichTextBox

    Not sure I understand the problem,

    If you want to copy the text of one rtb to another rtb then,

    Me.RichTextBox2.Text = Me.RichTextBox1.Text

    If you want to see the rtf, then you could do...
  9. Re: How to increase number of printed lines per page in Crystal Reports 11 for VB 201

    This setup has font of 10 and produces a report with over 50 lines per page, with about 1/4" of blanks space at the top and bottom of page,
    112859
  10. Re: How to increase number of printed lines per page in Crystal Reports 11 for VB 201

    To increase the number of lines per page, adjust your margins, the font size and size of the detail section, suppress page header or page footer
  11. Re: Problems displaying numbers lower than zero

    Also, try putting a break point at this line,

    ListBox4.Items.Add(placeholder14)

    Then check the value of the various variables. they might not contain what you think
  12. Replies
    7
    Views
    210

    VS 2008 Re: Help importing Excel file into Datatable

    It looks like you may be using the "jet" provider in the first project, are you sure the "ace" provider is used in the first project. Also, there is a 32bit and 64bit Access engine download. If...
  13. Re: Visual Basic 2010 Fast Report/Or any report

    Try Google "rdlc report tutorial". you'll find a lot of help and examples.
  14. Re: problem in installing crystal report for visual studio 2008

    I believe CR came with VS 20008 Pro, I know it did in VS 2005 Pro. It doesn't come with the Express editions and I don't believe there is a download.
  15. Re: [RESOLVED] Desperately Need Help Loading A Crystal Report from Winforms App with

    Glad I could help.

    CR can be a pain in the butt. It's a very powerful reporting tool once you learn how to work with it. VB doesn't really give you much choice but to use a third party reporting...
  16. Re: Desperately Need Help Loading A Crystal Report from Winforms App with SQL 2008 R2

    No you don't. The example I posted does exactly what your talking about with no CR parameters
  17. Re: Desperately Need Help Loading A Crystal Report from Winforms App with SQL 2008 R2

    I never use CR Parameters, I use TableAdapter Parameters.

    Here's an example,


    taU.FillByUserIdRange(ds.users, Me.UserStartComboBox.Text, Me.UserEndComboBox.Text)
    ...
  18. Re: Desperately Need Help Loading A Crystal Report from Winforms App with SQL 2008 R2

    You caught me in between posts. I'll look at your code.



    thats the beauty of using datasets. You can query your db using any SQL statement you need. Just create a TableAdapter that fits your...
  19. Re: Desperately Need Help Loading A Crystal Report from Winforms App with SQL 2008 R2

    Maybe try creating a new project with just one form a CR report viewer and a simple CR Report. Then add the code to your app.config. If it doesn't work you could post the file code and file.
  20. Re: Desperately Need Help Loading A Crystal Report from Winforms App with SQL 2008 R2

    Under Project-> Complie, select "advanced compile options", try setting Target x86 and .Net Framework 4. That's how my apps are set.
  21. VS 2010 Re: Execute query on OpenFileDialog chosen file?

    If the databases will all have the same schema then you could just change the Tableadapters connectionstring. "Me.TableAdapter1.Connection.ConnectionString = newConnectionString"
  22. Re: Desperately Need Help Loading A Crystal Report from Winforms App with SQL 2008 R2

    check your App.config file and make sure you have these lines

    <startup useLegacyV2RuntimeActivationPolicy="true">

    <supportedRuntime version="v4.0"...
  23. Replies
    4
    Views
    130

    VS 2013 Re: INSERT to database and connect

    In the "Forms over Data Video Series", take a look at #3. you may not want a One-To-Many form but it will show you an easy way to enter data thru textboxes
  24. Replies
    11
    Views
    262

    VS 2010 Re: [RESOLVED] DataGridview instance question

    vbfbryce,

    It will probably be a cold day in hell before I think jmc is wrong and I'm right. ;)

    thanks for the example, did you realize that this part wont compile with with Strict On
    ...
  25. Replies
    11
    Views
    262

    VS 2010 Re: DataGridview instance question

    jmc, Thanks for the reply

    you were right, hard to believe I made a mistake :)

    I was fooling around with this just for learning I have no real need to do this right now but I'm sure this info...
  26. Re: Desperately Need Help Loading A Crystal Report from Winforms App with SQL 2008 R2

    Try something simple,

    1. Go to the Project Menu and select Add New Item
    2. Select Crystal Report
    3. When the next window opens up, Select "Using the Report wizard"
    4. In the data window...
  27. Re: Desperately Need Help Loading A Crystal Report from Winforms App with SQL 2008 R2

    You said in your first post that the CR report didn't run on your machine. You should get the report working on your machine before trying to get it to work on your clients machine.


    If your...
  28. Replies
    11
    Views
    262

    VS 2010 Re: DataGridview instance question

    jmc, Thanks for the reply. You caught me in between posts, I explained what I found in post #4



    Yes it does contain a string, I don't understand why "ToString" isn't the proper method to use...
  29. Replies
    11
    Views
    262

    VS 2010 Re: DataGridview instance question

    vbfbryce, Thanks for the reply. That lead to me to problem.

    If you don't uncheck the "Enable Adding" property, you will get this error. I guess it continues to cycle thru the rows till the new...
  30. Replies
    11
    Views
    262

    VS 2010 [RESOLVED] DataGridview instance question

    I was doing some testing with the datagridview control and I'm getting a "Object reference not set to an instance of an object." error that I don't understand. Here's the complete code,


    Imports...
  31. Re: Desperately Need Help Loading A Crystal Report from Winforms App with SQL 2008 R2

    Did you design these reports in the current versions of VB and CR that you are using?
  32. Replies
    4
    Views
    130

    VS 2013 Re: INSERT to database and connect

    It looks like your trying to use ADODB for working with your Database, in VB .Net you really should be using ADO .Net.
    These are excellant beginners videos...
  33. Re: Step through datagridview column

    What are you trying to achieve?
  34. Re: Desperately Need Help Loading A Crystal Report from Winforms App with SQL 2008 R2

    What line is causing the error, this one

    cryRpt.Load("C:\Member Program\Member Program\Member Program\Reports\worldir.rpt")

    You might try setting the reports Build Action property to Embedded...
  35. Re: Filtering a datagrid to view only records from an ID in a textbox

    You should post your current code.

    But, this will cause an error,

    View.RowFilter = "CustomerID = " & CInt(txtCustomerID.Text)
    you are trying to combine a string and an integer. Remove the CInt
  36. Replies
    17
    Views
    1,933

    Re: Force only number entering in textboxes

    Datacraft, I knew about multiple control using the same event, just not that you could do it by selecting the controls in the form designer.



    Look at post #3, it's hard to go wrong listening...
  37. Replies
    8
    Views
    197

    Re: Super noob with VB 2010, in need of help.

    It's just an example. You can put what ever you want inside the quotes.
  38. Replies
    8
    Views
    197

    Re: Super noob with VB 2010, in need of help.

    Your close, your just having some spacing issues

    Dim prefix As String = "Fore"
    MessageBox.Show(prefix & "warned is to be " & prefix & "armed")
  39. Replies
    17
    Views
    1,933

    Re: Force only number entering in textboxes

    datacraft, Thanks for the reply.

    It's amazing that out of all the years I've been using this forum, I've never seen this function mentioned. Always good to learn something new.
  40. Replies
    17
    Views
    1,933

    Re: Force only number entering in textboxes

    sepehr,

    Could you give a little more explanation, when I select multiple textboxes in the form design window, the properties window just displays properties, and that makes sense. KeyPress is an...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.