Forms 12c Open file and release Forms control - oracle12c

How can i open file in forms 12c.
I tried with following code but does not release control back to the forms instance until we close the file. I want file to be open and controls to be remain back with forms instance.
webutil_host.host('cmd /c C:\temp\test.txt');
Please can somebody help me.

Got it done it with following code
webutil_host.NonBlocking('cmd /c C:\temp\test.txt');

Note that you can achieve the same functionality with
web.show_document('file:\\C:\temp\test.txt');

Related

How to open custom wikidata RDF dumps

I have created a custom wikidata dump from https://wdumps.toolforge.org/ . Can anyone please tell me how to open and read that dump file ? File comes in .nt format
You can find recent dump files here: https://wdumps.toolforge.org/dumps
Depends how you want to read it. With visual studio code you can just open the file and see inside it. Other text editors should also work I think. Or do you want to have a more specific app for it?
Also its handy to mention if you'r on windows or not.
update:
You first need to unzip it, you can do this with winzip on a command line or a library in any language that does this.
https://support.winzip.com/hc/en-us/articles/115011594767-How-to-extract-gzip-and-tar-files-on-the-command-line
then you will get a file with lines like this:
<http://wikiba.se/ontology#Property> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
from there you can parse it with regex to get the pages out of it, dunno what you want? property, type or class?

How VSCode debugger stepin to open a new file?

I am implementing a vscode debugger, with stepin function, I need to step into a new file, but I don't know how it works now, how it opens a new file for step into? and another question, this new file will be loaded from server dynamically, it is not in the local workspace. I don't know how to do it in DAP? please help!! Thanks!
I have the answer and post here for a reference.
VSCode use StackTraceRequest to set the stop line number and file.
It will be called after a stopped event.
so for the response of StackTraceRequest, we can set the StackFrame object, and the source object in it is for file.
https://microsoft.github.io/debug-adapter-protocol/specification#Types_StackFrame

Talend : Create a Component using java code

I am new in user of Talend open studio
I want to find a way to add component like tinputfile or tligrow without the drag and drop tools , but with java code manually
Help please
Thank you very much
I don't think it's possible (in fact I'm quite sure you cannot).
When you drag&drop components you "generate" Java source code which is compiled later when you build the job (or run in the studio).
How do you expect to change the byte code at run time?
TRF
Yes , it is possible to create your own Talend components . There is a very thorough, multi-part tutorial at http://powerupbi.com/talend/componentCreation_1.html
You can also view the source to existing components for an idea of how they are implemented and setup.
Perhaps study how tInputFile is built , make a copy, and extend to your purpose.
Alternatively, if all the files have the same schema and reside in the same directory, you may not need a custom component . Rather create a prenr job which gets a list of files in the directory and loops through each file name. For each file, it would call a sub job to read and process that file .
I have provided the all the steps by which you can create the custom component with Java only here is the link to my answer
Custom component with dynamic configuration like jira, jdbc or azurestorage in talend

Trouble shooting Oracle Form Builder error FRM-10044

I'm trying to create & save a new form using Oracle Form builder however, I get the error FRM-10044: Cannot create file.
The same thing happens when I open and save an existing form (.fmb)
I've check the folder permissions where the form is being save, it has read write access.
I've tried saving it into a differ folder and also tried creating a new folder but it still throws the same error.
I'm able to create and save a word, excel document in the new or existing folders (as mentioned-above) without any issues.
I suspect it could be something to do with the Windows Registry or System Configuration settings because I had recently shutdown/disabled so of the services in the System Configuration (using
msconfig.exe). Unfortunately, I don't remember all the options that were modified.
I've gone through numerous discussion forums, but still no luck.
Any help is appreciated.
Thanks in Advance
I've experienced the same thing. But in my case, i compiled the form on server side. The error appeared because it was remote-controlled by more than 1 person. One of the remote session was possibly locking the file creation. So I logged off the other session and try to use 1 session only when compiling the form. This happens sometimes when we're using an OS with multiuser and multisession capability.

Can I open Notepad.exe from C# with "Find" option opened?

I created a Window form C# application which opens a Notepad.exe using command:
System.Diagnostics.Process.Start("notepad.exe", w_file);
But I want to open the Notepad with option "Edit-Find" and put some value into the "Find" field.
Is it possible?
Looks like you are trying to automate something...
Here is a sample from CodeProject which will help you to do what you are looking for in C#