|
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
|
|
|
|
|
Not sure if everyone else feels this way, but the discussions in the Lounge have tended to move away from the nerddom that you'd expect from this website. More than half the active threads seem to be jokes/attempted humor/non-geeky discussions, and if we could have a sub-forum (a child forum within a parent forum) where those threads can be posted, it'd keep the Lounge clean. Right now, a casual onlooker would struggle to identify the Lounge as a hangout meant for geeky sci-fiction loving programmers.
|
|
|
|
|
Nish Sivakumar wrote: and if we could have a sub-forum (a child forum within a parent forum) where
those threads can be posted
You got my support for that!
"With sufficient thrust, pigs fly just fine."
Ross Callon, The Twelve Networking Truths, RFC1925
|
|
|
|