Jump to content
Xtreme .Net Talk

Robby

Moderators
  • Posts

    3848
  • Joined

  • Last visited

Everything posted by Robby

  1. I find this site to be lightning fast compared to most other sites.
  2. hmm? Check if a directory exists with Directory.Exists then if true use File.Exists to see if the file exists, else create the directory, then create the file.
  3. The "1" can be an everchanging field value from the table (dataReader) item1.SubItems.Add("1") [edit] In the CreateMyListView routine, there is no loop but obviously you will have a loop.... While MyReader.... [/edit]
  4. That's my problem, instead of admitting it, I spend hours trying to solve it myself.
  5. Have a look at SubItems of the ListViewItems... Here's a sample project (checkout Form2) listview statusbar.zip
  6. Directory.Exists and File.Exists are fine to use, unless someone knows a better method. (I don't)
  7. Very well said Wyrd.... I had Win98 for a couple of years and Win ME for 6 months, I never had the BSOD on either, as long as you have all the correct drivers and keep the system clean. I had a BSOD the first month I installed Win2k, I had the wrong device driver. I haven't had a crash since.( 3+ years now) .NET unstable? None that I've experienced.
  8. or .... Monster.ca :)
  9. Does this happen with a new project as well, or only an existing one?
  10. I have to agree with quwiltw, AndAlso and OrElse are more elegant and efficient. I use 'em where I can.
  11. Someone in Marketing is slacking. :)
  12. Oh man, I feel terrible. Thanks for the fix Thinker. I'll wait a day, then start a new thread...Give him some promo for a few days. (The least I can do)
  13. Get the row position you need from the Dataset/DataTable, it will correspond with the row of the Listbox.
  14. "with my wife this time!!!" Are you sure? :) I just thought of something I used the tag for, it was a set of 12 radio buttons, each tag represented a value. I had one event handler for all the radios. So a single line of code did what may have taken a large Select Case.
  15. You put a msgbox in the Activate event? That would cause it to fire endlessly.
  16. btw, Studebaker's closed years ago.
  17. It has to be more than an extra string holder.... It pretty much is and what about data link ....I don't know.
  18. button1.tag = "Hello" messagebox.show(DirectCast(button1.Tag, String))
  19. Robby

    module

    You really should not use modules, you can use Property or Function in a seperate class. You can check MSDN on this or wait a few minutes for someone here to explain.
  20. Is it a Delete, Update, Insert query? Are you certain that a row should be affected?
  21. Did you rename the form or class?
  22. I don't have .NET handy so bare with me.... My suggestion is to test with a single item, once that works you will need to builsd a string that contains all the selected items. Following is for one item only. 'dt (DataTable) is a member of the Class dv = New DataView(dt) Dim sWhere As String = "yourColumnName Like '" & listbox1.selecteditem & "%' " dv.RowFilter = sWhere Datagrid1.DataSource = dv
  23. So essentialy you do want to make them ReadOnly?
  24. I have never used 'QueryTables'... I'm not sure but your range may need to be something like this... ("A1:E10")
×
×
  • Create New...