|
Hi,
Does anyone know where I can find a good spanish-english dictionary for use with c# (or any language even) in a translation project? I've spent a few hours looking around on google, but the best I could find was a pretty weak english-spanish file here: http://www.ilovelanguages.com/idp/IDPfiles.html
The dictionary needs to be under a licence that allows it to be used in a commercial app. If there is nothing freely available, does anyone how to go about licensing one?
Thanks in advance.
|
|
|
|
|
Shaunr88 wrote: Does anyone know where I can find ...
Google!
|
|
|
|
|
Unfortunately Google hasn't yielded a good solution. I was wondering if anyone else has worked on a project requiring foreign language dictionaries, and how they got them... For instance, talking with some of the companies that print them?
|
|
|
|
|
Hope your application runs independent of/on internet. else you can use google services to do all sorts of translations... using the googles translation api's. will this be a good solution?
Today's Beautiful Moments are
Tomorrow's Beautiful Memories
|
|
|
|
|
i make a small program on my labtop with access as database but when i setup the program on me desktop some of the select statment that include SUM() COUNT() do not work it work well on my labtop but not on my desktop WHY?
|
|
|
|
|
Do you have the same version of Access on both your desktop and your laptop?
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
yes!
but i tell you something on my desktop if i run the statment on access it work but through the program it not works
|
|
|
|
|
Then I have no further suggestions.
But if you post the problem code, someone else may be able to help.
Only post the relevant code, and please surround it with PRE tags, as that keeps the formatting and colourization making it much easier for people to read.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
thanks alot for your time
|
|
|
|
|
Check your connection string. I guess the path to the MDB file must have changed.
It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD
|
|
|
|
|
It sounds like you have a broken reference.
In a code window (CTRL+G to bring up the debug window is the easiest way to get to one), go to tools references.
One of the checked items in the list might say broken, if so thats your problem.
If none say broken, then take a screenshot and save it.
Untick all the items that access allows (some it wont allow you to), close the reference dialog and reopen it.
Then find all the items you unticked (the list is sorted alphabetically) and tick them.
Close the dialog and try again!
If you have a missing reference, and can't find it in the list, you'll need to determin where it came from and install it on the desktop.
|
|
|
|
|
Hi,
I am a novice in c# but i have been tinkering windows for long time. What are the libraries which could manipulate pdf files. My requirement is i want to extract images from pdf also i want create image of individual pdf pages... the first one is the most needed... if i could get links or references or explanations that could be nice... meanwhile i will explore codeproject to see some articles related to my requirement...
Today's Beautiful Moments are
Tomorrow's Beautiful Memories
|
|
|
|
|
As far as libraries go Google for c# pdf libraries and take your pick. There are lots of established ones like PDFSharp, ITextSharp etc. but that search listed several that I have no experience of.
Images of a PDF page? Same thing applies, Google for c# image of pdf page, and it's "eany meany miney mo". The first on the list I got was Generate Thumbnail Images from PDF Documents[^], which although it is VB and gives thumbnails, should suggest a few things. If you don't like that one, pick another, there are loads of hits after all.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
I have two dictionaries that I output to two separate DataGridViews. I need to be able to alternate the output of the two dictionaries to one DataGridView. Any help would be appreciated.
|
|
|
|
|
Then just do so by writing some code.
The two dictionaries better have the same number of entries, otherwise you'd have to come up with a more precise specification.
BTW: Right now I can't imagine an application domain where your requirement makes sense.
Luc Pattyn
Have a look at my entry for the lean-and-mean competition; please provide comments, feedback, discussion, and don’t forget to vote for it! Thank you.
Local announcement (Antwerp region): Lange Wapper? Neen!
|
|
|
|
|
I am differencing two files. Each file's specs are put into a dictionary and then output the two files into two separate DataGridViews. Then differences are colored. I am required to show these in a single DataGridView where one line of the gridview is outputted from one dictionary and then the other dictionary is outputted as they alternate. The dictionaries can have different amout of entries as one file may have more or less records than the other.
|
|
|
|
|
I was just trying to give file premission to my dummy files but encountered a problem. I found out that only the last applied permission is imposed on the file while rest are overriden or not applied.
using System;
using System.IO;
public class RegistryEditor
{
public static void Main()
{
try
{
FileInfo f = new FileInfo(@"C:\Test.txt");
f.Attributes = FileAttributes.System;
FileInfo f1 = new FileInfo(@"C:\Test.txt");
f1.Attributes = FileAttributes.ReadOnly;
FileInfo f2 = new FileInfo(@"C:\Test.txt");
f2.Attributes = FileAttributes.Hidden;
FileInfo i = new FileInfo(@"C:\Test1.txt");
i.Attributes = FileAttributes.System;
i.Attributes = FileAttributes.Hidden;
i.Attributes = FileAttributes.ReadOnly;
}
catch (Exception ex)
{
Console.Write(ex.ToString());
}
}
}
Banking establishments are more dangerous then standing armies.
|
|
|
|
|
Hi,
int i;
i=1;
i=2;
i=4;
Now what is the final value of i? Is it 7? Why would it be any different with file attributes?
File attributes are flags, i.e. they have a binary pattern with one bit set, all others cleared. So you can OR them together (with the '|' operator) to get combinations of them.
Luc Pattyn
Have a look at my entry for the lean-and-mean competition; please provide comments, feedback, discussion, and don’t forget to vote for it! Thank you.
Local announcement (Antwerp region): Lange Wapper? Neen!
|
|
|
|
|
You are going to kick yourself! You are, you are...
Ishaan Karnik wrote:
FileInfo f = new FileInfo(@"C:\Test.txt");
f.Attributes = FileAttributes.System;
Assume it works: the attributes for the file are now "System"
Ishaan Karnik wrote:
FileInfo f1 = new FileInfo(@"C:\Test.txt");
f1.Attributes = FileAttributes.ReadOnly;
Assume it works: the attributes for the file are now "ReadOnly"
Had you considered?
FileInfo f1 = new FileInfo(@"C:\Test.txt");
f1.Attributes += FileAttributes.ReadOnly;
What are the attributes now?
I told you, you would kick yourself!
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.
This message is made of fully recyclable Zeros and Ones
|
|
|
|
|
Except that if it already was ReadOnly, it will be Hidden and not ReadOnly anymore. (ReadOnly = 1, Hidden = 2)
|
|
|
|
|
Yes you are right, I'll start kicking myself when I stop typing: it should be "|=" not "+="
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.
This message is made of fully recyclable Zeros and Ones
|
|
|
|
|
OriginalGriff,
Yes, i had considered
FileInfo i = new FileInfo(@"C:\Test.txt");<br />
i.Attributes += FileAttributes.ReadOnly;<br />
But this gives an error Operator ' += ' cannot be applied to operands of type 'System.IO.FileAttributes' and 'System.IO.FileAttributes'.
Luc Pattyn,
ThankYou. Your suggestion worked.
|
|
|
|
|
you're welcome.
Luc Pattyn
Have a look at my entry for the lean-and-mean competition; please provide comments, feedback, discussion, and don’t forget to vote for it! Thank you.
Local announcement (Antwerp region): Lange Wapper? Neen!
|
|
|
|
|
Hi
i'm looking for a calendar control like outlook 2007.
can anybody help me ?
thanks
|
|
|
|
|
If you had, at the very least, searched the CP articles, you might have found MS Outlook style Calendar[^].
You didn't search, so you didn't find. Think yourself lucky that I'm in a good mood today, for a change!
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|