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...
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...
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...
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...
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...
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
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
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...
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...
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
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 =...
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
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
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
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.