IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Internet Transfer Control - expired site certificate
A while back I wrote a few programs that use the Internet Transfer Control(Inet) in Visual Basic(ver 6.0 SP 5). The programs log onto a customer's secured site to retreive today's JIT shipment requests, compare open orders, etc. They've worked well until today - I've tracked the problem down to an expired Security Certificate.

When using a browser to access the site, a dialog box pops up which allows the site to be accessed. Any idea on how to do this programatically? Digging in the MSDN library I found a section on Trappable Errors for the Internet Transfer Control, specifically error icSecCertDateInvalid, but haven't had any luck finding out how to trap and ignore it.

I've already contacted the customer about the expired certificate, but based on their reaction I have a feeling its going to take a while for them to get a current certificate. While our shipping department can manaully process the orders, we've lost a lot of automated abilities and I now have very unhappy users :-/

Darrell Spice, Jr.

[link|http://home.houston.rr.com/spiceware/|SpiceWare] - We don't do Windows, it's too much of a chore

New Sorry... Switch to a better IDE, and I could help! ;^)
New possible rewrite using wininet.dll
A bit lower-level than inet, but it has a nice little flag that should get the job done: INTERNET_FLAG_IGNORE_CERT_DATE_INVALID

Darrell Spice, Jr.

[link|http://home.houston.rr.com/spiceware/|SpiceWare] - We don't do Windows, it's too much of a chore

New Uh. Answering a Question YOU asked... is tantamount to...
Insanity!

[link|mailto:curley95@attbi.com|greg] - Grand-Master Artist in IT
[link|http://www.iwethey.org/ed_curry/|REMEMBER ED CURRY!!!]

Your friendly Geheime Staatspolizei reminds:
Use your computer, we'll sample your DNA and imprint your eyes.

SELECT * FROM politicians WHERE iq > 40 OR WHERE ego < 1048575;
0 rows found
New bzzzt wrong answer
if you answer your own question it saves the next guy from the research(hole pint of the internet)
thanx,
bill
will work for cash and other incentives [link|http://home.tampabay.rr.com/boxley/resume/Resume.html|skill set]


Opera was the television of the nineteenth century:loud, vulgar and garish with plots that could only be called infantile. "Pendergast"
New Someone say pint?
I'll have Pedigree.

Cheers!


Peter
[link|http://www.debian.org|Shill For Hire]
[link|http://www.kuro5hin.org|There is no K5 Cabal]
[link|http://guildenstern.dyndns.org|Blog]
New Does Double-D still get poured?
I thought it not too horrible.

But then...I was a beer rookie at that time...several hundred labels later I had become a staunch fan of the Belgians.
You were born...and so you're free...so Happy Birthday! Laurie Anderson

[link|mailto:bepatient@aol.com|BePatient]
New Belgian beer...
...is fizzy pop.

Yes, you can still get Double Diamond.


Peter
[link|http://www.debian.org|Shill For Hire]
[link|http://www.kuro5hin.org|There is no K5 Cabal]
[link|http://guildenstern.dyndns.org|Blog]
New Um...all lagers (including Brits) are fizzy pop.
Which is why I don't drink them unless very hot and thirsty.
You were born...and so you're free...so Happy Birthday! Laurie Anderson

[link|mailto:bepatient@aol.com|BePatient]
New surprise! customer came through
and updated the certificate. I'm going to still pursue the rewrite, but it's no longer a high priority.

The reason boxley stated was one of the reasons I posted what I'd found. The other reason was hopes of "yes, that will work but be aware of x" or "no, that won't work because of y" feedback.

Darrell Spice, Jr.

[link|http://home.houston.rr.com/spiceware/|SpiceWare] - We don't do Windows, it's too much of a chore

Expand Edited by SpiceWare Dec. 3, 2002, 10:22:36 AM EST
New Sheesh... NOONE
has a consense of conhumor...

[link|mailto:curley95@attbi.com|greg] - Grand-Master Artist in IT
[link|http://www.iwethey.org/ed_curry/|REMEMBER ED CURRY!!!]

Your friendly Geheime Staatspolizei reminds:
Use your computer, we'll sample your DNA and imprint your eyes.

SELECT * FROM politicians WHERE iq > 40 OR WHERE ego < 1048575;
0 rows found
New hard to tell when "joking around" online
hence the use of [link|http://www.computeruser.com/resources/dictionary/emoticons.html|emoticons] :-)

Darrell Spice, Jr.

[link|http://home.houston.rr.com/spiceware/|SpiceWare] - We don't do Windows, it's too much of a chore

     Internet Transfer Control - expired site certificate - (SpiceWare) - (11)
         Sorry... Switch to a better IDE, and I could help! ;^) -NT - (CRConrad)
         possible rewrite using wininet.dll - (SpiceWare) - (9)
             Uh. Answering a Question YOU asked... is tantamount to... - (folkert) - (8)
                 bzzzt wrong answer - (boxley) - (4)
                     Someone say pint? - (pwhysall) - (3)
                         Does Double-D still get poured? - (bepatient) - (2)
                             Belgian beer... - (pwhysall) - (1)
                                 Um...all lagers (including Brits) are fizzy pop. - (bepatient)
                 surprise! customer came through - (SpiceWare) - (2)
                     Sheesh... NOONE - (folkert) - (1)
                         hard to tell when "joking around" online - (SpiceWare)

She has not, incidentally, allowed this episode to turn her into an anti-cucumber crusader.
216 ms