Click here to Skip to main content
15,889,852 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: VBS for next loop Pin
Richard MacCutchan19-Feb-16 0:56
mveRichard MacCutchan19-Feb-16 0:56 
GeneralRe: VBS for next loop Pin
Member 1191673519-Feb-16 1:02
Member 1191673519-Feb-16 1:02 
GeneralRe: VBS for next loop Pin
Richard MacCutchan19-Feb-16 2:25
mveRichard MacCutchan19-Feb-16 2:25 
AnswerRe: VBS for next loop Pin
Eddy Vluggen19-Feb-16 1:55
professionalEddy Vluggen19-Feb-16 1:55 
GeneralRe: VBS for next loop Pin
CHill6019-Feb-16 2:06
mveCHill6019-Feb-16 2:06 
QuestionSQL Server Connection error not caught by error handling. Pin
Christopher Kettlewell18-Feb-16 11:19
Christopher Kettlewell18-Feb-16 11:19 
AnswerRe: SQL Server Connection error not caught by error handling. Pin
Richard Deeming19-Feb-16 1:22
mveRichard Deeming19-Feb-16 1:22 
GeneralRe: SQL Server Connection error not caught by error handling. Pin
Christopher Kettlewell21-Feb-16 12:19
Christopher Kettlewell21-Feb-16 12:19 
Gdetails.sConnectionString is simply a string property with the connection string in it. No code is run there at all.

Write To Event Log just writes whatever message is sent to the event log. Here is the code:
VB
sSource = "Email Report Distribution"
sLog = "ERDS Error Log"

If Not EventLog.SourceExists(sSource) Then
    EventLog.CreateEventSource(sSource, sLog)
End If

Dim ELog As New EventLog(sLog)
ELog.Source = sSource
Try
    ELog.WriteEntry(sEvent, EventType, EvtID)
Catch ex As Exception
    'Do nothing
End Try


Your comment made me second guess this, just I just did a quick test of that by adding a couple of calls into the code that would write some event logs to check they didn't pop up something, and it didn't, so I'm pretty sure that's not it. (Actually, if it was the message would be a bit different. So it definitely couldn't be).
GeneralRe: SQL Server Connection error not caught by error handling. Pin
Richard Andrew x6421-Feb-16 12:53
professionalRichard Andrew x6421-Feb-16 12:53 
GeneralRe: SQL Server Connection error not caught by error handling. Pin
Christopher Kettlewell10-Mar-16 10:18
Christopher Kettlewell10-Mar-16 10:18 
QuestionExecute SQL Script using Batch Pin
DotNetNarayanan17-Feb-16 20:33
DotNetNarayanan17-Feb-16 20:33 
AnswerRe: Execute SQL Script using Batch Pin
Chris Quinn17-Feb-16 21:35
Chris Quinn17-Feb-16 21:35 
QuestionREG: COM Component in VB.Net Pin
manowj17-Feb-16 3:54
manowj17-Feb-16 3:54 
QuestionVBs How can I Show a InputBox on a Client Computer? Pin
Member 1191673517-Feb-16 1:23
Member 1191673517-Feb-16 1:23 
AnswerRe: VBs How can I Show a InputBox on a Client Computer? Pin
Dave Kreskowiak17-Feb-16 2:35
mveDave Kreskowiak17-Feb-16 2:35 
AnswerRe: VBs How can I Show a InputBox on a Client Computer? Pin
ZurdoDev17-Feb-16 3:09
professionalZurdoDev17-Feb-16 3:09 
QuestionHow to remove duplicate in combobox Pin
Fathur Rozi11-Feb-16 18:38
Fathur Rozi11-Feb-16 18:38 
AnswerRe: How to remove duplicate in combobox Pin
Richard MacCutchan11-Feb-16 21:13
mveRichard MacCutchan11-Feb-16 21:13 
GeneralRe: How to remove duplicate in combobox Pin
Fathur Rozi12-Feb-16 0:56
Fathur Rozi12-Feb-16 0:56 
QuestionVB.Net String Format Pin
Member 160021010-Feb-16 1:49
Member 160021010-Feb-16 1:49 
AnswerRe: VB.Net String Format Pin
Richard MacCutchan10-Feb-16 2:00
mveRichard MacCutchan10-Feb-16 2:00 
QuestionERRor Message Pin
Reginald_110-Feb-16 0:56
Reginald_110-Feb-16 0:56 
AnswerRe: ERRor Message Pin
Eddy Vluggen10-Feb-16 3:02
professionalEddy Vluggen10-Feb-16 3:02 
AnswerRe: ERRor Message Pin
Richard MacCutchan10-Feb-16 3:59
mveRichard MacCutchan10-Feb-16 3:59 
QuestionHow Attach Ghanian Cedi currency symbol To A Textbox in VB.net Pin
Reginald_19-Feb-16 23:12
Reginald_19-Feb-16 23:12 

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.