|
Thanks everything working fine now.
Strange though, I did not received an email of this reply that you gave me here. (I see, I am getting emails for the comments in Q&A though.)
|
|
|
|
|
1. It is annoying.
2. When in an article, you read the comments (and so the title change), then email the page (via browser), the message title get's chosen as the email subject, which could be anything (aka 'My vote of 2').
I think we can all agree that this is a terrible design mistake (j/k )
|
|
|
|
|
I'll think about it. I personally find it very helpful.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
I agree that it is helpful.
But it gets a bit hard when you have 3 or more tabs open on CP all pointing to a message and you having to guess which one was the Lounge again.
|
|
|
|
|
How about a setting so people can turn it on or off themselves? I personally don't like it.
public class SysAdmin : Employee
{
public override void DoWork(IWorkItem workItem)
{
if (workItem.User.Type == UserType.NoLearn){
throw new NoIWillNotFixYourComputerException(new Luser(workItem.User));
}else{
base.DoWork(workItem);
}
}
}
|
|
|
|
|
It's gone.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
|
They new draft seems identical, so I should just be able to get rid of it by running through the wizard. May I proceed?
Thanks,
Sean Ewington
The Code Project
|
|
|
|
|
The text in the Home page under the Articles tab does not always wrap inside the border. In some instances, the word extends outside the border before the next word wraps.
I'm using IE8 at work.
|
|
|
|
|
Bassam Abdul-Baki wrote: I'm using IE8
Well, there's your problem!
public class SysAdmin : Employee
{
public override void DoWork(IWorkItem workItem)
{
if (workItem.User.Type == UserType.NoLearn){
throw new NoIWillNotFixYourComputerException(new Luser(workItem.User));
}else{
base.DoWork(workItem);
}
}
}
|
|
|
|
|
Fire me the source code to IE8 and I'll take a look.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Fire you the source code to the page as viewed in IE8?
|
|
|
|
|
I forgot the joke icon.
No, I meant fire me the source code to IE8 so I can fix their rendering engine.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Yeah, I missed it. I'm having too many problems with IE8 these days.
|
|
|
|
|
This happens in Chrome (20.0.1132.34 beta-m) as well.
If I resize the window all the text is wrapped correctly until I reload the page.
|
|
|
|
|
Edit an article if I found any typo mistake in it.
|
|
|
|
|
It depends on whether or not it's your article and, if not, who the author has opened up the article to be edited by. If it's not your article, leave a comment in the forum explaining what the typo is.
|
|
|
|
|
Thank You Pete!
So here's the article I am talking about:
Generate a Report using Crystal Reports in Visual Studio 2010[^]
Code provided by author is accurate, but last ten lines are either re-typed or remained by mistake:
protected void Page_Load(object sender, EventArgs e)
{
ReportDocument rptDoc = new ReportDocument();
dsSample ds = new dsSample();
DataTable dt = new DataTable();
dt.TableName = "Crystal Report Example";
dt = getAllOrders();
ds.Tables[0].Merge(dt);
rptDoc.Load(Server.MapPath("../Reports/SimpleReports.rpt"));
rptDoc.SetDataSource(ds);
CrystalReportViewer1.ReportSource = rptDoc;
}
public DataTable getAllOrders()
{
string sqlCon = "User ID=sa;PWD=sa; server=databaseservername;
INITIAL CATALOG=SampleDB;PERSISTSECURITY INFO=FALSE;Connect Timeout=0";
SqlConnection Con = new SqlConnection(sqlCon);
SqlCommand cmd = new SqlCommand();
DataSet ds = null;
SqlDataAdapter adapter;
try
{
Con.Open();
cmd.CommandText = "getAllOrders";
cmd.CommandType = CommandType.StoredProcedure;
cmd.Connection = Con;
ds = new DataSet();
adapter = new SqlDataAdapter(cmd);
adapter.Fill(ds, "Users");
}
catch (Exception ex)
{
throw new Exception(ex.Message);
}
finally
{
cmd.Dispose();
if (Con.State != ConnectionState.Closed)
Con.Close();
}
return ds.Tables[0];
}hrow new Exception(ex.Message);
}
finally
{
cmd.Dispose();
if (Con.State != ConnectionState.Closed)
Con.Close();
}
return ds.Tables[0];
}
I have added comment from the line it is a mistake there.
|
|
|
|
|
Thanks. I've fixed the code block
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
You're welcome Chris!
|
|
|
|
|
I was wondering that Q&A does not include the signature but message do. Any specific reason?
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
To reduce the noise.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
May I ask is PHP a rival here?
First you removed php from Discussions
then people were posting PHP Question in Quick Answers section in C++ Questions. Now you have added smart filtering using code tag it remove all the php questions from there.
Would you please look at us, poor PHP Programmers, and add a menu to see the PHP Question with PHP Menu?
|
|
|
|
|
|
Not happy, was looking for quick answers tab
|
|
|
|