Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

Go to the root of your C drive and type

dir ipconfig.* /s

If it has disappeared from c:\windows\system32 you might still have a copy cached in a sub-folder which you can copy back to c:\windows\system32. Note, youy will need to open a command shell as asministrator to do that.

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

Maybe
It's
Stupid
Touching
A
Knife
Edge

Football

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

Getting
Your
Rotational
Orientation
So
Capsule
Orbits
Planet
Earth

Bonus acronym

Ranting
Eternally
Very
Easily
Ruins
Each
New
Day

Just
In
My (opinion)

next one

Facebook

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

Those three images are supposed to be to Tweet, Google+, or Facebook

Sounds right. I disabled AdBlocker and I don't see them anymore.

Jim, are you using standard login or are you using Login with Facebook, etc?

Standard login. I don't believe in Facebook. I'm going to leave Ghostery and AdBlocker disabled for the nonce and see how things go.

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

Glad to be out of school for many years now :)

Been down one time
Been down two times
I'm never going back again

Fleetwood Mac

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

I had to repost. The first one never got accepted.

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

Do you get the same problem if you just try copying a file to that location using Explorer? Your code will write text to a file as long as you have permission.

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

I have another post stuck in limbo. I have Ghostery and ADBlock disabled

d5e017f62d437fea90980e8a149abe71

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

Some of it goes into analysis (and by that I mean giving the government the results it wants) and the rest goes into profits. The government invades Iraq and Haliburton cleans up building infrastructure and other companies do the same providing security and making munitions. The government creates a massive security infrastructure and contracts 70% of it out. The government throws millions of people into privately run jails and the profits go to the rich. The government starves public schools and the charter schools pick up the slack (more profits for the rich). These days it seems like government is little more than a mechanism to take your money and give it to the Romneys and the Koch's of the country.

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

He was also apparently unaware that there was no consumer demand for a crippled Windows tablet. And this moron was a CEO? How much of a golden parachute do you get for a near billion dollar screw-up?

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

What makes you think that a sport has to be expensive? It's only the organized sports that cost an arm and a leg. There are many opportunities for sporting activities between vegging on the couch and participating in a highly organized sport like soccer or football. My older son, for example, played a lot of ultimate frisbee for next to nothing.

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

You should save the data in a way that makes it easy to parse when you read it back in. For example, if you save it as

Milan - Arsenal;1
Real - Barcelona;2
Milan - Arsenal;7
Celtic - Milan;4
Real - Barcelona;2
Celtic - Arsenal;2

then you can read the file back into a dictionary and display the totals as

Dim dic As New Dictionary(Of String, Integer)

'read the file and calculate totals

For Each line As String In System.IO.File.ReadAllLines("d:\temp\games.txt")
    Dim fields() As String = line.Split(";")
    If dic.ContainsKey(fields(0)) Then
        dic(fields(0)) += CInt(fields(1))
    Else
        dic(fields(0)) = CInt(fields(1))
    End If
Next

'display number of tickets for each game plus grand total

Dim numTickets As Integer = 0

For Each key As String In dic.Keys
    ListBox1.Items.Add(key & " = " & dic(key))
    numTickets += dic(key)
Next

ListBox1.Items.Add("Total tickets = " & numTickets)
Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

Your last post has a link to a website that promotes software theft. I have removed it. If you post that link again you will receive an infraction.

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

Then there's always the option to set a timer for the given interval and do the processing when it expires. But using Thread.Sleep for a small interval like 2 seconds is not unwarranted.

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

You did notice that my first sentence was I haven't seen this confirmed anywhere else yet. I was hoping others here might have come across something to either confirm or refute it.

So let me get this straight. If an OS allows unauthorized (by you) and unknown (to you) access to your computer do you still consider that OS safe? I'm talking hypothetical here since the OP is still unconfirmed.

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

You can't tell what's wrong with a query unless you can see the query. After you create it do

Debug.WriteLine(SqlCommand.CommandText)

and post the results here.

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

If the OS explicitly provides the facilities for ad hoc remote entry/access, then yes. If I was able to remote into your computer without your knowledge wouldn't you consider that a failing of your software?

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

Then why all the hoo-hah over Google street view? Google had to blur faces and licence plates due to privacy issues which, when you think of it is pretty ridiculous with all the other surveillance cameras out there.

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

After yesterday's problems I disabled

Adblock Plus Pop-up Addon 0.9.1
Ghostery 5.0.3

and still have the following enabled

DivX Plus Web Player HTML5 <video> 2.1.2.145
DownloadHelper 4.9.17
Readability 2.4
Trend Micro BEP Firefox Extension 7.1.0.1104
Trend Micro NSC Firefox Extension 6.8.9.1096

I'll let you know if and when I have any more problems.

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

By the way, the last post also got stuck halfway. I clicked "Submit" and it was apparently accepted (jusging from the above) but it left me in edit mode with no way to exit other than shutting down.

I don't know how many other new users are having problems like this but if they are, how many of them are just saying "the hell with it" and going elsewhere? You said you were wondering if this was related to the sudden drop off in traffic. Maybe it is.

I am aware that my constant ranting on this topic is getting tiresome and I apologize but you can't imagine my level of frustration.

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

Dammit dammit dammit. I uploaded two different files but the same iumage got inserted twice. I was very careful and I even previewed the image before uploading so it is definitely not user error.

9addd950734a9b0162f1544d8b00925a

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

I think i see the solution. I just have to get mad enough while I submit the post. Anyone (happygeek) recall Basil Fawlty thrashing his car to make it start?

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

This is getting to the point where I just do not even want to log on anymore. I'm trying to post one image of something unusual I noticed. The image uploaded but the post only got half submitted. When Ii quit Firefox then restarted the post was not there. If I can't upload the two images then (Dani) please email me a regular email address that I can use to send you the info. The first image shows what happens every time I go to a new forum. Three rectangles get rendered at the top of the screen, then get erased. The second image shows my previous unsuccessful post in a state of limbo.

b690646c227ff6ca12ca4b6be5bd2f75b690646c227ff6ca12ca4b6be5bd2f75

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

If so then msg me me I will give the codes for it so.

Code should be posted in the thread for everyone to benefit from.

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

Well I'll be dipped in (deleted). I've been using SQL for years and I was never aware you could do that.

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

And I couldn't help but notice that no one is disagreeing with my " I must be the stupidest person..." comment.

Hmmmmmm ;-P

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

I've logged in several times today. On two of those occasions I had a discrepency in my login status. The page in the first image (which, hallelujah) finally uploaded clearly shows that I am not logged in, however, when I clicked Log In, instead of showing me the login dialog, it took me to the Edit My Profile page (second image), which clearly indicates that I was already logged in.

I am currently logged in and the system is reflecting that i am logged in.

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

Windows 8 could have been a great OS except Microsoft decided to spit in the face of everyone who uses a non-touch computer.

Do you recall the commercials from many years ago with Bill Cosby telling us that no matter how much we liked the taste of Coke, we were going to like the New Coke better? Do you recall how that worked out? That's the problem when the creator of a product tells us what we like instead of going to the trouble of finding out what we like. And please don't quote me that tired old "they would have told me they wanted a faster horse" nonsense from Henry Ford.

It might have been a good idea to survey a large number of Windows users (and not just ones hand-picked to generate the results you want) and tell them "we're thinking of getting rid of the Start Button and forcing you to run certain apps in full screen only. Also, we're going to take every opportunity to dump you back into something called Metro. What is your opinion on that?".

Years ago, Dave Barry wrote a Windows related column where he mentioned Microsoft's tendency to push their own products with pop-ups like You have pressed the space bar. Do you want to make Internet Explorer your default browser?" That's my understanding of what they were doing with Metro.

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

And of course it works now!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

Go back and reread the second paragraph. Of course you don't see any pictures because even after multiple tries I couldn't get them to upload. They weren't too big. I exited Firefox and cleared the cache repeatedly. I click on Browse and select the file (the name appears in the textarea next to the browse button. Then Ii repeat the same operations to get the second file. I then click Submit Your Reply and the bloody files don't get attached.

They upgraded the cell tower in my area so my connection status is the full five bars. And yet, the uploading of files is still completely unreliable.

You just cannot imagine how frustrating and irritating this is, and has been, for many months.

Let me try to describe the sequence of events again (and I will try yet again to attach the screen shots). I click my bookmark that takes me directly to the vb.net forum. Ii click Log In and log in. I scroll down the page and stare in wonderment at how all the threads that I am current on are all flagged New until I notice that I am apparently not logged in. I click on Log In again and instead of getting the login prompts I get the Edit Profile page indicating that I am in fact already logged in.
481bd28ee963a2c4ac3843012d37bae0e70f26e28aaf38c2cbbf2d410817684b

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

Did you happen to notice the Code Snippets thingy on the thread summary page? I suggest you browse through what's there. Specifically Create controls at run time with events

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

I may not have provided the definitions of all the uses of the term fatback but the one I gave was correct and was correctly described by ddanbe above.

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

I have a link on my toolbar (Firefox 23) that takes me directly to the vb.net forum. Of course, I log in before I do anything. A couple of times today after logging in my screen looked like the first attached image. Thinking I was having a senior moment and just forgot to log in I clicked Log In and saw the second screen.

This is the third (very rude word) time I've edited this post (exiting Firefox and clearing the (same rude word) cache each time and I still can't get the (extremely rude and offensive gerund) files to attach. I cannot be the only person who is having this problem. If I am then I must be the stupidest person who ever used a computer to not be able to figure out why this does not bloody well work!!!!!!

The first picture shows I am not logged in. The second picture shows that clicking on Log In took me to www.daniweb.com/members/edit_profile

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

Show us your code.

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

Just remember to put spaces between them. But I have to ask, why not just use a datetimepicker? That way you don't have to check for invalid dates like April 31 and the user can pick a date with one control instead of three.

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

You can do an insert with fewer columns as long as the missing columns are not required or are auto-increment. For example, if you have the table (and I am defining it with pseudo keywords rather than actual keywords)

Employee
    EmpID       identity (auto-increment) primary key
    LastName    string required
    FirstName   string required
    PriPhone    string required
    AltPhone    string optional

then you could do

INSERT INTO Employee (LastName,FirstName,PriPhone)
       VALUES("Parker","Peter","555-2222")

but not

    INSERT INTO Employee (LastName,FirstName)
       VALUES("Parker","Peter")

In the first case the inserted record would contain

MAX(EmpID)+1, "Parker", "Peter", "555-2222", NULL
Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

The only move named "If" I saw was the 1968 movie, "If..." starring Malcom MacDowell. Is that the one you mean?

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

Uhhhm. Thank you.

You make it sound like I gave you either an incorrect or inappropriate response. I didn't say it was a great example. I just said it was an example. Waldo de los Rios did contemporary arrangements of classical pieces (among other things), thus fatback and Haydn. That the drumming was called "fatback" was pointed out to me by a friend who was not only a professional drummer (who also played with the Saskatoon Symphony) but a veterinary medicine major (it was during my college days).

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

It's a style of drumming. The only example I can think of was in an arrangement by Waldo de los Rios of the Haydn Toy Symphony, second movement.

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

This is a hoot. The daniweb profanity filter zapped the link. The affected segment was (remove spaces)

i n v e s t m e n t w a t c h b l o g

and the filter replaced t w a t with ####

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

In order to view the actual article you must replace #### in the link with the letters t w a t. The daniweb profanity filter is being a tad aggressive lately.

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

Here's an interesting one. Two people (one of them me) posted a link to the same article, however, both links got scragged by the profanity filter (warning, rude word coming). The actual link contained the segment (remove spaces)

i n v e s t m e n t w a t c h b l o g

except that it replaced t w a t with #### thereby rendering the link invalid.

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

You are correct. The dictionary does not allow duplicate keys, however, in my example there are no duplicate keys. I populated twp comboboxes with

the
quick
brown
fox

and the output is

ComboBox2-0: the
ComboBox2-1: quick
ComboBox2-2: brown
ComboBox2-3: fox
ComboBox1-0: the
ComboBox1-1: quick
ComboBox1-2: brown
ComboBox1-3: fox

You see that I avoided the duplicates by adding the index value to the key. Note the "-" separator so that you can recover the exact name of the combobox.

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

I think it's more likely a "lost in translation" language problem.

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

That plus advertising from companies like Coke that say it's not the 3-4 cokes you drink a day that are making you fat (10 tsp of sugar each when the recommended daily max is something like 6) it's that fact that you aren't getting enough exercise. So just keep on swilling down our poison as long as you walk a block a day.

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

What's the news here?

Well, part of it has to do with a chip that will decide what software you are allowed to load and run on your computer.

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

I checked the URL and it IS valid. I edited the original post and did a copy/paste of the link into a browser and it opened fine but when I just clicked on the link it did not. Now it is working both ways. Who knows why?

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

Seriously. Read a book. Make some effort to learn something before you start asking questions.

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

Any beginning vb book or website will tell you that. Make a little effort please.

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

Try

Public Class Form1

    Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load

        Dim dic As New Dictionary(Of String, String)

        For Each cbx As ComboBox In Me.Controls.OfType(Of ComboBox)()

            For i As Integer = 0 To cbx.Items.Count - 1
                dic.Add(cbx.Name & "-" & i, cbx.Items(i))
            Next

        Next

        'display the dictionary in a listbox for debug

        For Each key As String In dic.Keys
            ListBox1.Items.Add(key & ": " & dic(key))
        Next

    End Sub

End Class