Getting all External Window's Names
hi, i'm from brasil.
how get all external windows names?
post examples.
i not undestand JNI.
i need use dll?
Your question is way too general.
If you want to study the Windows API then this wouldn't be the forum for that.
If that is what you want then start here
[http://msdn.microsoft.com]
You should have some experience with C or C++ and at least a basic understanding of windows dlls before attempting JNI.
Similar Messages
-
Getting An External Window's Name
For an app I am writing I need to get the name of the actively playing song in Winamp. This can be accomplished by getting the title of the winamp window and removing the " - Winamp" tag. The process is described at the bottom of http://winamp.com/nsdn/winamp2x/dev/sdk/api.jhtml
The examples on that page are all C/C++, VBasic, or Pascal. Does anyone know of a way to accomplish this (get the title of a specific window not part of your app) in Java?
Any pointers are appreciated. Thank you very much.
ShaneOk, thanks for the input. What about this idea: scan
my folder of musics files and see which one is already
open in another application (is there a method to
check this? or should I try to open it and just catch
an exception if there one is thrown because access is
denied?) I know this is not a very elegant way to do
it, but I really would like to make this app.I'm not sure if this will work, since most applications don't lock the file down for reading by another application. I don't know about Winamp, but you can test it by opening a file in a winamp session. Then opening another winamp session and trying to open the same file.
If there is a way in windows to find out the title of a window with a system command. You can run a windows script and capture the output with your java program, parse it to find the title (however, I am not sure there is a command to find the title in windows).
Kamran -
How do I get all Finder windows to open in spatial view?
How do I get all Finder windows without special view options set to open in the 'spatial' mode (without the toobar or sidebar)? The ones I specifically change stay that way, but I want all new and old folders to be like that too.
That's called the simple Finder mode. You would need to configure that as part of Parental Controls in the Accounts preferences. To make any Finder window appear that way jut click on the gadget in the top right corner of the Finder window.
-
Generate a report from the grid to get all the 10g instance name and size
Hi Guru
Greetings foe the day
can you help me to Generate a report from the grid to get all the 10g instance name and size.
If its passible you would help me a ton
Thank youIf you can see in you query, you asking to view dba_segments for one instance and the other query is over the MGMT$DB_TABLESPACES view but NOT "WHERE" clouse is using, and if ypu have more once instance then than view sum all the tablespaces sizes.
How many instanced are registed in your grid control?
http://www.jpuga.cl
Regards
user625256 wrote:
Hi
can any one help on this
The o/p
SQL> select sum(bytes)/1024/1024/1024 from dba_Segments;
SUM(BYTES)/1024/1024/1024
3549.80879
when i query from the above mgmt its returns 1,507,473.149 GB
select target_name DB_NAME,host_name Host,sum(trunc(tablespace_used_size/1024/1024/1024,2)) size_GB
from MGMT$DB_TABLESPACES group by host_name,target_name order by target_name
it gives the size as 1,507,473.149 GB
Thank you in advance -
How to get all the windows ?
Hi all,
I created a timer which detects inactivity in the first form launched by the forms runtime shortcut :
when-new-form-instance :
declare
hWind NUMBER;
CheckTimer TIMER;
begin
hWind := get_window_property(FORMS_MDI_WINDOW,WINDOW_HANDLE);
Win_API_Session.Timeout_Start_Timer(hWind);
CheckTimer := Create_Timer('T_INACTIVITY',10000);
end;
And in the when-timer-expired of the same form :
if upper(get_application_property(TIMER_NAME)) = 'T_INACTIVITY' then
if Win_API_Session.Timeout_get_inactive_time >= 8 then
set_window_property(:system.event_window,title,'Deconnected');
end if;
end if;
My problem is that when I click on a menu item in my menu, and I do nothing during 10 seconds then only the first form's window is titled 'Deconnected' but not the current form .
I have copied the trigger when-timer-expired of the first form to the form I called but there is nothing.
So how to make all the windows , whether it is the active window or it is hidden , to be titled 'Deconnected' when the timer expires ?
Thank you very much indeed.execute a system process that will output this data and read/parse the output
[notice a pattern?] -
OEM is not getting started after windows server name changed
Hello DBAs
Recently I installed Oracle database 10g on my a windows machine. It was working fine. Integrated OEM was also working fine.
But now I have changed the machine name. Now Oracle Database has come up after updating the listener.ora & tnsnames.ora files with new server name. But OEM page is not getting open now. I tried after updating the emd.properties and other related file on ORACLE_HOME\sysman folder with the new server name. But no luck.
In windows services one service named "OracleDBConsoleDbname" is not getting started, which could be the issue.
Can someone please guide me what can be done to fix this problem.
Thanks
-NaveenThis problem will happen when either changing the computer name or changing the domain name that the server belongs to.
First, verify that the new computer name contains DNS compatible characters - no spaces or underscore ( _ ) characters, for instance. Next, you will need to recreate the Enterprise Manager Database Control repository. Directions can be found on this page under the heading of "6.2.8.3 Using EMCA After Changing the Database Host Name or IP Address":
http://download.oracle.com/docs/cd/E11882_01/install.112/e10818/srvpool.htm#CHDEGDIJ
The above directions should work as shown with Oracle 10g R2 - and possibly 10g R1 also.
Charles Hooper
Co-author of "Expert Oracle Practices: Oracle Database Administration from the Oak Table"
http://hoopercharles.wordpress.com/
IT Manager/Oracle DBA
K&M Machine-Fabricating, Inc. -
Ho to get all directories by computer name.
I have a computer name (e.g \\NT_SERVER) how can i get a list of all the directories of this computer??
A classic one ...
http://forum.java.sun.com/thread.jspa?threadID=202103&tstart=75 -
The Callback method:
private bool Callback(IntPtr hwnd, int lParam)
if (this.Handle != hwnd && (Constants.GetWindowLongA(hwnd, Constants.GWL_STYLE) & Constants.TARGETWINDOW) == Constants.TARGETWINDOW)
StringBuilder sb = new StringBuilder(100);
Constants.GetWindowText(hwnd, sb, sb.Capacity);
Window t = new Window();
t.Handle = hwnd;
t.Title = sb.ToString();
windows.Add(t);
return true;Don't know if it's decisive, but lParam should be IntPtr here:
private bool Callback(IntPtr hwnd, IntPtr lParam)
What is Constants.TARGETWINDOW? For retrieving GWL_STYLE, the valid styles (Link) do not contain this name.
Armin -
How can a workstation client get all tuxedo application service names?
Which API ATMI C call returns all tuxedo advertised application service names to the client? Is there any way to browse also all running applications?
The Jolt product that allows Java applications to make use of Tuxedo offers
a metadata repository that allows an application to store and retrieve
information about Tuxedo parameters. This is described at
http://e-docs.bea.com/tuxedo/tux81/jdg/dvrepos.htm
The release of Tuxedo currently under development, Tuxedo 9.0, will offer
similar functionality in the Tuxedo product itself.
The TM_MIB T_SERVICE class does not offer the ability to obtain detailed
service parameter information, since this information is not stored as part
of the bulletin board. The T_SERVICE class does offer the ability to obtain
the buffer type(s) that a service accepts by looking at the value of the
TA_BUFTYPE parameter. It is not mandatory to specify a BUFTYPE when
configuring a service in the UBBCONFIG file. If this parameter is omitted,
its value will default to ALL, and Tuxedo will allow any buffer type to be
sent to the application service. However, the application logic is likely
to be expecting a specific buffer type or types and is likely to report an
error if the service is sent a buffer of an unexpected type.
<Nageeb Khoury> wrote in message news:[email protected]..
Thanks Ed for the quick reply!
Does the TM_MIB(5) / T_SERIVCE return also the parameter format of eachservice e.g Service1 (type1 param1, type2 param2, ...)? If yes in which
format? e.g CopyBook format or other?
>
Thanks
Nageeb -
Hi All
I have nearly 70 procedures in my database.
I want to get all the distinct table names used in the 70 procedures.
Is it possible?
Note:
All the table names are prefixed by schema name like DEVSRC.table_name.
Please advice
Thanks
JoJohney wrote:
Hi VT
One doubt.
This query will give the table names of only select stmt used in the procedure
or
List of table names that are with in any DML operations inside the procedure?
Thanks
JoIt will give all the table either used in select or in any DML..
You can also check by creating a temp proc
SQL> drop procedure proc_test;
Procedure dropped.
SQL> select name, referenced_name, dependency_type from user_dependencies
2 where type = 'PROCEDURE' and referenced_type = 'TABLE' and name='PROC_TEST';
no rows selected
SQL> create or replace
2 PROCEDURE proc_test
3 IS
4 v_ID number;
5 v_PRID number;
6 v_PRLID number;
7 v_DATERECEIVED date;
8 Cursor C1 is
9 select * from table_c;
10 BEGIN
11 open c1;
12 LOOP
13 FETCH c1 INTO v_ID,v_PRID,v_PRLID,v_DATERECEIVED;
14 EXIT WHEN c1%NOTFOUND;
15 insert into table_b values(v_ID,v_PRID,v_PRLID,v_DATERECEIVED);
16 Commit;
17 END LOOP;
18 CLOSE C1;
19 END;
20 /
Procedure created.
SQL> select name, referenced_name, dependency_type from user_dependencies
2 where type = 'PROCEDURE' and referenced_type = 'TABLE' and name='PROC_TEST';
NAME
REFERENCED_NAME DEPE
PROC_TEST
TABLE_B HARD
PROC_TEST
TABLE_C HARD
SQL> Regards
Umesh -
Is there a keystroke that simultaneously opens all Docked windows?
Being able to Dock all open windows with a single keystroke (Option-click yellow button) is very useful, but I don't know of a way to get all Docked windows back open again at one time.
Is there a way?
Thanks.BDAqua wrote:
Only for one APP at a time, Option + click on any window in the Dock will open all that APP's windows.
That'll do. Thanks. -
Get all the variables declaration in a program
Is there a possible way to get all the variables declarations ( name and type ) inside a java program and not only the fields that you can easily get with reflection mechanism but also local variables inside a method?
Kayaman wrote:
Jigsaw23 wrote:
local variables inside a method?Nope, you'd have to get inside the call stack for that and there's no easy mechanism for that.Even that wouldn't do it, since not all code is on the call stack at all times. There are ways to do it, using bytecode engineering, but I'm not going to get into that because if you don't already know how to do it, I doubt you have a problem that genuinely requires it.
It's a bogus requirement anyway. Whatever you're trying to do, OP, it's doomed to failure. What are you trying to do? I mean, what were you doing that led to you thinking "If I knew what those local variable were, I'd manage it!"? -
Java 1.5 get all the resources with dialogs and xp die
Hi installed java 1.5 and get all the windows xp memory resources when try to open some dialogs in netbeans 4.0 and dbvisualizer...
i had to uninstall it to keep working
any idea?
Ty
Brunomore memory
-
Hi,
I've got some issues with a Lync 2013 setup.
The config consists of 2 lync servers. One FE and one Edge. All seems to work except audio in meetings and Sip.
The setup is like this (fake ip's used):
Front End:
Internal IP: 172.16.0.10
External IP: x.x.185.10
All ports open in Cisco ASA
internal AD DNS: dialin/lync/meet/lyncdiscover to Front end internal ip. edge/lsedge/sip points to edge internal ip
EDGE:
Interal IP: 172.16.0.11 (no gateway configured)
External IPS: x.x.185.11, x.x.185.12, x.x.185.13
All external IP's are direct internet facing, no NAT (a firewall is in place).
All external interfaces are using a wildcard certificate.
All server are running in a remote data center, so basically no internal users. We all connect to the external interfaces. The Windows domain name (AD) is the same as our External DNS (companyname.com).
Autodiscover works, we can logon, chat but there is no audio. The audio test failes. Also SIP is not working with a sip trunk.
External DNS: sip/webconf/av are pointing to their external ip's. sipexternal is a cname to sip. lyncdiscover/lync/dialin/meet all point to the Frond end External ip.
_sip._tls/_sipfederationtls.tcp/_xmpp-server.tcp all point to the sip.companyname.com ip.
I just can't figure out what is wrong.@PSingh123 I'll try the logs in a minute and get back with the results.
@PaulB_NZ Thanks for the input. In my opinion the FE does need an external IP. How else will you be able to connect if you are a remote worker?
The Edge is (asfar as i know) needed for Enterprise voice and Federation with other (external) sip domains. It's not needed for basic (chat/video/whiteboard etc) Lync functionality for both internal and external (remote) users.
The Edge is to communicate with services/users outside the origanisation.
I do still think that the basic topology (FE with internal IP and Nat'ed external ip working with an Edge with internal IP and 1 external IP nat'ed to 3 DMZ ip's) is correct in this case.
I can be wrong and in that case would like to be pointed to the correct configuration.
75
Points
Top 15
PSingh123
Partner
Joined Jun 2007
9
PSingh123's threads
Show activity -
Hi,
Requirement: Get Windows User Name using Oracle Web Forms 6i.
Tools Using: Windows NT, Oracle web forms 6i, Oracle 10g DB.
Description: I am using GetClientInfo JBean from otn.oracle.com, which gets windows user name, IP address and machine name. The demo I got from oracle web site uses Jinitiator version 1.1.7.18. While we are using the latest version Jinitiator 1.3.1.17. Due to this reason, I am unable to use Javakey which comes with older version but doesn't come with newer version, that's why I can't create the new JavaBean Java identity (PJC).
Please advise what to do. All environment variables are set everything is done, this is the only thing bothering me.
I went through the article 202768.1 from metalink, but on step 5, it gives an error keytool error: java.lang.Exception: Input not an X.509 Certificate.
Also, please let me know if there is any other workaround for this requirement.
Thanks & Best Regards,
MoHi,
Thanks for your kind reply. Actually there was a problem in creating a certificate, now it is okay with the same method. Certificate got imported on client and everything is ready.
Now, the problem is when I try to set Bean Area Implementation Class property with oracle.forms.demos.GetClientInfo, it gives an error FRM-13008 Cannot find JavaBean with name 'oracle.forms.demos.GetClientInfo'.
I went through the articles 1072329.6, 196824.1, and set ClassPath and Path variables with proper values. Also, I have copied jar file and signature file in forms60/java folder. I don't see any problems. Please let me know what I am doing wrong. My limitation is that I have to do all this in forms6i.
I searched forums on metalink and found out that someone installed Patch 15, and everything went okay for him. Do you think I should install Patch 15? if YES, how will I do it, I mean should I first uninstall my forms and then install patch15 or install the patch on my forms?
Thanks so much for your help.
Thanks & Best Regards,
Mo
Maybe you are looking for
-
I believe that the question is self descriptive. I open a new tab and it opens. I click on my home page which is Google. The browser then opens a second tab and in the second tab that it opens is the Mozilla start page. if I do this several times dur
-
Some apps use wrong output device
I have an iBook G4 with 10.3.9, builtin speakers and an external FireWire audio interface (a Presonus FireBox). When I select the FireBox as the default audio output device, most programs adhere (iTunes, the system alert sounds, the volume buttons, Q
-
Can I stop iOS7 from downloading if I've already started it?
Can I stop iOS7 from downloading if it's already started?
-
[nokia 1600] - program to connect to PC by usb?
do anyone known what is a program to connect nokia 1600 to pc by usb ? Nokia PC suite is not works with that mobile phone.
-
Converting Bitmap to SVG with Illustrator
Hi, Totally new to use Illustrator. Would be nice if I can do the folowing with Illustrator Cs4. I downloded trail verion (have no money really -). I would like to convert bitmap to svg tiny for mobile device. It looks if I save it as SVG tiny it can