# application method not shown in the tree ???

**URL:** <https://forum.servoy.com/t/application-method-not-shown-in-the-tree/5790>\
**Category:** Classic Servoy\
**Created:** [April 21, 2006, 6:43am UTC](https://forum.servoy.com/t/application-method-not-shown-in-the-tree/5790 "2006-04-21T06:43:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DomTom](https://avatars.discourse-cdn.com/v4/letter/d/958977/32.png) [@DomTom](https://forum.servoy.com/u/DomTom)\
**Post date:** [April 21, 2006, 6:43am UTC](https://forum.servoy.com/t/application-method-not-shown-in-the-tree/5790/1 "2006-04-21T06:43:45Z")

</div>

Hello servoy users

I reuse a few line from new svy-crm demo application in order to open document store in my database; this is running well but I would like to receive additional information in order to well understand:

```auto
if (offd_dm_document)
	{
		var rnd = Math.random();
		tmpfile = application.createTempFile(rnd,'.rtf')
		tmpfile = utils.stringReplace(tmpfile,"\\", "/") //replace backslashes with forward slashes to avoid escaping problems
		application.writeFile(tmpfile,offd_dm_document)

		application.executeProgram('rundll32', 'url.dll,FileProtocolHandler',tmpfile) 
	}
	else

```

It seems that before to open an rtf or doc or … document store in the database we must first create a temporary file and copy document in it before open the document with ad-hoc program ?

I can not find documentation about application.createTempfile or application.writeFile; they are not even present in the tree that I can see on servoy editor window.  
 ![:?:]( "Question")  
I join in annexe a screen shot that does not show application method ?

Is there some other function that I can use but are not visible ??  
 ![:?:]( "Question")

Thanks for your help.

Dom Tom

---

<div class="post-metadata">

**Author:** ![IT2Be](https://avatars.discourse-cdn.com/v4/letter/i/dc4da7/32.png) [@IT2Be](https://forum.servoy.com/u/IT2Be)\
**Post date:** [April 21, 2006, 6:58am UTC](https://forum.servoy.com/t/application-method-not-shown-in-the-tree/5790/2 "2006-04-21T06:58:46Z")

</div>

Hi Dominique,

All file related methods have been moved tot the file plugin…
