|
Hi
Is there anyway to save Microsoft Word Embedded Object to my local drive programmatically?
I am using InLineShapes and OLEObject but do not know how to save those embedded objects,
Please.
|
|
|
|
|
can anybody get me the link to free downloading of any audio graphics analyzer sdk or any media player sdk which contain audio/freq analyzer too along with the video screen which i can use in .net C# because whatever i got uptill now is applicable for VB....
thnks in advance
$@N@
|
|
|
|
|
When I'm using the following code, everything is Okay.
DateTime startDate = DateTime.Parse("05/01/2007");
DateTime endDate = DateTime.Parse("06/01/2007");
But when I try to pass the date value directly from the text box, it gives me error.
How can I pass the date directly into the code from textbox. Any suggestions.
Thanks
|
|
|
|
|
DateTime startDate = DateTime.Parse(textBox.Text);
If that doesn't work, what's the error
|
|
|
|
|
It gives me a compile error : 'System.DateTime' does not contain a definition for 'Text'
|
|
|
|
|
Eh? This would say that you were using the DateTime and not the TextBox.
|
|
|
|
|
With the code I posted??? I think that you have mismatched parenthesis or something else. Could you post your code that generates the error
|
|
|
|
|
Try putting the value from the textbox into a temporary variable and see what it is by debugging your application. Also, try to read the exception that has been thrown to see what it is.
|
|
|
|
|
This was exactly what I tried b4 posting. I stored the value from textbox into a String variable and then Parsed it into DateTime as it's shown in the code.
But all this time I was getting errors b'coz the name of my Textbox was same as that of the variable I used for used for storing the date.
So, I changed the variable name and its UP and RUNNING.
Thanks a lot to everyone
|
|
|
|
|
I have a program that creates and edits Microsoft Word documents. It was created with Microsoft Word 12.0 Object Library -- I had MS Office 2007 installed. I built it and it worked great on my computer. I took it to another computer (one that had MS Office 2003 installed) and it crashes when I tell the program to create the Word document.
This is the error I get (in the Details section):
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Office.Interop.Word, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.Office.Interop.Word, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'
Is there a way to make sure the program can be backward and forward compatible with regard to versions of Microsoft Word?
Thanks.
|
|
|
|
|
danielhasdibs wrote: Is there a way to make sure the program can be backward and forward compatible with regard to versions of Microsoft Word?
danielhasdibs wrote: I took it to another computer and it crashes
danielhasdibs wrote: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Office.Interop.Word
Well until you get that file installed on that computer to eliminate that error you don't even know if you have a compatibility problem.
led mike
|
|
|
|
|
Clarification: "took it to another computer" means installed it onto another computer.
Jeez, if you don't know what's wrong don't bother replying.
|
|
|
|
|
danielhasdibs wrote: Jeez, if you don't know what's wrong don't bother replying.
Wow, the error message is perfectly clear a**hole so f*** off
danielhasdibs wrote: The system cannot find the file specified.
File name: 'Microsoft.Office.Interop.Word, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'
led mike
|
|
|
|
|
This program was originally written with library 11.0 -- it worked with computers that had MS Office 2003 and 2007, I updated it when I upgraded to MS Office 2007 using library 12.0, and now it does not work with MS Office 2003. How can I get it to work with 12.0? Thanks.
|
|
|
|
|
danielhasdibs wrote: How can I get it to work with 12.0?
Stop smoking crack and READ THE FREAKING ERROR MESSAGE!
danielhasdibs wrote: The system cannot find the file specified.
File name: 'Microsoft.Office.Interop.Word, Version=12.0.0.0
led mike
|
|
|
|
|
AFAIK you need to either explicitly link against the lowest supported version (not sure the old dlls are forward compatable), or build a switcher that links against every possible version you're using it on depending on availability.
You could also try putting the v12 dll on the system with word 2003 (v11), but IIRC that won't work.
Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots.
-- Robert Royall
|
|
|
|
|
Hi all.............
I want to use cssClass in c# windows application controls for standard design.
But i don't know how link cssclass with a controls of c# windows application.
Friends plz give solution with small example.
FaHaD
|
|
|
|
|
The only way you can use CSS to control a winform app layout is if your presentation layer is a browser control, and your apps backend emits html; instead of using the standard winform controls.
Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots.
-- Robert Royall
|
|
|
|
|
you can not use css in windows application
|
|
|
|
|
You can't use CSS with a standard winforms application, but you can achieve an effect similar to CSS if you use WPF, because CSS is used to style web pages - and you can style WPF apps[^].
|
|
|
|
|
And, XUL. XUL can be styled with CSS.
Chuck Norris has the greatest Poker-Face of all time. He won the 1983 World Series of Poker, despite holding only a Joker, a Get out of Jail Free Monopoloy card, a 2 of clubs, 7 of spades and a green #4 card from the game UNO. In the movie "The Matrix", Chuck Norris is the Matrix. If you pay close attention in the green "falling code" scenes, you can make out the faint texture of his beard. Chuck Norris actually owns IBM. It was an extremely hostile takeover.
|
|
|
|
|
HI
I have a table (ContactDetails) with 2000 records. I have an application receiving an XML file from an external web service. Most time the data received from the web service is similar to the data in my table. Occasionally the data returned from the web service will have few differences. I want to compare the data received from the web service with the data in my local database and generate a xml file (based on the same schema) to send to another application. So how do i go about do that?
modified on Thursday, August 28, 2008 12:13 PM
|
|
|
|
|
ONeil Tomlinson wrote: I want to compare the data received from the web service with the data in my local database and generate a xml file (based on the same schema) to send to another application
So, what is the problem?
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Hello!
It is only a part of my source code:
//******************
private void button2_Click_1(object sender, EventArgs e)
{
openFileDialog1.Title = "Choose image to convert:";
openFileDialog1.FileName = "";
textBox1.Text = "";
//shows dialog
openFileDialog1.ShowDialog() ;
//receiving name
CurrentImage = openFileDialog1.FileName;
if (CurrentImage != "")
{
img = Image.FromFile(openFileDialog1.FileName);
//drawing picture
pictureBox1.Image = img;
textBox1.Text = CurrentImage;
//******************
When i am choosing an easy picture(*.tiff extension,size = 474 kb,dimensions:1920*1200) everything is ok, i mean that this picture is displays at my form.
But if picture is more hard(*.tiff extension,size = 10.9 mb ,dimensions:56304*13384) i have such error: Out of Memory(indicates the next string of source code Application.Run(new Form1());)
What i have to do to solve this problem.
Thanks.
|
|
|
|
|
The "Out of Memory" part of the error isn't a clue?
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|