|
Hi
it's ok, now i am getting the daily news mail again
thank you very much!
Nicola
|
|
|
|
|
You're welcome.
cheers
Chris Maunder
|
|
|
|
|
I'd been meaning to ask earlier but have clearly forgotten.
Is there any good reason why hovering over the download links for an article presents a false hint in the browser?
I.e - If I hover over a link and the bottom of my browser says: "http://www.codeproject.com/KB/vista/vistathemebuttons/ButtonVE_demo.zip", then that's the resource I expect the link to point to. I should then be able to right-click and select "save-as" before nominating my own destination.
As it stands, I see 2 problems with the changed system (it was fine before the Workspaces experiment).
1) The hint is essentially a lie - the link doesn't point there at all. It points to a ~27kb webpage.
and far more of a problem
2) In order to place the file where I want it, I now have to download it, find it in my (default) download folder, cut it, navigate to where I wanted it in the first place and finally, paste it.
What's wrong with simply right-click, "save-as", locate desired destination, hit "save". ?
"When I was 5 years old, my mother always told me that happiness was the key to life. When I went to school, they asked me what I wanted to be when I grew up. I wrote down 'happy'. They told me I didn't understand the assignment, and I told them they didn't understand life." - John Lennon
|
|
|
|
|
Two main reasons:
1. We have a lot of deep links into the site. We wanted to present downloads on a page that made it clear where the download was located (CodeProject) instead of having someone on another site write an article and link transparently to an author's code here. We're kinda protective of our authors.
2. We want to show the license that piece of code is licensed under as a reminder that users of code need to respect the terms the code's released under.
cheers
Chris Maunder
|
|
|
|
|
Fair enough.
I'd not even considered the first.
Thank-you.
|
|
|
|
|
Here is my code for my login dialog application. there is this error whereby any username and password will allow user to login. i link it with mysql database but its not checking for the user and just login with unexisting users. please help me solve this i don know where i go wrong or lack of anything else? thank you!
void CPeopleCounterDlg::OnBnClickedbtnlogin()
{
UpdateData();
bool ValidLogin = false;
if( m_Username == "" )
{
AfxMessageBox("You must provide a username to Login.");
m_EditUsername.SetFocus();
return;
}
if( m_Password == "" )
{
AfxMessageBox("Please enter your password.");
m_EditPassword.SetFocus();
return;
}
if(mysql_query( ssock,"SELECT * FROM user WHERE Username == \"m_Username\" AND Password == \"m_Password\" "))
{
ValidLogin = true;
CPplCMain m_pplc;
m_pplc.DoModal();
this->ShowWindow(SW_HIDE);
this->ShowWindow(SW_SHOW);
}
if(ValidLogin = false){
MessageBox("Invalid login!");
}
if( !(res = mysql_store_result(ssock)) )
{
MessageBox("Disconnected!", mysql_error(ssock));
}
UpdateData(FALSE);
mysql_close(ssock);
}
|
|
|
|
|
this forum is for reporting bugs or suggest to / with the Codeproject web site. I would post your question here C-C++-MFC forum[^]
Every day, thousands of innocent plants are killed by vegetarians.
Help end the violence EAT BACON
|
|
|
|
|
When Chris was younger and used real programming tools, he may have been able to help you. Today the most advanced coding he involves himself in would probably be manually closing an HTML tag.
[/***ducks***]
|
|
|
|
|
Closing HTML tags is what those uppity youngin's do. Waste of time! Garr - when I was a lad...
(So do I use my big shiny Nuke This Thread button or do I leave this to allow the mocking to continue? Decisions, decisions...)
cheers
Chris Maunder
|
|
|
|
|
Chris Maunder wrote: do I leave this to allow the mocking to continue?
No.
"When you don't know what you're doing it's best to do it quickly"- SoMad
|
|
|
|
|
You can allow users to edit the content with approval from the submitted user. I see lot of members just changing the UI styles or HTML tags of the article to get scores. It can be restricted. Because it will frustrate the actual user at one of point of time. and they might move the content to other sites from Codeproject.
Anandhi Swamy
|
|
|
|
|
Are you talking about articles?
Anandhi Swamy wrote: I see lot of members just changing the UI styles or HTML tags of the article to get scores
Any examples?
cheers
Chris Maunder
|
|
|
|
|
Sometimes I dip into an article and change some tags around, but it's always because the article actually needs it. If you look at my rep, you'll see I don't actually need the points.
|
|
|
|
|
Pete O'Hanlon wrote: If you look at my rep If you really think about it, you'll see I don't nobody actually need the points
FTFY
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Have these shiny +24 rep points even if you don't need them.
Your time will come, if you let it be right.
|
|
|
|
|
Using the article editor, is it possible to wrap a type name in a code element using a button or shortcut? Or does this still need to be done in the code editor?
Example: MyClass
Cheers,
Daniel
|
|
|
|
|
On posts there is a var button. I think there is one on the article editor as well.
What do you get when you cross a joke with a rhetorical question?
---
The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
|
|
|
|
|
|
There is a button with icon like this <V> - it has the same effect...
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|
|
This message[^] has managed to break the layout of the Web Development[^] forum. It looks like an unclosed <pre> tag in the message is swallowing the closing </td> , </tr> , </tbody> and </table> tags.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
I notice when you filter on the home page for 'web' or 'c++' or one of the others for 'latest articles' that it auto changes your selections in the 'interested' box on Quick Answers page. Is that as designed? Thank you.
vbmike
|
|
|
|
|
That's by design.
cheers
Chris Maunder
|
|
|
|
|
|
I think, here is the minor issue we have here:
I can see many cases when our answers are indirectly removed, because the whole question page is removed due to some member's abuse reports. (Thanks to Chris to restoring one of such my answers for me; I started to preserve some interesting answers in my records.)
I don't even question those abuse reports. They are usually quite fair; and I report bad questions myself. I also agree that such questions should be removed and that the answers on the removed page disappear. This is fine, because those questions and answers may not have any value for all the readers. But those answers could be helpful just for one person, OP. Some questions are inconsistent, incomplete, illiterate, even off-topic, demonstrate wrong approaches; often, such questions are cannot be fully answered. But nevertheless, such advice or incomplete answer could really be useful for this only person, OP.
That's why I wonder if such removed answers can be accessible be OP of not. If not, I would suggest they would go to our messaging system. This way, only the OP along would be able to read the deleted answers, which would be quite enough in such cases.
—SASergey A Kryukov
|
|
|
|