|
|
Hi,
I’m writing a desktop app which will export data into a word document but have a question about which
Microsoft.Office.Interop.Word .dll to use for maximum compatibility.
I understand that v11.0.0.0 is for Word 2003, but if I only include this dll in my program, will a user running Word 2010 or 2013 be able to use the dll?
Conversly, if I use v14.0.0.0, will users running Word 2003 be able to use the functionality?
I guess the question is; is the user’s installation of Word backwards compatible with older interop dll’s. Or are the interop .dll’s backwards compatible with older installations of Word? I just want to ensure that my application can write to any installation on Word the user has.
Thanks in advance.
|
|
|
|
|
Member 9809506 wrote: Or are the interop .dll’s backwards compatible with older installations of Word? From 2007 to 2003, mostly yes[^];
Office Blogs wrote: Backward Compatibility is an area we where have focused much attention. We understand that as a platform, we must take steps to ensure that the managed solutions compiled against a 2003 PIA will continue to run properly against the 2007 version. To do this, we’ve taken some great strides during development of the individual object model to ensure that the changes to the OM do not break runtime compatibility. It's not compatible with the predecessor of 2003 (XP). For newer versions, there's binding redirection[^].
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
I want Code to Display each IP address and Host No in ListBox using C#
|
|
|
|
|
Can you clarify please, which IPs? - Local to machine or on a particular subnet?
|
|
|
|
|
Write it.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Well, everyone should have a hobby.
Myself I want a Google Chromecast. But I've done something towards getting one: I placed an order with a shop. So what have you done to get what you want? Apart from posting here, that is?
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
|
"Griff" is fine - but "GRIFF" sounds like you are shouting!
Im fine - busy with this and that, some of it work...you know how it is!
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
OG,
I have been after you since PLC times . i cant shout at an all time MVP(sounds like 5 time world champion).
I just envy you .
well i have undertaken an other project OG, its a kino pvdv board, i have to bring it up. My friend will port linux, i will have to a lot other application stuff, dont know how to start. First i need to help him compile the kernel.
Its been 5 hours now ...still compiling, is something wrong? dont know
|
|
|
|
|
Don't know - I don't use Linux that much.
I guess it depends on how fast the computer you are building it on?
Have you tried any of the Linux websites?
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
Ahh yes i did that already, actually the linux kernel comprises of : cramfs(compressed file system) and zimage(application settings).
cramfs is the file system, which will appear when you start linux, and zimage will contain your application settings. However i want my application to run on serial baud rate: 9600, usb support, led/lcd interface.
The above job is done and kernel compiled. he wants me to make a web page, I will write a text and that string will display on his LCD. After this is accomplished, we will control LEDs etc etc.
I have told him to write a sample app in C to do this, once done i will use that serial packet to send data from web. Actually OG, this project is for his friend(girl friend ). For once i wont hate female species. At least because of her i got to learn a little Linux.
I never did this for myself and now i am doing it for his gf. I am finding it hard to believe .
Your help is appreciated Og. Its just, if you find time. I will just ask some doubts.
Thanks a ton,
Rahul
|
|
|
|
|
Do one thing:
1> Create a socket list.
2> Connect to each socket in the list.
3> extract the IP address from the socket, using RemoteEndPoint property.
4> Use string.split to extract only IP and not port.
5> Add every IP to the list.
Cover all of these 5 points and post the code here, we will then speak about the Host no part. Believe me friend,
you will learn something from every point.
Also tell me how will you extract the RemoteEndPoint if the socket does not connect OR endpoint is not created?
Just start reading.
Thanks a ton,
Rahul
|
|
|
|
|
Hi All,
I have just written a console app to add booking info to a database based on emails pulled from an inbox. The app seems to work fine but I would like to write some tests to allow me to regularly/quickly test the functionality when somebody decides to send a surprise email format.
The app is pretty basic, an Import class to represent each of the possible client emails and an Importer class to handle the actual creating of the booking in the db both of which have an interface defined to set a base of functionality required by each(IImport and IBookingImporter). Pic of project structure below.
http://www.imagebam.com/image/a1cf9a322230061[^]
I have a basic understanding of testing and have briefly used NUnit before but I'm just wondering if anyone has a good articles or resource(more specific than google) to help set me on the correct road to writing some tests for each of the Imports.
A specific concern would be how i am going to represent/mock i guess, the email service and retrieve the mails.
Although any help or advice would really be appreciated, thanks in advance
|
|
|
|
|
|
Some TDD articles would indeed be good reading, although you're not strictly doing TDD if you add tests afterwards. The most important thing is to isolate the component that you're testing behind boundary interfaces. It seems like you have already isolated the import process service, behind IImport/IBookingImporter. You also need to isolate the input (IMessageProvider, maybe, for the email source) and output (IBookingRecipient for the database connection code). Then you can provide different implementations of those in your unit test library which give fixed, well known messages as input, and log the bookings the database would be asked to make (the output).
|
|
|
|
|
thanks very much for taking the time to reply gentlemen, i will be investigating further when i have some more time to spend on this... cheers again!!!
|
|
|
|
|
Developed a simple auto-backup program on my own computer, OS is windowsxp, mail the backup file of sqlserver automatically as an attachment. Everything is alright on my computer, but after I deployed the program on our server, OS is windows server 2003, there is an exception caught, failure sending the mail. I changed the code, I found out that the program is ok on server 2003 for those files which size are smaller than 3MB, more then 3MB, the program will fail to deliver the file.
I have confirmed that there is no problem on the e-mail provider because the program is alright on windowsxp, even the attachment is more then 3MB. I wonder if there are any settings on server 2003 limited the function.
Please help. Many thanks.
|
|
|
|
|
|
I think I find out the solution.
Stop service IIS ADMIN SERVICE.
Then open the file %system%\system32\inetsrv\MetaBase.xml
change the value of ASPMaxRequestEntityAllowed\AspRequestQueueMax\AspBufferingLimit to the size you want(upload\upload\download)
reboot the system and restore iis admin servicem, everything should be ok then.
|
|
|
|
|
A couple of thoughts, I would consider email an unlikely transport method for a backup.
Are you zipping the .bak or using compression on the backup.
I would consider an FTP server a better destination than email. Or even something like Dropbox.
Just some ideas.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Thank you for the answer, the problem is server 2003 limited the attachement.
Solution:
Stop service IIS ADMIN SERVICE.
Then open the file %system%\system32\inetsrv\MetaBase.xml
change the value of ASPMaxRequestEntityAllowed\AspRequestQueueMax\AspBufferingLimit to the size you want(upload\upload\download)
reboot the system and restore iis admin servicem, everything should be ok then.
|
|
|
|
|
How does one convert a point (in google spherical mercator) to screen coordinates? Well, 0,0, relative to a tile size cx by cy? I've seen some samples by googling, but none of the formulas seem to work.
|
|
|
|
|
|
Hi, I've made a custom webcontrol that works similar to gridview but with a few extra functionalities. The control works just fine, but my designer is showing 2 issues:
- I can't drag the control from the toolbar to a page, the action isn't allowed for unknown reason.
- I have editable templates. Changing an existing template contents works perfect. However, creating a new template from designer view isn't working(it's not persisting to my pagecode). If I create it manually by typing in the template in code view, there is no issue.
I am overriding following methods of the designer
- GetEditableDesignerRegionContent
- SetEditableDesignerRegionContent
- GetDesignTimeHtml
- GetDesignTimeHtml(DesignerRegionCollection regions)
- GetEmptyDesignTimeHtml
following properties:
- ActionLists
- TemplateGroups
My control inherits from DataBoundControl.
My designer control inherits from DataBoundControlDesigner.
Each template property has following attributes:
[TemplateContainer(typeof(CustomItemsControlItem))]
[TemplateInstance(TemplateInstance.Single)]
[PersistenceMode(PersistenceMode.InnerProperty)]
[DefaultValue(null)]
[Browsable(true)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
Am I missing something? If you need code of a specific block, please ask.
|
|
|
|