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

can't we even make a commercial depicting people being happy

Many years ago our local paper decided to stop running the cartoon Tumbleweeds. The reason given was that First Nations people had complained because it depicted them as stupid. It didn't matter that the cartoon depicted everyone as stupid.

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

still have under-representation of women as expert commentators

And it doesn't help when they hire commentators such as Sarah Palin and Ann Coulter.

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

How do you that the jamaicans like the commercial?

An article in the Washington Post. Obviously I haven't talked to all Jamaicans. Just one. And he liked it.

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

Got it. Thanks.

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

Fortunately I no longer have to worry about this. Although it would have been a good thing to know in pre-retirement when I had to do this sort of stuff (a euphemism) for a living. One more clarification if you please. Why

Dim worksheet As xl.Worksheet = CType(wb.Worksheets("Sheet1"), Microsoft.Office.Interop.Excel.Worksheet)

instead of

Dim worksheet as Excel.Worksheet = wb.Worksheets("Sheet1")
Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

I only heard about it after the fact (I only watched the last minute and a half of the game) and saw it online, but there was a Volkswagom commercial where a guy from Minnesota talks in Jamaican patois. Here's yet another example of people who have nothing better to do than be offended on behalf of other people. There's been a lot of talk about how that commercial is racist and that the actors migh as well have done it in blackface. Meanwhile, the commercial is quite popular in Jamaica and has gotten the official thumbs up from the Jamaican government.

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

The original Longest Yard with Burt Reynolds was better (IMO)

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

I've been doing this although I don't know that it is guaranteed to work. I have never been able to find a definitive answer as to how to properly handle the Excel objects when it comes time to clean up. I suppose if it were possible to get a process id associated with the underlying Excel.exe it would be possible to do a process kill on form exit but that would be a rather ham-handed way of handling it.

    Dim xls As New Excel.Application
    Dim sheet As Excel.Worksheet

    'create a workbook and get reference to first worksheet

    xls.Workbooks.Add()
    sheet = xls.ActiveWorkbook.ActiveSheet
    .
    .
    .
    ReleaseObject(sheet)
    ReleaseObject(xls)
    .
    .
    .

Private Sub ReleaseObject(ByVal obj As Object)
    Try
        System.Runtime.InteropServices.Marshal.ReleaseComObject(obj)
        obj = Nothing
    Catch ex As Exception
        obj = Nothing
    Finally
        GC.Collect()
    End Try

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

When you write code to use the Excel application object it is not unusual to end up with multiple Excel.exe instances running. You should check with Task Manager for this.

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

I think use the rest should be use the reset

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

I don't know if this will help but if you open Firefox with "about:blank" as the target you might be able to go to Tools -> Options. Then select the Applications tab. If you can figure out which item is causing the problem you can use the Action drop down box for that item to select Application Details. In that dialog there is a Remove button.

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

Not Raging Bull or Ali?

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

And he played in this year's Super Bowl.

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

This will help when installing the SQL Management Studio. The procedure is not obvious.

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

The best book I've seen was the vbScript Programmer's Reference by Wrox Press.

I also recommend you download this archive file which contains a large number of sample scripts from the Microsoft Scripting Guy.

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

Glad to hear you are back on your feet again.

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

Looking at the results after about 40 Years of female emanzipation

Perhaps the problem is partly due to a bunch of white male neanderthals trying their damndest to force women into the ideal 1950s wifey/mother role that only ever existed in their fantasies while desperately hanging on to their outdated prejudices and hatred of anything that disturbs their completely distorted picture of reality.

but I'm not bitter

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

AM? You mean this member: Agilemind so shes'a girl.

Yeah. She kinda hinted at that when she posted

PS I am a woman who has experienced and observed British men being 'chivalrous'.

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

(I have to pay for storage space, bandwidth, and big attachments means lots of people constantly downloading large files)

I'll certainly keep that in mind for future posts. I'll keep screenshots small. Based on that, perhaps Nick Evan might want to resize that screen image before posting.

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

What is the maximum allowable size for uploading files? Is this a per attachment limit or is it a per post limit?

When the error message (finally) comes up, perhaps it could specify what the maximum size is. On a slower connection could we possibly get some indication that the upload is in progress? Otherwise the poster might (like me) just assume the attachment process is broken.

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

I'm wondering how balanced the discussion is with not hearing any views from female members on the forum.

If you've read the earlier posts in this thread you'll see that agilemind has already weighed in.

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

The hell with it. You can download it here

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

I decided to just add Daniweb to the Ghostery whitelist. Now that I'm getting the controls rendered I am also now seeing that chm files are not allowed so I zipped and attached, but the zip file didn't get uploaded.

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

Let's try the attach again. Nope. Still couldn't attach it.

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

I'm getting consistent results now. When I disable Ghostery, the text/browse controls render properly. When I enable Ghostery they don't render at all. I don't know why this happens but I'll play with the Ghostery settings to see if I can narrow it down.

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

The file sizes were 1,351,013 bytes and 304,896 bytes. They were chm files.

@dani - I don't know if it was ever fixed. It was quite a while ago and I very seldom have to attach files. I did try disabling Ad-Block. It didn't help. I'll try the others. This seems vaguely familiar and I don't recall it helping but I'll give it a try.

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

Looks like it provides a little more functionality than doing a search with DIR. One thing that always pissed me off about DIR is that wildcard searches also match of the hidden 8.3 file name which tends to generate head-scratching results when you are looking for files. Unfortunately, the same odd behaviour applies when doing a DEL which can lead to disastrous results. I've complained to Microsoft a half dozen times over the last dozen years.

Does LOCATE exhibit the same bizarre behaviour?

By the way, it can be downloaded here

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

If you can't reproduce it on your end then I am willing to let you remote into my computer so you can see for yourself and poke around a little.

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

Firefox 18.0.1

Windows 7 Pro Build 7601 SP1

Adblock Plus Pop-up Addon 0.6
DivX Plus Web Player HTML5 <video> 2.1.2.145
DownloadHelper 4.9.13
Ghostery 2.8.4
Readability 2.4
Trend Micro BEP Firefox Extension 7.1.0.1104
Trend Micro NSC FRirefox Extension 6.8.0.1096

It was this thread

I clicked Files

I got the Upload Attachments box containing Files will automatically be attached to the post upon upload. Optionally, you can embed uploaded images within your post. and this is what I get when I View Source

<!DOCTYPE HTML> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml" xml:lang="en" lang="en-US"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="/articles/article_css/group1143" /> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <script type="text/javascript" src="/articles/js_article_scripts/group1133"></script> <script type="text/javascript">var csrf_hash = '4312c07cbc5781cad8f9f92302f715b2';</script> <meta property="og:site_name" content="DaniWeb" /> <meta property="og:image" content="http://static.daniweb.com/images/icon.png" /> <link rel="image_src" type="image/png" href="http://static.daniweb.com/images/icon.png" /> <meta property="fb:admins" content="509930074" /> <script type="text/javascript">

      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-98289-1']);
      _gaq.push(['_trackPageview']);
      _gaq.push(['_trackPageLoadTime']);

      (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
      })();

    </script> <link rel="home" href="http://www.daniweb.com/" /> <link rel="search" href="http://www.daniweb.com/search/query" /> <title>Batch file help | DaniWeb</title> <link rel="canonical" href="http://www.daniweb.com/hardware-and-software/microsoft-windows/windows-vista-and-windows-7-8/threads/446750/batch-file-help" /> <link rel="up" href="http://www.daniweb.com/hardware-and-software/microsoft-windows/windows-vista-and-windows-7-8/38" /> <link rel="author" href="http://www.daniweb.com/members/716226/jtodd" /> <meta name="keywords" content="Windows Vista and Windows 7 / 8,jtodd" /> <meta name="description" content="Morning all, I am trying to write a batch file that …
Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

I tried attaching the files through Firefox and through Internet explorer. Couldn't do it either way. Sorry.

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

I tried attaching the files via IE. While the text fields and buttons rendered, and I was able to browse and select the two files, neither of the files actually got attached.

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

For some reason, the two help files don't come with Windows 7. Here they are.

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

It's broken again. I've completely cleared the cache and still there are no text entry/browse buttons.

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

If you need any tips post a thread in the vb.net forum. I spend a lot of time there.

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

I guess Dani thinks that we moderators are made of sterner stuff so we are allowed to see behind the curtain.

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

Aside from the casting, I think the reason The Social Network did so well was because of Aaron Sorkin's brilliant writing. Anyone see the first episode of The Newsroom. Pretty powerful stuff.

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

Am I the only one having a problem following this thread?

Moderators have an easier time. We can click "Edit" and see the actual text typed instead of ####.

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

Are you a sex tourist?

Maybe he considers himself a sexy tourist though.

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

I heard that Ron Howard has acquired the rights to the Lensman Series by E. E. "Doc" Smith. I fondly recall reading it many years ago. The dialog desparately needs updating (it was stilted and sexist, but a product of the times) but the story was epic and (I think) far superior to Star Wars. J. Michael Straczynski is supposedly working on the script. See here and here

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

@deciptikon - quick follow-up question from a dinosaur. What is the difference between CDbl() and Convert.ToDouble(). Is the former being deprecated? Is there a reason why I should prefer one over the other?

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

I thought multi-column comboboxes were not supported natively in vb.net without subclassing and custom code.

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

I vote to remove it from the list. If it were a democracy. And I got a vote.

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

I'm not sure how to treated a Canadian girls because either you treated them as English or treated them as French?

How about treating them as you'd like to be treated? You know, like a person. As Professor Henry Higgins said, "the same manners for everyone". Of course, tit for tat applies as well. I'm not a complete idiot.

I don't think French girls are as bad as those British girls in this thread.

It's when we start labeling all people based on stereotypes that we get into serious trouble. Stereotypes are based on what "they" (other people) say and it's always easier to let other people do our thinking for us. Labeling all French girls or English girls as bad is just plain wrong.

Here in Winnipeg we have the highest percentage native population of any Canadian City. The stereotypical "Indian" is lazy, drunk, and quite likely a thief. These are the ones that make the news. I've worked with about a dozen first nations people back in my construction summer job days. Only one didn't pull his weight. And that same one used to nip off now and then for a snort. That's one in twelve. There were far more lazy white guys on the various crews and several of them would regularly get high while working. Nobody goes around saying all white guys are lazy, drunk, etc. So much for stereotypes.

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

If you are familiar with VB then you could develop a console app or a vbScript app. The former requires you to download and install VB. The latter can be developed with just notepad. You can run a vbs (vbScript) file just like any other executable. There are objects you can easily create to do folder/file manipulation

set fso = CreateObject("Scripting.FileSystemObject")

and you can also access the Excel object model (create, edit, save Excel spreadsheets)

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

Well, you can always use kick-a$$ and hope you don't get dinged for deliberate evasion of the filter.

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

@diafol - That is absolutely the funniest thing I have heard in weeks. You made my day.

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

Currently a Dell inspiron 1720. The next one (in September) likely an ASUS N76VZ.

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

A lot of my frustration is gone now that I'm retired. Most of it had to do with people who wouldn't do their job properly leaving me to take up the slack.

Case in point:

A programmer in another group was responsible for FTPing files to our server every five minutes. His process guaranteed that if there were any delays on his side the process would fail. A simple mod would have fixed the problem (FTP using a temp file name, then rename the destination file). He wouldn't do it, leaving me to write some kind of crapware that would guarantee (it couldn't) that the files always arrived intact.

Case in point:

Coworkers who do the exact opposite of what is needed to fix a problem such as when the users complain about slow network response and his solution is to start copying multi-gigabyte files continuously to "stress" the network even further.

These days I just carp about old people who stop in the doorway of the grocery store exit for two minutes to look for their car keys or couples who walk slowly side-by-side down the aisles without regard for the people behind them. And people who talk non-stop in movie theatres.

Actually, I try to stay home a lot.

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

I have fairly strong ties to my Swedish heritage (speak the language, have lived there for some years, still in contact with aunts / uncles / cousins, etc.)

It's good that you keep the ties. My grandparents (on my father's side) came here from Holland in the late 1800s. My dad grew up speaking very little of the language. I grew up speaking none. My Mother's mother was Irish and her father was English. I grew up (regrettably) speaking only English. Both of my boys spent grades 1-12 in French immersion.

When I say I don't like French Canadian, Japanese-Canadian, etc. I mean that I am opposed to labels that divide us rather than unite us. It is not an attempt to marginalize any particular sub-culture.

As for history, it is clear that we grew up being taught a somewhat different version of that. I know from other reading that when the history books are written by one side, the other side(s) tend to get portrayed in a not so favourable light. Look at how the Carthaginians are portrayed in the history books as written by the Romans.

Sure, QC did get some favors here and there, whenever it was the political flavor of the month. So did many other provinces too, and very often to the detriment of QC too.

As far as I know, my province (Manitoba) has typically gotten the short end of that stick. In no election has Manitoba ever been considered …

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

So by my perspective, the birds will die in space due to lack of oxygen.

I'm assuming he meant like in the space station or in the vomit comet.