|
I want two Boeing 787, a black one and a red one.
|
|
|
|
|
|
Post your address and credit card details (for security and identification purposes only, natch) - I'll sent them by return.
BTW I am the son of a Nigerian finance minister, and you may be able to help me...
All those who believe in psycho kinesis, raise my hand.
|
|
|
|
|
No thanks, Nigerian Boeings don't take the local petrol kindly. And besides, Nigeria doesn't have any 787s.
|
|
|
|
|
Luc Pattyn wrote: Nigeria doesn't have any 787s
Well of course not! They are still far too heavy!
All those who believe in psycho kinesis, raise my hand.
|
|
|
|
|
|
I don't want just ANY Boeing - I want this one.
But fortunately we have the nanny-state politicians who can step in to protect us poor stupid consumers, most of whom would not know a JVM from a frozen chicken. Bruce Pierson Because programming is an art, not a science. Marc Clifton I gave up when I couldn't spell "egg". Justine Allen
|
|
|
|
|
Nah. Maintenance requirements are too high.
|
|
|
|
|
Why not just try Rent a Coder?
Excellence is doing ordinary things extraordinarily well.
|
|
|
|
|
Aiham2424 wrote: Iwait reply..................
And that reply would be a resounding "NO!"
Write your own pharmacy app. Why should anyone give over their heard work to you so you can sell it as your own and take credit for it?
|
|
|
|
|
Hi
I need to insert some HTML-styled text into a Word 2007 document. As far as I know you cannot directly insert HTML into Word, because it needs to be converted first. So I save the HTML as a temporary file and use InsertRange to insert it into my document.
Here is my code:
string TempFileSaveDir = "c:\\word";
private void InsertHTML(Document pDoc, string pHTML)
{
Guid _guid = Guid.NewGuid();
string _fileName = TempFileSaveDir + "\\" + _guid.ToString() + ".html";
TextWriter tw = new StreamWriter(_fileName, false, Encoding.UTF8);
tw.Write(pHTML);
tw.Close();
object start = 0;
object end = 0;
object ConfirmConversions = false;
object Link = false;
object Attachment = false;
object missing = System.Type.Missing;
Word.Range _range1 = pDoc.Range(ref start, ref end);
_range1.InsertFile(_fileName, ref missing, ref ConfirmConversions, ref Link, ref Attachment);
File.Delete(_fileName);
}
Now my problem is, that Word sees it as regular text rather than HTML, so if I have <b>Some Text</b> in my HTML it'll show the B tags instead of bolded text.
I noticed that when I set ConfirmConversions to true I get a popup, where I can select the HTML conversion. Is there a way to have the converter automaticly use this conversion without prompting the user every time?
Regards
|
|
|
|
|
This looks like a word for word copy of a post on the Microsoft Forums a month back, and is now cross-posted to 'Quick Answers' here[^].
The Microsoft forum post is here[^]
Is there a problem with the solution suggested on that forum?
|
|
|
|
|
|
That's not easy to do; applications shouldn't hijack the entire computer just to ask the user a question.
Perhaps you could create your own desktop[^], and display the form there
I are Troll
|
|
|
|
|
I'm sure if you google for a c# shutdown dialog, you get something.
You don't seriously expect us to provide you with the code, I've had a look at your message history, and you have a habit of doing this, or asking trivial questions that can be answered with a simple search.
I suggest you try something, then let us know what went wrong specifically, this is not a website where people just do your work for you.
[Edit]
Also see Eddie's answer, which he posted when I was writing this.
modified on Thursday, December 10, 2009 10:16 AM
|
|
|
|
|
System Modal dialogs do not exist in Windows NT and above. They only existed in Windows 9x and below.
Don't try to tell me that this isn't true and point to the shutdown dialog. That's not a system modal dialog.
|
|
|
|
|
|
There are classes and libraries that can do this and make it look different, but I think what your asking about is how to make a WPF app (Windows Presentation Foundation). That requires .NET 3.0 or above and a considerable rewrite of your application, since WPF doesn't work anything like Windows Forms.
|
|
|
|
|
thanks for your response. but i dont want to write the whole app in wpf. could you please email me the classes i can add to my winform so that it will have a good look on vista. thanks. OMONIYI Ogunderu.
omoniyiogunderu@yahoo.com
|
|
|
|
|
Omoniyi Ogunderu wrote: could you please email me the classes i can add to my winform
No. I don't care about your email address and the only classes in the .NET Framework that will do this are in WPF. There are no other classes in the .NET Framework that will make your app look "pretty".
|
|
|
|
|
It sounds like you need to port to WPF (there was, for me, a fair learning curve) as the old winforms stuff just isn't as flexible as WPF in terms of display and will lookk flat. WPF has built-in themes such as:
PresentationFramework.Aero
PresentationFramework.Classic
PresentationFramework.Luna
PresentationFramework.Royale
You can also download themes to skin your application as well
Here is a source.
http://www.codeplex.com/wpfthemes[^]
CCC solved so far: 2 (including a Hard One!)
37!?!! - Randall, Clerks
|
|
|
|
|
can you please tell me your idea plz..
I want to create an accoutn number for every customer when they entered his details in my C# application..
and of course it must be unqiue account number
I though of the following:
DayOfYear + Month + Day + DayOfWeek + the_primary_key_from_customer_table
any other better idea?
|
|
|
|
|
the_primary_key_from_customer_table should be enough.Just have a RegisterdDate column that is datestamped the the user is set up if you need to know this info, I wouldn't put it on the primary key.
Another common thing is to register a user with their e-mail address, each of which is unique (but a user might have > 1e-mail addess), but you need to ensure that all potential users have an e-mail before using this method. This way you can send a confirmation e-mail to ensure they are in charge of the address.
You could also generate a GUID to identify the user and use that as a PK.
Note that whatever you do, preventing a user from registering twice under different accounts is fatastically difficult (or possibly impossible!).
CCC solved so far: 2 (including a Hard One!)
37!?!! - Randall, Clerks
|
|
|
|
|
no but thisis to be printed on the invoice of the customer so email and guid won't be ok..
what i wanted is something like a long number just to avoid tell customer that your account number is# 1 or #2
|
|
|
|
|
You could just start your seed for your customer table at something like 10,000 or something.
|
|
|
|