Problems trying to open a word document for editing in Windows store application - windows-8

I'm tyring to use Microsoft Open XML SDK 2.0 within a Windows 8 store application to edit an existing MS word document.
So, I create a blank windows store application. I then use NuGet to install DocumentFormat.OpenXml. This seems to work OK but when I compile the application I get the following error:
While creating .pri files for portable libraries, sub-task 'GenerateProjectPriFile' failed while processing library 'DocumentFormat.OpenXml'.
Any ideas how to use the Open XML libraries within a windows 8 store application and also how to open word documents from within the application?
Thanks

After a bit more research it seems the Open XML can't be used with Windows store apps

Related

How to Embedded Autodesk Viewer on winform vb.net

I need to finish an older project where AutoDesk Viewer is Embedded on a Winform.
This project was done several years ago using what I assumed an older version of Autodesk. I can see on the Reference that they have a AxACCTRLLib.AxAcCtrl.dll. I downloaded autodesk design review 2013. My question is the .dll library for the embedded view has a diferent name?. Because I cannot find any with the same name of library as show above. This project was in a different computer so thats why I had to install the new autocad etc..
Below is a screenshot of the project showing the autodesk viewwer control.
Any Help please I have been researching for a while now without any success
Try add COM reference to c:\Program Files (x86)\Common Files\Autodesk Shared\DwgViewrAcCtrl.dll

Modifying manifest file deletes indexdb in windows 8 metro app

My app(windows 8 metro, using javascript) uses indexDb for database, i have seen when i modify manifest file indexDB database is deleted.
Is this a bug or a feature??.
Now my app is already in windows store I am afraid if i will modify manifest file (which i want to do) users database will get deleted and that will be a huge loss to the user.
So what is the work around for this problem.
You can try their official demo and you will find the same problem
http://code.msdn.microsoft.com/windowsapps/IndexedDB-sample-eb1e95af
This is not a bug - when you modify manifest and deploy app using Visual Studio local data is cleared. This behavior is the same for JS, C++ and C# projects.
It will not happen to your users when they will update the app through the Store.

Full text search winrt (windows runtime, windows store app, etc)

I use Lucene.Net to search text files in a WPF app and was thinking of porting it over to a Windows Store app. When I tried to add a Lucene.Net using the package manager I get the error below. Is there any other library that offers fully indexed text search I can use for WinRT?
install-package : Could not install package 'SharpZipLib 0.86.0'.
You are trying to install this package into a project that targets
'.NETCore,Version=v4.5', but the package does not contain any
assembly references or content files that are compatible with that
framework. For more information, contact the package author
*SharpZipLib is a dependency of Lucene.Net
I'll caveat that I do not know if this will actually work, but it may hold promise.
SQLite has full text search (FTS), and SQLite is supported for Windows RT. This article would seem to indicate full text search isn't turned on by default so a recompile would be needed. This also presumes that whatever other dependencies that (FTS + recompilation) brings in are also supported on Windows RT.
Tim Heuer's blog is an excellent source on SQLite with Windows 8 apps, and he has this post on how to compile SQLite (before it was all packaged nicely as an extension), so it may be worth a shot to try it out.

Microsoft Visual Studio 2005 (Vb.net)

I'm doing my project in Vb.net. my project name is "Bellows". My front end is Vb.net. Back end is Ms Access.
i Create My project in Windows Application
i complete my project. i copy the .exe file from "E:\BellowNet(new)\Bellows\obj\Debug" and put the shortcut into my desktop. now it's running.
similarly i copied my Bellows.exe from another system desktop but it not running.
How i want to run my Bellows.exe from another systems (maximum 10 systems).
Note : In my system only having Microsoft Visual Studio 2005. Remaining system doesn't have.
I put bellows.exe from another system. in that system doesn't having E Drive. it showing this error
The application Filed to initialize properly(0xc0000135). Click Ok to terminate the application
Similarly I put bellows.exe from another system. in that system having E Drive.
if i click that Bellows.exe the login form is open.. and main form is open. in that main form wen i click button it show the error.
Unhandled exception has occurred in your application. If u click continue the application will ignore this error and attempt to continue. If u click Quit, the application will close immediately. Could not load file or assembly ‘ADODB, Version=7.0.3300.0, Culture=neutral, PublickeyToken=b03f5f7f11d50a3a’ or one of its dependencies. The system cannot find the file specified
Good practice to run your project on another systems is to create its setup file and then install it on to another systems on which you want to run your project and of course you need to install .NetFramework as well with the same version which you used to developed your project. How to create setup and how to add Serial Key for those steps refer my blog
It sounds like either the .Net Framework is not installed on your target system or that there's an app.config file (Bellows.app.config) that you need to copy over as well.
Another thing that concerns me is what your expectations are for the access database. Do you want all the workstations to share a common database? If so, I highly recommend you convert your app to use Sql Server Express Edition (free). Access is an in-process database engine, and like all such engines it doesn't behave well when shared. If you don't expect them to share the database, you probably want to make sure you copy that *.mdb file over to your target machines as well.
Finally, let me re-iterate the advice in other answers about using a Release build and/or deployment project.
What errors do you see?
It could be:
The other system does not have .Net
framework 2.0 installed
You copied only the exe from the dev machine without other required files from the Debug directory (e.g., app.config, supporting DLLs).
If you are going to copy and paste the exe file then the all Prerequiest should be installed on that machine like framework.So make a setup file which is easy and add all Prerequiest on the setup after that do setup on new machine..
Thanks
I can only guess, but try this suggestions.
The application Filed to initialize
properly(0xc0000135). Click Ok to
terminate the application
.NET framework is not installed on this machine. Install the runtime.
Could not load file or
assembly ‘ADODB, Version=7.0.3300.0,
Culture=neutral,
PublickeyToken=b03f5f7f11d50a3a’ or
one of its dependencies. The system
cannot find the file specified
ADO.NET drivers are missing. You need to install Microsoft Data Access Components
You can avoid this problems if you make an install procedure and do the proper install on every machine.
The appropriate .NET framework must be installed in each machine as well as the appropriate MDAC. You can add them as part of the installation package.
http://msdn.microsoft.com/en-us/library/ms994427.aspx
And if you want to make it even more easier for your clients to get hold of it; use ClickOnce to distribute it from a central server.
http://www.15seconds.com/issue/041229.htm

How to share vb.net .exe from one system another system(min 6 systems)

I developed Vb.net project.
My project name is Lone.
My front-end is Vb.net Backend is Ms Access.
I completed my project.
Now I copy the Lone.exe and put shortcut into my system desktop.
Now I want to run that Lone.exe to all system.
I don’t no how to share that one.
Tell me how I want to run my project to all system.
Note: In my system only having Vb.net.
Remaining systems doesn’t installed vb.net.
You have to install the correct version of the .Net framework on all 6 systems, you don't need the whole VB.Net development environment, just the framework. This might already have been installed using Windows Update or similar, so this step might not be needed.
Just try googling download .net framework x.x where x.x is the version you need and you should find a link to download the correct version from Microsoft if needed.
After that just copy that executable to each system and run it.