|
Well, sorry for bothering your highness, but I actually need this for my job.
I've got better things than this to kill time (if that was my intention).
So, keep the sarcastic patronizing to yourself or just answer the question.
|
|
|
|
|
It looks pretty complicated as you have to process the font drawing yourself (i.e. read the font TTF description and draw it to a series of bitmaps or memory buffers). Doing this on the fly for a website or similar would be very processor intensive.
The easier way would be to pregenerate individual .GIF files for each character and display those instead?
ErezRozn wrote: Well, sorry for bothering your highness, but I actually need this for my job.
Give him a break - it's Sunday and he's "relaxed". "Relaxed as a newt" by the sound of it!
|
|
|
|
|
Hi
thanks for your kind reply.
I already know how to pre-generate the frames,
I just don't know how to create the desired 'burning' effect
around the text in each frame.
I suppose it involves some form of looping over the text with various brushes or pens.
Do you know how to draw such an effect, even in a static non-animated gif ?
it would be very helpfull/
thanks
Erez
|
|
|
|
|
The only thing I've been able to find is this[^], but it is Java based. Might be useful for ideas, though.
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.”
|
|
|
|
|
if anyone has any source code sample- please post it.
|
|
|
|
|
how can i get registry operations associatd to a given executable files?
in other words,
how can i get subkeys names that are created by a given process?
|
|
|
|
|
There are tools that watch what a process is doing and can inform you of the changes to the registry that it makes. Alternatively you can use a disassembler and look for registry strings, or calls to the Registry APIs and see what it is doing.
|
|
|
|
|
I already found such tool(procmon) but i need to get subkeys
associated to a given process using c#.
|
|
|
|
|
|
Change the line
List1.Items.Add(Text1.Text);
to something like
List1.Items[List1.SelectedIndex] = Text1.Text;
Maybe first check for the selected index being valid, and adding a new item in case it's invalid.
|
|
|
|
|
Hi,
This is essentially a follow up question to that found in the thread:
http://www.codeproject.com/script/Forums/View.aspx?fid=1649&msg=3004643[^]
I am going out of my mind here and have a deadline that is approaching fast.
My problem is that I have a label printer of which the printed output needs to be rotated 180 degrees to match the labels coming out of it.
The problems:
1. The label printer does not have a native reverse mode in its driver.
2. I am using a Graphics.GetHdc() to receive a handle which is being used to put rich text into.
3. using:
Matrix m = new Matrix(...);
m.RotateAt(180f, width/2, hight/2);
e.Graphics.Transform = m seems to totally ignore the rich text written directly to the hDC. It prints quite well where it would be anyway not using the the 'Transform;
4. Creating a Bitmap and using GetDC() from it, putting the rich text onto that bitmap and drawing it with e.Graphics.DrawImage() works quite well, but it is so pixelated that it is unacceptable for commercial use.
5. Thought I had found an answer when I discovered the SetResolution() method of the Bitmap, but that made absolutely no difference to the printed output what-so-ever.
I have tried all sorts of combinations to get any of the above to work but to no avail. I am now desperate. Any help, ideas, good links or suggestions would be appreciated.
Regards,
David Bailey.
|
|
|
|
|
Hi David,
never did such things, but a quick "hdc transform" Google showed lots of things including this[^].
|
|
|
|
|
Thank you.
I never thought to use "Transform" as a keyword. That might be just what I needed to keep going.
I searched on "rotate hdc" and got lots of answers, none of which were doing me any good.
Thanks again.
David.
|
|
|
|
|
I can not connect MySQL with Smart device (Windows mobile) by C# Language.
Any body can help me.... its urgent.
I will be great full to you
Shafik
|
|
|
|
|
For anyone to make any suggestions they would need to know what you have tried already. For instance what Libraries are you using, what does the code look like (not all of it, just the connection part)?
Edit your first post, to put that information in and maybe you will have more luck.
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 am not sure if you have the option of using sql server compact, but if so, you will find this so easy and there is a lot of useful documentation to support you.
|
|
|
|
|
Tim Layton has replied to my post instead of yours.
Check the thread, to see his answer.
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.”
|
|
|
|
|
Hello,
There is a VBA macro code that use clipboard extensively. Objective is to run multiple copies of this simultaneously in same machine; but since the clipboard is shared it results in erronous output results.
Currently we are trying to build a wrapper in C#, that call the VBA maco. Please suggest how multiple simultaneous instances of this application could be run, bacically each copy should have its own clipboard and should not interfear with other simultaneous run.
Thanks.
|
|
|
|
|
It doesn't matter what language you use, the clipboard is intended to be shared. Try and write the things that you put on that clipboard into a file, and read it back from there
I are troll
|
|
|
|
|
Please explain how the clipboard behaves when,
1. You run multiple instances of application using clipboard in same machine using different user login accounts.
2. When impersonating and running multiple instances in same machine.
Thanks.
|
|
|
|
|
srikrupha wrote: You run multiple instances of application using clipboard in same machine using different user login accounts
Each account has it's own clipboard. It would be a breach in security if someone could view the contents of my clipboard using a different account.
srikrupha wrote: When impersonating and running multiple instances in same machine.
Dunno, but I guess that they share the information of the account, and thus, the clipboard contents. Since you're logged in as user X, you'll see the contents of the clipboard of user X.
You're welcome
I are troll
|
|
|
|
|
I installed connector.net but still occered this error.
my connection string is:
connectionstring = "Provider=MySQLProv;Data Source=test;User Id=root;Password=Password;";
what i do plz help me...
|
|
|
|
|
Your connectionstring is based on the OleDb format, which you can also use to connect to MySQL. I guess that you'll either need a different connectionstring (for Connector/NET) or use a different provider (like OleDb).
Try the connectionstrings mentioned here[^].
I are troll
|
|
|
|
|
Hey everyone,
I've been developing this database application for the last two years and now my boss wants me to translate it to other languages, I have some rough ideas about how that could be done but I dont believe any of them are official so here's my question:
What is the best practice in changing your application language?? "You know, the text properties of all the controls of your interface", any official way to do that?? Other than looping over the controls and reading the corresponding word from a text file or a csv file which I think would be a lame practice??
Please advise guys.
Many thanks!
All generalizations are wrong, including this one!
(\ /)
(O.o)
(><)
|
|
|
|
|
Muammar© wrote: Other than looping over the controls and reading the corresponding word from a text file or a csv file which I think would be a lame practice??
Yep that's the one , then a copy of each label for each language in the database. That's what we did, worked perfectly, we had a separate DB set up for the language tables as they are unicode and the main DB only used varchar.
The language DB then got played with by various divisions to add and improve the label translations. Last I heard there were 6 languages supported, 2 of which were Chinese dialects.
Never underestimate the power of human stupidity
RAH
|
|
|
|