Access and modify clarion .dat file - clarion

Does anyone know how to access and edit the .dat clarion files? It seems that clarion is a database for DOS. the tables are stored in DAT files. I need to update few fields of that file.

For a simple edit, you can use the CSCN.EXE utility. It's a DOS app, it runs in Windows 32 bits.
Download it here (try F1).
For programmatic access, you'll need to develop something using Clarion for Windows

Related

How to check if files exist in .ism without using InstallShield

I want to verify if certain exe files already exist in a merge module .ism (binary format). Is there a method of doing this without using InstallShield?
An *.ism file is really an MSI file with a changed extension. MSI files in turn are SQL databases stored as COM-structured storage files - a file system inside a single file with file streams for various content. This is the same format used in Office documents.
You can view MSI files with Orca from the Windows SDK: http://www.hass.de/content/how-install-microsoft-orca
Windows Installer XML (WiX) Deployment Tools Foundation (DTF) has an InstallPackage class available that exposes a FindFiles() method. This should be really easy to query the EXE. Just realize that being a merge module you won't know the full installation path as that's decided by the MSI generally.
Both of Chris's suggestions should work fine, as would using Orca. But it got me thinking there might be an even easier way using a tool called Merge Module Finder. It all depends on what you really want to do? Find files already in merge modules? Investigate what merge modules are in an Installshield file? It is not quite clear exactly what you want to do.
Though a bit clunky at times (I think the author hasn't updated it for the latest versions of Windows) it will help you look for a file in a bunch of merge modules interactively. You can also search for a registry value. Here is a screenshot:

Using DirectXTK to save screenshots in Windows Store app (Metro)

I'm working on a C++ Windows Store DirectX app and I'm trying to save screenshots to disk every so often.
I am using the DirectX Tool Kit (DirectXTK) and the function SaveDDSTextureToFile which returns an HRESULT.
The problem is that the returned HRESULT is always:
E_ACCESSDENIED General access denied error.
I assume this is some permissions/capabilities thing (it being a windows store app) but I can't find what I need to ask for permission for to be able to save files to disk.
The DirectX ToolKit says it is for Windows store applications as well as desktop applications but I can't find any information on their codeplex either.
Does anyone know what I need to have permission to do for this to work?
Thanks for your time.
Windows Store apps are sandboxed and have fewer permissions than desktop apps, especially when it comes to file access. By default, apps only have access to write to the local storage directory, which isn't easily accessible from the shell. If you want to save to the Pictures or Documents library, you will need to specify this access in the package manifest. Additionally, you will need to use the WinRT file APIs to write the DDS files. To do this, use SaveDDSTextureToMemory, then write the resulting raw DDS data to the StorageFile. Check out the File access sample for more info on the WinRT APIs involved in writing this data as a file.
I've managed to find a way to do it. Basically as MooseBoys says you cannot save to anywhere because the app is sandboxed.
You can however save to the TempState folder of your apps package in AppData, which is all I need because I'm using this feature for debugging.
So the line I call is:
DirectX::SaveWICTextureToFile(deviceContext, texture2D, GUID_ContainerFormatPng, L"C:\\Users\\USERNAME\\AppData\\Local\\Packages\\PACKAGENAME\\TempState\\test.png");
And this works great.

Adding files to Installshield cabinet

I am trying to add a file (licence information) to a several Installshield installers, to save storing the files seperately.
I have downloaded InstallShield 2012 trial, but don't have the project files.
Is this possible (no matter how hard the steps required)?
You can reverse engineer .cab and .msi files very easily.
As a first step; see what you can do using 7-zip.
I'm not a 100% sure if the hashes are checked, if not you should just be able to insert/modify the LICENSE within the CAB directly, maybe with a bit of XML mining to store the filename; though I doubt it.

Beginner's guide towards a linux based solution to read mail content (including attachments) from MS Outlook's .pst files

I have just started with the basics of how MS Outlook stores its mails in its own format (.pst format) and I have to deliver a script (search something or write my own) which -
parses these .pst files on a linux system (which were zipped and sent here)
creates a single .txt file for every mail. Creates a single .zip file for every attachment. This is the basic thing to be done. I also need to assign some unique names to the text files to be created.
Any language - PHP, Java, Python - whichever is available/applicable.
Some basic Questions
Would be nice if anyone could clarify these basic questions -
Are both mail contents as well as attachment info stored as .pst files?
I got these so far
Read contents of .pst file with php
How can I dump emails from an Outlook .pst file into a MySQL database? says that
Google email uploader (open source),
they do the reading part...
In this question - Outlook PST File Parsing in Python, there is mention about libpst-python.
Any suggestions regarding which of these solutions or some others to try? Or if you could tell about any of your experiences so that I get an idea before actually trying out any solution and later realizing it is not possible that way. Any pointers would be appreciated. I basically come from a LAMP background with little knowledge in other languages. Have done a little bit of bash programming recently.
Thanks,
Sandeepan
Update
JPST works fine. There are modules exactly for these things - read all messages (you can simple write code to save in files), save the attachments and many other things.
Also I came to know that mail contents as well as attachments, all are stored in the .pst files.
You could look at either http://alioth.debian.org/projects/libpst/ or http://www.genusa.com/utils/pmseu.htm
You may also consider Aspose.Network for parsing Outlook PST files. In Linux environment, there are 2 ways to parse PST with Aspose.Network.
Use Aspose.Network for Java. This requires Sun's JDK and will run natively on Linux, because Aspose.Network for Java library is written in Java. Here is a sample Java program for exporting MSG files from PST.
Use Aspose.Network for .NET with Mono on Linux. This solution depends on Mono for running .NET code in Linux environment, because the Aspose.Network for .NET library is written purely in .NET. Here is the sample .NET program for exporting messages (MSG) from PST.

How create a single-file format of multiple documents with iOS for Windows, OSX, iPhone

I'm working in a end-user app that will create documents that could have several files inside it.
The main resource is a sqlite database. The user can store several media files that are referenced form that database.
My first impulse is use OSX Bundles, but that will show that are folders on windows.
Or put all the data inside the sqlite database, but will have issues when try to open large files.
Or maybe inside a zip file but need to compress/decompress.
Or maybe exist a magic trick to show a folder as a file under window...
Exist a working VFS (virtual file system) for iOS?
I'd go for a well-known archiving format such as zip or tar, because I'm sure there are pre-made libraries for those that you can use. By the way, the ZIP format allows you to store files without compression as well.
Yes, you can use our SolFS Application Edition, this is exactly what you are looking for and it's available for iOS as well as all other major platforms.
ZIP has the problem of ineffective modification - it's slow and resource-consuming.

Resources