 |
|
 |
Apologies for the shouting but this is important.
When answering a question please:
- Read the question carefully
- Understand that English isn't everyone's first language so be lenient of bad spelling and grammar
- If a question is poorly phrased then either ask for clarification, ignore it, or mark it down. Insults are not welcome
- If the question is inappropriate then click the 'vote to remove message' button
Insults, slap-downs and sarcasm aren't welcome. Let's work to help developers, not make them feel stupid..
cheers,
Chris Maunder
The Code Project Co-founder
Microsoft C++ MVP
|
|
|
|
 |
|
 |
For those new to message boards please try to follow a few simple rules when posting your question.- Choose the correct forum for your message. Posting a VB.NET question in the C++ forum will end in tears.
- Be specific! Don't ask "can someone send me the code to create an application that does 'X'. Pinpoint exactly what it is you need help with.
- Keep the subject line brief, but descriptive. eg "File Serialization problem"
- Keep the question as brief as possible. If you have to include code, include the smallest snippet of code you can.
- Be careful when including code that you haven't made a typo. Typing mistakes can become the focal point instead of the actual question you asked.
- Do not remove or empty a message if others have replied. Keep the thread intact and available for others to search and read. If your problem was answered then edit your message and add "[Solved]" to the subject line of the original post, and cast an approval vote to the one or several answers that really helped you.
- If you are posting source code with your question, place it inside <pre></pre> tags. We advise you also check the "Encode "<" (and other HTML) characters when pasting" checkbox before pasting anything inside the PRE block, and make sure "Use HTML in this post" check box is checked.
- Be courteous and DON'T SHOUT. Everyone here helps because they enjoy helping others, not because it's their job.
- Please do not post links to your question into an unrelated forum such as the lounge. It will be deleted. Likewise, do not post the same question in more than one forum.
- Do not be abusive, offensive, inappropriate or harass anyone on the boards. Doing so will get you kicked off and banned. Play nice.
- If you have a school or university assignment, assume that your teacher or lecturer is also reading these forums.
- No advertising or soliciting.
- We reserve the right to move your posts to a more appropriate forum or to delete anything deemed inappropriate or illegal.
cheers,
Chris Maunder
The Code Project Co-founder
Microsoft C++ MVP
|
|
|
|
 |
|
 |
I have a colume with weeknames sunday to manday, and a cloume with names of boys and a colume of girls respectively to the week day and gender one choose the program is to out a boys names or a girls name, depending on the input of the user.
For example, the program asks me , which day of week am born- I input wednesday. Nest it askes me if am a boy or girl. I input boy. Then the program outputs the boys name which corresponds with wednesday in the array or table.
So i could only program an enum which outputs the names of the week, and i want to go furthur,
Am a beginner, so please help me. Thanks
|
|
|
|
 |
|
 |
Please choose to post your question either here or in the Q&A. It is not acceptable to post in both.
Cheers.
I wasn't, now I am, then I won't be anymore.
|
|
|
|
 |
|
|
 |
|
 |
We don't do homework
Failure is not an option; it's the default selection.
|
|
|
|
 |
|
 |
"We"?
I do, especially after having met a few of the teachers. I'll help someone who is looking to learn ten times sooner that someone who is ordering code like he's at MacDonalds.
He's not asking for codez, he's not asking you to do his homework. We help people continuously, who sometimes bloody obviously didn't make theirs.
--
sorry for rant, my apologies for the tone
Bastard Programmer from Hell
modified 3 hrs ago.
|
|
|
|
 |
|
 |
You provided not only the details of the setup, but also the expected result. That's a plus.
Can you post the code you got upto this point?
--
Yes, we're mostly blunt people who say what they think. It seems to be the primary and most efficient way of dealing with developers.
Bastard Programmer from Hell
|
|
|
|
 |
|
 |
Hi,
I want to draw a bitmap on my form, on top of the other controls, however I try to do it, it always gets drawn before the rest of the form and its controls. Does anyone know how to draw it on top?
Thanks.
“If I had asked people what they wanted, they would have said faster horses.”
― Henry Ford
modified 8 hrs ago.
|
|
|
|
 |
|
 |
Put a Panel on the form and call BringToFront on it, then your bitmap image on the Panel.
If you draw a bitmap on the form itself, it's gets drawn on the surface of the form, which sits behind all controls on the form.
|
|
|
|
 |
|
 |
interaction with the Form's Controls may become a bit difficult... He'll be back with more questions!
Luc Pattyn [My Articles] Nil Volentibus Arduum
Fed up by FireFox memory leaks I switched to Opera and now CP doesn't perform its paste magic, so links will not be offered. Sorry.
|
|
|
|
 |
|
 |
Yeah, I was thinking about that, then said to myself, "What do I care if the design sounds fishy? It's not my app!"
|
|
|
|
 |
|
 |
Hello,
I am looking for a way to capture network disconnection without sampling connection status every couple of minutes .
I am trying to do some function when network is back connected.
|
|
|
|
 |
|
 |
Without knowing which version of Windows you are targetting, we can't really give you a definitive answer as network connectivity monitoring was enhanced post XP. A good starter, though, is this[^] article. Pay attention to the comments which link out to the Code Pack - this includes networking samples you can modify as you see fit.
|
|
|
|
 |
|
 |
Hi,
First of all i have Win7
secondly, I found there is an event-
NetworkChange.NetworkAvailabilityChanged
which is in NetworkInformation namespace . This event raised when network connection status is changed . Is it a good way to use this?
|
|
|
|
 |
|
 |
It's one way to do it, but I have found under certain circumstances that it's not 100% reliable (for instance, I know of people who have found it not to work with static IP addresses when detecting reconnects).
|
|
|
|
 |
|
 |
Have a look at this
http://blog.superuser.com/2011/05/16/windows-7-network-awareness/[^]
Explains how MS does it, and how you can set up your own server to check. Good luck
Computers have been intelligent for a long time now. It just so happens that the program writers are about as effective as a room full of monkeys trying to crank out a copy of Hamlet.
|
|
|
|
 |
|
 |
Hi,
It is possible to translate from english to Japanese in windows application?
|
|
|
|
 |
|
 |
Yes. You can subscribe to something like the Google Translate API. However, the question is, will the quality of the translated text be sufficient? Also, do you want to display Anglicised versions of the translated text, or Kanji (in which case, you will need the appropriate fonts installed)?
|
|
|
|
 |
|
 |
Yes, but the problem is having complete dictionaries and syntax analyzers for both languages. I know nothing about Japanese but I doubt if this would be a simple project. It may be possible to use the Google translate feature in your program; take a look at the Google developer pages.
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|
 |
|
 |
Just to further Pete o'Hanlon's post.
The quality of the translation seems to depend heavily on how close the languages are to eachother. If I put French or German into Google translate the results are pretty reasonable. I regularly need to translate Arabic into English, often the results are impossible even to get the jist of. My guess is Translating Japanese --> English and back will be pretty bad, but Japanese into one of the related East Asian languages less so.
Even then you don't have control over the process of the text comes out. An internal memo in Arabic about a student travelling with text that meant something like "She had two choices an easy way and a difficult way. She went the difficult way" into English "She made a choice between a soft one and a hard one. She took a hard one." I forget the exact wording, but it wasn't far off this. You end up surprisingly often with unintentionally funny or smutty translations, something that you may want to avoid for your clients.
Writing your own translator is hard Google has large teams devoted to the problem, and you see the results. My advice is to use a good [human] translator and swap languages in code.
|
|
|
|
 |
|
 |
Talking about translating the UI? or a translation software ?
Watched code never compiles.
|
|
|
|
 |
|
 |
Hi,
It is possible to get Japanese Language text from reading image file
How will get text as japanese language in ocr
|
|
|
|
 |
|
 |
This question has already been answered here[^].
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|
 |
|
 |
Hi All,
I am stuck with Icon overlay, I am developing windows project using C#,
How to overlay an icon over existing shell objects in 3 easy steps[^]
i am trying to implement icon overlay using above link, but how to use it i am not get it, i am used export and import is there any solution for icon overlay any one help me Plz..
Thank you,
|
|
|
|
 |