Get window component id
hi..
i am trying to fetch the windows components id
from java..(as Testing tool do that)
so is it possible to fetch the native windows components id in java??
Thanks & Regards
fun_with_me
my plan is to render a specific menu depending on the user(session) and his roles (each menu is available for some of the roles). I don't feel like i wanna do for each menuitem a separate property(there are over 180 menus). Each menu is available for 5,6 roles, if the user has one of those roles i would like to render it. So i need to know witch menu so i can establish available roles for it and compare with the roles given to the user.
Similar Messages
-
MDT 2012 upd 1 and Windows / Component updates
I am trying to create a deployment for Win 7 x64 in MDT 2012, and it is going quite well. My problem is with the Windows Update passes -- for some reason it misses many Office and Component updates until I go to deploy. Then it takes another
hour to grab and install those. I don't understand why it does not grab them during the TS process.
I am doing a staged capture in a VM environment, starting with a zero-touch capture that includes Office 2010 and all the updates. This is my thin image and it takes about 5.5 hours through capture. Then I take this thin image, add standard apps
that cannot be silently installed, customize desktop options that cannot be easily automated (another huge pain, but another topic), and, I was hoping, install all the updates for Office 2010 and other non-OS components.
In the first TS, I run the updates pre-installation, use the TS step to install Office, and run them again post-installation. It does pick up a few, but then the logs say the system is fully updated and goes on to the next step.
In the second TS, I use the post-installation update step. One of the apps I use installs SQL components, and the TS picks up on this and installs several updates it finds. Then it decides the machine is up to date and moves on, skipping about
40 updates as of this writing.
As a test, I inserted a reboot step between app installation and the post-install Update step, but it still ignored the Office updates. Research on the issue turned up the idea that at some point ZTIWindowsUpdate turns on the extra updates, and also
several suggestions that this is how it is supposed to work (and why the standard TS is designed this way).
I rolled my VM back to the suspended point and I'm running WU manually at the console. I had to enable "Microsoft Update" manually, and now it is happily pulling down the updates. I just hope there's enough smarts left in the VM to
run to the task to completion.
I'm hoping that some whiz with the process can enlighten us on how to force ZTIWindowsUpdate to search for critical updates for all Microsoft components, not just the OS ones.
UPDATE:
Digging into the code and logs, it seems that a certain condition is not occurring to trigger the Microsoft Update service; bFoundMU must be true for this to happen. A ServiceID hard coded is not being matched--the reason escapes me. Near as
I can tell, after a magic reboot it finally finds a match for this ServiceID. Hopefully this snippet does not get munged...
On Error Resume Next
Item = oFSO.GetFileVersion ( ees("%SystemRoot%\System32\WUAUENG.DLL" ) )
oLogging.CreateEntry "Ready to Opt-In to Microsoft Update: WUA Version: " & Item , LogTypeInfo
Set ServiceManager = nothing
Set ServiceManager = CreateObject("Microsoft.Update.ServiceManager")
On Error Goto 0
If ServiceManager is nothing then
oLogging.CreateEntry "Failed to Create Object: Microsoft.Update.ServiceManager" , LogTypeWarning
Else
bFoundMU = False
For each Item in ServiceManager.Services
WScript.Echo "Registered Update Service: " & Item.ServiceID & " " & Item.Name
If Item.ServiceID = "7971f918-a847-4430-9279-4a52d1efe18d" then
bFoundMU = True
End if
Next
oLogging.CreateEntry "Microsoft Update Service: Enabled = " & bFoundMU, LogTypeInfo
If not bFoundMU then
On Error Resume Next
Err.clear
ServiceManager.ClientApplicationID = "My App"
If Err.Number <> 0 then
oLogging.CreateEntry "There was an error getting Windows Update to opt into Microsoft Update. Please verify you are running the latest version
of Windows Update Agent." , LogTypeWarning
End if
The logs look virtually identical between the two runs. This is getting way deeper than I understand the update process or about service IDs.
UPDATE 2:
Digging further, it seems that the the condition of bFoundMU has no bearing on whether or not MU is used, but possibly the existence of muauth.cab. From the deploy log where it actually started, bFoundMU is still false, but at that point the Office
updates started to come in:
<![LOG[Property MSIT_WU_Count is now = 1]LOG]!><time="11:05:32.000+000" date="04-24-2014" component="ZTIWindowsUpdate" context="" type="1" thread="" file="ZTIWindowsUpdate">
<![LOG[Configuring Windows Update settings (manual update, use server)]LOG]!><time="11:05:32.000+000" date="04-24-2014" component="ZTIWindowsUpdate" context="" type="1" thread="" file="ZTIWindowsUpdate">
<![LOG[Archive NoAUtoUpdate State: Was [<empty>].]LOG]!><time="11:05:32.000+000" date="04-24-2014" component="ZTIWindowsUpdate" context="" type="1" thread="" file="ZTIWindowsUpdate">
<![LOG[Property NoAutoUpdate_Previous is now = <empty>]LOG]!><time="11:05:32.000+000" date="04-24-2014" component="ZTIWindowsUpdate" context="" type="1" thread="" file="ZTIWindowsUpdate">
<![LOG[Windows Update Agent verion 6 found, OK to continue]LOG]!><time="11:05:34.000+000" date="04-24-2014" component="ZTIWindowsUpdate" context="" type="1" thread="" file="ZTIWindowsUpdate">
<![LOG[Ready to Opt-In to Microsoft Update: WUA Version: 7.5.7601.17514]LOG]!><time="11:05:34.000+000" date="04-24-2014" component="ZTIWindowsUpdate" context="" type="1" thread="" file="ZTIWindowsUpdate">
<![LOG[Microsoft Update Service: Enabled = False]LOG]!><time="11:05:34.000+000" date="04-24-2014" component="ZTIWindowsUpdate" context="" type="1" thread="" file="ZTIWindowsUpdate">
<![LOG[FindFile: The file muauth.cab could not be found in any standard locations.]LOG]!><time="11:05:34.000+000" date="04-24-2014" component="ZTIWindowsUpdate" context="" type="1"
thread="" file="ZTIWindowsUpdate">
<![LOG[ about to begin add service []]LOG]!><time="11:05:34.000+000" date="04-24-2014" component="ZTIWindowsUpdate" context="" type="1" thread="" file="ZTIWindowsUpdate">
<![LOG[ Status: 3]LOG]!><time="11:05:35.000+000" date="04-24-2014" component="ZTIWindowsUpdate" context="" type="1" thread="" file="ZTIWindowsUpdate">
<![LOG[Command Line Procesed Query=False Registered=False UpdateCommand=[IsInstalled = 0 and IsHidden = 0]]LOG]!><time="11:05:36.000+000" date="04-24-2014" component="ZTIWindowsUpdate" context="" type="1"
thread="" file="ZTIWindowsUpdate">
<![LOG[Start Search...]LOG]!><time="11:05:36.000+000" date="04-24-2014" component="ZTIWindowsUpdate" context="" type="1" thread="" file="ZTIWindowsUpdate">
__bunch of skipped updates__
<![LOG[ SKIP - 258b6ca1-a8ec-4dfa-b619-fb8cecac6e2e - Turkish Language Pack - Windows 7 Service Pack 1 for x64-based Systems (KB2483139) - 56 MB]LOG]!><time="11:14:02.000+000" date="04-24-2014" component="ZTIWindowsUpdate"
context="" type="1" thread="" file="ZTIWindowsUpdate">
<![LOG[INSTALL - 48f7e3b7-2c8f-4900-ae32-f3d8f29c988d - Microsoft SQL Server 2005 Express Edition Service Pack 4 (KB2463332) - 55 MB]LOG]!><time="11:14:02.000+000" date="04-24-2014" component="ZTIWindowsUpdate" context=""
type="1" thread="" file="ZTIWindowsUpdate">
<![LOG[INSTALL - d68e0cb2-9501-405e-af9c-156f352d6735 - Security Update for Microsoft Visual C++ 2010 Redistributable Package (KB2467173) - 8 MB]LOG]!><time="11:14:02.000+000" date="04-24-2014" component="ZTIWindowsUpdate"
context="" type="1" thread="" file="ZTIWindowsUpdate">
<![LOG[INSTALL - 719584bc-2208-4bc9-a650-d3d6347eb32e - Security Update for Microsoft Visual C++ 2010 Service Pack 1 Redistributable Package (KB2565063) - 9 MB]LOG]!><time="11:14:02.000+000" date="04-24-2014" component="ZTIWindowsUpdate"
context="" type="1" thread="" file="ZTIWindowsUpdate">
<![LOG[INSTALL - eb7a169f-6bca-4e00-a52a-623c063c162d - Update for Office File Validation 2010 (KB2553065), 32-bit Edition - 2 MB]LOG]!><time="11:14:02.000+000" date="04-24-2014" component="ZTIWindowsUpdate" context=""
type="1" thread="" file="ZTIWindowsUpdate">
<![LOG[INSTALL - f51a0e5b-24a9-4be1-8b36-0f22f99949e7 - Security Update for Microsoft SharePoint Workspace 2010 (KB2566445), 32-Bit Edition - 17 MB]LOG]!><time="11:14:02.000+000" date="04-24-2014" component="ZTIWindowsUpdate"
context="" type="1" thread="" file="ZTIWindowsUpdate">
<![LOG[INSTALL - 35eb79df-cb34-491c-ab0a-34b63f32b45c - Update for Microsoft Office 2010 (KB2553092), 32-Bit Edition - 9 KB]LOG]!><time="11:14:02.000+000" date="04-24-2014" component="ZTIWindowsUpdate" context=""
type="1" thread="" file="ZTIWindowsUpdate">
<![LOG[INSTALL - a6309b2e-7ee4-4b02-8ce9-cf39796a2411 - Update for Microsoft OneNote 2010 (KB2553290) 32-Bit Edition - 7 MB]LOG]!><time="11:14:02.000+000" date="04-24-2014" component="ZTIWindowsUpdate" context=""
type="1" thread="" file="ZTIWindowsUpdate">
<![LOG[INSTALL - f5202a56-ff34-401d-a040-f97c7f70891c - Update for Microsoft Office 2010 (KB2553310) 32-Bit Edition - 8 MB]LOG]!><time="11:14:02.000+000" date="04-24-2014" component="ZTIWindowsUpdate" context=""
type="1" thread="" file="ZTIWindowsUpdate">
<![LOG[INSTALL - 33a4aa0a-cb01-4326-85f4-4a7d33d8782b - Update for Microsoft Outlook Social Connector 2010 (KB2553406) 32-Bit Edition - 1 MB]LOG]!><time="11:14:02.000+000" date="04-24-2014" component="ZTIWindowsUpdate"
context="" type="1" thread="" file="ZTIWindowsUpdate">
<![LOG[INSTALL - aae5e2c7-3498-4f43-af66-aec06a59713f - Microsoft Silverlight (KB2636927) - 12 MB]LOG]!><time="11:14:02.000+000" date="04-24-2014" component="ZTIWindowsUpdate" context="" type="1"
thread="" file="ZTIWindowsUpdate">
<![LOG[INSTALL - c8077d6d-00c2-421b-89f6-30828574519a - Update for Microsoft Office 2010 (KB2767886) 32-Bit Edition - 271 KB]LOG]!><time="11:14:02.000+000" date="04-24-2014" component="ZTIWindowsUpdate" context=""
type="1" thread="" file="ZTIWindowsUpdate">
<![LOG[INSTALL - 9c5e43a3-3ae9-434d-b105-a9d7902d5f9f - Service Pack 2 for Microsoft Office 2010 (KB2687455) 32-Bit Edition - 395 MB]LOG]!><time="11:14:02.000+000" date="04-24-2014" component="ZTIWindowsUpdate" context=""
type="1" thread="" file="ZTIWindowsUpdate">
<![LOG[INSTALL - b8fcacb4-add0-4cc9-8551-675b59965798 - Update for Microsoft Office 2010 (KB2825640) 32-Bit Edition - 18 KB]LOG]!><time="11:14:02.000+000" date="04-24-2014" component="ZTIWindowsUpdate" context=""
type="1" thread="" file="ZTIWindowsUpdate">
<![LOG[INSTALL - 5923c276-0628-4ba4-be3d-e56aa029a14b - Security Update for Microsoft Office 2010 (KB2687423) 32-Bit Edition - 2 MB]LOG]!><time="11:14:02.000+000" date="04-24-2014" component="ZTIWindowsUpdate" context=""
type="1" thread="" file="ZTIWindowsUpdate">
<![LOG[INSTALL - 79b27019-3090-4309-bfdc-c8be9b21ab96 - Update for Microsoft Access 2010 (KB2553446) 32-Bit Edition - 7 MB]LOG]!><time="11:14:02.000+000" date="04-24-2014" component="ZTIWindowsUpdate" context=""
type="1" thread="" file="ZTIWindowsUpdate">
After the subsequent reboot, bFoundMU was set to true.Another detail I neglected to mention is that I am using two separate deployment shares, one for building the deploy image and the other for actual deployments. I think I found another clue in the log, muauth.cab:
<![LOG[FindFile: The file muauth.cab could not be found in any standard locations.]LOG]!><time="11:05:34.000+000" date="04-24-2014" component="ZTIWindowsUpdate" context="" type="1" thread="" file="ZTIWindowsUpdate">
<![LOG[ about to begin add service []]LOG]!><time="11:05:34.000+000" date="04-24-2014" component="ZTIWindowsUpdate" context="" type="1" thread="" file="ZTIWindowsUpdate">
The next stanza in ZTIWindowsUpdate.wsf is this:
If oEnvironment.Item("WsusServer") = "" then
iResult = oUtility.FindFile("muauth.cab", strCabPath)
If iResult <> Success then
'// "" will force a internet search for cab file
strCabPath = ""
End if
oLogging.CreateEntry " about to begin add service ["+ strCabPath +"]", LogTypeInfo
Set NewUpdateService = ServiceManager.AddService2("7971f918-a847-4430-9279-4a52d1efe18d",6,strCabPath)
oLogging.CreateEntry " Status: " & NewUpdateService.RegistrationState, LogTypeInfo
End if
Indeed, the muauth.cab file was present in my first one, but not the deployment one. As the log says, since there is no muauth.cab file, the code will then go download it.
I don't know how, when, or why this happened (why is it in my first DS and not my second?), but a simple test this evening will confirm my suspicion that if the file is not present it will update as expected. -
Loading Window Component with Button!
Hello! I found two tutorials that both contain pieces of what i am looking for but i cant seem to figure them out and get exactly what i want. Here is the first one:
http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveD ocs_Parts&file=00004289.html
In the first one, the general idea is what i am looking for. Except that i want to load a movieclip and not an image. My problem in this one is the button component that is used. I have no clue how to skin or customize the button, and i cant find a good tutorial to help me so i figured it might be easier to just change the actionscript for this. I want to be able to create my own button (instance button) and use that so that when people release that button, the movie clip pops up!
Now in this second tutorial that i found:
http://www.getw3help.com/2008/07/window-component.html
Its pretty much exactly what i want and it loads a movieclip. Problem is, when i add the code to a button, it doesnt work!
Can anyone help me? Hope i am clear in my explanation!
Thanks!Ok it sort of works... here is my code:
on (release) {
trace("button works");
win.title = "Yellow Birthday Package";
win.closeButton = true;
win.contentPath = "yellowPack";
win.setSize(550,500);
var listener:Object = new Object();
listener.click = function(){
win._visible = false;
win.addEventListener("click",listener);
It order to make it work, the window component has to be on the stage but i want it to popup only when the user clicks on the button. So the window should be hidden/invisible when the page first loads. I tried changing win._visible = true; but that did nothing.
The other problem is that the movie clip inside the window, isnt aligning center. i can only see a corner of the movie clip. in the top left. I havent tested the whole thing live though! -
Hi all,
I've got a problem with a Flash application I'm developing.
I'm creating an application with multiple nested screens, each of
these screens is a Window component. The problem that I'm having is
that if I move a Window by dragging it then set its "_visible"
property to false then set it back to true, any other components
inside it appear empty (for example text areas lose the text
within, data grids lose the data within etc), sometimes you'll also
get two copies of the Window!
It's really easy to recreate!
If anyone knows any way around this, I'd greatly appreciate
it...
Thanks,
Lee.Bump :-)
Anyone?
Thanks in advance!
Lee. -
How To Use a Custom Close Button In Window Component
Hello,
I have a window component, with the default close button
turned off, and a new custom close button added to the movie clip
that is displayed inside the window component. How do I get a click
on the close button to close the window?
This is the code I currently have to create the window (and
the listeners to close the window using the default close button):basicalyyou have to use
myWindow.deletePopUp();
if my memory serves the content mc is loaded into a mc called
contentHolder, inside the window component, so
if you are referencing the window from the scope of your
loaded mc it will be
this._parent._parent.deletePopUp();
or if from the button's scope
this._parent._parent._parent.deletePopUp();
try traceing the parantage down til you hit the window. -
Hi, I'v inserted a Window Component to my movie and got it
all to work perfectly. Now the problem I am having is that I want
to insert another windows component but it will not let me change
the Linkage Identifier...I can't even see the properties of the
component. Every time I dbl-click on it, it says; "Create an
instance of this SWF symbol and edit its properties using the
Parameters panel...".
Can anyne help me? What I want is to have different window
components in my movie that each get executed by the click of
corresponding button.
Thank youYou are seeing that alert when you double click on the
component in the Library. That is your "master" component. To set
or change the properties of a component instance by selecting the
instance on the stage and then opening the Parameters tab of the
Properties window.
If you want a second Window component in your movie, just
drag a new instance of the component from the Library window, give
it an instance name and set unique property values for that new
instance. -
Window Component, swf, and PHP
Hi everyone,
I have a simple mail form, which communicates with a PHP
script on the server. When I go to the swf directly it works just
fine. When I put it inside the window component it stops working. I
think it has something to do with how the data gets sent from the
window component.
Anybody have a suggestion what to do?
Thanks,
- JanThis is the AS that is used in the form. When I navigate to
the swf directly, it works like a charm. When I load the the swif
with the form into my popup window it stops working. It seems that
the actionscript goes through the motions but doesn't receive a
response from the server.
The setup is as follows: On the main timeline I have a
button, which opens the popup window, in which the
"contactform.swf" loads. The attached ActionScript is in the 1st
frame of the actions layer in contactfrom.swf
Any help is greatly appreciated.
- Jan
The swf can be viewed at
SWF
and to view the swf in the popup window goto
Click Button
at Top -
How to enable SCCM 2012 clients to get Windows Updates through SSL VPN
I would like my SCCM 2012 client laptops to get Windows Updates through SSL VPN.
I suppose I need to add VPN Subnet in my boundary and boundary group.
What other setting I need to enable?
At this moment, on the 'Software Update Point Component Properties' "Allow intranet-only client connections" radio button is active. Do I neeed to select "Allow both intranet and internet client connections" and Enable SSL communications
for the WSUS server?
or are there something else I need to check?No, a VPN client is no different than a client connected internally as far as the network is concerned and as far as ConfigMgr is concerned there is no way to explicitly know any different. Internet clients literally are those that connect via the Internet
using IBCM.
Jason | http://blog.configmgrftw.com -
Hpqdirec.exe has stopped working; "This program requires a missing Windows component"
Anytime I try to access the HP solution center I get a message pop-up. It is from Windows & says: "This program requires a missing Windows component. " "This program requires flash.ocx, which is no longer included in this version of Windows." How do i fix this????
Dear Customer,
Welcome and Thank you for posting your query on HP Support Forum
It looks like you are facing issues with regards to one of the Windows component which is missing
We will surely assist you with this issue
Please click on the below shown link to find the steps involved in resolving the issue
http://tinyurl.com/khb65xv
You can Check your warranty Here to verify the status if required
Hope this helps, for any further queries reply to the post and feel free to join us again
**Click the KUDOS star on left to say Thanks**
Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.
Thank You,
K N R K
Although I am an HP employee, I am speaking for myself and not for HP -
I have Point, how can I get the component of this Point?
Hi, everybody!
Can U help me!
I have 10 block in 1 applet. After 1 even, I kept the Point of the block, just made even. I want remove the block, which have the point. Then I use method getComponentAt() but I can't.
Anyone tell me the way to process.
Agains, I have the Point, how can I get the component of this Point?
Thanks so much!That makes no difference, as you can still use this method with AWT.
// parent is you main Frame or Dialog window.
Component parent;
// target is the AWT component that the user has clicked on.
Component target;
// "e" is is your click event.
MouseEvent e;
target = SwingUtilities.getDeepestComponentAt(parent, e.getX(), e.getY()); -
Alert on top of Window component
Hello my dear friends:
I Ihav a Window COmponent which I programmatically created on
stage.
When I hit the close button I manage to close the Window
component
But I actually need to caLL an Alert box to let the user
choose if he
wishes to close the Window.
I manage to call the Alert box but it appears behind the
Window .
Obviously I need it in front. Any help?
This is my code:
stop();
import mx.managers.PopUpManager;
import mx.containers.Window;
import mx.controls.Alert;
var mi_manejador = function (evta) {
if (evta.detail == Alert.OK) {
trace("La acción se ejecutó");
} else {
trace("La acción se canceló");
Alert.okLabel = "Si";
Alert.cancelLabel = "No";
var miAlerta = Alert.show("¿Deseas abandonar la
prueba?", "Alert",
Alert.OK | Alert.CANCEL, null,
mi_manejador, null, Alert.OK);
var ventanaa:MovieClip = PopUpManager.createPopUp(this,
Window, true,
{contentPath:"preguntas",closeButton:true, title:"Prueba
Corta 1"});
ventanaa.setSize(550,350);
ventanaa._x = 25;
ventanaa._y = 25;
var winListener:Object = new Object();
winListener.click = function() {
miAlerta();
ventanaa.addEventListener("click", winListener);
THANKS!!Notably, that you have a inner class referencing
image variables defined in the class it's nested in.Inner classes can access all members of the declaring class,
even private members. In fact, the inner class itself is said to be
a member of the class; therefore, following the rules of
object-oriented engineering, it should have access to all
members of the class.
The inner class does nothing to set it's own size,
, since as far as that JLabel instance knows, it
contains nothing.
But this is not corrected, it's
only relying on the BorderLayout to fill the frame
with the label.
While your sample works fine as is, it's not very
portable. As the OP posted after, he attempted to
use your code adding a JPanel in between the content
pane and the label, and it wouldn't work because of
the layout issues. To solve that, one might tend
towards defining a null layout and setting the bounds
explicitly, or one might add a setMinimumSize or
setPreferredSize call to get a size.
But that's adding more code to fix a problem that has
a much simpler solution. Which is to just give the
label the image directly, let the label size itself
automatically based on that image, let the label draw
the image itself and only override paint to get the
custom drawing done on top.
Myself, I understand what you were saying in your
code. But clearly the OP did not, and I suspect was
heading to starting patching what wasn't working by
applying more code when one could more cleanly use
less code and take advantage of what JLabel will
already do for you.Agreed. But this problem can also be easily solved with "setPreferredSize(new Dimension(200,200));" in the constructor of "Picture". -
HDD failure, I'd like to know how to get Windows 7 back on it.
Hello everyone, I've had a HDD issue lately, but before I move on to describe my issue, here are the specs of my notebook:
HP Pavilion dv6-3264ca
AMD Triple-Core CPU 2.2 Ghz
6GB RAM
128MB ATI Graphic Card
750GB Toshiba HDD
Windows 7 64-bit
The issue:
Recently I've had a very unfortunate HDD failure. The recovery partition wouldn't even load. I tried booting my notebook on Linux with the HDD still attached, and it wouldn't read. I extracted the HDD and placed it in an HDD-enclosuer and it still wouldn't load on Windows XP or Vista or 7. It would however read in the device manager of Windows and also in the BIOS.
I needed to extract some high-priority data from there so I managed to retrieve all my data safely through a data recovery service, but now the drive is rendered useless. I was told a low-level format might be able to help it be usable again, and if that were to happen, the recovery partition would then be removed in the process.
In addition to that, I would like to install Windows 7 64-bit onto the drive, but the notebook box did not come with an installation CD, which is quite frustrating. Is there any way HP can let me download Windows 7 through some warranty service?
I have a one-year warranty on my laptop.
So in closing, I would like to know if I can get Windows 7 back onto my HDD for free, or if I need to go about buying Windows 7 again.
Any advice from you kind folks?
This question was solved.
View Solution.Hi,
Here are Two options.
1. If you have ( or can borrow ) a retail Windows 7 installation disc that is exactly the same version as your OEM installation - ie if your notebook came with Windows 7 Home Premium 64bit this is the exact retail version you would need.
If you don't have access to a retail disc, you can create an installation disc yourself - just download the correct Disc Image from the link below and use an application such as ImgBurn to burn the ISO correctly to a blank DVD.
http://www.mydigitallife.info/download-windows-7-iso-official-32-bit-and-64-bit-direct-download-link...
Use the disc to perform the installation, enter the Windows activation key found on the underside of your notebook when requested and when the installation has completed, use the 'Phone Method' detailed in the link below to activate the OS - this method supported by Microsoft and is popular with people who just want a clean installation of Windows 7 without the additional software load normally bundled with OEM installations.
http://www.kodyaz.com/articles/how-to-activate-windows-7-by-phone.aspx
Any additional drivers you may need can be found Here.
2. You can order a replacement set of Recovery Discs using the link below - these cost around $30 if you live in the US.
http://h10025.www1.hp.com/ewfrf/wc/document?docname=c00810334&cc=us&lc=en&dlc=en
If you have any problem with this link, order them directly from HP.
If you live in the US, contact HP Here.
If you are in another part of the world, start Here.
Regards,
DP-K
****Click the White thumb to say thanks****
****Please mark Accept As Solution if it solves your problem****
****I don't work for HP****
Microsoft MVP - Windows Experience -
Getting Windows 7 on the Mid 2011 MacBook Air EASILY *TESTED*
Greetings!
As this is my first post, I wanted to make it count. Thus I have decided to compile a simple guide on EASILY getting Windows 7 installed on to your mid-2011 MacBook Air.
I have been following the many threads around here regarding the trouble people are having getting Windows 7 installed on to their Mid-2011 MacBook Air's. I have read complaints of Windows Support Software (drivers) downloads taking too long, of not being able to save the Windows Support Software correctly to a USB key, etc, etc.
The following process is relatively simple, but not as simple as it should be. I'm quite certain as Lion matures, some of the Bootcamp issues we have been having will be remediated.
This procedure has been tested on the following platform:
Mid-2011 11" MacBook Air ~ 1.6GHz i5, 4GB RAM, 128GB Flash (SSD) HDD
What's Wrong?:
1. On the MacBook Air platform specifically, users are expected to have a Windows 7 ISO before beginning. Some users have stated that this can be accomplished easily using the DISK UTILITY ISO CREATION FEATURE. THIS WILL NOT WORK. THE MOST IMPORTANT ASPECT OF PUTTING THE WINDOWS 7 ISO ONTO A USB KEY IS MAKING IT BOOTABLE! You need to make the USB key you're installing to bootable, plain and simple.
2. I tested the Windows Support Software drivers after downloading them and the Intel HD3000 GPU and Sound Drivers do not install properly.
3. Creating a Windows 7 Startup Disk through Bootcamp hangs.
What You'll Need:
1. A Windozzze box
2. A DVD-ROM Drive
3. Internet Access (for downloading a Win7 ISO in case you don't have a Win7 install DVD and other necessary utilities)
4. ISODisk - http://www.isodisk.com/ - 100% FREE
5. Windows 7 USB/DVD Download Tool - http://download.cnet.com/Windows-7-USB-DVD-Download-Tool/3000-18513_4-10972600.h tml- 100% FREE (you may also acquire this tool from Microshaft)
6. A little patience
7. A LEGAL Windows 7 license to activate Windows 7 after 30 days.
8. 2 FORMATTED USB DRIVES.
NOTE: Technically you only need 1 USB drive, however, you will need to get the Bootcamp drivers from OS X onto a USB key. To make this easy, the Windows 7 USB/DVD Download Tool will format one drive as an NTFS partition and the other drive should be formatted as a simple MS-FAT partition (can do this through DISK UTILITY, if you don't know how, Google it, very simple).
Let's Get'r Done:
1. Boot up your Windoze box.
2. Insert your Windows 7 Install DVD into your DVD-ROM.
3. (OPTIONAL) This step may be performed in lieu of step #2 if you don't have a Windows 7 Install DVD, download a Windows 7 ISO (don't download illegaly) from Microsoft. You may skip to step #6 if this is how you're to proceed.
4. Download and install ISODisk.
5. Create an ISO of your Windows 7 Install DVD - Select the DVD within the ISODisk app, choose a name and save location, create your ISO. *This takes a bit to complete*.
6. Download and install the Windows 7 USB/DVD Download Tool.
7. Open the Windows 7 USB/DVD Download Tool, ensure you have inserted the USB key you intend to use for Windoze 7, once the ISO has been created from step #5 or you already have one from step #2, select the USB button and create your USB/Windows 7 ISO Disk (all this does is place the necessary Windows 7 boot files on the USB key so that the Windows 7 ISO may be booted from the USB key).
8. Once complete, safely eject your Windows 7 USB key and move on over to your beautiful Mac. Place the Windows 7 USB Key aside for the time being.
9. Once booted, place the second USB key (the USB key you intend to use for your Bootcamp drivers) into your beautiful Mac. Ensure that it's formatted as MS-FAT, you can do this via DISK UTILITY, Google it if you don't know how.
10. Navigate to Mac HD --> Library --> Application Support --> Bootcamp --> Here you will find a BootCamp DMG file, this is a large file that contains the necessary Windoze 7 Drivers for the MacBook Air, DOUBLE-CLICK IT TO MOUNT IT, a FINDER window will appear revealing its contents. Perform a Shift-A to select all files, RIGHT-CLICK and select COPY.
11. DOUBLE-CLICK your MS-FAT USB key, PASTE the files from step #10 onto the drive. You now have your Windows 7 Driver disk. Place the Bootcamp Drivers USB Key aside for the time being.
12. Open the BOOTCAMP ASSISTANT, this is located in your Mac HD --> Applications --> Utilties Folder.
13. IMPORTANT!!!
Uncheck "CREATE A WINDOWS 7 INSTALL DISK"
Uncheck "DOWNLOAD THE LATEST WINDOWS SUPPORT SOFTWARE FROM APPLE" - At least for now to get you up and running.
14. Ensure that "INSTALL WINDOWS 7" is SELECTED and click continue.
15. Insert your Windows 7 ISO USB Key into your beautiful Mac.
16. Partition your drive accordingly, create the Windows 7 partition (the Windows 7 USB Key needs to be in the Air for this).
17. As soon as the partition is created, your air WILL REBOOT, the Windows 7 install will begin.
18. You will be prompted that the BOOTCAMP parition is not NTFS and needs to be in order to install Windows 7, THIS IS FINE.
19. Click FORMAT, the BOOTCAMP partition will be formatted as NTFS. Select the same partition number and continue. NOTE: The Windows install IS VERY fast on your beautiful SSD equipped Mac.
20. Once the installation completes, insert your USB Bootcamp key.
21. Navigate to the Setup.exe file on the key and double-click.
22. Sitback and let the Bootcamp drivers load. Windows 7 will reboot.
23. Install your Windows updates and reboot.
24. Reboot again and HOLD THE OPTION KEY, this will allow you to get back into your Mac.
25. Once in OS X, click settings and STARTUP DISK, select OS X (unless you want to mainly run Windoze).
26. Finished.
Please let me know if you should have any questions.
You should now have a fully functioning Windows 7 Bootcamp install with all drivers properly installed. You can check this by navigating to Device Manager within Windows and ensuring that you have no yellow exclamation marks.Sorry, must have been the crackpipe I smoked last night! LOL
You won't see anything in the Application Support --> Bootcamp folder unless you have previously downloaded the Windows Support Software. Good find.
ADDENDUM STEP:
This step should be placed between 9-10.
Open Bootcamp Assistant. Uncheck everything BUT, "DOWNLOAD THE LATEST WINDOWS SUPPORT SOFTWARE FROM APPLE". You will be prompted to burn the image to a CD/DVD or save to a USB Key. Save the image to a USB key. This will format your USB key properly in preparation for the files. The download commences and if you're lucky, the files will simply be saved to your USB key without having to manually copy them over to the key using the steps above.
IMPORTANT - Even if the support software hangs when its being saved to the USB key, you should now be able to navigate to the directory and see the image. Follow the steps above.
Apologies for missing this.
Best,
WBN -
How can i get a component from frame?
how can i get a JTextField component from the frame?
in my program i use button and text fields, when button is pressed the action listener performs the needed actions: it must take the values in the text fields and do something with them,
for example i have a button - view:
look at the comments
public class _ActionListener_search implements ActionListener {
private JFrame frame;
private database dtbs;
public _ActionListener_search(JFrame frame, database dtbs) {
this.frame = frame;
this.dtbs = dtbs;
@Override
public void actionPerformed(ActionEvent arg0) {
if (arg0.getActionCommand().equals("view_person"))
//HERE i want to get values from text fields!
//i need to get JTextField component from frame and use it
view.addActionListener(new _ActionListener_search(frame, dtbs));how can i do it?
is this a correct way?Encephalopathic wrote:
If you know that you're going to need the data held in them why not give the class that holds them a public method that returns the Strings that they hold.
public String getTextFieldXyzText()
return textFieldXyz.getText();
}Then if your actionlistener has a reference to this class's object, it can simply call the above method.That's what I was thinking. The view has a method getXyzText() and the listener (or some larger, enclosing controller) knows the view.
What I would get away from is a single, switch-board listener hooked to a 100 unrelated buttons. -
Problem loading window component more than once
I have a swf with a button that opens a window component
(from my library). it loads fine and also closes fine when I click
the close button in the window. but when I try to open the window
again, it actually loads again, but it stalls and locks up
immediatley. can anybody tell me what is wrong with my code? I also
was going to have different buttons to open different windows (each
swf playing a song and has written lyrics). it does the same thing
when i load the first window, close it, then try to open a second
window. it stalls and locks up.
please, I really need some help!Ok it sort of works... here is my code:
on (release) {
trace("button works");
win.title = "Yellow Birthday Package";
win.closeButton = true;
win.contentPath = "yellowPack";
win.setSize(550,500);
var listener:Object = new Object();
listener.click = function(){
win._visible = false;
win.addEventListener("click",listener);
It order to make it work, the window component has to be on the stage but i want it to popup only when the user clicks on the button. So the window should be hidden/invisible when the page first loads. I tried changing win._visible = true; but that did nothing.
The other problem is that the movie clip inside the window, isnt aligning center. i can only see a corner of the movie clip. in the top left. I havent tested the whole thing live though!
Maybe you are looking for
-
In BAPI_ACC_DOCUMENT_POST usage of function Calc. Tax automatically
Hi All, I am using the BAPI '<b>BAPI_ACC_DOCUMENT_POST'</b> to post FI documents. I want to use the functionality 'Calculate Tax automatically' Field [BKPF-XMWST]. Is there any way to mention this in BAPI. Please provide me you
-
Mac Book Pro reports communication failure between computer and CD-DVD player OX 80020022
I am using a 3 year old Mac Book Pro and I am unable to burn CD's or DVD's. I am getting an error message - OX 800 200 22 with a "communication between computer and disc drive failed". Any good remedies? Thanks, deagleson
-
Design document and flow chart ofr procedures
for every pdocedure and fumctions we have to maintain design document and flow chart for taht procedure. i need one sample design document and flow chart
-
Hi All, I have achieved the pagination using the below link. http://codeplay.net/2011/04/21/simple-adf-traditional-pagination-2-with-business-component/ but when i select any row of the table facing the following exception "cannot cast from java.lang
-
Flash Player not working after downloading new version
I downloaded Flash Player 10 and it does not work.I am using Windows XP and Internet Explorer. I have tried the trouble shooting. I have made sure its enabled under Active X and it does not work at all now. I have tried to download Flash Player 9 and