Click here to Skip to main content
15,913,610 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Count number of similar lines Pin
JernejR26-Mar-09 1:02
JernejR26-Mar-09 1:02 
GeneralRe: Count number of similar lines Pin
vijay248226-Mar-09 1:13
vijay248226-Mar-09 1:13 
AnswerRe: Count number of similar lines Pin
Eddy Vluggen26-Mar-09 2:14
professionalEddy Vluggen26-Mar-09 2:14 
AnswerRe: Count number of similar lines Pin
Anubhava Dimri31-Mar-09 0:16
Anubhava Dimri31-Mar-09 0:16 
Questionhow to change provider in crystal report runtime Pin
JernejR26-Mar-09 0:02
JernejR26-Mar-09 0:02 
AnswerRe: how to change provider in crystal report runtime Pin
Skymir27-Mar-09 8:51
Skymir27-Mar-09 8:51 
AnswerRe: how to change provider in crystal report runtime Pin
Anubhava Dimri31-Mar-09 0:26
Anubhava Dimri31-Mar-09 0:26 
QuestionOutput Differs Pin
vijay248225-Mar-09 23:33
vijay248225-Mar-09 23:33 
AnswerRe: Output Differs Pin
Tom Deketelaere25-Mar-09 23:40
professionalTom Deketelaere25-Mar-09 23:40 
GeneralRe: Output Differs Pin
vijay248226-Mar-09 0:54
vijay248226-Mar-09 0:54 
AnswerRe: Output Differs Pin
JernejR26-Mar-09 0:58
JernejR26-Mar-09 0:58 
AnswerRe: Output Differs Pin
Luc Pattyn26-Mar-09 0:58
sitebuilderLuc Pattyn26-Mar-09 0:58 
QuestionUsing SMTP, the email is sent only when the Form is closed Pin
paulogomes25-Mar-09 16:30
paulogomes25-Mar-09 16:30 
AnswerRe: Using SMTP, the email is sent only when the Form is closed Pin
Henry Minute26-Mar-09 1:48
Henry Minute26-Mar-09 1:48 
GeneralRe: Using SMTP, the email is sent only when the Form is closed Pin
paulogomes26-Mar-09 7:36
paulogomes26-Mar-09 7:36 
GeneralRe: Using SMTP, the email is sent only when the Form is closed Pin
Luc Pattyn26-Mar-09 9:02
sitebuilderLuc Pattyn26-Mar-09 9:02 
GeneralRe: Using SMTP, the email is sent only when the Form is closed Pin
paulogomes26-Mar-09 9:14
paulogomes26-Mar-09 9:14 
GeneralRe: Using SMTP, the email is sent only when the Form is closed Pin
Henry Minute26-Mar-09 9:12
Henry Minute26-Mar-09 9:12 
AnswerRe: Using SMTP, the email is sent only when the Form is closed Pin
Luc Pattyn26-Mar-09 9:50
sitebuilderLuc Pattyn26-Mar-09 9:50 
GeneralRe: Using SMTP, the email is sent only when the Form is closed Pin
paulogomes26-Mar-09 10:49
paulogomes26-Mar-09 10:49 
Hi Luc/Henry,
I tried to build the SMTP client as Luc suggested but did not work either.

However, I found what the problem was: follow me.

when I started this project I did not know if I'll be using MAPI or SMTP, so I wrote 2 methods. Testing the MAPI time ago (with MAPI we use here Exchange Server), when the email is sent ExchangeServer pops a dialog box telling me that a program (my application) "is trying to send an email on your behalf" and give me an OK and CANCEL buttons. Once I hit OK, the email is sent.

That is the key: I'm testing the code using my own equipment, sending emails to me to see if it works or not. Did you see what happened?

SMTP does not have all Exchange Server features and does not issue a dialog asking for authorization, but it keeps waiting because I'm sending emails from my equipment to myself, but the user is not me, is my application, using my credencials!

As a proof of concept for this theory, I installed the application in another computer in the network and it worked fine, no more need to close the sending thread!

Nothing is wrong with those VB and C# codes, just the way I'm testing.

So, Luc/Henry, I really appreciate your effords and time spent to help me and it was a good felling having someone in the other side to discuss with my tech problems.

Thank you!

Paulo
GeneralRe: Using SMTP, the email is sent only when the Form is closed Pin
Luc Pattyn26-Mar-09 10:59
sitebuilderLuc Pattyn26-Mar-09 10:59 
GeneralRe: Using SMTP, the email is sent only when the Form is closed Pin
paulogomes26-Mar-09 11:38
paulogomes26-Mar-09 11:38 
QuestionError trying to draw on form Pin
o m n i25-Mar-09 16:11
o m n i25-Mar-09 16:11 
AnswerRe: Error trying to draw on form Pin
Bharat Jain25-Mar-09 19:07
Bharat Jain25-Mar-09 19:07 
AnswerRe: Error trying to draw on form Pin
Dave Kreskowiak26-Mar-09 4:31
mveDave Kreskowiak26-Mar-09 4:31 

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.