Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. realm174

    Display Files In Folders the User Does Not Have Permission to View

    A few questions for you, for the sake of clarification 1) What permission method are you using to give/deny access to files? (Operating system set?) 2) Are the files on the local computer, where the application runs from, or are they stored on a remote computer? 3) If on a remote computer, what...
  2. realm174

    Faster way to populate a combobox

    jebenson: Unfortunately, I can't filter it down, but thanks for the tip on the "Select". It's something I already knew but I never thought of it. SQL isn't my thing, so I forget those simple things. Really appreciate it tho! griffitdI am not checking for duplicates, there's no duplicates in the...
  3. realm174

    Faster way to populate a combobox

    Can't figure out how to modify my previous post... but I've made some progress... First, the section If Not dt.Columns.Contains("Description") Then dt.Columns.Add("Description", GetType(String)) End If For Each row As DataRow In dt.Rows...
  4. realm174

    Faster way to populate a combobox

    Hello, I have a form on a VB app that has 2 comboboxes. When I load that form, I need to fill the comboboxes with data from a data table. What I have right now works very well, except for the fact that it is excruciatingly slow since the table has about 24000 records in it. Here's what I have...
  5. realm174

    Add controls to tabpages

    Disregard.. went back to backup version. thanks! Cheers, Realm174
  6. realm174

    Add controls to tabpages

    Good morning all, I am not sure what happened, but I had a tab control with multiple tabs, and each tab having its own set of buttons and textboxes and labels and dgv and all... Today, I went back to work on the application, and I noticed one button that wasn't supposed to be on the first tab...
  7. realm174

    Redraw in DataGridView

    Or you can have one dummy grid as a background, then it doesn't show the on/off as much :) Cheers, Realm174
  8. realm174

    Redraw in DataGridView

    Andy, probably not exactly what you're looking for, but in one of the application I wrote a while back, I had a similar issue. I ended up making my dgv not visible, and making it visible again when it was done populating. Cheers, Realm174
  9. realm174

    Random files from My.Resources

    Andy, what if you put the 15 image names in an array: image(0) = My.Resources.IMG01 image(1) = My.Resources.IMG02 etc... then pick a random number, then PictureBox1 = image(randomnumber) I didn't test this, as I am at work with no VS, but the theory looks good :) Cheers, Realm174
  10. realm174

    How do you create Event Viewer subfolders?

    I never actually had to do that, but I did have bookmarked a discussion on the topic "for future reference" in case I ever got the need. Although I haven't dug into it more than briefly read it, here's the link, hopefully it'll help you...
  11. realm174

    Summarizing data in SQL

    Thanks Ian, I'll give that a shot and modify to suit. I really appreciate the help!! Cheers, Realm174
  12. realm174

    Summarizing data in SQL

    Hello everyone! SQL isn't my cup of tea, I'm more of a Vb.NET guy. I can do simple INSERT or SELECT queries, but anything past that is beyond me. So I've come across an issue that I have no idea how to go about. I have data in a SQL Server (MS server 2008 if that matters), and each record looks...
  13. realm174

    Access to the path is denied

    Thank you for your response, that did not work unfortunately. Nothing wrong with your line of code, it went through it without error, but I'm still getting the error at the rename line. :( Cheers, Realm174
  14. realm174

    Access to the path is denied

    Hello people, it's been a while... I'm trying to rename a folder located inside the %appdata% folder. I can do it in Windows Explorer no problem, but I can't do it in a batch file, nor can I do it in vb.net. Here's what I have for code: Public Class Form1 Public RootFolder As String =...
  15. realm174

    Flatfile into Structure

    ok, I figured it out... or at least, I figured out a way that works just fine. I'll need to do some reading when I have a bit more time available.. :) Cheers, Realm174
  16. realm174

    MessageBox.Show on no input in Label?

    Good catch Sorwen!! :) Cheers, Realm174
  17. realm174

    2-digit date settings

    how about: System.Globalization.CultureInfo.CurrentCulture.Calendar.TwoDigitYearMax which should give you the ending year... subtract 99, that'll give you your starting year for the range. Cheers, Realm174
  18. realm174

    Cant find the macro to show the forms command button error

    Are you sure this is a vb.net issue? Or is this a vba/access issue? If it's vb.net, do you have any code related to this error? And was that the exact wording of the error message? I googled it, trying to see if I could guess where that's from, but didn't get any exact match... Cheers, Realm174
  19. realm174

    Flatfile into Structure

    Sorry, I guess I should have provided more details. The file is read into one string, that is correct, and I can certainly use .split(",") as you suggested, but then, I'll end up with one array that has each value as one individual item. What I am trying to do, I guess, is something similar to...
  20. realm174

    Flatfile into Structure

    Hello, I am trying to read a single line text file into a user defined structure. The content is variable in length, but is always the same format. Here's the Structures definition I came up with: Structure basetype Dim dep As String Dim arr As String Dim alt As...

Part and Inventory Search

Back
Top