How to realize only one identical remoteApp per session per user per computer?
If a terminalserver 2008 R1 is configured for only one session per user, everything works like it should if the user connects using the 'normal' remotedesktop session. A second connect with the same credentials kicks the first connect.
If a remoteApp is used instead of the 'normal' connect, it's possible to start multiple instances of this app within one user a least from one computer. mstsc do run multiple times and seem to link in the existent connection without kicking it. How to change
that?
Continuative:
The started RemoteApp checks the mutex of all started processes and stops herself if a process is found with the same mutex. This prevents multiple instances of this app within one user with the same sessionID. If a terminalserver is configured for only
one session per user, this RemoteApp shouldn't start multiple within one user. Using a "normal" remote desktop session the app doesn't start more than one time, I tested it. Used as RemotApp, the app starts multiple! Possibly I'm able to change this behaviour
with a code fix instead of configuring terminal services. Any tips regarding mutex and terminalservers?
Hi,
I tested the following code and it is working for me both in a RemoteApp and Full session:
Imports System.Threading
Module Main
Sub Main()
Dim createdNew As Boolean
Dim m As New Mutex(True, "TPMutex", createdNew)
If Not createdNew Then
Return
End If
Application.Run(Form1)
GC.KeepAlive(m)
End Sub
End Module
-TP
Similar Messages
-
How to backup only one tablespace in cold backup noarchivelog mode
Hi,
How to backup only one tablespace in cold backup noarchivelog mode
Reagrds,
RushangWe have to restore all 50 GB database if we fail in scripts meanwhile to start again the data load.
Out scripts populater only two tablespaces.
That's why if i take backup of those tabblespace then i have to restore only those tablespace not whole database.
Regards,
Rushang -
How to deploy only one project from WebCenterSpacesExtensions to WebCenter
Hello,
I've been provided a customized WebCenterSpacesExtensions application with 3 custom task flow projects in it.
I am having trouble finding information on how to deploy only one project at a time. Can someone please tell me how to do this? Is it difficult?
Thanks in advance.Take a look at chapter 53 in webcenter developer's guide which explains the same:
http://docs.oracle.com/cd/E25054_01/webcenter.1111/e10148/jpsdg_wcsres.htm#BABDBECE
Thanks,
Navaneeth -
How to boot only one group in remote machine from master machine
Hi,
I want to know the command to boot entire remote machine from master machine and how to boot only one group for remote machine from master machine.
Thanks
AmitYou can boot the entire remote machine (after booting the Master machine) as follows:
tmboot -B <lmid of remote machine> -l <lmid of remote machine>.
For all the available tmboot options see http://download.oracle.com/docs/cd/E18050_01/tuxedo/docs11gr1/rfcm/rfcmd.html#wp1032112
Regards,
Malcolm. -
HOW TO TRANSFER ONLY ONE APPLICATION FROM AN OLD MACHINE TO A NEW ONE
HOW TO TRANSFER ONLY ONE APPLICATION FROM AN OLD MACBOOK TO A MACBOOK PRO ?
THERE IS AN EASY WAY TO TRANSFER SONGS & PHOTOS
BETWEEN IPOD & IPHONE
SIMPLY USE TRANSPOD APPLICATION ON BOTH DEVICES
THEN
DO IT
(U HAVE TO BE ON THE SAME NETWORK) -
Only one song won't play after authorizing my computer. I authorized it over and over. I even deauthorized all computers, and still same results. How can I fix this ? I'm using a MacBook Pro with iTunes 11
Hi Deb,
Deauthorizing all is definitely the way to go. You will just need to authorize your computer again after, as well as your husband's.
Here's some additional information on deauthorizing all:
iTunes Store: About authorization and deauthorization
http://support.apple.com/kb/ht1420
I hope this helps!
- Ari -
Only one AU effect per track?
My GarageBand 10.0.1 only allows one AU effect per track - How do I get multiple effects working simultaneously on the same track?
When you add the second Audio Unit effect, click a free brick in the Audio Unit pane: I can add up to four effects:
And I always opt to keep the existing GB effects, but I am not sure, if it is necessary. -
How to show only one element in drop list(common VO)
Hi All,
I'm using 11g adf jdev.
I have a common view object VO. In this VO one attribute is dropdown list , which i commonly used in some jsf pages .
Now in one particular jsf page i want show only one element in the dropdown list .
how can i handle with out distrib'g the common VO.
THANKS IN ADVANCEBTW, why you want to display only one item in the list.
If you are sure that the list will be having only one item, why don't you have it as inputText/outputText
How do you filter out the item to be displayed in the list? If that filtering is done on listdatasource bound to the list, the list will automatically show only one item(i.e, the filtered item)
HTH
Sireesha -
How to select only one record at a time in ALV
Hi all,
I have to use ALV report. Each record on the report output should have a button (or radio button) which will allow the record to be selected. My requirement is to select only one record at a time.
please guide me how to proceed further.
regards
manishhi
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/sampleCheckBoxProgram
Regards
Pavan -
How to make only one JFrame active at a time !!!
Hy, I have created a JFrame and I have placed a
JPanel in it. I also have a JButton "New" on the
JPanel. When I click on the "New" Button, another JFrame
appears. But I want ONLY one JFrame to be appeared
at a time. That is when a JFrame appears on the JPanel,
I should not be able to add another one.
If it is not possible to do this with JFrame, then how to do
it with a JDialog
How to do this.
thanksYou can declare a boolean variable in your class and set it to true if you open a window. Next time when you click the NEW button, check whether that boolean value is true or false. If true then don't open a new window. Also when u close the frame window, set the boolean value to false.
-
How to open only one web page at a time?
I used to have it set so when I opened a new web page, the previous one closed. Now, nothing closes automatically and I have about 50 pages open that I have to close. How do I set it so that only one page opens at a time?
HI Janice,
You can use a keyboard shortcut to close all windows in Safari. CommandShiftW.
To close one window, Command + W.
Carolyn -
How to give only one function module execution Auth for a User ?
Dear Experts
I have reviewed S_DEVELOP auth object. It is not ful filling my requirement
Any Ideas !!
RgdsRakesh...Firstly thanks for reply.
As i said i reviewed these and found it is not meeting my requirement.
As we aware We can control auth to Function modules thru object type
Filed OBJTYPE----
FUGR --> 1st control
and with Function Group Name
Field OBJNAME----
<Function Group Name> --> 2nd control
In my scenario - I have given the authroizations as below
++++++++++++++++++++++++++++++++++++++++++++++++++++
ACTVT Activity Display, Execute
DEVCLAS Package *
OBJNAME Object name ZECC_FG
OBJTYPE Object type FUGR
P_GROUP Authorization group ABAP/4 pro *
++++++++++++++++++++++++++++++++++++++++++++++++++++
The above authroization is giving all Function modules authrozation under ZECC_FG Function Group.
My Requirement
I shoudl be able to give only one Function Module of a Function group where multiple function modules exist under the same Function Group.
How can i acheiveit. Any Custom Control can be place to acheive this.
I am sure S_DEVELOP will not solve my requirement (I Beleive)
Regards -
How to flag only ONE image when several selected in 'N' mode ?
Hi,
I want to compare several images in a same serie. I select. I press N key, then I select in strip bottom bar the group of picture.
I want to put a flag (or star) to only the ONE I prefer, but all pics get the flags or star...
I need to take out the reject by clicking each X of each pic to threw them away, and finally pick only the on I want...
How to pick or star only ONE image on N mode (ENSEMBLE Mode in french LR)
Manys tks
FredI can't reproduce your issue on Mac or Windows. Quite often when odd ball behaviour arises it's an indication that Lr preference file has become corrupt. Have you tried trashing your Lr preference file then relaunching the application? The name and location for the preference file described here Preference and other file locations in Lightroom 5
-
How to display only one row in report when...
Hi,
I've a report display in which i've 3 fields EBELN, LIFNR , MENGE. EBELN, LIFNR are from EKKO table and MENGE id from EKPO table .
On clicking the EBELN there will be getting another report in which we get EBELN,EBELP and MATNR and MENGE from EKPO table .
The problem is while displaying 1st report if the purchase order has two items in EKPO table then its displaying two times. How can i get only one time and the MENGE should be sum of those two item prices.hi use the statement not to get the multiple items..
sort itab by ebeln.
delete adjacent duplicates from itab comparing vbeln.
i will give u an example to get the total and subtotal ....
*& Report ZR_A1
REPORT ZR_A1
NO STANDARD PAGE HEADING.
Tables declarations
TABLES: VBAK, VBAP.
Variable declarations
DATA: C1 TYPE C.
Internal Table declarations*
DATA: BEGIN OF IT_VBAK OCCURS 0,
VBELN LIKE VBAK-VBELN,
VKORG LIKE VBAK-VKORG,
VTWEG LIKE VBAK-VTWEG,
SPART LIKE VBAK-SPART,
END OF IT_VBAK.
DATA: BEGIN OF IT_VBAP OCCURS 0,
VBELN LIKE VBAP-VBELN,
POSNR LIKE VBAP-POSNR,
MATNR LIKE VBAP-MATNR,
NETWR LIKE VBAP-NETWR,
BRGEW LIKE VBAP-BRGEW,
NTGEW LIKE VBAP-NTGEW,
END OF IT_VBAP.
DATA: BEGIN OF IT_FINAL OCCURS 0,
VBELN LIKE VBAK-VBELN,
VKORG LIKE VBAK-VKORG,
VTWEG LIKE VBAK-VTWEG,
SPART LIKE VBAK-SPART,
POSNR LIKE VBAP-POSNR,
MATNR LIKE VBAP-MATNR,
NETWR LIKE VBAP-NETWR,
BRGEW LIKE VBAP-BRGEW,
NTGEW LIKE VBAP-NTGEW,
END OF IT_FINAL.
Selection-screen design
SELECTION-SCREEN: BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-R01.
SELECT-OPTIONS: S_VBELN FOR VBAK-VBELN.
SELECTION-SCREEN: END OF BLOCK B1.
TOP-OF-PAGE.
FORMAT INTENSIFIED ON COLOR 5.
WRITE:/7 'LIST TO DISPLAY SALES ITEM INFO'.
START-OF-SELECTION.
Populating it_vbak table
SELECT VBELN
VKORG
VTWEG
SPART
FROM VBAK
INTO TABLE IT_VBAK
WHERE VBELN IN S_VBELN.
populating it_vbap table
IF NOT IT_VBAK[] IS INITIAL.
SELECT VBELN
POSNR
MATNR
NETWR
BRGEW
NTGEW
FROM VBAP
INTO TABLE IT_VBAP
FOR ALL ENTRIES IN IT_VBAK
WHERE VBELN = IT_VBAK-VBELN.
ENDIF.
populating the final list
LOOP AT IT_VBAP.
READ TABLE IT_VBAK WITH KEY VBELN = IT_VBAP-VBELN.
IF SY-SUBRC = 0.
MOVE: IT_VBAK-VBELN TO IT_FINAL-VBELN,
IT_VBAK-VKORG TO IT_FINAL-VKORG,
IT_VBAK-VTWEG TO IT_FINAL-VTWEG,
IT_VBAK-SPART TO IT_FINAL-SPART,
IT_VBAP-POSNR TO IT_FINAL-POSNR,
IT_VBAP-MATNR TO IT_FINAL-MATNR,
IT_VBAP-NETWR TO IT_FINAL-NETWR,
IT_VBAP-BRGEW TO IT_FINAL-BRGEW,
IT_VBAP-NTGEW TO IT_FINAL-NTGEW.
APPEND IT_FINAL.
ENDIF.
ENDLOOP.
SORT IT_FINAL BY VBELN.
LOOP AT IT_FINAL.
AT FIRST.
FORMAT INTENSIFIED ON COLOR 1.
WRITE:/35 'SALES DOCUMENT ITEM LIST'.
ULINE AT (100).
*endat.
FORMAT INTENSIFIED ON COLOR 5.
WRITE:/ SY-VLINE,
2 'SALES.DOCU.NO',
13 'ITEM',
21 'MATERIAL',
50 'NET-VAL',
65 'GROSS-WT',
82 'NET-WT',
100 SY-VLINE.
ENDAT.
FORMAT INTENSIFIED ON COLOR 2.
WRITE:/ SY-VLINE,
2 C1 AS CHECKBOX,
5 IT_FINAL-VBELN,
13 IT_FINAL-POSNR,
21 IT_FINAL-MATNR,
41 IT_FINAL-NETWR,
56 IT_FINAL-BRGEW,
71 IT_FINAL-NTGEW,
100 SY-VLINE.
AT END OF VBELN.
SUM.
FORMAT INTENSIFIED ON COLOR 3.
WRITE:/ SY-VLINE,
30 'SUB-TOTAL:',
41 IT_FINAL-NETWR,
56 IT_FINAL-BRGEW,
71 IT_FINAL-NTGEW.
WRITE:/100 SY-VLINE.
ENDAT.
AT LAST.
SUM.
FORMAT INTENSIFIED ON COLOR 6.
WRITE:/ SY-VLINE,
30 'GRAND-TOTAL:',
41 IT_FINAL-NETWR,
56 IT_FINAL-BRGEW,
71 IT_FINAL-NTGEW.
WRITE:/100 SY-VLINE.
ENDAT.
ENDLOOP.
regards,
venkat . -
hello,
i've got a select query which returns a couple of rows.
now i would like for the query to return only one row (the first match it can find).
how do i do that?
thank you!
my sample of my data as below , the first and seconde record is equal and i want to display all the colomn for the first row and ignore the second row .
84A8E46E8C97 9410 20110812
84A8E46E8C97 9420 20110813
84A8E46E8C6E 9410 20110816
84A8E46E8AFA 9400 20110819876602 wrote:
my sample of my data as below , the first and seconde record is equal and i want to display all the colomn for the first row and ignore the second rowThere is no row order in relational database tables. Same query canreturn rows in different order next time you run it unless you specify ORDER BY. Only ORDER BY guarantees order, so when you say first row/second row you must provide ordering criteria.
SY.
Maybe you are looking for
-
Issues with Firefox hogging resources...
I have several issues with Firefox intermittently consuming 99-100% of my CPU memory. Now, let me preface this by saying that I am NOT an advanced user, and can only tell you what I see on things like the Task Manager and such. Furthermore, I know th
-
White border around full-size applet
I try to display an applet which spreads over the complete size of the browser window using a script element like this: <body> <script src="http://www.java.com/js/deployJava.js"></script> <script> var attributes = { code:'MyApplet.class', width:'100%
-
Presentation on macbook air to TV
Can any help, I need to setup sending my presentation on my macbook air to a wall mounted TV. Is there a simple solution......
-
Help with Contact "Groups" in iOS 6
I could easily create favorites and groups before, but since updating to iOS 6, I still have the groups tab, which are empty, and I can find no way to create Groups. I've searched and searched, and the only things I find are from 2011, and they all t
-
Well, apparently this is already happening
HELP! Windows Phone update 8.1 broke my Lumia • The Register In case anyone experiences similar issues.