15,881,172 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Nanda_MR (Top 6 by date)
Nanda_MR
16-Mar-11 2:00am
View
Hey Thanks,
1. The Logging information is more. it store executed query, error, Warning, Information, Database Logging information and some import parameter.
Per month I create many more than 100 log and file size approx. 2 to 5 MB.
2. I will try Thread.
*if you have solution in C# send me. I can understand.
Nanda_MR
3-Mar-11 6:02am
View
Thanks. I read that and I create similar class in VB.NET but how to call that class?
Nanda_MR
3-Mar-11 3:35am
View
Guys that general code.
take look
Private Sub BtnGenerate(ByVal Msg As String)
Dim fs As New FileStream(Application.StartupPath & "\MailInfo.Config", FileMode.Append, FileAccess.Write)
Dim d1 As New StreamWriter(fs)
d1.WriteLine("ERROR: " Msg & " " & now)
d1.Close()
End Sub
This function I am calling in many places.
call BtnGenerate("Login Validation Failed")
Nanda_MR
3-Mar-11 2:50am
View
Nothing. I explain problem
Try this code. Use 2 button
Dim Table1 As DataTable
Private Sub Button62_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnadd.Click
Table1 = New DataTable("Medicines")
Dim medname As DataColumn = New DataColumn("Medicine Name")
medname.DataType = System.Type.GetType("System.String")
medname.MaxLength = 500
Table1.Columns.Add(medname)
Dim dosage As DataColumn = New DataColumn("Dosage")
dosage.DataType = System.Type.GetType("System.String")
dosage.MaxLength = 500
Table1.Columns.Add(dosage)
Dim freq As DataColumn = New DataColumn("Frequency")
freq.DataType = System.Type.GetType("System.String")
freq.MaxLength = 500
Table1.Columns.Add(freq)
End Sub
Private Sub Button63_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnadd.Click
Dim Dt As DataSet
Dim dr As DataRow
dr = Table1.NewRow()
dr(0) = txtmed.Text
dr(1) = Me.txtdosage.Text
dr(2) = txtfreq.Text
Table1.Rows.Add(dr)
Dt = New DataSet
Dt.Tables.Add(Table1)
DataGrid1.DataSource = Dt.Tables("Medicines")
txtmed.Text = ""
txtdosage.Text = ""
txtfreq.Text = ""
End Sub
Nanda_MR
28-Feb-11 1:19am
View
Thanks
From your code I got solution.
Regards,
Nanda
Nanda_MR
24-Feb-11 5:57am
View
My From and To both address is Gmail. while using Gmail address I am getting this error
Failure sending mail
Show More