16,017,881 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 .NET 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 Member 10889460 (Top 9 by date)
Member 10889460
8-Jan-15 2:45am
View
Hi. Tnx for your reply.
I googled and checked for mirror image.For doing mirror image all what we have to do is
this.RightToLeft = RightToLeft.Yes;
this.RightToLeftLayout = true;
For translating predefined texts and error message I am using .Net language pack.
Then for translation what I did is
I looped through all my controls and got the text of each controls. then translated those text using Bing/MicrosoftTranslator.
What issue I faced here is when I stored the fields like notes or comments in English in database and when I want to show it in Arabic.
That is when I translate a sentence to Arabic the meaning is not exact.
That is word translation is good but sentence translation is not exact.
What is the methodology to translate a sentence ?
Member 10889460
7-Jan-15 9:17am
View
Deleted
Ya Microsoft.Translator is under the References. As you can see in my code snippet
using Yam.Microsoft.Translator;
using Yam.Microsoft.Translator.TranslatorService;
I have done the same in my code.
Member 10889460
6-Jan-15 3:43am
View
Ok. Thanks Mehdi Gholam
Member 10889460
6-Jan-15 2:20am
View
OK.
Understood.
But we have many forms.
In that case we have to create many resource files. Isn't it ?
Member 10889460
17-Jun-14 6:37am
View
Even this link was helpful
MIME Types by File Extension
This link contains lot of MIME Types by File Extensions
Member 10889460
17-Jun-14 6:31am
View
The same way you can use
wmv,x-ms-wmv
for wmv
Thanks
Avinaash S
Member 10889460
17-Jun-14 5:40am
View
You can use it like this
<asp:AjaxFileUpload ID="AjaxFileUpload2" runat="server" Width="500px" AllowedFileTypes="xls,vnd.ms-excel,xls,vnd.openxmlformats-officedocument.spreadsheetml.sheet,doc,msword,doc,vnd.openxmlformats-officedocument.wordprocessingml.document" />
Thanks
Avinaash S
Member 10889460
17-Jun-14 5:36am
View
And the following works for xlsx
<asp:AjaxFileUpload ID="AjaxFileUpload1" runat="server" Width="500px" AllowedFileTypes="xls,vnd.openxmlformats-officedocument.spreadsheetml.sheet" />
And the following for doc files
<asp:AjaxFileUpload ID="AjaxFileUpload2" runat="server" Width="500px" AllowedFileTypes="doc,msword" />
I used this page for reference
http://filext.com/faq/office-mime-types
Thanks
Avinaash S
Member 10889460
17-Jun-14 5:20am
View
It works fine for docx files if I use the following markup
<asp:AjaxFileUpload ID="AjaxFileUpload1" runat="server" Width="500px" AllowedFileTypes="doc,vnd.openxmlformats-officedocument.wordprocessingml.document" />
Thanks
Avinaash S
Show More