Progressbar - how to load an undeterminated task in determinated way
i have an issue using a determinate progress bar to load an indeterminate task. I just can't figure it out . . how am i going to know how long will it takes. . ex: ( loader , GUI ) < my loader class will load my GUI class at the same time my loader class will put my progress bar in progress. this is needed to show my client that this application is still working ( it load some stuffs .. ) . lets just say that my progress bar's length is 10 , my task is five then .. when my task stop . it'll show 5 as a completed task. not 10 .. so can you help me guys ? i have used several methods but still. it's not working. .
Sorry, this is more a design critique than a solution... Why not just get rid of the progress bar, and replace it with a simple animation that does NOT attempt to inform the user how long the GUI is expected to take to load (which is irrelevant to a user who really has no option but to wait for it... assuming that we're not talking minutes in which case a progress % and ETA allows the user to make the decision to go away and make a cup of coffee, instead of just sitting there fuming at the incompetence of those damn java monkeys... but I digress)... it just reassures them that the little man in the box is still doing his stuff.
Similar Messages
-
How to load flatfiles using Owb?
Hai all,
I would like to access a flat file (.csv files) using owb. I am able to import the files into source module of owb. But while executing the mapping , I got the following error...
Starting Execution MAP_CSV_OWB
Starting Task MAP_CSV_OWB
SQL*Loader: Release 10.1.0.2.0 - Production on Fri Aug 11 16:34:22 2006
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Control File: C:\OWBTraining\owb\temp\MAP_CSV_OWB.ctl
Character Set WE8MSWIN1252 specified for all input.
Data File: \\01hw075862\owbfiles\employee.csv
File processing option string: "STR X'0A'"
Bad File: C:\OWBTraining\owb\temp\employee.bad
Discard File: none specified
(Allow all discards)
Number to load: ALL
Number to skip: 0
Errors allowed: 50
Bind array: 200 rows, maximum of 50000 bytes
Continuation: none specified
Path used: Conventional
Table "OWNER_STG"."EMP_EXCEL", loaded from every logical record.
Insert option in effect for this table: APPEND
Column Name Position Len Term Encl Datatype
"EMPNO" 1 * , CHARACTER
"EMPNAME" NEXT * , CHARACTER
value used for ROWS parameter changed from 200 to 96
SQL*Loader-500: Unable to open file (\\01hw075862\owbfiles\employee.csv)
SQL*Loader-553: file not found
SQL*Loader-509: System error: The system cannot find the file specified.
SQL*Loader-2026: the load was aborted because SQL Loader cannot continue.
Table "OWNER_STG"."EMP_EXCEL":
0 Rows successfully loaded.
0 Rows not loaded due to data errors.
0 Rows not loaded because all WHEN clauses were failed.
0 Rows not loaded because all fields were null.
Space allocated for bind array: 49536 bytes(96 rows)
Read buffer bytes: 65536
Total logical records skipped: 0
Total logical records read: 0
Total logical records rejected: 0
Total logical records discarded: 0
Run began on Fri Aug 11 16:34:22 2006
Run ended on Fri Aug 11 16:34:22 2006
Elapsed time was: 00:00:00.09
CPU time was: 00:00:00.03
RPE-01013: SQL Loader reported error condition, number 1.
Completing Task MAP_CSV_OWB
Completing Execution MAP_CSV_OWB
could you please help me..
thanks and regards
gowtham sen.Thank you my friends.
As you said, I gave the file name as wrong.
Its solved. Thank you....
I have another probem.
How to load data from excel file to owb? Is it possible the way we do for flat files?
I did using ODBC + HS Services.
But after creating a mapping , and its deploying I got the following error.
"error occurred when looking up remote object <unspecified>.EmployeeRange@EXCEL_SID.US.ORACLE.COM@DEST_LOCATION_EXCEL_SOURCE_LOC
ORA-00604: error occurred at recursive SQL level 1
ORA-02019: connection description for remote database not found
Could you please help me..
Thanks and regards
Gowtham -
Hello
I am doing my project in LabVIEW that is VIRTUAL TELEPHONE COMMUNICATION SYSTEM
AND APPLICATION OF LABVIEW IN ADVANCE COMMUNICATION TECHNIQUES.I have implemented every block till date but for the rest part of my project that is advance communication techniques i need vi for QPSK,TDM,FDM,ASK and I just wanted to know how to load .wav file in LabVIEW
Please assist me for this
Attachments:
Telephone communication process.docx 25 KBHi Dilpreet,
reading wav files is easy using the functions from the sounds palette...
For your other tasks you could use a seperate toolkit or do some programming on your own!
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome -
How to load from multiple sources to multiple destination dynamically
I have more than hundred tables in a different server (lets say on a sql server 1). I have to perform load,by getting change records copy of those hundred tables with the some condition in to sql server 2 destination. I know how to perform data
flow task in SSIS to extract data from a source and load it in a destination. With more than hundred tables, I would need to create more than hundred data flow tasks which is very time consuming. So I have heard about from source to destination dynamically
by looping through and creating variables. Now, how do I do this? Remeber, those hundred tables do having similar column names in both soruce and destination server. How can I perform this initial load faster without using multiple data flow task in SSIS.
Please, help! Thank you!Ok , if the schema of both the source and destination is same , you can just perform an import and export tool and then it can be saved as an SSIS package. If this needs to be separately developed in an SSIS package, the logic can be :
1 - Get the list of tables using sysobjects or metadata table where all the table list is maintained.
2 - Loop through those tables using for each loop.
3 - Inside the for each loop , use a script to access the source connection ( OLEDB source table name) and the destination connection (OLEDB destination table name).
4 - Assign the source table connectoin dynamically to the variable fecthed from for each loop above.
5 - You can also use expressions for the OLEDB source table name and OLEDB destination name inside the data flow task.
6 - At the end the data flow task which is explained above will be used.
Script task and the data flow task will be used inside the for each loop , above which all the objects list will be fetched using execute sql task using a SELECT and assigned to Object variable.
Simplest will be Import and Export.
Happy to help! Thanks. Regards and good Wishes, Deepak. http://deepaksqlmsbusinessintelligence.blogspot.com/ -
Hello Guys,
I am using LSMW for loading funtional locational task list. Since I have only one operation, I prefer LSMW and also maintain the seprate file for loading the frequencies for maintenance plan as well. I have a situtation as,
Floc A - 1M - Strategy A
Floc A - 1W - Strategy B
Floc A - 1M - Strategy A
Now, my plan is to load the task list first and once I get the task list group number, I will load the frequency on it. Since it has the same repetitive floc , I should have 3 different rows in my task list load file as I wanted to have three different task list numbers since I got different frequencies. But if I start loading in system, it throws the error message as soon as the first task list has been loaded. I understand this is correct because I already created the task list once in the system.
So how do I acheieve the other two lines in the system ? I really dont want to go with increasing counters as it will have the same group number with different frequencies.
Pls help
MaheeHello,
I think you can not go ahead with having same Counter Number for One Group.If you are creating the FL task list it will create the Unique Group Number.after theat If you try to create the FL task List for Same FL it will suggest you the New Counter Number with Same Group Number its standard.So I think so You can create the FL task list with one Group Number and Only one counter number once that FL already have Task list booked under that number.Also process point of view it is confusing having single FL task List with same identical data with more that one in quantity so how you and system identyfies the which of the FL task list is used if all FL task List having same Identification.Thats why counter is necessary.
Regards,
Rakesh -
Loading programmers dvorak in initramfs with busybox.
Solution:
Download the keyboard map. Other keyboard maps you can usually find in "/usr/share/kbd/keymaps/"
wget https://raw.githubusercontent.com/jiangmiao/dvp/master/dvp.map
Now convert that map to the binary format that can be used with `loadkmap`. Make sure you run it with privileges, otherwise you'll get the "Couldn't get a file descriptor referring to the console" error
sudo loadkeys -b dvp.map > dvp.bmap
Now you can load that map in initramfs using `loadkmap`. I have a custom initramfs and init and here is the excerpt from it
#!/usr/bin/ash
echo "Starting the init script"
#mount things needed by this script
mount -t proc proc /proc
mount -t sysfs sysfs /sys
# and so on
echo "creating the symlinks to busybox"
/bin/busybox --install -s
echo "loading programmers dvorak"
loadkmap < dvp.bmap
Problem
I have a custom initramfs with Busybox in it. I want to load another keymap in there. Busybox has `loadkmap` utility, unfortunately it expects a binary file, so .map files don't fit in there. The goal is to load programmer's dvorak in busybox, but the problem is generic, because any ANSI .map format will not work with `loadkmap`.
The map for dvp is here: https://github.com/jiangmiao/dvp
Here it was talked about, but unfortunately the patch link is dead: http://mstempin.free.fr/index.php?2005/ … ry-keymaps
How to load a keymap in initramfs with busybox?
FTR, here is the quote from that blog post
Unfortunately, This is not a trivial task in Busybox, as it uses a special binary keymap file format for specifying the keymap to use.
The standard Linux way of handling keymaps is using the kbd utility package. This package contains most of the worldwide keyboard definitions in a keymap format. The two most usefull commands are the loadkeys and dumpkeys, which respectively loads an ASCII keymap file into the kernel's internal translation table and dumps this table to the standard output.
Unfortunately, the keymaps file format (see Linux manual (5) for keymaps) is difficult to parse ,as it requires a full lex/yacc parser to handle it :-(.
However, such a parser is included into loadkeys... And this utility also provides a -m option that generates a C-style output of the file...
After studying Busybox's binary keymap format in details, it appears to be no more than just a file dump of all key translation tables for each state (ie. plain, shifted, controlled, etc.), preceeded by a binary map of translation tables.
So, I decided to write a patch to the kbd package to add a -b option that provides a binary keymap dump capability to loadkeys. Here it is!
Last edited by SteveSapolsky (2014-12-19 12:39:13)progandy wrote:
In archlinux loadkeys from core/kbd should allow you to generate a binary keymap.
loadkeys -b /your/key.map > key.bmap
Thank you. I updated my post and added the solution. -
How to load .cap on a smart card
Hi everybody!
I am very confused with java cards. I wrote an applet for java card. Tried it in Eclipse+JCWDE. Send some APDUs to it with apdutool.bat. Works fine!
However, I want to go further and try it on a real smart card. The only problem is I do not know how to load .cap file onto my card. I tried to find some forums, references or something like that, but all I found was "I tried to load, but get error" or something like that.
I use JCOP tool for Eclipse (if that to any help)
Can someone explaine to me how loading works in princip? Is their any classes that can be used to simplify the task?
Any help is appreciated
/LYes, of course. Absolutely normal .zip file.
I can print the content of file load.jcsh here:
# /set-var path d:/Wi-Fi/javacard/download/eappsk32k
#Switch trace mode on and connect to a PC/SC smart card reader
/mode trace=on
/terminal
#Reset the card (request ATR) and select the CardManager
/card
#Set the keys in key set 255 of the JCShell for authentication later on
set-key 255/1/DES-ECB/404142434445464748494A4B4C4D4E4F
set-key 255/2/DES-ECB/404142434445464748494A4B4C4D4E4F
set-key 255/3/DES-ECB/404142434445464748494A4B4C4D4E4F
#Begin authentication using the appropriate key set
init-update 255
#Complete authentication
ext-auth
#Display the card registry to check if the applet is loaded and installed
card-info
#delete 11223344556601
#delete 112233445566
card-info
#Upload the package holding the applet
upload ${path}openeapsmartcard.cap
#Install the applet in the package
install 112233445566 11223344556601
#Display the card registry to check if the applet is loaded and installed
card-info You should make some substitutes for your project. -
How to load equity pickup table?
I am considering using the Sub Equity Pickup() routine, but cannot find any information on how to load the owner, owned, % EPU details? Any help or sample file is appreciated.
There are several different ways...for our setup, we have chosen to utilize the following format (and create the output dat file via an excel macro). In this sample EntityA owns 75% of EntityB. EntityC owns 25% of EntityB. EntityC owns 100% of EntityD. The rule sub is listed below as well. We put the pickup in stat accounts (EPU_**) and are very please with how it works.
!SCENARIO=Actual
!YEAR=2009
!PERIOD=Dec
!VIEW=YTD
!DATA
'Shares
EntityB;[None];[SharesOwned];EntityA;[None];[None];[None];[None];75
EntityB;[None];[SharesOutstanding];[ICP None];[None];[None];[None];[None];100
EntityB;[None];[SharesOwned];EntityC;[None];[None];[None];[None];25
EntityB;[None];[SharesOutstanding];[ICP None];[None];[None];[None];[None];100
EntityD;[None];[SharesOwned];EntityC;[None];[None];[None];[None];100
EntityD;[None];[SharesOutstanding];[ICP None];[None];[None];[None];[None];100
Sub EquityPickUp()
Owner = Hs.Entity.Owner
Owned = Hs.Entity.Owned
lPown = Hs.GetCell("E#" & Owned & ".I#" & Owner & ".V#[None].A#[Shares%Owned].C1#[None].C2#[None].C3#[None].C4#[None]")
OwnerDefCurr = HS.Entity.DefCurrency("")
Factor = lPown /100
Hs.Clear "A#EPU_EqAffIncExp.I#" & Owned
Hs.Clear "A#EPU_InvEqAff.I#" & Owned
NIAT = Hs.GetCell("E#" & Owned & ".A#NIAT.I#[ICP Top].C1#TotalC1.C2#TotalC2.C3#TotalC3.C4#TotalC4.V#" & OwnerDefCurr & " Total")
EPU_EqAffIncExp = Hs.GetCell("E#" & Owned & ".A#EPU_EqAffIncExp.I#[ICP Top].C1#TotalC1.C2#TotalC2.C3#TotalC3.C4#TotalC4.V#" & OwnerDefCurr & " Total")
Hs.Exp "A#EPU_EqAffIncExp.C1#[None].C2#[None].C3#[None].C4#[None].I#" & Owned & " = " & (NIAT + EPU_EqAffIncExp) * Factor
RetEarnings = Hs.GetCell("E#" & Owned & ".A#RetEarnings.I#[ICP Top].C1#TotalC1.C2#TotalC2.C3#TotalC3.C4#TotalC4.V#" & OwnerDefCurr & " Total")
EPU_InvEqAff = Hs.GetCell("E#" & Owned & ".A#EPU_InvEqAff.I#[ICP Top].C1#TotalC1.C2#TotalC2.C3#TotalC3.C4#TotalC4.V#" & OwnerDefCurr & " Total")
Hs.Exp "A#EPU_InvEqAff.C1#[None].C2#[None].C3#[None].C4#[None].I#" & Owned & " = " & (RetEarnings + EPU_InvEqAff) * Factor
End SubNote: SharesOwned/Outstanding need to be loaded as Ownerships. You'll then be able to view them in Tasks > Data Tasks > Manage Equity Pickup
Edited by: Henson12 on Sep 8, 2010 4:12 PM -
How to load a Jar file in the class path?
How to load a Jar file which contains class files, images, etc.. in the classpath without using URLClassLoader.
You don't "load" jars. If it's on the classpath, you can obtain individual resources from it using various methods on either Class or ClassLoader. Do you mean "how to add a jar to the classpath at runtime"? Can't be done without using a classloader, typically URLClassLoader or a subclass thereof. Why you want to not use the proven method is beyond me. Presumably because you don't understand classloading. In which case, forget it.
-
How to load a client file in a clob using sqlcl
How to load a client file in a clob using sqlcl
You don't "load" jars. If it's on the classpath, you can obtain individual resources from it using various methods on either Class or ClassLoader. Do you mean "how to add a jar to the classpath at runtime"? Can't be done without using a classloader, typically URLClassLoader or a subclass thereof. Why you want to not use the proven method is beyond me. Presumably because you don't understand classloading. In which case, forget it.
-
How to load data to a cube from multiple infosources ?
Hi friends,
How to load data to a cube from multiple infosources ? could u please answer this question .
thanks in advance......Hi ,
say for example you need to load data to 1 cube from 3 info sources:
1) You need to create 3 update rules for the Cube.
2) Each time you create the update rules. Mention the name the name of the Info source. and create update rules correspondingly.
Regards
satish
Message was edited by:
satish murthy -
Hi :
How to load beginning balance to repective g/l account in SAP?If you want to load balances at the time of go live.
Create a clearing account like data take over A/c
MM will upload material balances using tcode MB1C and movement type 561
it will generate the following accounting entry
Finished goods stock a/c Debit
Semi-Finished goods stock a/c Debit
Raw Material stock a/c Debit
Packing Material stock a/c Debit
Stores and spares a/c Debit
Data take over Credit
Customer a/c (not recon G/l) Debit
Data takeover a/c Credit
Data takeover a/c Debit
Vendor a/c (not recon GL) Credit
For Asset - tcode OASV
Plant and Machinery a/c Dr
Accumulated depreciation a/c Credit
Data takeover a/c Credit
Cash balance through FBCJ
G/L Tcode F-02,
Data takeover a/c Debit (Balancing figure)
Bank a/c Debit
Advances Debit
Share capital a/c Credit
Short term Loan a/c Credit
Long term loan a/c Credit -
How to create a custom task in SRM for the standard task
Hi Gurus,
How to create a custom task in SRM for the standard task eg: TS10407929
regards,
George.from PFTC itself. Same.
-
How to load a selective request from PSA to DSO using DTP?
Hi Gurus,
The PSA is having 3 requests, how to load the request number 2 from psa to DSO using DTP?
Thanks
SDP
Edited by: SDPSAP on Nov 15, 2011 7:58 PMLet us say that requests are 1,2 and 3. 1 being the first one and 3 is the last one. Now you need to load request 2 in DSO from PSA.
- create a Delta DTP
- Tick "Only Get Delta Once"
- Tick "Get One Request Only"
- Untick "Reterive Until No More New Data"
- execute the DTP, it will load request 1 to DSO
- delete this request from DTP
- execute DTP again, it will load request 2 to DSO; this is what you need.
If DSO is write optimized, you do not need to untick "Reterive Until no More New Data"; just execute the DTP, it will create 3 requests in DSO, delete first and last and you will get only 2 in DSO.
I hope it helps.
Regards,
Gaurav -
How to load and unload more than one external swf files in different frames?
I do not have much experience on Adobe Flash or Action Script 3, but I know the basics.
I am Arabic language teacher, and I design an application to teach Arabic, I just would like to learn how to load and unload more than one external swf files in different frames.
ThanksLook into using the Loader class to load the swf files. If you want to have it happen in different frames then you can put the code into the different frames.
Maybe you are looking for
-
I'm not sure how or when it happened but whenever I click on any Firefox icon on my desktop, I get redirected to what appears to be a Mozilla Firefox page but there is a window on the screen that says "Paypal and Firefox Simple promotion!, Did you kn
-
How can I get Verizon FiOS in my condo complex?
Hello I currently have Verizon DSL 3.0 and I want to get fios Internet only problem is Verizon hasn't installed fiber at my condo complex. Verizon is availabe in my city, can Verizon install fios in my condo? There's about 200 condominiums and half o
-
Fatal Error while Installing DQS.
Fatal error while trying to install the DQS. Only the DQS staging database is available when I open the SSMS the other databases are not made available with the installation please help out with the error or provide with leads. Error Log: [11/18/201
-
Some users see test Provider page instaed of portlet
Hello, I have installed a portlet , I have added it to a page, and I can see it correctly with several users, but there are some others that see the provider's test page instead. I think they have the same permissions, where can I look to solve this
-
1 song out of 14,740 won't sync to ipod
1 song out of 14,740 won't sync to ipod, how do I find out which one it is?