How to install and use VerySimpleXML in Delphi? [closed] - delphi

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I am new to Delphi and I need help in how to install VerySimpleXML. I would also greatly appreciate a tutorial on how to use it to convert html to xml, if you guys know where I can find such a tutorial.

I've downloaded the VerySimpleXML and it is a single pas file, so there's nothing to install.
To make this unit available to your project(s) you basically can:
Put the file anywhere in your disk and add the file to every project where you want to use it. To add the file to the project use ShiftF11 or via menú in Project/Add to project
Put the file anywhere in your disk and then add that folder to your Delphi library path, globally in Tools/Options/Delphi Options/Library/Library Path.
Put the file anywhere in your disk and then add that folder to your Project search path, in Project/Options/Delphi-Compiler/Search Path.
Put the file in the same folder where your project (dpr) file resides
Once the file is available to the project, you just add Xml.VerySimple to your uses clause in any unit you want to use it, for example:
Unit myUnit;
interface
//whatever
implementation
uses Xml.VerySimple;
The download comes with an example that you may study to learn how to use it.

Related

Integrate MHTabBarController in App [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
I wanted to integrate MHTabBarController in my app .When I try to import MHTabBarController.h and MHTabBarController.m files it created problem. It showing me lots of error.
So how to use MHTabBarController in app ?
1) download MTTabBarController
2) Copy "MHTabBarController" and paste it to your project.
3) Goto build phases and add following libraries
UiKit,foundation and core graphics framework.
4) the go to "MHTabBarController.h" and add import Uikit framework
like this #import
5) clean the project and build
you are good to go.

Cordova - Zip files and folders on iOS [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I am using Cordova to create a mobile application on iOS. I want to upload multiple files to server but instead of sending them one after another. I want to compress these files into one '.zip' file and upload it to server.
I searched for a Cordova plugin, but I found only these plugins that doesn't solve my problem:
Icenium/cordova-plugin-zip to zip and unzip files on iOS but there is no documentation or example about how using it.
jjdltc/jjdltc-cordova-plugin-zip to zip and unzip files on Android platform only.
Please, help me to find a plugin that zip files and folders on iOS, or give me an example about using the first plugin.
We have managed to unzip, modify and zip back files using the JSZip javascript API and the cordova file plugin. It should also work to create a zip from scratch. There isn't a real need to use native code for the zipping action (although it is most likely faster), only to read the files to zip and write the zip file. Hence, it is fine to use a javascript API that wasn't designed for cordova in particular.
Process
If you want to try the JSZip + file plugin method, here is a quick outline of how we worked with it :
We use the file plugin to read files as binary. If you are lucky enough to have only text files, you could read as text too, but it's less flexible that way. Note that to read the files, you will need to obtain the File object from their FileEntry which will require navigating in the file system using DirectoryEntrys. If you aren't familiar with the file plugin, take a look at its documentation to do this step.
We create a JSZip object.
Manipulate the JSZip object as you want it. You can create folders within the zip, add files, remove some, modify some content. As you see fit. Their documentation gives simple and good examples.
Generate the zip binary content using the JSZip JSZip#generate() method, specifying the type. If you want to create an actual file with it, we noticed that string and arraybuffer could be written with the file plugin's write method (after creating the file) without code to convert it on iOS, but not uint8array (and we didn't try the other generation types).
Treat the binary as you wish. It is the same as if you had read the binary of an actual zip.
PS: The file plugin has some outdated documentation on cordova.apache.org. While the examples in it can be useful, be aware that some of those are not valid anymore. For instance, resolveLocalFileSystemURI() is now resolveLocalFileSystemURL().

F1026 File not found: 'Ucommon.dcu' [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
i create simple delphi program i use
MTable when make debug this error appear to me
and flag for m_table in
[DCC Error] Data.pas(7): F1026 File not found: 'Ucommon.dcu'
The error message is telling you that the unit named Data uses another unit named Ucommon and that the compiler cannot locate either a .pas source file, or a .dcu compiled unit for Ucommon.
You need to make sure that the compiler has access to Ucommon. Typically that means either:
Adding Ucommon.pas to the project, or
Adding the directory containing Ucommon.pas to the project's search path.

Xcode asked me to replace something and i did, now my xcode doesn't work properly? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
My xcode asked me to replace something, not sure what, it had to do with the test folder of my project so i just accepted it since xcode recommended it. Now every time i do something in interface builder i get an error. I spent probably 40 hours on the project in interface builder but now everything i do gives me an error... What should i do?
I searched for way to load an old saved file of the project but i found that this is not possible so right now i'm stuck with a project that gives me errors every time i add something or change something.
EDIT: I'm guessing i'm in test mode or something since it gives me really dumb errors that are obvious but i don't know how to come back to the normal mode.
If XCode asked you to change something automatically, it probably had created a snapshot of your project.
You can revert from the File Menu > Restore Snapshot.

how to integrate one project file to another in xcode [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
Hello friends I developed an app in ios in that contains a database (coredata) the user can login with a username and a password and then he can store the personal details, pictures, files, documents.... Now, I want to link this Xcode project to another code project of mine so can anyone help how to add one Xcode project file to another. I tried by adding new files in Xcode but it was not showing project file which I want to add hope I'll get the best answer
You can drop the .xcodeproj you want to add in the file selector in the sidebar of Xcode.
The best approach would be to move the files into a separate directory, treat it as a separate project and put that project under revision control. Then link it to your two other projects as a submodule.

Resources