Search Results - VBForums

Search:

Type: Posts; User: wes4dbt

Page 1 of 13 1 2 3 4

Search: Search took 0.06 seconds.

  1. Replies
    10
    Views
    125

    Re: Multiple Databases to Datagridview Control

    Dim command As New OleDbCommand(String.Format("SELECT * FROM [{0}]", Path.GetFileName(filePath)))

    jmc, Is connection parameter missing or is it not necessary in this instance?
  2. Replies
    10
    Views
    125

    Re: Multiple Databases to Datagridview Control

    Will each estimate have its own directory or will a directory contain multiple estimates from different vehicles?
  3. Re: How to code to load firs column only without column head?

    .Paul, I can't count the hours I've spent over the years trying to solve a problem, only to realize it was a typo. Even though thats the first thing you look for, sometimes you just don't see it. ...
  4. Re: How to code to load firs column only without column head?

    .Paul, Maybe seeing his actual code could help. It might not be what you think.
  5. Re: I have problem to connect crystal report with MSaccess 2007-2013

    I just showed you how to connect to a database with a password and you didn't answer any of my questions. Good luck
  6. Re: I have problem to connect crystal report with MSaccess 2007-2013

    Need more information. Are you trying to connect using the report designer or at runtime? If at runtime, provide the code. I normally don't connect directly to the database. I create a Typed...
  7. Replies
    4
    Views
    149

    Re: Create a program that calculates MPG

    You really shouldn't use "Val" to convert text. Val is a VB6 function and also it doesn't insure that numbers only where entered in the the textbox. Check here...
  8. Thread: Rdlc Report

    by wes4dbt
    Replies
    4
    Views
    193

    Re: Rdlc Report

    What part are you having trouble with? Have you Googled something like ".net create rdlc report"? No one will explain every single thing, step by step. Do some research, give it a try and then ask...
  9. Replies
    19
    Views
    405

    VS 2012 Re: VB database: What am I doing wrong?

    you don't fill a Dataset. A dataset contains DataTables, you fill the DataTables. You fill the DataTables using either a TableAdapter or DataAdapter.
    Here's some videos to help you get started...
  10. VS 2010 Re: [VB.NET] Condition when ComboBox indexchanged

    Is this a class assignment? If not then there are a lot of better ways to go about this, as Edgemeal has suggested.

    You have some real problems with your code,

    If (dayComboBox.Text <= 0) And...
  11. Re: Crystal Report 2 header, separate details each

    If all employees will have the same "Details C" except just different amounts. You really don't need a details section for that. You could keep the data in one record and display it in the group...
  12. Replies
    19
    Views
    405

    VS 2012 Re: VB database: What am I doing wrong?

    No way for us to know. You haven't provided the code where you fill the datatable. Need more information!
  13. Thread: CheckBox Logic

    by wes4dbt
    Replies
    18
    Views
    406

    Re: Form Load - Triggers Message

    Are you assigning a value to chkflg in the form load event or is it a bound control?
  14. Replies
    3
    Views
    113

    VS 2012 Re: Searching for an array of byte

    This doesn't really make any sense. Nothing in an exe ever changes. What type of address are you talking about. What is it your trying to achieve?
  15. Thread: Activation

    by wes4dbt
    Replies
    4
    Views
    122

    VS 2010 Re: Activation

    A Textbox has a "ToUpper" method. "TextBox1.Text.ToUpper".
  16. Replies
    1
    Views
    189

    Re: Crystal Reports for VB 2010

    Did you get your CR from this site http://scn.sap.com/docs/DOC-7824 Did you install the executable and not just the MSI. Also, you need to provide which version of VS your using and what errors...
  17. VS 2008 Re: Get data from DGV of another form from another form.

    Why not just pass the data from form2 to Form3. It would help if you gave a more complete explaination of what your trying to achieve.
  18. VS 2008 Re: Deployment vb.net Applications with Crystal Report

    Yes, you can use Click Once, read this...
  19. Replies
    5
    Views
    204

    VS 2010 Re: Relationship not working

    To close this out, after more testing, I found several "userid"s in the Tags table that had trialing blank spaces. Thats why running the trim solve the relation problem. My only conclusion is that...
  20. Replies
    5
    Views
    204

    VS 2010 Re: Relationship not working

    Well, I solved the problem. I ran this code on my Tags table, and now the relation works.

    For Each r As DataRow In Me.WaterDbDataSet.tags
    r("userid") =...
  21. Replies
    5
    Views
    204

    VS 2010 Re: Relationship not working

    jmc, It deals with two tables,

    Tags tables
    tagnumber - unique
    userid - non unique, the same userid can have many tags
    groupid - non unique
    .
    .
    .
  22. Replies
    5
    Views
    204

    VS 2010 Re: Relationship not working

    Some addition information.

    I create a relation in my datasource between the Tags table and the Groups table (the same as the relation I created in my code above)
    I add a new Form to the project....
  23. Replies
    5
    Views
    204

    VS 2010 [RESOLVED] Relationship not working

    Though I was able to get the relationship working in my previous post http://www.vbforums.com/showthread.php?775881-RESOLVED-Create-Relationship-between-non-unique-fields
    I have not resolved my real...
  24. VS 2010 Re: Create Relationship between non unique fields

    Never mind I found the answer. There is an additional parameter that you need to set to false.

    data.Relations.Add("ParentChild", _
    parent.Columns("Name"), _
    ...
  25. VS 2010 [RESOLVED] Create Relationship between non unique fields

    This code is from jmc Mater/Detail code example in the code bank, bit I've made some modifications,

    Private Sub Form1_Load(ByVal sender As Object, _
    ByVal e As...
  26. Replies
    9
    Views
    264

    VS 2008 Re: Report does not load

    Do other Crystal Reports run ok on the problem machine? Does the rest of the app run ok on that machine?
  27. VS 2010 Re: how to get the index of the current row from the cell being looked at....

    How about,

    DataGridView1.CurrentRow.Index.ToString
  28. Replies
    9
    Views
    264

    VS 2008 Re: Report does not load

    I don't think that the Report doesn't load, I think the Report can't find the data table that the Report uses. Where is the data/database keep? Local or network. If it's network then maybe it's a...
  29. Replies
    4
    Views
    201

    VS 2008 Re: VS 2008 Print a form

    I don't know which version of vs 2008 you have but Reportviewer usually comes with it. You shouldn't have any problems finding example online.
  30. Replies
    2
    Views
    115

    VS 2010 Re: working with datagrids

    Are you talking about a DataGridView or a DataGrid. They are two different things.

    If your talking about a DataGridView then something like this is will work,

    For Each row As...
  31. Replies
    4
    Views
    201

    VS 2008 Re: VS 2008 Print a form

    It's really your decision. You can do it with PrintDocument but it's not a simple task. Or, you could create a rdlc report (reportviewer) or a Crystal Report or some other third party reporting...
  32. VS 2010 Re: Confused about Cascading Deletes in Type Dataset

    jmc, ahhhhh, that did it, thanks


    taTags.DeleteSingleTags("4958")

    That is a delete query I added to the tableadapter. I thought the relation would be active on all query on that datatable,...
  33. VS 2013 Re: How to get certain number of characters from selected combobox item

    Me.Label1.Text = Me.ComboBox1.Text.Substring(0, 10)

    You should first verify that the combobox text is at least 10 characters.
  34. VS 2010 Re: Confused about Cascading Deletes in Type Dataset

    jmc, Thanks for the reply.



    The parent record deletes but not the child. I thought it would automatically delete the child.

    I guess, what I'm trying to say is I can't figure how to use the...
  35. VS 2010 [RESOLVED] Confused about Cascading Deletes in Type Dataset

    Imports System.Data.OleDb
    Public Class Tags
    Private ds As New WaterDbDataSet, taTags As New WaterDbDataSetTableAdapters.tagsTableAdapter, taTd As New...
  36. Re: How to compile windows app to make exe file including all dll files?

    So, the OP was talking about,

    How do you know if it's an Active X Com?

    Are you saying that any .Net references you add to your project don't need to be register and any COM references DO need...
  37. Re: How to compile windows app to make exe file including all dll files?

    If you do it this way. wont you have to create an install that would register the dll's. That's not all that hard but if your working remotely it can be problematic.
  38. Re: How to compile windows app to make exe file including all dll files?

    aspun, Thanks for posting that link, very interesting.
  39. Re: How to prevent making duplicated rows in datagridview table

    Is there some reason you don't remove the duplicates before you load the dgv. Anyway, an Array has a method named "Distinct". This will remove all duplicates.

    Dim arrDistinct() as String =...
  40. Re: How to prevent making duplicated rows in datagridview table

    blueye89,

    You keep making us pry the necessary information from you bit by bit. Zelot, asked to see an example of the data but you didn't provide it. The amount of columns or the amount of rows...
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.