Just saw your message. Cool. I'm half awake and it really annoyed me I couldn't think it through right.
-I hate Microsoft!
-Forever and always forward.
-My kingdom for a edit button!
I seriously need more sleep. That isn't right because that will always leave the last item off. In this instance that would be a blank so it isn't noticeable. Here.
Private Sub test()
Dim pStr As String = "2/1/2012 - 321 2/1/2012 - 213 2/1/2012 - 21 2/1/2012 - 321 2/1/2012 - 231...
Oops. You don't need the last part in there.
For Each curstr As String In colDate
ListBox1.Items.Add(curstr)
Next
-I hate Microsoft!
-Forever and always forward.
-My kingdom for a edit button!
A few things. How are you getting the string in the first place? Next, do you know for sure the data will always be in this format? No 02/01/2012 dates, always date first, etc? The last item has nothing after the dash. Can that happen or did you just cut off your example too early? Finally...
I also forgot to mention it beggs the question do you want people(or yourself if it is just you) actually setting Total. Think about making it ReadOnly.
-I hate Microsoft!
-Forever and always forward.
-My kingdom for a edit button!
Since they are properties fire an event each time one is changed to update the total.
Public Class typeList
Private mType1 As Double
Private mType2 As Double
Private mType3 As Double
Private mType4 As Double
Private mTotal As Double
Public Property Total() As Double...
How are you reading in the data being sent? Is your program doing it directly or is it saved some where frist?
-I hate Microsoft!
-Forever and always forward.
-My kingdom for a edit button!
First, I would suggest showing what you have so far. Second, what is the end result of this? What do you want to do once you find the matches? This could make a big difference on what you might want to do.
-I hate Microsoft!
-Forever and always forward.
-My kingdom for a edit button!
There are lots of places in the Active Directory where "group" data can be stored. Use this to find where the group data is stored first. It puts all the variables you can access for a given name in a RichTextBox.
Private Sub ActiveDirectoryToolStripMenuItem_Click(ByVal sender As...
You can also specify the start path in any standard shortcut or it is automatic for click once deployment. I could have sworn there was a way in code as well, but if so I can't remember it now.
-I hate Microsoft!
-Forever and always forward.
-My kingdom for a edit button!
That is mostly true. However, the other thing though is for VS2005 and VS2008 at least when no path is supplied and one is required the program will first check the startup directory. By default that will be the directory the current running program is in unless you specify differently in the...
Well that was stupid I didn't even notice I was calling the responce twice and that is why it is blank. So I've actually made no progress at all. :(
-I hate Microsoft!
-Forever and always forward.
-My kingdom for a edit button!
This is the closest I've come to possibly something right. It at least doesn't respond with the login page. The problem is that it doesn't respond with any page.
Dim request As HttpWebRequest = CType(WebRequest.Create(Link), HttpWebRequest)
request.CookieContainer = New...
Wow I need to slow down a bit. Hehe. That last part should read:
The only other suggestion I can make is to inherit from a picture box instead. I helped someone with that before, but couldn't find the original thread. Here as a drawing version of it to look at for a starting point...
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.