Dialogbox
Hello,
I installed CS6 softwares Photoshop, InDesign and Illustrator on Windows 8.1.
When I try to save an image as a new filename or create a new book, the software crashes and Windows reports a message indicating the module theShellNSE.dll
Is there some setting to activate in Windows 8.1 ?
Thank you for your help.
Hi,
I think, u have to use timers, that's the best way to do it, u'd use create_timer and the trigger when_timer_expired
hope it'll help
Tarek
Similar Messages
-
How to call pl/sql stored procedure in JDBC query dialogbox
Hi,
how to call pl/sql stored procedure in JDBC query dialogbox(reports 9i) .
Cheers,
Raghuplease refer : Re: problem If you have more doubts, please ask in that question.
-
Can i embed openfile dialogbox in flex stage? (dont want to open it separatly)
i want fileopen dialogbox (myFileReference.browse(allTypes);
) embedded i flex app , so that i may be able to browse files without opening and closing file open dialogbox again and again. any idea?Thanks for the link but honestly about halfway through it all started going over my head (I'm no expert at this stuff yet). What I understand (I think) is that Font.registerFont() is being called by Flex when I embed a font via css/ttf files and then choose to have them compiled into SWFs and loaded by StyleManager. I don't really mind the SWFs not unloading since we only use two different fonts in our app, I just don't want to have to embed them twice (once in Flex and once in Actionscript). The fact that I have to embed as CFF for spark components, which won't work with my AS3 TextField components, makes me think that I have no other options but to embed two times. So even if I do need to do that in my CSS, how would I actually assign the registered fonts that the StyleManager loaded to the Textfields in my other components? Would it be part of a TextFormat object assigned to the text field like how you usually do it in AS3? Thanks for your help.
-
How to show alv list in Dialogbox ??
Hi Experts;
Im writing an OOP program in abap. Code is below ;
TYPE-POOLS: SLIS, CNDP , CNTL.
DATA DIALOGBOX TYPE REF TO CL_GUI_DIALOGBOX_CONTAINER.
DATA: GRID TYPE REF TO CL_GUI_ALV_GRID.
DATA: CONTAINER TYPE REF TO CL_GUI_CUSTOM_CONTAINER.
" screen pbo .
MODULE STATUS_0100 OUTPUT.
SET PF-STATUS 'GUI'.
IF DIALOGBOX IS INITIAL.
CREATE OBJECT DIALOGBOX
EXPORTING
WIDTH = 540
HEIGHT = 100
TOP = 150
LEFT = 150
REPID = REPID
DYNNR = DYNNR.
IF CONTAINER IS INITIAL.
CREATE OBJECT CONTAINER
EXPORTING
DYNNR = DYNNR
PARENT = DIALOGBOX " dont work an error CNTL
CONTAINER_NAME = 'ALV_CONTAINER'.
ENDIF.
IF GRID IS INITIAL.
CREATE OBJECT GRID
EXPORTING
I_PARENT = CONTAINER.
ENDIF.
ENDIF.
ENDMODULE. " STATUS_0100 OUTPUT
then Container will become create an error. I m how to PARENT container in dialogbox ?
Thanks for answers
Regards.
İrfanCheck this sample code..
Create a screen 100, and Dont place any control on that.
Create the pf status in PBO enable BACK etc.
REPORT ztest_dialog_alv.
DATA dialogbox TYPE REF TO cl_gui_dialogbox_container.
DATA: grid TYPE REF TO cl_gui_alv_grid.
DATA: container TYPE REF TO cl_gui_container.
DATA: it_flight TYPE sflight_tab1.
SELECT * FROM sflight
INTO TABLE it_flight
UP TO 20 ROWS.
CALL SCREEN 100 .
*& Module STATUS_0100 OUTPUT
* text
MODULE status_0100 OUTPUT.
SET PF-STATUS 'STATUS'.
* SET TITLEBAR 'xxx'.
IF dialogbox IS INITIAL.
CREATE OBJECT dialogbox
EXPORTING
width = 540
height = 100
top = 150
left = 150
repid = sy-repid
dynnr = sy-dynnr.
IF grid IS INITIAL.
CREATE OBJECT grid
EXPORTING
i_parent = dialogbox.
ENDIF.
CALL METHOD grid->set_table_for_first_display(
EXPORTING
i_structure_name = 'SFLIGHT'
CHANGING
it_outtab = it_flight
EXCEPTIONS
invalid_parameter_combination = 1
program_error = 2
too_many_lines = 3
IF sy-subrc ne 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDIF.
ENDMODULE. " STATUS_0100 OUTPUT
*& Module USER_COMMAND_0100 INPUT
* text
MODULE user_command_0100 INPUT.
case sy-ucomm.
when 'BACK' or 'EXIT' or 'CANC'.
leave to screen 0.
endcase.
ENDMODULE. " USER_COMMAND_0100 INPUT
Flow Logic..
process before output.
module status_0100.
process after input.
module user_command_0100.
Check it and update. -
Crystal Reports XI - printers dialogbox dont open
hi all
sory my bad english
i have a problem, in mi add-on I call the dialogbox of printers.
the same code for times functions others not. Some times the same ard calls dialogbox in one machine and another machine not.
in the menu Event Print i have te code:
chamaImpressoras(pVal)
BubbleEvent = False
my Sub is for opening the dialoguebox of the printers.
'Chama a caixa de selecção das impressoras nos mapas incentea e etiquetas
Private Sub chamaImpressoras(ByRef pval As SAPbouiCOM.MenuEventClass)
Dim MyProcs() As Process
Dim i, ID As Integer
Dim hwdl As System.IntPtr
Try
SBOApplication.Desktop.Title = "SBO under " + SBOApplication.Company.UserName
MyProcs = Process.GetProcessesByName("SAP Business One")
For i = 0 To MyProcs.Length - 1
If MyProcs(i).MainWindowTitle = SBOApplication.Desktop.Title Then
ID = MyProcs(i).Id()
hwdl = MyProcs(i).MainWindowHandle
crxReport.SetDialogParentWindow(hwdl.ToInt32)
'crxReport.PrinterSetup(hwdl.ToInt32)
crxReport.PrintOut(True)
End If
Next
Catch ex As Exception
MsgBox("Erro em ChamaImpressoras'" & ex.Message.ToString & "'")
End Try
End Sub
Most strange it is that I already had this to work, and is installed in a customer but now it does not work more.
I do not know more what to make!!
Some ideia?hi all
sory my bad english
i have a problem, in mi add-on I call the dialogbox of printers.
the same code for times functions others not. Some times the same ard calls dialogbox in one machine and another machine not.
in the menu Event Print i have te code:
chamaImpressoras(pVal)
BubbleEvent = False
my Sub is for opening the dialoguebox of the printers.
'Chama a caixa de selecção das impressoras nos mapas incentea e etiquetas
Private Sub chamaImpressoras(ByRef pval As SAPbouiCOM.MenuEventClass)
Dim MyProcs() As Process
Dim i, ID As Integer
Dim hwdl As System.IntPtr
Try
SBOApplication.Desktop.Title = "SBO under " + SBOApplication.Company.UserName
MyProcs = Process.GetProcessesByName("SAP Business One")
For i = 0 To MyProcs.Length - 1
If MyProcs(i).MainWindowTitle = SBOApplication.Desktop.Title Then
ID = MyProcs(i).Id()
hwdl = MyProcs(i).MainWindowHandle
crxReport.SetDialogParentWindow(hwdl.ToInt32)
'crxReport.PrinterSetup(hwdl.ToInt32)
crxReport.PrintOut(True)
End If
Next
Catch ex As Exception
MsgBox("Erro em ChamaImpressoras'" & ex.Message.ToString & "'")
End Try
End Sub
Most strange it is that I already had this to work, and is installed in a customer but now it does not work more.
I do not know more what to make!!
Some ideia? -
Position of dialogbox container relativ to popup screen
I try to position a dialogbox container right under a popup-screen.
The popup is created via
call screen ... starting at X Y.
So the popup appears with coordinates (X,Y) relativ to the underlying dynpro.
Now I want to display a dialogbox container 'near' that popup. When calling the create object <dailogbox> I can specify some coordinates (parameters left, top).
But these are in pixels and absolute ccordinates on the screen.
So, how can I calculate some coordinates for the dialogbox to get it near the popup?
Thanks for any help.mention the "ending at a b" coordinates also.
so that u can know where the pop-up ends.
give the dialoge box coordinates as "a+1 y".
regards,
bharat. -
ABAP OO Control dialogbox SET_FOCUS
Hi control sages,
I have an edit control opened in a dialogbox container popup.
Now I want to set the focus on the text area. As a result, I won't have to click the mouse in the text area, before I use Keyboard shortcuts like ctrt-a, ctrl-c and so on.
I played around with SET_FOCUS method which is inherited to the edit control. This method requires parameter CONTROL. I tried with current instances of cl_gui_textedit and cl_gui_dialogbox_container but I did not get my focus switched. I remember I was successful some years ago but can't that piece of code. Hope I did not dream of it.
Help welcome!
Regards,
ClemensHi John,
sorry I didn't reply earlier - sometimes have to do other things.
My system:
SAP ERP Central Component 5.0
SAP_BASIS 640 0015 SAPKB64015 SAP Basis Component
SAP_ABA 640 0015 SAPKA64015 Cross-Application Component
My FORM:
FORM showcontent USING pt_data TYPE table.
IF go_dialogbox IS INITIAL.
CREATE OBJECT go_dialogbox
EXPORTING
width = 800
height = 300
top = 50
left = 100
caption = 'Close Window to end Display'.
SET HANDLER lcl_event_receiver=>close FOR go_dialogbox.
ENDIF." go_dialogbox is initial.
IF go_editor IS INITIAL.
CREATE OBJECT go_editor
EXPORTING
parent = go_dialogbox
wordwrap_mode = cl_gui_textedit=>wordwrap_off
wordwrap_to_linebreak_mode = cl_gui_textedit=>true.
ENDIF.
CALL METHOD go_editor->set_toolbar_mode
EXPORTING
toolbar_mode = go_editor->true.
CALL METHOD go_editor->set_statusbar_mode
EXPORTING
statusbar_mode = go_editor->true.
Set edit mode
CALL METHOD go_editor->set_readonly_mode.
send table to control
CALL METHOD go_editor->set_font_fixed
EXPORTING
mode = cl_gui_textedit=>true.
CALL METHOD go_editor->set_text_as_r3table
EXPORTING
table = pt_data.
set focus
CALL METHOD go_dialogbox->set_focus
EXPORTING
control = go_editor.
ENDFORM. " showcontent
... and still the focus remains on the screen from where the popup was started.
But I remember the same thing Rich reported: It worked and that was on 4.71 no unicode - as far as I remember.
But I just found sap note 841628: set_focus does not work after implementation of sap note 788959.
I'll study that further - looks like a bug.
regards,
Clemens -
Set position of dialogbox depending on screen resolution
Hi,
Could you tell me how I can set the position of a dialogbox container (CL_GUI_DIALOGBOX_CONTAINER)depending on the current screen resolution?
Thank you for your help,
FabianHi,
When u create the Dialogbox object,u have the option of specifying the height,width of the dialog container.
Dialog container
go_dialog_container TYPE REF TO cl_gui_dialogbox_container,
CREATE OBJECT go_dialog_container
EXPORTING
PARENT =
<b>width = 400
height = 150</b> style = cl_gui_control=>ws_sysmenu
REPID =
dynnr = '100'
LIFETIME = lifetime_default
<b>top = 100
left = 350</b> caption = 'My dialog box'
NO_AUTODEF_PROGID_DYNNR =
METRIC = 0
NAME =
EXCEPTIONS
CNTL_ERROR = 1
CNTL_SYSTEM_ERROR = 2
CREATE_ERROR = 3
LIFETIME_ERROR = 4
LIFETIME_DYNPRO_DYNPRO_LINK = 5
EVENT_ALREADY_REGISTERED = 6
ERROR_REGIST_EVENT = 7
others = 8.
IF sy-subrc <> 0.
Do some error handling..............
ENDIF.
Hope it helps u.
Kindly reward point if u find it useful.
Thanks&Regards,
Ruthra -
How to display the print dialogbox in crystal reports viewer for visualstudio 2013 in wpf?
Hi,
In my wpf application when i click on print button i want to display the print dialog box for current report.
Here i have written like as follows.
1.MyCrystalReportsViewer.ViewerCore.ReportSource = reportDocument;
2. MyCrystalReportsViewer.ViewerCore.PrintReport();
The above two statements is executed and displayed the report in CrystalReportViewer, but it doesn't show any print dialogbox.
MyCrystalReportsViewer is name of the CrystalReportsVIewer control.
Can any one help me to solve this one using code.Hi Sandeep,
Did you download CR for VS SP 13 from this link?
http://scn.sap.com/docs/DOC-7824
First link is to integrate CR into VS.
If you did then I suggest you do a Repair on both VS and CR for VS.
Also, VS must be Pro or higher, CR will not work in VS 2013 Express.
Do you have printers installed? Do not use Windows XPS printer, it has problems.
Don -
JFileChooser dialogbox doesn't pop up?!
i am developing an applet, but facing with problems. i have implement Button in the applet to open file of the local system using JFileChooser. i have finally made that not crashing with the applet, but it doesn't open the dialogbox to select the file. Does anyone know why?
many Thanks
timWell ,Just In Case , if u really just need to read text,etc from a file on the server
[NOT USER's system !],u can do this :
try{
java.net.URL hp=new URL(getCodeBase()+"/in.txt");
}catch(java.net.MalformedURLException ex){System.out.println(hp.toString());}
//URLConnection hpCon=hp.openConnection();
BufferedReader in=new BufferedReader(
new InputStreamReader(hp.openStream()));
String inputLine;
while ((inputLine = in.readLine()) != null){
System.out.println(inputLine);
// blah .. blah ... -
Version 11.5.3: Missing dialogbox
Hi,
We are running BOE 11.5.3.nn and a problem with getting the dialogbox for file download to excel and adobe has occured for some clients. The clients are running XP, IE 7.0.(5730.13)
Java version 6 update 13. From the supported platforms doc I can see that IE 7 is ok but is the mentioned java runtime version supported also ? I can find the supported jdk but not the supported jre in the doc..
Any ideas ?
Regards
- jemTough question....
Theoretically, you should be able to directly upgrade your DB to 10g, if the Apps will not be used again until after you have gotten to 11.5.10.2....
That said, there is a small chance that you may encounter some unexpected behavior during the upgrade driver itself due to the db version. That scenario was not tested (hence why it's not "supported") thoroughly, so there is some risk there.
I would also venture to say, however, that you are DEFINITELY not the first person to attempt an upgrade this way! I just have no way to confirm if it has worked well in the past.
Sorry I can't be more definitive on that. Good luck!
-Vikki
Product Manager for the Maintenance Wizard -
PDF-Export Dialogbox in InDesign CC
Hallo zusammen,
ich habe ein Frage zur PDF-Export Dialogbox in InDesign CC (zu erreichen über cmd+e). In bisherigen Versionen der Creative Suite war es so, dass der Seitenbereich automatisch markiert war und man sofort den benötigten Seitenbereich eintippen konnte (z. B. 62-63).
Das war sehr komfortabel, wenn man von einem mehrseitigen InDesign Dokument mehrere PDF's mit jeweils 2 Seiten machen musste. Einfach cmd+e und schon konnte ich den gewünschten Seitenbereich eingeben.
In InDesign CC geht das irgendwie nicht mehr. Sehr umständlich. Man muss sich jedesmal mit Tab zum Eingabefeld 'Bereich' durchtippen oder 'Alle Seiten' von Hand markieren und durch den gewünschten Seitenbereich ersetzen.
Das ist unglaublich umständlich, da ich diesen Vorgang bei meiner Arbeit sehr oft wiederholen muss. Gibt es eine Lösung oder ein Skript, mit dem sich der Seitenbereich nach cmd+e automatisch markieren lässt?
Danke im Voraus und viele Grüße,
Dem ShadesWenn Du sowas oft machen musst, schau Dir das Plugin Output Factory http://zevrix.com/index.php an, die kostet was, aber für 30 Tage ist die Testversion frei. Die mag vielleicht alle Aufgaben, die Dir so im Zusammenhang mti der Ausgabe nerven, automatisieren. Manchmal gibt es die zum halben Preis, oder noch weniger, mal 30 Tage ausprobieren und Preise beobachten.
-
PostBack resend confirm dialogbox issue
Hi Experts,
I have done a web based application using JSF..it contains log in and logout page.I am maintaining a session if I logged in and if I logged out that session will be expired.so if I again press the back button after logged (session Expires)I am getting an confirm dialogbox from firefox which ensures whether to resend post data.if I pressed ok I am getting exceptions.I would lik to know how to impede this confirm dialogbox or to redirect to an other page when i pressed ok button.I dont know where and how to invoke the code for this regardings.pls suggest me how to resolve this issue...
Thankschrisjohn wrote:
Hi,
Thanks for ur suggestions..But I have already implemented
public void doFilter(ServletRequest request, ServletResponse response, FilterChain filterChain)
}and redirected it to an other page...But I am getting this confirm dialog box only in the rare occasions and if I pressed ok button I am getting exceptions..I have seen some sites where if this confirm dialog box came and if the user pressed ok button they will again redirect to an another page.please give neccessary inputs to handle this issue..The point of the filter is to detect the situations which will cause exceptions and issue a redirect in those cases. -
Handling User Exceptions in DialogBox
Hi all....
I have the following Dialogbox which asks the user for 2 integers and then adds these to the TextArea with some predefined text.
What I wanted was if the user inputs anything illegal such as text, inplace of 2 integers, how I could detect this and warn the user?
String setSize1 = (String JOptionPane.showInputDialog(topPanel, "Enter your Preferred Size. " + "\n" + "Please enter 2 integers:", "Set Size", JOptionPane.QUESTION_MESSAGE);editor.append("setSize( " + setSize1 + "); " + "\n " + "}");
Any help much appreciated....Thanks for the advice. You are correct of course; handling every possible exception is the ideal, one which we should all aspire to...
In the meantime though, I'd like to have a sort of safety net to catch all those "unexpected" exceptions. In my searches I have just now found these links which look very promising as a potential solution/work-around for this issue:
http://www.experts-exchange.com/Programming/Programming_Languages/Java/Q_20567074.html
http://developer.java.sun.com/developer/bugParade/bugs/4714232.html
The idea of overriding the exception handler I feel is a pretty heavy handed way of dealing with uncaught exceptions... any other thoughts on this are welcome. -
How to create a custom dialogbox from menuitem
Hi everyone,
I'm new to java swings and i'm creating a Menu application with a menu.
I'm trying to open a dialog box with the menuitem. I tried JOptionPane and i got it and now i'm trying to create a customized dialog with JPanel. I tried a lot ...but i can't see anything in the Dialogbox.
plz help me out.....
Thank you ... here is my code
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.event.*;
import java.io.*;
public class Frame3 extends JPanel {
static final String BOX_TITLE = "IP Selection Dialog";
public static JFrame frame;
public Frame3() {
frame.addWindowListener(new WindowAdapter()
public void windowClosing(WindowEvent e) {
String s1 = "Quit";
String s2 = "Cancel";
Object[] options = {s1, s2};
int n = JOptionPane.showOptionDialog(frame,
"Do you really want to quit?",
"Quit Confirmation",
JOptionPane.YES_NO_OPTION,
JOptionPane.QUESTION_MESSAGE,
null,
options,
s1);
if (n == JOptionPane.YES_OPTION) {
System.exit(0);
} else {
return;
frame.getContentPane().setLayout(new BorderLayout());
JMenuBar menubar4 = new JMenuBar();
final JMenu menu3 = new JMenu("File");
menu3.setMnemonic('F');
final JMenuItem menuItem1 = new JMenuItem("New Scan");
menuItem1.setMnemonic(KeyEvent.VK_N);
menuItem1.setAccelerator(KeyStroke.getKeyStroke(
KeyEvent.VK_N, ActionEvent.ALT_MASK));
menu3.add(menuItem1);
menubar4.add(menu3);
menuItem1.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
JPanel choicePanel = createSimpleDialogBox();
System.out.println("passed createSimpleDialogBox");
JLabel title = new JLabel("Click the \"Vote\" button", JLabel.CENTER);
JLabel label = new JLabel("OK", JLabel.CENTER);
label.setBorder(BorderFactory.createEmptyBorder(10,10,10,10));
choicePanel.setBorder(BorderFactory.createEmptyBorder(20,20,5,20));
add(title, BorderLayout.NORTH);
add(label, BorderLayout.SOUTH);
add(choicePanel, BorderLayout.CENTER);
String simpleDialogDesc = "Menus";
public JPanel createSimpleDialogBox() {
JButton vbutton = null;
final String defaultMessageCommand;
final String yesNoCommand;
JRadioButton radio1 = new JRadioButton("Hello");
radio1.setActionCommand(defaultMessageCommand);
JRadioButton radio2 = new JRadioButton("How ru");
radio2.setActionCommand(yesNoCommand);
radio1.setSelected(true);
vbutton = new JButton("OK");
public final static void main(String[] args) {
frame = new JFrame("abcd");
Frame3 frame1 = new Frame3();
frame.getContentPane().add("South", frame1);
frame.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
frame.pack();
frame.setSize(1200,900);
frame.setLocationRelativeTo(null);
frame.setVisible(true);
}Check out my StandardDialog class
http://forum.java.sun.com/thread.jspa?forumID=57&threadID=678408
you can fill in the content using setMainPane and synchronize on it by using the static showStandardDialog method
I find it pretty useful -
Hi
On Ubuntu 8.04 LTS I have installed Oracle SQL Developer 1.5.3 (for other platforms). It works but some dialogboxes are empty, without buttons and text, only with title (example the Connection Information dialogbox)
Any ideas?Solved!
There are two solutions:
1) installing the package libstdc++5
2) http://fucinatecnica.blogspot.com/2009/01/install-oracle-sql-developer-on-ubuntu.html
see: http://ubuntuforums.org/showthread.php?t=1035123&goto=newpost
Maybe you are looking for
-
Order by in select statement doubt
Hi , i created one table tab name is one column tab name 5 4 11 1 2 a b aa select * from tab order by name; and i got the result like this name 1 11 2 4 5 a aa b but i want to sort numbers as numeric order and name as alphabatic order means like orde
-
How can i find area under a closed curve
I am having set of Y-values w.r.t X-values.When i am using numerical integration.vi to measure area, it is showing wrong answer.Is there any other vi to find the area under a closed curve.
-
Incorrect daylight saving change for Brazil, 2008
Leopard is still using outdated (2007) timezone rules for Brazil, where DST starts Oct 14 and ends on Feb 17. This is wrong for 2008. On Sep 8 this year a new decree was passed regarding DST changes. It should start on every third sunday in October,
-
Photoshop Elements 10 frequently puts completed piece into unavailable format.
PSE 10 frequently puts completed piece into unavailable formant. Have usually been able to change it to "paint" and get to it that way. Now all that comes up in Pictures is the Paint icon which, when I click it, shows the completed oicture on my mo
-
Pdf forms online to input data as opposed to traditional web forms
hello, my level is beginner but i am given a project . well task to create a online application system to reduce paper work. i have seen some online application ( using pdf) on the web and it seems better (looks better than a web form i ussually fill