Click here to Skip to main content
15,919,358 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Save Properties of a TIFF image in Text File Pin
Anonymous22-Sep-04 20:58
Anonymous22-Sep-04 20:58 
GeneralRe: Save Properties of a TIFF image in Text File Pin
Dave Kreskowiak23-Sep-04 0:21
mveDave Kreskowiak23-Sep-04 0:21 
Questioncan somebody help me.. (VB.NET) Pin
Member 12956508-Sep-04 19:46
Member 12956508-Sep-04 19:46 
AnswerRe: can somebody help me.. (VB.NET) Pin
Mekong River8-Sep-04 21:41
Mekong River8-Sep-04 21:41 
GeneralDelete files and folders Pin
HPBlade8-Sep-04 19:08
HPBlade8-Sep-04 19:08 
GeneralRe: Delete files and folders Pin
Dave Kreskowiak9-Sep-04 10:47
mveDave Kreskowiak9-Sep-04 10:47 
GeneralRe: Delete files and folders Pin
TT(n)12-Sep-04 1:14
TT(n)12-Sep-04 1:14 
GeneralRe: Delete files and folders [EDITED] Pin
Dave Kreskowiak12-Sep-04 3:26
mveDave Kreskowiak12-Sep-04 3:26 
TT(n) wrote:
Wrong,
the best way to get rid of temporary internet files is, to use a sendkeys code:


SENDKEYS??? WTF | :WTF: Are you crazy? Laugh | :laugh: SendKeys is DEFINATELY NOT the best way to do it. The method that you're using is problematic at best. One, your relying on the user interface of another application, which can change over time and versions. Two, your using SENDKEYS, which will post keystrokes to the window that has the input focus, which, in a multitasking environment, can change AT ANY TIME. Even between the time when you activate the application your going to send the keys to and the time that you actually call SENDKEYS. This can AND DOES happen even when you put the SendKeys statement directly after your activate.

TT(n) wrote:
Cookies are done similarly, but you have to work around the index.dat file.
If you have to make special exceptions for a file, it makes SendKeys far more difficult to use that it should be.

No... the BEST WAY to do it is using the same API functions that IE uses, using the same methods. And you don't have to make any special exceptions for anything.

EDIT:
I should have put in an example of the problem I talking about. Your AppActiveate statement executes, right then you have an Instant Messager message come in, I don't care what product its running on. When that message comes in, some IM apps will bring the chat window into the foreground and snag the focus, others will let you control this functionality. Now, your SendKeys statement runs. Where do you think your keystrokes are going to go? Hint: Not where your AppActivate statement says!

If your going to tell me, or ANYONE else here, they're "wrong", you better have a mountain of evidence to back it up, not just your opinion. If not, you only have an ALTERNATIVE method to what was suggested as a solution.



RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: Delete files and folders [EDITED] Pin
TT(n)12-Sep-04 8:27
TT(n)12-Sep-04 8:27 
GeneralRe: Delete files and folders ] Pin
TT(n)12-Sep-04 12:01
TT(n)12-Sep-04 12:01 
GeneralRe: Delete files and folders [EDITED] Pin
Dave Kreskowiak12-Sep-04 16:32
mveDave Kreskowiak12-Sep-04 16:32 
GeneralRe: Delete files and folders [EDITED] Pin
TT(n)13-Sep-04 1:41
TT(n)13-Sep-04 1:41 
GeneralRe: Delete files and folders [EDITED] Pin
Dave Kreskowiak13-Sep-04 12:16
mveDave Kreskowiak13-Sep-04 12:16 
GeneralRe: Delete files and folders [EDITED] Pin
TT(n)13-Sep-04 19:34
TT(n)13-Sep-04 19:34 
GeneralRe: Delete files and folders [EDITED] Pin
Dave Kreskowiak14-Sep-04 1:42
mveDave Kreskowiak14-Sep-04 1:42 
GeneralRe: Delete files and folders [EDITED] Pin
Anonymous14-Sep-04 17:29
Anonymous14-Sep-04 17:29 
Questionhow to add chm help file into vb.net project. Pin
rajad8-Sep-04 18:04
rajad8-Sep-04 18:04 
AnswerRe: how to add chm help file into vb.net project. Pin
Dave Kreskowiak9-Sep-04 10:52
mveDave Kreskowiak9-Sep-04 10:52 
GeneralRe: how to add chm help file into vb.net project. Pin
rajad9-Sep-04 15:46
rajad9-Sep-04 15:46 
GeneralRe: how to add chm help file into vb.net project. Pin
Dave Kreskowiak10-Sep-04 1:13
mveDave Kreskowiak10-Sep-04 1:13 
GeneralRe: how to add chm help file into vb.net project. Pin
rajad10-Sep-04 17:33
rajad10-Sep-04 17:33 
GeneralGood tool for developer! Pin
tianzj8-Sep-04 17:30
tianzj8-Sep-04 17:30 
GeneralAdvertisment... Pin
Dave Kreskowiak9-Sep-04 10:53
mveDave Kreskowiak9-Sep-04 10:53 
QuestionHow to find CRLF in RichTextBox Pin
bitpusher8-Sep-04 15:24
bitpusher8-Sep-04 15:24 
AnswerRe: How to find CRLF in RichTextBox Pin
Anonymous8-Sep-04 18:14
Anonymous8-Sep-04 18:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.