Reading the printer name from the registry
Hi,
I am trying to use the following program to get the Printer name from my Registry.. this program has been taken from Forums.
package yourpackage;
import java.awt.Graphics;
import java.awt.print.PageFormat;
import java.awt.print.Printable;
import java.awt.print.PrinterException;
import java.awt.print.PrinterJob;
import oracle.forms.ui.VBean;
import oracle.forms.properties.ID;
public class printDialog extends VBean
private static final ID PRINTER = ID.registerProperty("PRINTER");
public printDialog()
class PrintObject implements Printable
public int print (Graphics g, PageFormat f, int pageIndex)
return NO_SUCH_PAGE;
public Object getProperty(ID id)
if (id == PRINTER) {
PrinterJob job = PrinterJob.getPrinterJob();
job.setPrintable(new PrintObject());
if (job.printDialog())
return job.getPrintService().getName();
} else {
return null;
} else {
return null;}
This program when compiled gives me the error as
Error(32,12): method getPrintService() not found in class java.awt.print.PrinterJob
I did set the project settings from Project-Project Settings and included Oracle Forms Libraries. But I still continue to get the error.
I understood from the web that I need to put PrintService class which downloaded from the web as part of jnlp.jar
How should I set this if this is the correct one?
Early response would be highly appreciated
Thanks a lot for your time and help
Narain.
Narain,
I could swear I answered this on teh Jdeveloper forum ;-)
The prin service is part pf Java 1.4, which means that it is not available in JInitiator today. Use the Java Plugin 1.4 and the required classes are present. JNLP stands for Java Network Launching Protocoll and has nothing to do with what you want to achieve.
In addition, to read the printer names from Forms your jar file has to be signed.
Frank
Similar Messages
-
Accessing Printer name from Registry
Hi,
I am trying to use the following program to get the Printer name from my Registry.. this program has been taken from Forums.
package yourpackage;
import java.awt.Graphics;
import java.awt.print.PageFormat;
import java.awt.print.Printable;
import java.awt.print.PrinterException;
import java.awt.print.PrinterJob;
import oracle.forms.ui.VBean;
import oracle.forms.properties.ID;
public class printDialog extends VBean
private static final ID PRINTER = ID.registerProperty("PRINTER");
public printDialog()
class PrintObject implements Printable
public int print (Graphics g, PageFormat f, int pageIndex)
return NO_SUCH_PAGE;
public Object getProperty(ID id)
if (id == PRINTER) {
PrinterJob job = PrinterJob.getPrinterJob();
job.setPrintable(new PrintObject());
if (job.printDialog())
return job.getPrintService().getName();
} else {
return null;
} else {
return null;}
This program when compiled gives me the error as
Error(32,12): method getPrintService() not found in class java.awt.print.PrinterJob
I did set the project settings from Project-Project Settings and included Oracle Forms Libraries. But I still continue to get the error.
What is the relevant class that I have to add and also how will I add it as I am a bit new to JDev.
Early response would be highly appreciated
Thanks a lot for your time and help
Narain.Narain,
the code is from Oracle Forms and wont run in any other context. The code used within this sampel is teh Java printing services API available in Java 1.4.
http://java.sun.com/j2se/1.4.2/docs/guide/jps/spec/JPSTOC.fm.html
Frank -
Reading the Registry from Forte
All,
I recently needed to add the ability to read values
from the Windows Registry using Forte. After searching
through the mailing list archives I discovered that
several others have needed to do the same but the only
solution seemed to be to create a C wrapper for the
Windows API. Currently we do not use a C/C++ compiler
and did not want to do so just to read the registry.
The solution I discovered to this problem is simple
and can easily be added to any Forte application. I
just wanted to share my idea in the hopes that it will
help someone.
The solution is dependent on the Microsoft Windows
Script Host, which allows native execution of VBScript
and JScript on a Windows OS. The host can be
downloaded from Microsoft separately at
http://msdn.microsoft.com/scripting/. Chances are it
is already installed on your machine if you have IE5.
Check the \\windows\ directory for wscript.exe and
\\windows\command directory for cscript.exe. See the
site for further details.
The idea is to run a script (Example script below)
from Forte using the OperatingSystem.RunCommand and
redirect the output like this:
c:\windows\command\cscript.exe //nologo example.js >
example.ini
This will produce something like the following:
[FORTE]
ForteRoot=c:\forte3L2
ForteNsAddress=host.name:5000
ForteModelNode=developer-node
The redirected file can then be read and parsed.
Viola! You can access the registry. Afterwards the
file can be discarded.
In my implementation I am going to keep a file
similiar to the example file in a database so I don't
need to modify code if I change the script (although
it is hard to get away from that) and I can deploy the
script to any node I wish (a big plus). You could
potential deploy the cscript.exe file in the same way
if you are worried about it not being installed on the
target machine.
For my purposes I did not spend the time to create
classes designed to handle this process (i.e. retrieve
script, write script to file system, execute script,
read and parse results, etc.) but it certainly is not
out of the realm of possibility.
Well that's about it. Write me if you have any
questions.
Samer Kanjo
What Technology
skanjoyahoo.com
Keywords: Registry
--------------- START EXAMPLE SCRIPT ---------------
// File: example.js
// Read and echo some of the Forte environment
variables. Any registry keys can
// be accessed. Try it.
// Note: HKCU = HKEY_CURRENT_USER
// Run: c:\windows\command\cscript.exe //nologo
example.js
var WshShell = WScript.CreateObject("WScript.Shell");
var forteRoot =
WshShell.RegRead("HKCU\\Software\\ForteSoftwareInc\\Forte\\FORTE_ROOT");
var forteNsAddress =
WshShell.RegRead("HKCU\\Software\\ForteSoftwareInc\\Forte\\FORTE_NS_ADDRESS");
var forteModelNode =
WshShell.RegRead("HKCU\\Software\\ForteSoftwareInc\\Forte\\FORTE_MODELNODE");
WScript.Echo("[FORTE]");
WScript.Echo("ForteRoot=" + forteRoot );
WScript.Echo("ForteNsAddress=" + forteNsAddress);
WScript.Echo("ForteModelNode=" + forteModelNode);
---------------- END EXAMPLE SCRIPT ----------------
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/Thanks for you reply but I'm still a little lost with the reply.
What is the rest of the commands?
I understand this will query the registry, but what about searching for "LT or DT" and the IF/GOTO Commands?
reg query HKEY_LOCAL_MACHINE\SOFTWARE\IS_DEPT\Simage\HW\Platform
I think my confusion is how to define LT or DT as the variable. I keep finding %errorlevel% variable, but that seems to only define on (1) or off (0)
Here's what I have so far and I dont' think it's correct.
reg query HKEY_LOCAL_MACHINE\SOFTWARE\IS_DEPT\Simage\HW\Platform /f
if "%ERRORLEVEL%" == "LT" GOTO HOME
if "%ERRORLEVEL%" == "DT" GOTO NOOOOPE -
Reading the registry from a .bat file
I've searched a bit on web before asking and I apologies a head of time but my knowledge of .bat files is a little lacking. Currently I have a working .bat file I created, but was looking to adding something extra to it and just can't seem to find exactly
what I need.. What i'm looking to do is at the top of .bat file I want it to read the registry here HKEY_LOCAL_MACHINE\SOFTWARE\IS_DEPT\Simage\HW\Platform
Under Platform we either have 2 types LT or DT. (laptop or desktop)
What I want to do is at the top of my bat file have it search this key. If it has the value LT I want it to continue on with the script. If the value is DT I want it to not run the rest of the script and go to :end
If this is possible can someone provide me with the commands to put at the top of the script with also the IF commands to continue or go to :endThanks for you reply but I'm still a little lost with the reply.
What is the rest of the commands?
I understand this will query the registry, but what about searching for "LT or DT" and the IF/GOTO Commands?
reg query HKEY_LOCAL_MACHINE\SOFTWARE\IS_DEPT\Simage\HW\Platform
I think my confusion is how to define LT or DT as the variable. I keep finding %errorlevel% variable, but that seems to only define on (1) or off (0)
Here's what I have so far and I dont' think it's correct.
reg query HKEY_LOCAL_MACHINE\SOFTWARE\IS_DEPT\Simage\HW\Platform /f
if "%ERRORLEVEL%" == "LT" GOTO HOME
if "%ERRORLEVEL%" == "DT" GOTO NOOOOPE -
Dear Experts,
I'm looking for a way to read the registry of my server once connected/at the connection step (trigger). This to be able to be re-directed to a given schema based on the value found in a specific key defined in the registry.
Regards,
GuillaumeBad idea IMO - you're putting in additional software layers at connection time which is totally outside of Oracle. More moving parts means an increase likelihood of failure, more difficulties in diagnosing runtime errors and bugs and so on.
Besides, surely Oracle related data should be in Oracle and not in the ugly and atrocious piece of utter smelly poo called the Windows Registry!? The registry is the single point of failure in Windows. All eggs in a single basket. It is also the biggest security hole. Whoever decided that the Registry was a good idea during the design of Windows-NT 3 had his head stuck up some dark orafice.
Also, you cannot "redirect" a logon to a different schema. The only thing you can do is to change scope (using ALTER SYSTEM SET CURRENT_SCHEMA).
That all said, I posted sample code from Tom Kyte (written back in 8i) that calls the GetPrivateProfileString API calls from PL/SQL at:
Access COM port using oracle.
The same concept can be used to read values from the Registry. -
To read the software's installed by reading the Registry
Hi ppl,
I want to write a pure JAVA program to know the softwares installed in a system. I know that i will have to read the registry and access the SOFTWARE under HKEY_LOCAL_MACHINE in the registry and will read the names under that node. I'm working in Windows-NT v4.0. I don't want to use JNI concepts. Can somebody help me on this?Since "the Registry" only exists on Windows, you are not asking about the pure Java "runs everywhere" environment. That's why you have to use JNI.
-
Remove Printer Name from Crystal Report
How can i remove the printer name from the Crystal Report so that the PrinterName property of the CRAXDRT.Report object in the RDC SDK is blank WITHOUT having the "No Printer" Option checkbox checked?
Here's the scenerio. When I first create a Report and don't go into Page Setup, PrinterName property is blank. If I go into Page Setup and explicitly select a printer, PrinterName property equals the name of the printer selected. If I check the "No Printer" checkbox in Page Setup, PrinterName property is blank. But if i go back in and uncheck the "No Printer" checkbox in Page Setup, the PrinterName property equals the name of my Windows Default Printer.I'm still not sure what is unclear about my first question. And I'm not sure how any of the info you are requesting is going to make any difference in answering my question. And I'm not sure how your analogy fits here but ..
Version of CR = 11.0.0.895
CR Service Packs applied = None
Web or Win app? = Win App
OS? = Windows XP Service Pack 3
Development language? = Both Visual Basic 6 and C#.Net 2008
Method of CR files deployment = email the .RPT file to a client
Where were the runtime files downloaded from? = Runtimes are installed from Merge Modules donwload from SAP site
What is the version of the craxdrt.dll on the deployed box? = 11.0.0.893
So here are the exact steps so you can understand what is going on:
I have the Crystal Reports Application open side-by-side with my Visual Basic development environment in debug mode so i can step through the code using the RDC SDK.
1. I open the Crystal Reports Application and create a brand new report - "Test.RPT" and DO NOT go into Page Setup at all and save the report.
2. In my Visual Basic development environment, i run the code that will generate the report, Here's the exact code
Dim m_crApp As CRAXDRT.Application
Dim m_crReport As CRAXDRT.Report
Set m_crApp = New CRAXDRT.Application
Set m_crReport = New CRAXDRT.Report
Set m_crReport = m_crApp.OpenReport("Test.RPT")
3. When i look at the PrinterName property in the CRAXDRT.Report object, it is blank.
ie. crReport.PrinterName is equal to ""
4. I reopen the Crystal Reports Application with report "Test.RPT" and go into Page Setup and check the "No Printer" option.
5. I go back into my Visual Basic development environment and rerun the code that will generate the report.
6. When i look at the PrinterName property in the CRAXDRT.Report object, it is still blank.
ie. crReport.PrinterName is equal to ""
7. I reopen the Crystal Reports Application with report "Test.RPT" and go into Page Setup and uncheck the "No Printer" option. I have NOT specified any printer, nor have i clicked the "Printer..." button to setup a printer....i have just unchecked the "No Printer" option
8. I go back into my Visual Basic development environment and rerun the code that will generate the report.
9. When i look at the PrinterName property in the CRAXDRT.Report object, it is now set to my WINDOWS DEFAULT PRINTER, yet i had not specified any printer.
ie. crReport.PrinterName is equal to "
MyNetwork\MyPrinter"
PROBLEMS:
1. The client needs the report to go to the default windows printer of their machine
2. If the "No Printer" Option is checked, the Report does not print at all
3. If the report is set to MY default windows printer and i give it to the client, at times it takes upwards of to a minute for the Print Dialog to disply. As i've read on other forum posts, it appears Crystal is looking for MY printer on the clients machine and takes a minute before i realizes it can't find it and then sets it to the CLIENTS default windows printer.
4. The client believes it is unreasonable to wait a minute for the print dialog to appear ...and i agree.
5. I cannot change the code to use the Select Printer in the RDC SDK - it's a long explanation why but just suffice it to say that i cannot do this.
All i want to do is either:
1. Remove the Printer Name in the actual report from the Crystal Reports designer - basically undoing what Crystal did when i went into Page Setup.
2. Via the RDC SDK, be able to detect the "No Printer" option is selected. Checkign CRAXDRT.PrinterName equal to "" is not an option. -
I am working on Forms 6i on windows2000 platform (I converted my forms from DEV2.1).
To read any entry from the registry, i use in DEV2.1 to use the WIN_API_ENVIRONMENT package.
But now it is giving me an internal error.
Even though I have copied the D2KWUTIL.pll from the Forms6i demos and compiled it, but the forms didn't work.
Any help?
and Thanks in advance
nullI'm working with this PLL in the same configuration as you and got no errors. Maybe you should copy the "D2KWUT60.DLL" into your working forms directory as well.
null -
Read and print PDF from content server
Hi,
I have a PDF document stored in the content server, I have a requirement to schedule a job to read the documents and print them. Is it possible to read and print them directly ?
Thanks in advanceGo Thru these links.
Hope it will help you.
http://help.sap.com/saphelp_nw04/helpdata/en/c8/4adf7ba13c4ac1b4600d4df15f8b84/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/37/47a2be350c4ac8afe36b691203971f/frameset.htm
Reward if help. -
Can't get Adobe Reader to print statement from Scottrade on-line
I have Vista 64 bit Home Premium , Adobe Reader 9, version 9.3. When online with Windows Internet Explorer at www.scottrade .com, I go to my account, account history, account statements and select January 2010 statement to view and a popup screen which should show my statement, but the screen is blank. This screen usually shows the selected statement in PDF and I can print it out. If I wait a minute or so a popup massage comes up that says: Adobe PDF Document. "There is a problem With Adobe Acrobat/Reader. Please exit Adobe Acrobat/Reader and try again." I exit try again and the same thing happens again. I have uninstalled/reinstalled Adobe Reader, restarted the computer and cannot get it to work. I did not have this problem several weeks ago.
I don't have the printing problem but I do have a very similar situation that I believe is a closely tied to your printing problem. I think the problem is in the way Internet Explorer or Win 7 processes the Adobe button action/script that calls for it to print or save the displayed PDF.
I have a problem with saving Adobe PDF files from inside Internet Explorer 8. I'm running Windows 7 Pro, IE 8, Adobe Reader 9.3, and Acrobat 9.3 Pro. Reader is my IE 8 Add-On. I can open the PDF file, click on "save a copy" either the icon button or go thru the File menu, but don't ever see the dialogue window that asks where I want to save it to, and of course the PDF file is not saved to my computer. I click and it just goes null. I've also tried the CTRL+Shift+S hotkey combo to no avail.
I once saw a dialogue window that popped up that alluded to "going outside the protected mode to save it" and did I want to continue. I've only seen that message window once and it was for just a split second.
I experimented with Protected Mode. I can open, read, and save the pdf file if I DISABLE Protected Mode. ENABLING Protected Mode to come back ON resets and reproduces the problem.
So, thinking it had to do with the Internet Security level, I cranked that setting down to the minimum but kept Protected Mode enabled. The problem was still there.
The workaround I use (until someone gives me a better fix) to get the "SAVE a copy to my computer or other location" button of the PDF to actually work is to:
Double-click Internet|Protected Mode: On at the bottom of the window or tab displaying the PDF file. This brings up the Internet Security settings panel.
Uncheck Enable Protected Mode. You are putting your computer at a bit of a risk... but you aren't going web surfing with Protected Mode turned Off. Do not leave the site where you turned it off.
Click Apply and OK. Close your browser window with the PDF and reopen it to the PDF you need to Save. If you are on a pop-up window or a second tab, you only have to close that one window or tab and reopen it.
You may have to log back on if you are working with an online statement of account.
Your browser should also show that it is "Internet | Protected Mode: Off". A yellow bar at the top of the page warns you the Protected Mode is turned Off.
Save the PDF as you've been doing all along until our software (Win 7 Pro U/G with IE8) started belching.
After saving, repeat steps 1, 2, and 3 above with rechecking Enable Protected Mode, setting it to On. Clicking the yellow bar at the top of your browser gets you right back into the security settings panel to reset the mode.
Close your browser and reopen it. Verify Protected Mode is reset to On.
It's risky to disable the Protected Mode, but if I need to save a copy of a pdf file, such as a statement of an online account, this is the only way I've discovered how to save a copy of it short of printing a hard copy, then scanning the hard copy to a pdf (a digital file) for storing/disseminating it. My workaround may also work for your printing needs. Try it once and don't forget to reset the Protected Mode back to On.
It's a nuisance, a real pain in the ol' sphincter, to have to do these steps but until Microsoft and Adobe have a meeting of minds and solve the problem... well, I gotta do what I gotta do.
I've only had Win 7 Pro for about a week. It was working great when I first upgraded from Win XP Pro (clean install) and a day or so ago without any significant changes or alterations on my part it just started acting up.
I posted this in Microsoft's Win 7 Forum as well so maybe one side or the other will fix it. -
How to Hide Acrobat Reader When Printing PDFs From Web App
We have a web application that prints pdfs. Here's the line of code that prints the pdfs:
win32api.ShellExecute(0, "print", filename, None, ".", 0)
When the pdf prints from our web application, Adobe Acrobat opens and we don't need it to open. Is there a way to get the pdf to print without Acrobat interupting the user?Use standard VB/Windows features to minimize the app.
-
To change the printer name while printing the invoice
Hi,
I have a requirement like if there is already an entry in NAST table with o/p type ZURD and printer name USJC-PM03,then an error message has to be displayed like 'This Output already printed in USJC-PM03,Change the printer name 'USJC-PM03' to 'LOCL' and then print' on the vf03 screen.
But even if I change the printer name from 'USJC-PM03' to 'LOCL',it is showing the same error message.This message should not be shown.
I have used the following code in the program.
lf_formname = tnapr-sform.
determine print data
PERFORM set_print_data_to_read USING lf_formname
CHANGING ls_print_data_to_read
cf_retcode.
IF cf_retcode = 0.
select print data
PERFORM get_data USING ls_print_data_to_read
CHANGING ls_addr_key
ls_dlv-land
ls_bil_invoice
cf_retcode.
ENDIF.
IF sy-tcode = C_VF03.
SELECT SINGLE * FROM tnapr WHERE kschl = 'ZURD'
AND nacha = 1
AND kappl = 'V3'.
SELECT count(*)
FROM NAST
INTO lv_count
WHERE objky = ls_bil_invoice-hd_gen-bil_number
AND kappl = c_v3
AND kschl = c_ZURD
AND ldest = c_PM03.
IF LV_COUNT GE 1.
Message e000(zup) with text-001 text-002 text-003.
ELSE.
determine smartform function module for invoice
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING formname = lf_formname
variant = ' '
direct_call = ' '
IMPORTING fm_name = lf_fm_name
EXCEPTIONS no_form = 1
no_function_module = 2
OTHERS = 3.
call smartform invoice
CALL FUNCTION lf_fm_name
EXPORTING
archive_index = toa_dara
archive_parameters = arc_params
control_parameters = ls_control_param
mail_appl_obj =
mail_recipient = ls_recipient
mail_sender = ls_sender
output_options = ls_composer_param
user_settings = space
is_bil_invoice = ls_bil_invoice
is_nast = nast
is_repeat = repeat
importing document_output_info =
*Uncomented the line to get the spool id or OTF formatted data -
*NY047532
IMPORTING
job_output_info = w_job
NY047532
job_output_options =
EXCEPTIONS formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
ENDIF.
ENDIF.
When should be done for the error message not to be shown when the printer name is 'LOCL'.Hi,
Here my requirement is first the user has to check the nast table if there is any entry with o/p type ZURD and printer 'USJC-PM03' .If there is an entry then an error message 'This Output already printed in USJC-PM03,Change the printer name 'USJC-PM03' to 'LOCL' and then print' has to be displayed.
Then if i close this popup window which is showing error message and change the printer name from 'USJC-PM03' to 'LOCL', and click on execute button,the printer name is not getting changed and still the error message is getting displayed.How to remove this error message? -
How to read the default value for a Registry Key
I am trying to use webutil 1.0.2 Client_win_api_environment.read_registry to read the client registry key HKEY_CLASSES_ROOT\.xls, but the function is raising no_data_found. I can read the registry key in Regedit. I am logged on as myself as a non-admin NT user.
P.S: The Client_win_api_environment.read_registry can actually read HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\FORMS90_PATH because FORMS90_PATH is a registry ENTRY, whereas .xls in HKEY_CLASSES_ROOT\.xls is a KEY, but I still need the DEFAULT value of the key and it does NOT seem to work with client_win_api_environment.read_registry
My platform: Windows NT 4, Developer 9i 9.0.2.12.2, Oracle database 9.2.0.4.0, Oracle 9iDS
Webutil.log
===========
192.168.0.99:Lewis: 2003-Dec-17 16:36:44.998 WUL[getProperty()] Getting property WUL_ADD_PARAMETER
192.168.0.99:Lewis: 2003-Dec-17 16:36:45.08 WUL[getProperty()] Value of WUL_ADD_PARAMETER=3
192.168.0.99:Lewis: 2003-Dec-17 16:36:45.08 WUL[setProperty()] Setting property WUL_PARAM_PROPERTIES to B|14|33|50|0|2000
192.168.0.99:Lewis: 2003-Dec-17 16:36:45.28 WUL[getProperty()] Getting property WUL_ADD_PARAMETER
192.168.0.99:Lewis: 2003-Dec-17 16:36:45.28 WUL[getProperty()] Value of WUL_ADD_PARAMETER=4
192.168.0.99:Lewis: 2003-Dec-17 16:36:45.38 WUL[setProperty()] Setting property WUL_PARAM_PROPERTIES to B|14|33|50|0|0
192.168.0.99:Lewis: 2003-Dec-17 16:36:45.48 WUL[getProperty()] Getting property WUL_ADD_PARAMETER
192.168.0.99:Lewis: 2003-Dec-17 16:36:45.48 WUL[getProperty()] Value of WUL_ADD_PARAMETER=5
192.168.0.99:Lewis: 2003-Dec-17 16:36:45.58 WUL[setProperty()] Setting property WUL_INVOKE_SPEC to 1|14|33
192.168.0.99:Lewis: 2003-Dec-17 16:36:45.68 WUL[getProperty()] Getting property WUL_INVOKE
192.168.0.99:Lewis: 2003-Dec-17 16:36:45.68 WUL[getProperty()] Value of WUL_INVOKE=-1
192.168.0.99:Lewis: 2003-Dec-17 16:36:45.78 WUL[setProperty()] Setting property WUL_PARAM_PROPERTIES to F|14|3
192.168.0.99:Lewis: 2003-Dec-17 16:36:45.88 WUL[getProperty()] Getting property WUL_PARAM_VALUE
192.168.0.99:Lewis: 2003-Dec-17 16:36:45.88 WUL[getProperty()] Value of WUL_PARAM_VALUE=
192.168.0.99:Lewis: 2003-Dec-17 16:36:45.98 WUL[setProperty()] Setting property WUL_DESTROY_PARAMLIST to 14
192.168.0.99:Lewis: 2003-Dec-17 16:36:45.98 WUL[VBeanCommon.eraseFromObjectCache()] Removed cache reference to Object 14
Lewis Choo Man
CMIC,
Canada.Hi Manohar,
You have to give Distribution Key "1" in the Plannner Profile as well as if you take a column for Distribution Key seperately in your Planning Layout for Cost Element Planning, in the Excel file, you can give Distribution Key as "1" in the respective column. When you upload the data through Excel, the system will take the DKey as "1" only.
I hope it will solve your problem. Pls revert back for further assistance..
Srikanth Munnaluri -
How to find logged in user from Windows Registry?
Hi,
am developing a windows store 8.1 app using C# and xaml.
In my app i want to find logged in user name from Windows Registry.
How can i get that from C# code?
Anybody please help me.
Regards,
Santhoshfrom aa store app you don't have access to the windows registry.
Microsoft Certified Solutions Developer - Windows Store Apps Using C# -
Adobe Reader 9 Print Freeze - includes Fix
Since installing Adobe Reader 9 on one computer, I cannot print a .pdf file from that computer.
The print process freezes at the small "Progress" pop-up (0 progress) - eventually freezing the computer altogether - forcing a computer reset.
Windows XP Pro SP3, network printers connected to another computer on a home network. Printers are an HP Laserjet and an HP Inkjet. Printer drivers are up to date.
- All other printing, with other file types, works fine from that computer.
- Prior to installing Reader 9, the 8 and 7 Reader versions printed fine from this computer.
- The same .pdf files print fine from another computer.
I've also tried uninstalling Reader 9, and reinstalling it; I also tried uninstalling Reader 9 and re-installing Reader 8, and even re-installing Reader 7. Whatever the problem, it has now disabled .pdf printing from any version of Adobe Reader on that computer, where it had previously worked.
Again, this ".pdf print freeze" problem is only on this computer, and only after installing Adobe Reader 9.
The fix:
Uninstall Adobe Reader 9. Restore computer to a date prior to installing Adobe 9. (Just unistalling didn't do it.)
Install prior version of Adobe Reader - 8.13 works here.
I can print .pdf files again.
I had one .pdf file that I had saved when I had Adobe Reader 9 installed, and still can't print that one.
I got tried of trying every other "Fix" I could find - none worked. The real fix would have been not installing Adobe Reader 9 in the first place, but maybe this will help someone.You may want to try the windows installer cleanup utility.
Download the utility http://support.microsoft.com/kb/290301
Maybe you are looking for
-
Periodically, something within Robohelp appears to get corrupt with a project. When that happens, the project compiles without any problems until you click Publish. At that point, a Webhelp dialog displays, saying "Publishing has been cancelled. Acce
-
Flash Video Encoder – execution fails
Hello all, if i want to start the flash video encoder i get this error message: "The licensing subsystem has failed catastrophically!". I try a Reinstalling but also it does not work! Can anyone help me? Greets timo
-
What is best place for EJB ?
Hi , I wonder what is best directory to keep EJBs - clientclasses or serverclasses.I saw in example that EJBs are in clientclasses, but I still feel that EJB in more on server side.What is the recommended practice ? Thanks & Regards, Paul [pkazakov.v
-
Condition type of a condition table
hi all, i have the condition table name, can someone plz tell which table will store its corresponding table type ? thanks
-
I am attempting to migrate my mail files from the mail program on my old iBook G4 to my new macbook and only 410 of my 5193 inbox messages come over. I have tried saving the inbox to another mailbox and the same ones come over. Is there a limit?? Can