How can i determine the specified VO is updated or not?
All
There are several VOs in my AM and the this.getDBTransaction().isDirty() method returns true once any of the vo changed but not commit. How can i figure out the specific vo to see if it is changed. i want to add customization logic for the specific vo in method beforeCommit() in AM.
Gerry,
There is no direct way of doing this for a VO.
For VO Rows, however, you can call getEntities() and loop through the returned entities calling getEntityState() on them.
John
Similar Messages
-
How can I determine the type of video out connector I need?
Howdy,
I have a white macbook purchased Jun/2008. I want to connect to a TV but don't know what adapter I need. How can I determine the type of video out jack my macbook has?
System Profiler says the model identifier is "MacBook 4,1". Under Graphics/Displays the only thing it says about the "Display Connector" is that no display is connected. Too bad it doesn't tell me what type of connector it is. If I knew the name of the connector I'd probably be home free. But it seems like every macbook model has a different video connector (since the state of the art has advanced over the years) and I haven't been able to keep up with the names.
Now, I have a 6" long adapter that will convert this connector to VGA. And searching the Apple store for VGA adapters, the existence of mine says my connector is might be one of "Mini DisplayPort", "Apple Mini DVI", "Apple DVI", or "Apple Micro-DVI". But then there is also the connector at
http://store.apple.com/us/product/M8639G/A?mco=MTY3ODQ5OTY
and that looks like the one I have. But unlike the other adapters, this one is just called a "VGA Display Adapter". Does the connector have a name? How can I find adapters that have that same connector?
I know I could use the adapter I have, plus a VGA to VGA cable, to hook up to a TV. But the quality of the VGA signal is poor in the digital world. My goal is to hook up to the TV via HDMI. Is this even possible? By which I mean, will my macbook generate the signals necessary to be able to be converted to HDMI?
Thanks for any help,
Zebulon TThanks, Ded,
You're right, the cable that I have won't work. I't from my previous, 2004 iBook. This is pretty embarrassing... I looked at the cable but didn't bother to try plugging it in.
Looking at the close-up picture of the Mini-DVI to VGA adapter, that does look like the right connector. So I have Mini-DVI, and the other apter you pointed to can convert this to DVI. I'll take a look to see what makes the most sense, connector wise, downstream from that.
Thanks very much.
Zeb T -
Hello,
I am at my wits end into this. Either I am doing it the wrong way or it is not possible.
Let me explain. I need a vb script for the following scenario:
1. The script is to run on multiple Windows 7 machines (32-Bit & 64-Bit alike).
2. These are shared workstation i.e. different users login to these machines from time to time.
3. The objective of this script is to traverse through each User Profile folder and get the size of the 'My Documents' folder within each User Profile folder. This information is to be written to a
.CSV file located at C:\Temp directory on the machine.
4. This script would be pushed to all workstations from SCCM. It would be configured to execute with
System Rights
I tried the script detailed at:
http://blogs.technet.com/b/heyscriptingguy/archive/2005/03/31/how-can-i-determine-the-size-of-the-my-documents-folder.aspx
Const MY_DOCUMENTS = &H5&
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objShell = CreateObject("Shell.Application")
Set objFolder = objShell.Namespace(MY_DOCUMENTS)
Set objFolderItem = objFolder.Self
strPath = objFolderItem.Path
Set objFolder = objFSO.GetFolder(strPath)
Wscript.Echo objFolder.Size
The Wscript.Echo objFolder.Size command in the script at the above mentioned link returned the value as
'0' (zero) for the current logged on user. Although the actual size was like 30 MB or so.
I then tried the script at:
http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/Q_27869829.html
This script returns the correct value but only for the current logged-on user.
Const blnShowErrors = False
' Set up filesystem object for usage
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objShell = CreateObject("WScript.Shell")
' Display desired folder sizes
Wscript.Echo "MyDocuments : " & FormatSize(FindFiles(objFSO.GetFolder(objShell.SpecialFolders("MyDocuments"))))
' Recursively tally the size of all files under a folder
' Protect against folders or files that are not accessible
Function FindFiles(objFolder)
On Error Resume Next
' List files
For Each objFile In objFolder.Files
On Error Resume Next
If Err.Number <> 0 Then ShowError "FindFiles:01", objFolder.Path
On Error Resume Next
FindFiles = FindFiles + objFile.Size
If Err.Number <> 0 Then ShowError "FindFiles:02", objFile.Path
Next
If Err.Number = 0 Then
' Recursively drill down into subfolder
For Each objSubFolder In objFolder.SubFolders
On Error Resume Next
If Err.Number <> 0 Then ShowError "FindFiles:04", objFolder.Path
FindFiles = FindFiles + FindFiles(objSubFolder)
If Err.Number <> 0 Then ShowError "FindFiles:05", objSubFolder.Path
Next
Else
ShowError "FindFiles:03", objFolder.Path
End If
End Function
' Function to format a number into typical size scales
Function FormatSize(iSize)
aLabel = Array("bytes", "KB", "MB", "GB", "TB")
For i = 0 to 4
If iSize > 1024 Then iSize = iSize / 1024 Else Exit For End If
Next
FormatSize = Round(iSize, 2) & " " & aLabel(i)
End Function
Sub ShowError(strLocation, strMessage)
If blnShowErrors Then
WScript.StdErr.WriteLine "==> ERROR at [" & strLocation & "]"
WScript.StdErr.WriteLine " Number:[" & Err.Number & "], Source:[" & Err.Source & "], Desc:[" & Err.Description & "]"
WScript.StdErr.WriteLine " " & strMessage
Err.Clear
End If
End Sub
The only part pending, is to achieve this for the 'My Documents' folder within each User Profile folder.
Is this possible?
Please help.Here are a bunch of scripts to get folder size under all circumstances. Take your pick.
https://gallery.technet.microsoft.com/scriptcenter/site/search?query=get%20folder%20size&f%5B0%5D.Value=get%20folder%20size&f%5B0%5D.Type=SearchText&ac=2
¯\_(ツ)_/¯ -
How can I determine the number and sizes of redologs?
Dear all,
How can I determine the number and sizes of redologs are sufficient to allow redo log switching while hot backup is in progress?
Please advice,
AmyTwo questions here - what the OP put as the subject title and what was asked in the thread, which are different questions.
I would interpret the question in the thread to mean "how to avoid hanging due to archiving waiting for a redo log group to become available." Alert log, wait events, and user complaints would be the source of information here. -
How can I determine the time zone the computer it set to?
How can I determine the time zone the computer it set to?
I am using Lab View 5.1.1Hi,
in the G-tools (http://www.geocities.com/gzou999/index.html ) you find two
time functions, "Get local time" and "get sys time". The difference between
them is the time zone.
Niko -
How can I determine the liquid level in a bottle (LabView Vision)?
How can I determine the liquid level in a bottle (LabView Vision)? Does anybody have an example code? The task is, that if liqid level is between two predetermined level, the program writes, that it is correct else it writes incorrect. Thank you.
here is a little play with your bad picture:
used only the small field of interest (here a guess) ,
used only the red channel ( takes out most of the light reflection)
grey scale, 3x(blurr, median filter) , played with contrast -gamma - saturation
now you need to add the edge detection and some sort of scale.
Greetings from Germany
Henrik
LV since v3.1
“ground” is a convenient fantasy
'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ' -
How can I determine the cipher bit strength used by MY os X?
How can I determine the cipher bit strength used by MY OS X? Using Lion now?
CT:
Not Filvault, but the regular cryptographic use as built into OS X. For example 1Password uses the algorithm in the OS X's Linux. How many bits (i.e. 50, 128, 256...) does it use and what algorithm (DES, AES...)
Linc
As per reply to CT?
Like so:
http://osxdaily.com/2012/01/30/encrypt-and-decrypt-files-with-openssl/
What is the strength used? -
How can I get the 2nd copy of my fiscal note? I live in Brazil and my iphone was bought in USA
How can I get the 2nd copy of my fiscal note? I live in Brazil and my iphone was bought in USA
What is a fiscal note? Contact the place where you bought your iPhone in the US.
Warranty is valid only in US. -
When I change a password, sometimes I get a pop-up asking if I want to save the new password - sometimes it doesn't appear.
How can I save the new password if popup does not appear?The website may be using autocomplete=off to prevent Firefox from saving the name and password.
You can remove autocomplete=off with a bookmarklet to make Firefox save the name and password.
*http://kb.mozillazine.org/User_name_and_password_not_remembered
*Saved Password Editor: https://addons.mozilla.org/firefox/addon/saved-password-editor/ -
How can I install the iMac Graphics Firmware Update 2.0, if the screen is white and I can't get to the Apple menu? My computer has 5 vertical purple lines against white screen at startup before the Apple logo appears and the spinning gear...then everything disappears and the screen hangs on the white screen. I have tried unplugging and removing all my peripherals and the COMMAND, OPTION, P & R set of keys and still nothing. I have tried COMMAND C to start up from cd and it only tells me to turn off the computer and turn it back on. I found information on Apple's Support pages regarding the iMac Graphics Firmware Update but I am unable to download and install if I can't get to the Apple menu. Can anyone help?
You may have hardware problem, I think a visit to your local Apple Store or AASP is in order.
-
How can I remove the repetitive multiple daily updates from Mozilla
Hello
How can I remove the repetitive multiple daily updates from Mozilla?
Within a day, each day I get prompts as: Mozilla Firefox Update is ready to install at your computer.........then I do install and update it.......then after few minutes again it asks to update the same edition.........again after logging in back few hours later it prompts me again with the same request........IT IS VERY ANNOYING!
Thank You,
Gene''the-edmeister [[#answer-683804|said]]''
<blockquote>
You could allow the update to proceed - that will stop Mozilla from asking if you want to update every time you launch Firefox, as is supposed to happen.
Any particular reason that you don't want Firefox 35.0.1 to be installed?
</blockquote>
Hi The EDmeister,
Thank you for your response.
Nevertheless, I have to repeat that I have ALREADY INSTALLED the Firefox 35.0.1 in my computer and ALLOWED IT TO PROCEED.
The same edition is prompting me back again, and again and again, within a day, each day. I get that annoying message at the top-right hand.
I do not want to see it every time, multiple times a day, that is the issue here, unresolved!
Best regards,
Gene -
How can i disable the 'top sites' cleaning history does not remove this and it is confusing and a risk to privacy.
It also serves no purpose as sites i want to keep are bookmarked
Is there an alternatively an addon for thisHi there - nope, this doesnt work either. the options available when I tap and hol are only OPEN IN NEW TAB, SHARE, ADD TO HOME SCREEN
wayne -
How can you determine the absolute path to a dynamically created NetStream object?
We are trying to implement video captioning with a freeware component, ccforflash. This requires us to provide an absolute or relative path to our NetStream object. How can we determine this path in Flash CS5 AS3?
From the CCforFlashCS5 documentation:
"2. Object name and path
Type the name and path. This is the instance name of the object with which CCforFlashAS3 will synchronize. It must be spelled correctly, since CCforFlashAS3 will query the object with this name for timing information in order to synchronize the captions. The path must also be included; either relative to the CCforFlashAS3 component (i.e. this.parent) or the absolute path from the main level of the movie (root)."It would be easier if the NetStream object was created on an easily identifiable place on the timeline. This player has an MVC architecture. The NetStream object is created in a subclass to Model class, which is itself a subclass of the EventDispatcher object. The View class access it via an interface.
As you can guess, it's not that straightforward to determine where the NetStream object is located on the timeline. This is compounded by the fact that the NetStream object does not have a name property.
I've tried methods like these, but they only work for the DisplayObject class:
public static function displayObjectPath( avDisplayObject : DisplayObject ) :String
var lvPath:String = "";
do
if( avDisplayObject.name ) {
// var obj_name:String = (avDisplayObject.name == 'root1') ? 'root' : avDisplayObject.name;
if (avDisplayObject.name != 'root1') {
lvPath = avDisplayObject.name
+ ( lvPath == "" ? "" : "." + lvPath );
} else {
trace("displayObjectPath() NO NAME avDisplayObject="+avDisplayObject);
} while( avDisplayObject = avDisplayObject.parent );
return lvPath;
} // displayObjectPath
private function showChildren(d:DisplayObjectContainer):void {
trace("showChildren()");
if (d.numChildren>0) {
for (var c:Number = 0; c < d.numChildren; c++) {
trace("showChildren c=",c," name=",d.getChildAt(c).name); -
VBS:How can i determine the last row of an excel-sheet
I want to replace the chn-comments of an datafile. I pick up the chn-names and want to compare them with an excel-file and so get from the excel-file the right chn-comment and store int back in the datafile. my problem is how can i determine where the excelfile-row is on the end to load the loopounter with corr values.
i know one solution via scan on ascii 13 and 9.but bether is to know immediately the length of the column.
answers also in german possible.Peter,
Are you using DIAdem's Excel Import Wizard? By "Excel file" do you mean a tab- or comma-delimited ASCII file that Excel can read in easily, or do you mean a file with the extension "*.xls"? You certainly could not search through an *.xls file to find CR/LF characters.
If you use the ASCII or Excel Import Wizard to create an *.STP file for the "Excel" file in question, then after the *.STP file is loaded you have access to a whole range of variables, starting with Ascii... or Excel... which completely outline the structure of the ASCII or Excel file, including things like the row in which the channel comments are, etc.
Why don't you send over your Excel file and I'll be able to help you a lot better.
Regards,
Brad Turpin
NI -
My teenage daughter and i share an apple id on both of our iphones (2 phones both are 5s) . She now has an ipad with a her own apple id. How can we change the apple id on her phone so that is the same as the ipad and not loose any contacts or songs?
Did you take a look at the new feature Apple - iOS 8 - Family Sharing ?
Apple - iCloud - Family Sharing
Up to now, songs bought from iTunes could only be played by the Apple ID that has been used to buy them.
If you set up Family Sharing, your daughter can also play your songs and use the same contact info as before.
If you don't want to do that, sync the contact info to the address book on your computer, and sync the info back, using iTunes:
Sync your iPhone, iPad and iPod with iTunes using USB
If the iPad already has her Apple ID and contact info on it, restore the phone from the latest iPad backup.
Maybe you are looking for
-
SharePoint 2010 web analytics not working
Hello guys -I have setup a sharepoint farm, 1 app, 2 wfe (windows server 2008 r2) and sql server 2008 r2 DB. All service applications are functioning except web analytics. I have deleted and recreated again but still have no effect. It is creating u
-
How do I remove my caller id from my samsung convoy phone so that the person I call does not see my name?
-
FCPX 10.0.1 Spinning wheel drives me crasy
My project-file is about 15 Mb. These are my iMacs specs: So this shoud'nt be to difficult for FCPX to work on, also, i work with 1080p proxy from an Canon 60D. BUT! when trying to work with my project(did i mention waveforms turned of) i get nowhere
-
Can I import binary in Flash CS5 and export swf, without AS code likes "Embed" ?
Can I import binary in Flash CS5 and export swf, without AS code likes "Embed" ? I know I can use AS code,likes "[Embed]" metadata to embed binary in swf. But , how can I do that in Flash CS5 ?
-
hello all! Where can I find the "unix-batch-report-generator"? I don't know how to call it, I'm talking about the utility that will allow me to generate reports under unix. by the way I'm on Oracle Dev 6i and 9i database. I'd like to know (can't find