Search:

Type: Posts; User: CyberHawke

Page 1 of 12 1 2 3 4

Search: Search took 0.19 seconds.

  1. Re: CSV to a form ??? please help .... [resolved]

    File parsers are great if you want to look at the text in a file, but not very useful if you actually want to use the data in the CSV as data in a table driven system. Depends on the need of your...
  2. Re: CSV to a form ??? please help .... [resolved]

    An easier route would be to open the dataset as shown, and then build a set of datarows from the table in the opened dataset using the DataTable.Select method.
  3. Replies
    16
    Views
    1,616

    I tend to lean in your direction with regard to...

    I tend to lean in your direction with regard to coding practices. I have found that most people who use databinding to display their data fall into one of two categories: Those that are too lazy to...
  4. Here is an article I found on MSDN that shows how...

    Here is an article I found on MSDN that shows how to display data from more than one table in a dataset, in the same DataGrid.
    HOW TO: Extend the Windows Form DataGridTextBoxColumn to Display Data...
  5. Replies
    2
    Views
    583

    It is absolutely not possible to reuse a...

    It is absolutely not possible to reuse a datareader unless you execute it a second time.

    The datareader is what we used to refer to in the "old days" as a firehose connection. It is a forward only...
  6. the information for this is in the...

    the information for this is in the AssemblyInfo.vb file and is named <Assembly: AssemblyVersion("1.0.*")>
  7. As I read your description, a few things come to...

    As I read your description, a few things come to mind:

    Does your dataset have datarelations between the tables?

    Have you attempted to run a select against your dataset?

    I will be testing...
  8. Replies
    4
    Views
    694

    Have you heard of docking and anchoring?

    Have you heard of docking and anchoring?
  9. I wrote them, I do a lot of work with Remoting...

    I wrote them, I do a lot of work with Remoting and the only way to pass arguments from a server to a client, over a Remoting channel is to create a custom event args class, make it serializable and...
  10. Yes, you are correct, if you want to pass...

    Yes, you are correct, if you want to pass information such as a string to an event handler, then you should create a class "CustomEventArgs" that has a string property, instantiate a new instance of...
  11. ok, in your original post you listed some code...

    ok, in your original post you listed some code and posed the question

    In your InvokeMethod method, you are taking the parms and passing them as arguments to the method you are calling in the...
  12. Yes, you have that part correct, and actually,...

    Yes, you have that part correct, and actually, based on what I have read from these few posts, everything should work, is there a problem that I am not seeing?
  13. Yes, you are correct, anytime a mouse button is...

    Yes, you are correct, anytime a mouse button is clicked, it generates a MouseClickEventArgs that is passed to the subsequent mouse click event.

    Have you considered using delegates with the invoke...
  14. Replies
    5
    Views
    1,803

    What is it exactly that you want to do that the...

    What is it exactly that you want to do that the DataRow class does not already do?
  15. Replies
    1
    Views
    474

    Hey, take a look at this thread, I think it will...

    Hey, take a look at this thread, I think it will answer your questions and resolve your issue.

    csv and datasets
  16. Ok, first of all, it shoud be known that I have...

    Ok, first of all, it shoud be known that I have written a remoting project in C# prior to attempting to write this one in VB. Armed with the previous experience, I figured that doing this in VB would...
  17. Replies
    5
    Views
    541

    Then this code will work for you: Private...

    Then this code will work for you:
    Private Sub CombineArrays()
    Dim Array1(3) As Byte
    Dim Array2(3) As Byte
    Dim Array3() As Byte

    Array1(0) = 200
    ...
  18. Thread: Exel

    by CyberHawke
    Replies
    7
    Views
    1,132

    Well, for this to work, the data in your...

    Well, for this to work, the data in your spreadsheet must follow a pattern that can be read into a datatable. This means that your data must not contain additional rows that might be text...
  19. Replies
    5
    Views
    541

    It appears from the code you provided that you...

    It appears from the code you provided that you want elements in Array3 to be the sum of elements from Array1 added to elements from Array2.

    If my assumption is correct, then you must loop through...
  20. Replies
    2
    Views
    554

    The answer to your question, really, is a matter...

    The answer to your question, really, is a matter of preference. Both controls would work well for displaying of information. Both controls would allow you to pop-up a data form to edit a single...
  21. Replies
    17
    Views
    1,346

    Russ, Yes, the provider assumes the first row...

    Russ,

    Yes, the provider assumes the first row is column headers, so as you stated, place something at the top that has no meaning. . .just as long as it follows the same delimited structure.
    ...
  22. Replies
    17
    Views
    1,346

    Russ, The best way to approach this is to...

    Russ,

    The best way to approach this is to remember that Microsoft wants you to use anything that can be considered structured storage as a datasource. Bearing that in mind, Microsoft has provided...
  23. Replies
    17
    Views
    1,346

    ok, I changed the example and removed any...

    ok, I changed the example and removed any references to a datagrid

    John
  24. Replies
    17
    Views
    1,346

    remove the part about the datagrid

    remove the part about the datagrid
  25. Replies
    2
    Views
    566

    Use the AddHandler method, it's in online help,...

    Use the AddHandler method, it's in online help, and if you can't find it, let me know and I'll provide an example.
  26. Replies
    17
    Views
    1,346

    Russ, I don't know your level of experience so...

    Russ,

    I don't know your level of experience so I also don't know what kind of problems you might be having trying to implement this with the information provided.

    Here is a working example:...
  27. Replies
    17
    Views
    1,346

    Russ, No, this would still work, you simply...

    Russ,

    No, this would still work, you simply make the combobox's datasource the table, then set the DisplayMember property of the combo box to column(0) of the table, and the ValueMember property...
  28. Replies
    2
    Views
    521

    Is this a different problem from the help I have...

    Is this a different problem from the help I have been giving you in the other thread?
  29. Replies
    17
    Views
    1,346

    Why not simply open your text file directly into...

    Why not simply open your text file directly into a datatable instead of reading it in line by line. Here is the code to do that:
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e...
  30. Actually, as I was reviewing my post, I realized...

    Actually, as I was reviewing my post, I realized that I left a piece of code in there by mistake. Here is the corrected code:
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As...
  31. If you carefully review my code you will see that...

    If you carefully review my code you will see that every object you need to open the data and connect it to your grid is coded. You only need to change the file location for where your file is located...
  32. Hey, do me a favor, let me know if you have an...

    Hey, do me a favor, let me know if you have an Instant Messaging client, AOL, Yahoo, MSIM?
  33. Replies
    8
    Views
    637

    Hey why not, most kids sleep through classes...

    Hey why not, most kids sleep through classes anyway, and then find someone willing to do their work for them. I would have hoped that Cassy would have opened the help file or at least did a search...
  34. Howdy, You need to add an imports statement at...

    Howdy,

    You need to add an imports statement at the top of your module:

    Imports System.Data.Odbc

    ADO is ActiveX Data Objects, which isn't appropriately named anymore because the .NET...
  35. Replies
    7
    Views
    4,574

    The sticky note at the top of this group has a...

    The sticky note at the top of this group has a link to 101 VB.NET Examples. Download that, there is an analog clock example which you could modify to create your meter face.

    John
  36. Replies
    8
    Views
    637

    Cassy, If you are taking a class on vb.net, I...

    Cassy,

    If you are taking a class on vb.net, I am sure your instructor had it in mind for you to "learn" something from this exercise. If I were to just write the code for you what have you...
  37. Replies
    1
    Views
    418

    Hey, this should work for you: Private...

    Hey, this should work for you:
    Private strFileName As String
    Private Sub btnMove_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnMove.Click
    strFileName...
  38. Hello, yes, it's a heck of a lot easier than that...

    Hello, yes, it's a heck of a lot easier than that :cool:

    Before you begin, you have to realize that Microsoft in it's less than infinite wizdom regocnizes that any structured storage system is a...
  39. Before I give you my answer, I need to know if...

    Before I give you my answer, I need to know if you have already created Insert, Update, and Delete command objects and associated them with your DataAdapter?

    I ask this because if you have then...
  40. *bump* Any one here got a clue ;) I can...

    *bump*

    Any one here got a clue ;)

    I can post additional source code if needed. If you would like to see code from any of the other assemblies, I'll be happy to post.

    John
Results 1 to 40 of 477
Page 1 of 12 1 2 3 4



Click Here to Expand Forum to Full Width