How to center loaded image?
First time building an app for AIR, from Flash CS4, as I needed to be able to write to a local XML file... all is working except I cannot manage to center a loaded image properly. I am running it full screen and everything I try width / height wise gives me my desktop resolution - which I guess is right since it's full screen. However positioning goes from the stage's top/left corner - not the monitor's top/left corner.
This image illustrates the issue - when I query the size I get the red rectangle size... but when I position something it uses the green rect - ie the actual stage. How do I fix in AIR?
is you stage align property set to StageAlign.TOP_LEFT ?
Similar Messages
-
How to center loaded images?
Hi,
this really puzzles me... How onLoadInit and onLoadComplete
listeners actually work? It is a photo slideshow, I am creating at
runtime image holder and then centering its registration point to
the center of main stage, then I am loading an image into it using
MovieClipLoader class, then I need to change the image registration
point so it is also centered on the stage. All works just
excellently on my pc but unfortunately when on webserver the
centering doesn't work! When the loading seems to be really
intensive it doesn't care about onLoadInit listener!!! I test it at
www.2sayhello.com/upgrade if anybody cares to see the effect.
Thanks for any info
Here is the code:I just got the idea that this problem may be related to
loading more images at the same time, the problem occurs if I click
on next or previous button in quick success, it forces to start
downloading 2 or 3 images at the same time and that is exactly the
moment I see not centered images or my preloader not finisshed.
That may also means that onLoadInit or onLoadComplete were never
executed... Each click on next or previus button creates and
unloads image holder. Then it loads a new image into it by calling
this function: -
How do you load images from a Win7 machine to iPhone?
Hi. How do you load images from a Windows 7 PC to an iPhone 4? I'd like to load the pictures to use as wallpapers. Thanks.
You CANNOT transfer photos from your computer to your iPhone when connected to your computer as an external drive. This is for transferring photos and/or video from your iPhone's Camera Roll to your computer's hard drive ONLY.
To transfer photos from your computer's hard drive to your iPhone, this is selected under the Photo's tab for your iPhone's sync preferences with iTunes followed by a sync. -
How could I load image via a Form when it is in runtime by not using default block
1. How could I load image from my local computer to the database via a Form when it is in runtime?
2. And how to display the image stored in the database on a Form ?
Thanks buddy ~
A nice member answered this question already, but I want to know how could I do it by using manual create block instead of using database item directly~
Could anyone help me pls~This is the only way I know right now:
1) Create this table
SQL> desc av_data
Name Null? Type
BLOB_ID NOT NULL NUMBER(10)
BLOB_TYPE NOT NULL VARCHAR2(10)
DESCRIPTION NOT NULL VARCHAR2(25)
BLOB_DATA LONG RAW
2) On form create a button with this 'when-btn-prssed' tgr:
DECLARE
v_dirname VARCHAR2(255);
v_filename VARCHAR2(255);
BEGIN
v_dirname := 'C:\';
v_filename := get_file_name(v_dirname, NULL,
'Bitmap file (*.bmp)|*.bmp|' ||
'JPEG file (*.jpg)|*.jpg|' );
IF v_filename IS NOT NULL THEN
read_image_file(v_filename, 'ANY',
'av_data_image.blob_data');
END IF;
END;
3) Add this pre-insert trigger too :
:av_data_image.blob_type := 'IMAGE';
Sorry if this is not exactly the answer you're looking for.
Bob -
How I can load images from Creative Cloud storage in photoshop plugin, created in Extension Builder 3 with use html5/css/js ?
At this point there is no API for accessing the cloud storage outside Adobe's own closed loop.
Mylenium -
How to dynamically load images into Flash
I have a movie clip on the stage that I want to dynamically
load images into (that constantly change), how would I go about
doing this? Thanks.Use the Loader class to load in images.
Then use addChild to add the Loader class into your MovieClip
on the stage.
As far as "constantly change" what
do you mean by that? You could use setInterval, ther enterFrame
event, or any other means to trigger a new image to be loaded into
the Loader instance.
Finally, you can use the Tween class to create some nice
effects for the images (fade it, blur in, photo blend, masks,
etc) -
How do I load images using nio?
Beyond using the toolkit to load an image, I don't know how to load an image. I looked at the javax.imageio package briefly, but I'm not sure where to start there.
I would like to be able to load images with nio Ii.e. memory map the files) and display them on screen.
Any advice and help would be appreciated.
Thanx
Billfrom java api 1.4
BufferedImage bi = ImageIO.read(File)
BufferedImage bi = ImageIO.read(InputStream)
BufferedImage bi = ImageIO.read(ImageInputStream)
BufferedImage bi = ImageIO.read(URL) -
[How .. ]: Load image to SAP Screen.
Hi All,
I'm having a project where i should display the corresponding picture.
These are questions that i'm going to ask :
1. How can i store the image to SAP Server ? Could you direct me step by step please ..
2. How can i load the picture from the program ? Could it also be directed step by step ..
Many thanks all.
Still need your guidance a lot.
Kindly Regards,
Niel.Niel,
Say thanks to Pavan Praveen who helped me with this sometime back.
To create a logo u have to remember one thing is u have to upload that logo through OAER or SE78
for uploading logo in OAER
Enter class name as PICTURES
Class type as OT
Object key the name of ur logo want to upload
then press F8 or execute
Then it will automatically creates a folder for ur LOGO and upload ur logo in that folder
After that In the left side bottom of the page u can c the following options
1)Detail
2)Document Info
3)Keywords
4)Create
goto Detail in which u can find the Object Id
which u have to paste in the function module of this program
Check this program1
*& Report ZREPORT_LOGO *
REPORT ZREPORT_LOGO.
DATA:
docking TYPE REF TO cl_gui_docking_container,
picture_control_1 TYPE REF TO cl_gui_picture,
url(256) TYPE c .
DATA : sum(4) , num1(4) , num2(4).
PARAMETERS: p_dummy(4) DEFAULT '4' .
PARAMETERS: p_dummy1(4) DEFAULT '5' .
AT SELECTION-SCREEN OUTPUT.
PERFORM show_pic.
START-OF-SELECTION.
num1 = p_dummy.
num2 = p_dummy1.
sum = num1 + num2.
WRITE : / sum.
*& Form show_pic
FORM show_pic.
DATA: repid LIKE sy-repid.
repid = sy-repid.
CREATE OBJECT picture_control_1 EXPORTING parent = docking.
CHECK sy-subrc = 0.
CALL METHOD picture_control_1->set_3d_border
EXPORTING
border = 5.
CALL METHOD picture_control_1->set_display_mode
EXPORTING
display_mode = cl_gui_picture=>display_mode_stretch.
CALL METHOD picture_control_1->set_position
EXPORTING
height = 100
left = 500
top = 10
width = 300.
CALL METHOD picture_control_1->load_picture_from_url
EXPORTING
url = 'c:/pic.bmp'.
IF sy-subrc NE 0.
ENDIF.
ENDFORM. "show_pic
Check this program 2
program zsap_picture_demo.
set screen 200.
TYPE-POOLS cndp.
CLASS c_event_receiver
DEFINITION
class c_event_receiver definition.
The class is used to test the events raised by the cl_gui_picture
class
public section.
methods event_handler_picture_dblclick
for event picture_dblclick of cl_gui_picture
importing mouse_pos_x mouse_pos_y sender.
methods event_handler_context_menu
for event context_menu of cl_gui_picture
importing sender.
methods event_handler_context_menu_sel
for event context_menu_selected of cl_gui_picture
importing fcode sender.
endclass.
DATA
data function like sy-ucomm. " OK-Code field in screen 200
data url type cndp_url. " URL-field in screen 200
data url2 type cndp_url. " URL-field in screen 200
data picture_control_1 type ref to cl_gui_picture.
data picture_control_2 type ref to cl_gui_picture.
data container_1 type ref to cl_gui_custom_container.
data container_2 type ref to cl_gui_custom_container.
data event_receiver type ref to c_event_receiver.
data event_tab type cntl_simple_events.
data event_tab_line type cntl_simple_event.
data return type i.
PBO
before_output
module before_output output.
set pf-status 'MAIN0001'.
IF PICTURE_CONTROL_1 IS INITIAL.
Create controls
create object container_1
exporting container_name = 'PICTURE_CONTROL_1'.
create object container_2
exporting container_name = 'PICTURE_CONTROL_2'.
CREATE OBJECT PICTURE_CONTROL_1 exporting parent = container_1.
CREATE OBJECT PICTURE_CONTROL_2 exporting parent = container_2.
Register the events
EVENT_TAB_LINE-EVENTID = CL_GUI_PICTURE=>EVENTID_PICTURE_DBLCLICK.
append EVENT_TAB_LINE to EVENT_TAB.
EVENT_TAB_LINE-EVENTID = CL_GUI_PICTURE=>EVENTID_CONTEXT_MENU.
append EVENT_TAB_LINE to EVENT_TAB.
EVENT_TAB_LINE-EVENTID = CL_GUI_PICTURE=>EVENTID_CONTEXT_MENU_SELECTED.
append EVENT_TAB_LINE to EVENT_TAB.
CALL METHOD PICTURE_CONTROL_1->SET_REGISTERED_EVENTS
exporting
EVENTS = event_tab.
CALL METHOD PICTURE_CONTROL_2->SET_REGISTERED_EVENTS
exporting
EVENTS = event_tab.
Create the event_receiver object and set the handlers for the events
of the picture controls
create object event_receiver.
set handler event_receiver->event_handler_picture_dblclick
FOR PICTURE_CONTROL_1.
set handler event_receiver->event_handler_context_menu
FOR PICTURE_CONTROL_1.
set handler event_receiver->event_handler_context_menu_sel
FOR PICTURE_CONTROL_1.
set handler event_receiver->event_handler_picture_dblclick
FOR PICTURE_CONTROL_2.
set handler event_receiver->event_handler_context_menu
FOR PICTURE_CONTROL_2.
set handler event_receiver->event_handler_context_menu_sel
FOR PICTURE_CONTROL_2.
Set the display mode to 'normal' (0)
CALL METHOD PICTURE_CONTROL_1->SET_DISPLAY_MODE
EXPORTING DISPLAY_MODE = CL_GUI_PICTURE=>DISPLAY_MODE_NORMAL.
CALL METHOD PICTURE_CONTROL_2->SET_DISPLAY_MODE
EXPORTING DISPLAY_MODE = CL_GUI_PICTURE=>DISPLAY_MODE_NORMAL.
Set 3D Border
CALL METHOD PICTURE_CONTROL_1->SET_3D_BORDER
exporting border = 1.
CALL METHOD PICTURE_CONTROL_2->SET_3D_BORDER
exporting border = 1.
new async implementation since 4.6C
CALL FUNCTION 'DP_PUBLISH_WWW_URL'
EXPORTING
OBJID = 'HTMLCNTL_TESTHTM2_SAP_AG'
LIFETIME = cndp_lifetime_transaction
IMPORTING
URL = url
EXCEPTIONS
OTHERS = 1.
Load the picture by using the url generated by the data provider.
if sy-subrc = 0.
CALL METHOD PICTURE_CONTROL_1->LOAD_PICTURE_FROM_URL_ASYNC
exporting url = url.
endif.
CALL FUNCTION 'DP_PUBLISH_WWW_URL'
EXPORTING
OBJID = 'DEMOWORD97SAPLOGO'
LIFETIME = cndp_lifetime_transaction
IMPORTING
URL = url2
EXCEPTIONS
OTHERS = 1.
load image
if sy-subrc = 0.
CALL METHOD PICTURE_CONTROL_2->LOAD_PICTURE_FROM_URL_async
exporting url = url2.
endif.
endif.
endmodule.
PAI
after_input
module after_input input.
case function.
At the end of the program destroy the control
when 'BACK'.
CALL METHOD container_1->FREE.
CALL METHOD container_2->FREE.
leave to screen 0.
Change the display mode
when 'NORMAL'.
CALL METHOD PICTURE_CONTROL_1->SET_DISPLAY_MODE
EXPORTING DISPLAY_MODE = CL_GUI_PICTURE=>DISPLAY_MODE_NORMAL.
CALL METHOD PICTURE_CONTROL_2->SET_DISPLAY_MODE
EXPORTING DISPLAY_MODE = CL_GUI_PICTURE=>DISPLAY_MODE_NORMAL.
when 'STRETCH'.
CALL METHOD PICTURE_CONTROL_1->SET_DISPLAY_MODE
EXPORTING DISPLAY_MODE = CL_GUI_PICTURE=>DISPLAY_MODE_STRETCH.
CALL METHOD PICTURE_CONTROL_2->SET_DISPLAY_MODE
EXPORTING DISPLAY_MODE = CL_GUI_PICTURE=>DISPLAY_MODE_STRETCH.
when 'FIT'.
CALL METHOD PICTURE_CONTROL_1->SET_DISPLAY_MODE
EXPORTING DISPLAY_MODE = CL_GUI_PICTURE=>DISPLAY_MODE_FIT.
CALL METHOD PICTURE_CONTROL_2->SET_DISPLAY_MODE
EXPORTING DISPLAY_MODE = CL_GUI_PICTURE=>DISPLAY_MODE_FIT.
when 'NORMAL_CTR'.
CALL METHOD PICTURE_CONTROL_1->SET_DISPLAY_MODE
EXPORTING DISPLAY_MODE = CL_GUI_PICTURE=>DISPLAY_MODE_NORMAL_CENTER.
CALL METHOD PICTURE_CONTROL_2->SET_DISPLAY_MODE
EXPORTING DISPLAY_MODE = CL_GUI_PICTURE=>DISPLAY_MODE_NORMAL_CENTER.
when 'FIT_CTR'.
CALL METHOD PICTURE_CONTROL_1->SET_DISPLAY_MODE
EXPORTING DISPLAY_MODE = CL_GUI_PICTURE=>DISPLAY_MODE_FIT_CENTER.
CALL METHOD PICTURE_CONTROL_2->SET_DISPLAY_MODE
EXPORTING DISPLAY_MODE = CL_GUI_PICTURE=>DISPLAY_MODE_FIT_CENTER.
Clear the picture
when 'CLEAR'.
CALL METHOD PICTURE_CONTROL_1->CLEAR_PICTURE.
Load a new picture
when space.
CALL METHOD PICTURE_CONTROL_1->LOAD_PICTURE_FROM_URL
exporting url = url
importing result = return.
call method cl_gui_cfw=>flush.
if return = 0.
url = text-000.
endif.
endcase.
clear function.
endmodule.
CLASS c_event_receiver
IMPLEMENTATION
CLASS C_event_receiver implementation.
CLASS c_event_receiver
METHOD event_handler_picture_dblclick
METHOD EVENT_HANDLER_PICTURE_DBLCLICK.
for event picture_dblclick of c_picture_control
importing mouse_pos_x mouse_pos_y.
DATA pos_x(5) type c.
DATA pos_y(5) type c.
pos_x = mouse_pos_x.
pos_y = mouse_pos_y.
IF SENDER = PICTURE_CONTROL_1.
MESSAGE I000(0K) WITH
'DoubleClick' 'Upper Picture' POS_X POS_Y. "#EC NOTEXT
else.
MESSAGE I000(0K) WITH
'DoubleClick' 'Lower Picture' POS_X POS_Y. "#EC NOTEXT
endif.
endmethod.
CLASS c_event_receiver
METHOD event_handler_context_menu
METHOD EVENT_HANDLER_CONTEXT_MENU.
data menu type ref to cl_ctmenu.
create object menu.
call method menu->ADD_FUNCTION exporting
fcode = text-001
TEXT = TEXT-001.
call method menu->ADD_FUNCTION exporting
FCODE = TEXT-002
TEXT = TEXT-002.
call method menu->ADD_FUNCTION exporting
FCODE = TEXT-003
TEXT = TEXT-003.
call method menu->ADD_FUNCTION exporting
FCODE = TEXT-004
TEXT = TEXT-004.
call method menu->ADD_FUNCTION exporting
FCODE = TEXT-005
TEXT = TEXT-005.
CALL METHOD SENDER->DISPLAY_CONTEXT_MENU
EXPORTING CONTEXT_MENU = MENU.
endmethod.
CLASS c_event_receiver
METHOD event_handler_context_menu_sel
METHOD EVENT_HANDLER_CONTEXT_MENU_sel.
DATA DISPLAY_MODE TYPE I.
IF FCODE = TEXT-001.
DISPLAY_MODE = CL_GUI_PICTURE=>DISPLAY_MODE_NORMAL.
ENDIF.
IF FCODE = TEXT-002.
DISPLAY_MODE = CL_GUI_PICTURE=>DISPLAY_MODE_STRETCH.
ENDIF.
IF FCODE = TEXT-003.
DISPLAY_MODE = CL_GUI_PICTURE=>DISPLAY_MODE_FIT.
ENDIF.
IF FCODE = TEXT-004.
DISPLAY_MODE = CL_GUI_PICTURE=>DISPLAY_MODE_NORMAL_CENTER.
ENDIF.
IF FCODE = TEXT-005.
DISPLAY_MODE = CL_GUI_PICTURE=>DISPLAY_MODE_FIT_CENTER.
ENDIF.
CALL METHOD SENDER->SET_DISPLAY_MODE
EXPORTING DISPLAY_MODE = DISPLAY_MODE.
endmethod.
endclass.
Note: While creating this program I had observed the thing is it will accepts the logo which was having the URL so try to create a logo of URL but u can display the Standard SAP logo using this program
To upload the the logo image on the right hand side of the SAP screen.
Transaction codeSMW0
X - Binary data for WebRFC application
Hit Enter
Click Execute
Click Settings -> Maintain MIME types
Click the Create button
Fill in :- TYPE : image/gif EXTENSION : .GIF
Click Save
Click Back to the Binary data for WebRFC
Click Create
Fill in :- Obj. name : ZXXXX.GIF Description : Company Logo
Click Import and specify the filename where your GIF file is located.File type is BIN. Finish press the Transfer button.
If successful, your logo will be shown in the Binary data for WebRFC.
Transaction codeSM30 - Table/View - SSM_CUST
Click Maintain
Click New Entries
Name Value to be set
START_IMAGE ZXXXX.GIF
RESIZE_IMAGE NO
Logoff and Login again
Check this link
http://www.sap-img.com/fu002.htm -
How to center an Image exported as EPS?
Hello,
Does anyone know how a good way to center an image on the page when exporting as EPS via a javascript from AI CS3?
Here's the workflow:
Open native AI File with multiple layers
Make only the layer being exported visible
Export the layer as EPS using export parameters
Repeat until all layers are exported
As it stands now, each image is exported as it was placed on the original AI file. I would like to center the image on the page before exporting.
Best,
DonHi Sneedbreedley, welcome back to the forums.
To center elements, you need just 3 things:
valid document type (DW does this for you when you create a new page).
declared width in pixels, ems or %.
margin-left and margin-right of auto (browser default).
To center paragraphs, headings, etc... use text-align:center property.
CSS:
body {
width: 980px;
margin:0 auto; /**this is centered on screen**/
.center {text-align:center}
HTML
<!doctype html>
<head>
<meta charset="utf-8">
</head>
<body>
<h1 class="center">This heading is centered</h1>
<h2>This heading is not centered</h2>
<p class="center">Insert image here</p>
</body>
</html
Nancy O. -
It used to be easy to center an image, but not anymore. I do not know ANYTHING about CSS so please tell me from Step 1 how to do it.
I created a simple blank html page and inserted an image in it. I looked in properties but nothing saying CSS shows up. So at this point, how do I center it?Hi Sneedbreedley, welcome back to the forums.
To center elements, you need just 3 things:
valid document type (DW does this for you when you create a new page).
declared width in pixels, ems or %.
margin-left and margin-right of auto (browser default).
To center paragraphs, headings, etc... use text-align:center property.
CSS:
body {
width: 980px;
margin:0 auto; /**this is centered on screen**/
.center {text-align:center}
HTML
<!doctype html>
<head>
<meta charset="utf-8">
</head>
<body>
<h1 class="center">This heading is centered</h1>
<h2>This heading is not centered</h2>
<p class="center">Insert image here</p>
</body>
</html
Nancy O. -
How do i load images from a folder?
Hello everyone,
Please can someone help me as i am stuck.
I am trying to research loading images from a folder called /images/unknown (unknown is a customer number and is stored in a variable called customerNo).
I feel that i will need to load the images into an array then display them to the screen with a viewer.
Can anybody help me.
Thanks in advanceWelcome to the Sun forums.
irknappers wrote:
...Please can someone help me as i am stuck.You might want to be more exact in future, about what you are stuck on.
import javax.imageio.ImageIO;
import java.io.FileFilter;
import java.io.File;
import javax.swing.JFileChooser;
class LoadImages {
public static void main(String[] args) {
String[] suffixes = ImageIO.getReaderFileSuffixes();
FileFilter fileFilter = new FileFilterType(suffixes);
File directory = null;
if (args.length==1) {
directory = new File( args[0] );
} else {
JFileChooser fileChooser = new JFileChooser();
fileChooser.setFileSelectionMode( JFileChooser.DIRECTORIES_ONLY );
int result = fileChooser.showOpenDialog( null );
if ( result == JFileChooser.APPROVE_OPTION ) {
directory = fileChooser.getSelectedFile();
} else {
System.err.println("Must select a directory to proceed, exiting.");
File[] images = directory.listFiles( fileFilter );
for (File file : images) {
System.out.println(file);
System.out.println( "The rest is left an exercise for the reader. ;-)" );
class FileFilterType implements FileFilter {
String[] types;
FileFilterType(String[] types) {
this.types = types;
public boolean accept(File file) {
for (String type : types) {
if ( file.getName().toLowerCase().endsWith( type.toLowerCase() ) ) {
return true;
return false;
} -
I have intentionally disabled "Load Images Automatically" so that it is easier to view my desktop remotely via VNC or Remote Desktop. Animations and other graphics kill the performance of these remote viewing apps. However, when I reach a desired web page (the one I really intend to read in full), I want to load all the images ***for that page only***.
I don't think Firefox has that features. It views loading images as a permissions issues toggled on a site-by-site basis rather than a performance issue toggled on a page-by-page basis.
Maybe an add-on would give you a better balance of features? These two popped up in a quick search:
[https://addons.mozilla.org/en-US/firefox/addon/image-block/ Image Block :: Add-ons for Firefox]
[https://addons.mozilla.org/en-US/firefox/addon/imglikeopera/ ImgLikeOpera :: Add-ons for Firefox]
If you try either of these, let us know what you think. -
How can I load images without XML, please?
Hello Everyone,
I would highly appreciate it if someone can point me into the right direction. I have some AS2 code which loads up the images via an xml file. I have been asked to eliminate XML entirely and have images be loaded from with in the library. Aside from images, there are other xml nodes such as:
image_name, image_description and such.
What would be the best way going about eliminating the XML and getting the code to load images and other related info from the library. I would highly appreciate your help on this, please.
Thanks a lot.create arrays that contain the same info as the xml.
p.s. and, you'll use attachMovie() instead of loadMovie(). -
How to center an image in the specified limits in labview 7.1
I am using labview 7.1..i want to center the image in the limits i like without using IMAQ software.please help me out
Solved!
Go to Solution.I have the following attachment..i wan that image to be centered in the front panel..
Attachments:
background image.vi 30 KB -
How To Dynamically Load Images in Crystal Reports?
Post Author: philips
CA Forum: General
What I want is to have image files saved on a local drive and the images to be loaded into a picute/image frame based on a certain condition - same way it's (easily) done with VB.Net or ASP.Net image objects.
Can you help?Not in Crystal Reports Basic for Visual Studio 2008. You'll have to upgrade to CR 2008 (12.x). Then use kbase [1320507|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do] as a guide on how to do this.
Ludek
Maybe you are looking for
-
What's New In After Effects CC
I made a overview of some of the cool new features in After Effects CC What new features are you most excited about? The intergration with C4D looks amazing! Wonder how Andrew Kramer will kick it up a notch with Element 3D? Both are great plugins.
-
Having trouble consolidating iTunes library (to then copy to new computer)
The music on my iPod was compiled over time from various files on the computer. I am trying to consolidate all the music into a single iTunes library so I can move the entire library to my new computer. When I tried to do that, it said "copying files
-
[JRE 7u51][GPO] How to add local site in exclusion's security check ?
Hi there, With the newest version of java, we had already manage certificates but it's a painful feature. Now we have a new list. So okay, great idea, we can execute trusted java code by http site. But how to deploy a site in exclusion with GPO ? Edi
-
Have an phone 6 plus cannot see cover art of tv shows I have
I cannot see cover art if I put them on my phone or if I'm using home sharing. No cover art shown even though I know they are there
-
New Installation of OEM just closes after Username/Password entry
My database server adminstrator created database for me and migrated the data from another server. When I try to open it using the OEM version 10g, I find my database as listed in the tnsnames file, get prompted for the Username and Password, but the