15,889,992 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 aazam rafiee zade (Top 22 by date)
aazam rafiee zade
4-Aug-20 5:21am
View
I tried and I saw android:background="#FF323232" is similar for default background color of LinearLayout.
aazam rafiee zade
3-Aug-20 11:38am
View
Thank you
I want to know default background color of LinearLayout.
aazam rafiee zade
17-Jul-20 3:08am
View
Hello
I added "https://www.nuget.org/api/v2/package/sqlite-net-pcl/1.0.10" to "Available package source" but it does not run.
I saw this error:
The underlying connection was closed: An unexpected error occurred on a send.
aazam rafiee zade
15-Jul-20 16:05pm
View
Thank you.
I did pm>Install-Package sqlite-net-pcl -Version 1.0.10
but I saw error.
The underlying connection was closed: An unexpected error occurred on a send.
Where should I put this package (sqlite-net-pcl.1.0.10.nupkg)?
aazam rafiee zade
31-Aug-16 9:04am
View
Thank you for reply. How can I consult a lawyer?
aazam rafiee zade
13-May-16 13:08pm
View
Thank you
aazam rafiee zade
10-May-16 4:13am
View
My problem is "File Download-Security Warning" window. What is this window? What does it appear? How can I manage it?
aazam rafiee zade
9-May-16 16:24pm
View
Hello. I changed my code. It is in EDITED section.
aazam rafiee zade
9-May-16 10:47am
View
just Sign Out was done with this code: foreach (HtmlElement html in webBrowser1.Document.GetElementsByTagName("a"))
{
if (html.InnerText == "Sign Out")
{
html.InvokeMember("click");
}
}
aazam rafiee zade
9-May-16 6:07am
View
How do I find logout control?
aazam rafiee zade
8-May-16 13:04pm
View
I found this: http://stackoverflow.com/questions/1161207/how-do-i-simulate-a-click-event-in-a-webbrowser-control-net. Methinks this works
aazam rafiee zade
26-Jul-15 9:26am
View
Thank you
aazam rafiee zade
26-Jul-15 9:26am
View
Yes.e.Graphics.DrawString has true result. I put "-15" to put the text at correct place.
aazam rafiee zade
25-Jul-15 3:09am
View
windowsForm. I want the text on the right, but with "menuSubItem.Enabled = false;" and "menuSubItem.Checked = true;", the text goes on the left. Why?
aazam rafiee zade
24-Jul-15 12:21pm
View
Thank you. I change my code: e.Graphics.DrawImage(image, (e.Bounds.Width - (image.Width / 8)), 0, image.Width / 8, image.Height / 8); AND e.Graphics.DrawString(mi.Text, menuFont, menuBrush, e.Bounds.Width - image.Width / 8 - 15, e.Bounds.Top + ((e.Bounds.Height / 2)), strfmt);
Are they correct?
aazam rafiee zade
29-Mar-15 11:40am
View
these two links are useful: http://stackoverflow.com/questions/7026101/imap-encoded-emails and https://kevinthant.wordpress.com/2009/07/11/coding-imap-email-access-using-asp-netc/
aazam rafiee zade
29-Mar-15 11:38am
View
These two links are also useful: http://stackoverflow.com/questions/7026101/imap-encoded-emails and https://kevinthant.wordpress.com/2009/07/11/coding-imap-email-access-using-asp-netc/
aazam rafiee zade
28-Mar-15 12:08pm
View
I used difference of the NEW and OLD messagecount for solving my question.
aazam rafiee zade
27-Mar-15 9:40am
View
I used this link: http://p2p.wrox.com/net-framework-2-0/70999-how-get-message-headers-pop3-server.html. I add this code: string[] BreakDown = messageData.Split(" ".ToCharArray()); int messagecount = Convert.ToInt16(BreakDown[1]);. Now I have an integer number, but this number is not correct.
aazam rafiee zade
27-Mar-15 5:20am
View
what code do I add to my program to get just the number of emails? If I know just the number of emails, then I can compare thoese. Thank you.
aazam rafiee zade
22-Mar-15 16:24pm
View
I run this code, but log in occur again.
private void button_Disconnect_Click(object sender, EventArgs e)
{
try
{
string url = "https://accounts.google.com/logout";
//string url = "https://mail.google.com/mail/logout?hl=en";
this.webBrowser_1.Navigate(url);
label_disconnection.Visible = true;
label_connecttogmail.Visible = false;
textBox_From.Text = "";
}
catch (Exception ex)
{
MessageBox.Show(ex.ToString());
}
}
aazam rafiee zade
22-Mar-15 12:07pm
View
I connected to Gmail with:
private void SetValues(object sender, WebBrowserDocumentCompletedEventArgs e)
{
try
{
if (webBrowser_1.Document.GetElementById("Email").InnerText == null)
{
webBrowser_1.Document.GetElementById("Email").InnerText = My Gmail Address;
webBrowser_1.Document.GetElementById("Password").InnerText = My Gmail password;
webBrowser_1.Document.GetElementById("signIn").InvokeMember("click");
}
}
catch (Exception ex)
{
MessageBox.Show(ex.ToString());
}
}
private void button_Connect_Click(object sender, EventArgs e)
{
string url = "https://mail.google.com/mail/u/0/h/10sywa7buyj4c/";
try
{
this.webBrowser_1.Navigate(url);
this.webBrowser_1.DocumentCompleted += new WebBrowserDocumentCompletedEventHandler(SetValues);
}
catch (Exception ex)
{
MessageBox.Show(ex.ToString());
}
}
But I cannot sign out.
Show More