Make a file extension to open always with the same app
Hello, do you know how can I make a file extension to open always with the same app. So far I have been doing it by double click > open with > other > and then mark open always with this app, BUT
I do not want to do this very time with all the same file extension I have in my hard disk, is there any way, like in windows, to select and preset a determined app to always open all files with the same extensión in my hard disk??
Actually what I´m experiencing and would like to change is to open always .pdf extensión with Acrobat and not with Preview
Thanks very much in advance for your help!!
OK!!!!
Got it!!!
Thanks anyway!!
Similar Messages
-
I have an app called Astrogold that crashes when I run one function, but no one else I know with the same app experiences the crash. The app writes several different reports, and gives the option of sending them as PDF files. All the other reports generate fine, but one of them....and that one crashes the app while it is trying to generate the report.
Note: it only crashes the display. If I double click the home button I see the app itself is still running.
I checked my Diagnostics & Usage data, and noticed that every time the app crashes a LowMemory report is created. I looked at the LowMemory report and see that the Largest process is Astrogold. But I don't see any reports with the name of the app itself.
I have an iPhone 5c, and according to iTunes I have 2.25 GB Free.
Below is the actual LowMemory report. Can anyone make any suggestions?
name":"astrogold","bug_type":"109","os_version":"iPhone OS 7.1.2 (11D257)","bundleID":"com.esotech.astrogold","version":"4.2.4 (4.2)","app_name":"astrogold"}
Incident Identifier: 257B47E8-3A4D-4C64-8E9F-71D33C905548
CrashReporter Key: cfa389285f4559a21d797bfeec6a78c584e798d6
Hardware Model: iPhone5,4
Process: astrogold [18906]
Path: /var/mobile/Applications/D8301675-652C-4472-A168-CF3F141C5F58/astrogold.app/ast rogold
Identifier: com.esotech.astrogold
Version: 4.2.4 (4.2)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2014-08-31 13:15:13.616 +0800
OS Version: iOS 7.1.2 (11D257)
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread: 0
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x399a51f0 0x39992000 + 78320
1 libsystem_pthread.dylib 0x39a0d7b2 0x39a0a000 + 14258
2 libsystem_c.dylib 0x39955ff4 0x3990c000 + 303092
3 libsystem_malloc.dylib 0x399ccd20 0x399ca000 + 11552
4 libobjc.A.dylib 0x393f73a4 0x393ed000 + 41892
5 libobjc.A.dylib 0x393ffb66 0x393ed000 + 76646
6 astrogold 0x001be574 0xe2000 + 902516
7 astrogold 0x001be774 0xe2000 + 903028
8 astrogold 0x001a2910 0xe2000 + 788752
9 astrogold 0x001a40fa 0xe2000 + 794874
10 UIKit 0x315ba174 0x3147c000 + 1302900
11 UIKit 0x315613d6 0x3147c000 + 938966
12 UIKit 0x31560c2c 0x3147c000 + 937004
13 UIKit 0x314872e0 0x3147c000 + 45792
14 QuartzCore 0x31103316 0x310f7000 + 49942
15 QuartzCore 0x310feb3a 0x310f7000 + 31546
16 QuartzCore 0x310fe9cc 0x310f7000 + 31180
17 QuartzCore 0x310fe3e0 0x310f7000 + 29664
18 QuartzCore 0x310fe1f2 0x310f7000 + 29170
19 QuartzCore 0x310f7f18 0x310f7000 + 3864
20 CoreFoundation 0x2ec20ff6 0x2eb81000 + 655350
21 CoreFoundation 0x2ec1e982 0x2eb81000 + 645506
22 CoreFoundation 0x2ec1ecce 0x2eb81000 + 646350
23 CoreFoundation 0x2eb89724 0x2eb81000 + 34596
24 CoreFoundation 0x2eb89506 0x2eb81000 + 34054
25 GraphicsServices 0x33af86ce 0x33aef000 + 38606
26 UIKit 0x314ea86c 0x3147c000 + 452716
27 astrogold 0x000e9136 0xe2000 + 28982
28 libdyld.dylib 0x398eeab4 0x398ed000 + 6836
Thread 1:
0 libsystem_kernel.dylib 0x39992804 0x39992000 + 2052
1 libdispatch.dylib 0x398e1050 0x398d9000 + 32848
2 libdispatch.dylib 0x398db2de 0x398d9000 + 8926
Thread 2:
0 libsystem_kernel.dylib 0x39992a50 0x39992000 + 2640
1 libsystem_kernel.dylib 0x39992848 0x39992000 + 2120
2 CoreFoundation 0x2ec205e4 0x2eb81000 + 652772
3 CoreFoundation 0x2ec1ed04 0x2eb81000 + 646404
4 CoreFoundation 0x2eb89724 0x2eb81000 + 34596
5 CoreFoundation 0x2eb89506 0x2eb81000 + 34054
6 Foundation 0x2f57d492 0x2f572000 + 46226
7 Foundation 0x2f5ce254 0x2f572000 + 377428
8 astrogold 0x00408f30 0xe2000 + 3305264
9 Foundation 0x2f63fa0a 0x2f572000 + 842250
10 libsystem_pthread.dylib 0x39a0c956 0x39a0a000 + 10582
11 libsystem_pthread.dylib 0x39a0c8c6 0x39a0a000 + 10438
12 libsystem_pthread.dylib 0x39a0aae4 0x39a0a000 + 2788
Thread 3 name: com.apple.NSURLConnectionLoader
Thread 3:
0 libsystem_kernel.dylib 0x39992a50 0x39992000 + 2640
1 libsystem_kernel.dylib 0x39992848 0x39992000 + 2120
2 CoreFoundation 0x2ec205e4 0x2eb81000 + 652772
3 CoreFoundation 0x2ec1ed04 0x2eb81000 + 646404
4 CoreFoundation 0x2eb89724 0x2eb81000 + 34596
5 CoreFoundation 0x2eb89506 0x2eb81000 + 34054
6 Foundation 0x2f5ca23c 0x2f572000 + 361020
7 Foundation 0x2f63fa0a 0x2f572000 + 842250
8 libsystem_pthread.dylib 0x39a0c956 0x39a0a000 + 10582
9 libsystem_pthread.dylib 0x39a0c8c6 0x39a0a000 + 10438
10 libsystem_pthread.dylib 0x39a0aae4 0x39a0a000 + 2788
Thread 4 name: com.apple.CFSocket.private
Thread 4:
0 libsystem_kernel.dylib 0x399a5434 0x39992000 + 78900
1 CoreFoundation 0x2ec244de 0x2eb81000 + 668894
2 libsystem_pthread.dylib 0x39a0c956 0x39a0a000 + 10582
3 libsystem_pthread.dylib 0x39a0c8c6 0x39a0a000 + 10438
4 libsystem_pthread.dylib 0x39a0aae4 0x39a0a000 + 2788
Thread 5:
0 libsystem_kernel.dylib 0x399a5c70 0x39992000 + 81008
1 libsystem_pthread.dylib 0x39a0ac1e 0x39a0a000 + 3102
2 libsystem_pthread.dylib 0x39a0aad8 0x39a0a000 + 2776
Thread 6:
0 libsystem_platform.dylib 0x39a069a6 0x39a05000 + 6566
1 libobjc.A.dylib 0x393ffad6 0x393ed000 + 76502
2 CoreFoundation 0x2eb86140 0x2eb81000 + 20800
3 CoreFoundation 0x2eb8c0dc 0x2eb81000 + 45276
4 CoreFoundation 0x2eb9f6e4 0x2eb81000 + 124644
5 astrogold 0x0019ed06 0xe2000 + 773382
6 Foundation 0x2f59a64c 0x2f572000 + 165452
7 Foundation 0x2f58a870 0x2f572000 + 100464
8 Foundation 0x2f62e740 0x2f572000 + 771904
9 libdispatch.dylib 0x398de25a 0x398d9000 + 21082
10 libdispatch.dylib 0x398df684 0x398d9000 + 26244
11 libdispatch.dylib 0x398df8d8 0x398d9000 + 26840
12 libsystem_pthread.dylib 0x39a0ac14 0x39a0a000 + 3092
13 libsystem_pthread.dylib 0x39a0aad8 0x39a0a000 + 2776
Thread 7:
0 libsystem_kernel.dylib 0x399a5c70 0x39992000 + 81008
1 libsystem_pthread.dylib 0x39a0ac1e 0x39a0a000 + 3102
2 libsystem_pthread.dylib 0x39a0aad8 0x39a0a000 + 2776
Thread 8:
0 libsystem_kernel.dylib 0x39992a50 0x39992000 + 2640
1 libsystem_kernel.dylib 0x39992848 0x39992000 + 2120
2 CoreFoundation 0x2ec205e4 0x2eb81000 + 652772
3 CoreFoundation 0x2ec1ed04 0x2eb81000 + 646404
4 CoreFoundation 0x2eb89724 0x2eb81000 + 34596
5 CoreFoundation 0x2ebcd346 0x2eb81000 + 312134
6 CoreMotion 0x2f2484fc 0x2f20f000 + 234748
7 libsystem_pthread.dylib 0x39a0c956 0x39a0a000 + 10582
8 libsystem_pthread.dylib 0x39a0c8c6 0x39a0a000 + 10438
9 libsystem_pthread.dylib 0x39a0aae4 0x39a0a000 + 2788
Thread 9 name: WebThread
Thread 9:
0 libsystem_kernel.dylib 0x39992a50 0x39992000 + 2640
1 libsystem_kernel.dylib 0x39992848 0x39992000 + 2120
2 CoreFoundation 0x2ec205e4 0x2eb81000 + 652772
3 CoreFoundation 0x2ec1ed04 0x2eb81000 + 646404
4 CoreFoundation 0x2eb89724 0x2eb81000 + 34596
5 CoreFoundation 0x2eb89506 0x2eb81000 + 34054
6 WebCore 0x36ebfc70 0x36e01000 + 781424
7 libsystem_pthread.dylib 0x39a0c956 0x39a0a000 + 10582
8 libsystem_pthread.dylib 0x39a0c8c6 0x39a0a000 + 10438
9 libsystem_pthread.dylib 0x39a0aae4 0x39a0a000 + 2788
Thread 10 name: JavaScriptCore::BlockFree
Thread 10:
0 libsystem_kernel.dylib 0x399a4f2c 0x39992000 + 77612
1 libsystem_pthread.dylib 0x39a0bf62 0x39a0a000 + 8034
2 libsystem_pthread.dylib 0x39a0cd9c 0x39a0a000 + 11676
3 JavaScriptCore 0x2fbb8308 0x2fba6000 + 74504
4 JavaScriptCore 0x2fbb5970 0x2fba6000 + 63856
5 libsystem_pthread.dylib 0x39a0c956 0x39a0a000 + 10582
6 libsystem_pthread.dylib 0x39a0c8c6 0x39a0a000 + 10438
7 libsystem_pthread.dylib 0x39a0aae4 0x39a0a000 + 2788
Thread 11 name: JavaScriptCore::Marking
Thread 11:
0 libsystem_kernel.dylib 0x399a4f2c 0x39992000 + 77612
1 libsystem_pthread.dylib 0x39a0bf62 0x39a0a000 + 8034
2 libsystem_pthread.dylib 0x39a0cd9c 0x39a0a000 + 11676
3 JavaScriptCore 0x2fd56cb2 0x2fba6000 + 1772722
4 JavaScriptCore 0x2fd56d0c 0x2fba6000 + 1772812
5 JavaScriptCore 0x2fbb5970 0x2fba6000 + 63856
6 libsystem_pthread.dylib 0x39a0c956 0x39a0a000 + 10582
7 libsystem_pthread.dylib 0x39a0c8c6 0x39a0a000 + 10438
8 libsystem_pthread.dylib 0x39a0aae4 0x39a0a000 + 2788
Thread 0 crashed with ARM Thread State (32-bit):
r0: 0x00000000 r1: 0x00000000 r2: 0x00000000 r3: 0x27d1f553
r4: 0x00000006 r5: 0x3b90118c r6: 0x0000000b r7: 0x27d1f5bc
r8: 0x0000000b r9: 0x00000001 r10: 0x00626000 r11: 0x00000000
ip: 0x00000148 sp: 0x27d1f5b0 lr: 0x39a0d7b7 pc: 0x399a51f0
cpsr: 0x00000010
Zane B Stein
("os_version":"iPhone OS 7.1.2 (11D257)","version":"104","bug_type":"198"}
Incident Identifier: 3526E805-4C03-4956-83B6-2A4AB95B9EE4
CrashReporter Key: cfa389285f4559a21d797bfeec6a78c584e798d6
Hardware Model: iPhone5,4
OS Version: iPhone OS 7.1.2 (11D257)
Kernel Version: Darwin Kernel Version 14.0.0: Thu May 15 23:10:37 PDT 2014; root:xnu-2423.10.71~1/RELEASE_ARM_S5L8950X
Date: 2014-09-02 14:24:12 +0800
Time since snapshot: 220 ms
Free pages: 1448
Active pages: 17896
Inactive pages: 9268
Speculative pages: 11
Throttled pages: 209561
Purgeable pages: 261
Wired pages: 21682
File-backed pages: 26187
Anonymous pages: 988
Compressions: 456385
Decompressions: 85356
Compressor Size: 44
Uncompressed Pages in Compressor: 59
Largest process: astrogold
Processes
Name <UUID> rpages recent_max fds [reason] (state)
CloudKeychainPro <b9fbb8e4989732709cb18c481dfa61a9> 108 108 200 (daemon) (idle)
mediaremoted <051ef8b6e7c93fa49a0a2e15ea6e1f52> 193 193 200 (daemon) (idle)
MobileGestaltHel <c3c9c32948fe364f8103dd528164b610> 123 123 200 (daemon) (idle)
DuetLST <89027d811bd73931a4d45f71c9bbebc7> 472 472 200 (daemon) (idle)
itunesstored <00f47fa85c623cee9d55c9b004ba561d> 1426 1426 200 (daemon) (idle)
lsd <8d2569b7b89033328609c73d07410b55> 149 149 200 (daemon) (idle)
sandboxd <712c543459bf3d81b0ec88bba199d802> 96 96 200 (daemon) (idle)
geod <6e5e9ae33f8638b7be848eac2c1ef70b> 166 166 200 (daemon) (idle)
assetsd <6f28405c4c1b35e9aff946c1c4799c0f> 868 868 200 (daemon) (idle)
installd <185a1eaa735b3aa38d98092ba8493ba0> 201 201 200 (daemon) (idle)
securityd <47657a3a48573d6a8e52ef4cc868248c> 617 617 200 (daemon) (idle)
networkd_privile <234d3717143e3bbba12acc5de334deaf> 81 81 200 (daemon) (idle)
accountsd <5a5640b47fe637bebb6254deff26eaee> 438 438 200 (daemon) (idle)
routined <d5590a1879153ed284886271907ea8fa> 344 344 200 (daemon) (idle)
EscrowSecurityAl <d0a689490be631efac2c764fe93300dc> 166 166 200 (daemon)
mstreamd <a2bb6401f1d63c7aa320a817d8839522> 406 406 200 (daemon)
tccd <ad9819a843e93a1680335febb52c7cc3> 227 227 200 (daemon)
kbd <eba296f6bd4938688fa16a5e39fa477c> 2319 2319 200 (daemon)
CVMServer <c95a902a5ae331c2a5239b6cf98a0617> 89 89 200 (daemon)
astrogold <58c53f7c8e8931ec823713195426f59c> 166401 166401 200 [per-process-limit] (frontmost) (resume)
identityservices <d1b907f8a41e3ebd9f270aa846040b07> 581 581 100 (daemon)
wifid <2b4c0ddf1a8439838868bf2be61d8bf1> 1286 1286 25 (daemon)
syslogd <5c06b8eec36032b49cc9421348ba47ea> 132 132 50 (daemon)
locationd <b813efaa4a6a314cafdbbd9b88c30796> 1732 1732 100 (daemon)
powerd <bd077d109d773bcd9041153b30ea034a> 128 129 100 (daemon)
imagent <79bd0fedda583ae3822051093f7681b5> 571 571 100 (daemon)
vmd <f44f0a6a37293606865eb8862c10b653> 188 188 100 (daemon)
iaptransportd <818588012ed93eb7a10ccb22d8acadfe> 223 223 50 (daemon)
mediaserverd <e40c7476d9fe3d759bfd28b8d68dc7ba> 2233 2233 200 (daemon)
mDNSResponder <60e905f9582a3090ab6e7a257454389e> 226 226 100 (daemon)
apsd <b7e19d27180e34aba845e475eae7d3db> 510 510 100 (daemon)
dataaccessd <fdf81960fb903bd68616117fd29ce277> 2563 2563 200 (daemon)
sharingd <2c731a1c182637a39b004694b2a5e23d> 508 508 50 (daemon)
mobileassetd <08440fa17b3537afb347cf78aa039a67> 565 565 200 (daemon)
SpringBoard <f73e83ffc898302394baa2042ca232fd> 9211 9211 100
backboardd <b5d33ca6da9c33d48e2c8ccb9930c3dc> 8716 8716 50 (daemon)
aggregated <3e381378eb7f3dd2846920cb5db91265> 523 523 50 (daemon)
lockdownd <d998e2bac7663966bd0285c07ed89111> 276 276 100 (daemon)
configd <20b29bb0286e347ebe7c42aa8ee421c9> 462 462 100 (daemon)
fseventsd <8876b6f5a0c13024a12cb3e148ddab61> 303 303 100 (daemon)
fairplayd.H2 <243ccf92ad4d34cbb4fdf7e078d55141> 130 130 100 (daemon)
wirelessproxd <47699be4861c30abbb375e1d3b9e15dc> 153 153 100 (daemon)
BTServer <51d0d4421dc73abf9d4844e2b155c340> 536 536 100 (daemon)
distnoted <7895f761ec323e31a356860060f8713d> 155 155 100 (daemon)
UserEventAgent <9aedc371d1c037e7b5d7b5577f0424a8> 756 756 100 (daemon)
WirelessCoexMana <f5dcce7805a9308bbbcf2d52751385ef> 132 132 100 (daemon)
networkd <148d4512d2c43efc95bafd487fd97f4a> 577 577 100 (daemon)
filecoordination <7b1b1b1b4fe0364c8e0adfd90f78b4a9> 207 207 200 (daemon)
medialibraryd <fdf252b3fb1a3646a836c0c3b5840464> 634 634 200 (daemon)
touchsetupd <0a4f35337aa13e55a3d7e56296499e14> 154 154 200 (daemon)
ubd <30a03e11a5c43c7cbd6ecd1aaef27841> 470 470 200 (daemon)
CommCenter <463e099ed64e30ad9433b8ea3f4a4e94> 2039 2039 100 (daemon)
notifyd <5b4c0731afd533179b295e4f39e589d6> 335 335 100 (daemon)
**End**
<Post Edited By Host>Thank you for your reply.
>You can double-click the home button and then swipe upwards on the thumbnail of the app to force it closed.
Did that
>After that, power the phone off and back on again, test.
Did that
>If still a problem, force close the app again and then reset the phone, holding the sleep/wake and home buttons together until you see the Apple logo and then release. The phone will reboot, test.
Did that
>If still a problem, then connect the device to iTunes and restore from backup.
Did that
>If that does not work, it is possible there is something corrupt in the backup. The final step is restore as new, not from a backup.
This is the only thing I had not done before I posted my initial request for help. I will work on that....it's a last resort I was hoping not to do, but it sounds like I've already done everything else.
Thank you. -
Are there any free apps with the same app iPhoto?
Are there any free apps with the same app iPhoto?
Do you want to get iPhoto for free, or are you looking for supplemental apps that are working well with iPhoto?
I do not know of any free third party replacement for iPhoto. For add-ons browse the Store - there are some nice camera apps, image editors, and panorama stitchers, some are free (cam wow, pic collage, Photo splash, pixlr-o-matic). -
if you have the 4s and you buy the iwork...later when you change your phone to 5 with the same app name and code the iwork still free to download into your new phone???
Yes as long as you use the same Apple ID for iTunes that you used to download the app originally.
Hope that helps -
Blocks corrupted always with the same checksum 0x400
Hello Oracle gurus,
Need your help with finding source of block corruption errors that we observe repeatedly on one system. See the error below.
Location of the corrupted block is always different, but the computed checksum is always 0x400. Only one block gets corrupted after a couple of days of stress testing. We completely re-install OS (RHEL4) and re-create DB. Still the same error with the same checksome appears, but in a different location. This happened 3 times already.
Does anybody know what 0x400 corresponds to? Is it all zeroes?
In my understanding, if the corruption was caused by a drive error, such as a single bit flip or several sectors corruption, then the computed checksum would be always different.
Is this correct? Any other ideas what can be the reason for such corruption?
Thanks a lot.
Hex dump of (file 9, block 357024) in trace file /u01/app/oracle/admin/pndb/udump/pndb_ora_13828.trc
Corrupt block relative dba: 0x024572a0 (file 9, block 357024)
Bad check value found during buffer read
Data in bad block:
type: 6 format: 2 rdba: 0x024572a0
last change scn: 0x0000.00b31c70 seq: 0x1 flg: 0x06
spare1: 0x0 spare2: 0x0 spare3: 0x0
consistency value in tail: 0x1c700601
check value in block header: 0xfcd0
computed block checksum: 0x400
Reread of rdba: 0x024572a0 (file 9, block 357024) found same corrupted data
Fri Apr 27 04:09:32 2007
Corrupt Block Found
TSN = 9, TSNAME = PN_TABL
RFN = 9, BLK = 357024, RDBA = 38105760
OBJN = 40738, OBJD = 40738, OBJECT = PN_EVENT_SESSION_1, SUBOBJECT =
SEGMENT OWNER = PNADMIN, SEGMENT TYPE = Table SegmentWell I understand that, however Oracle is running on higher level (application level).
It's hard to trace a potential lower level ( hardware level) problem in high level application.
The least thing you can try is find out which object this corrupted block belong if it's always same object or some pattarn you can tell then there might have something to do with Oracle.
If it's totally random then it's hard to say.
select segment_name,segment_type,owner
from sys.dba_extents
where file_id=(9)
and (357024) between block_id and block_id + blocks -1; -
Switching open windows of the same app?
In Tiger I was able to cycle between open windows of the same application with command + minus (the < key located in the left of my spanish ISO keyboard). Now in Leopard this doesn't work, and I have to use Exposé or go to the window menu and click there which window I want.
Has this functionality been remaped to another key, or has it been removed? It was very useful for me.
Thank you.Oh man, I was looking for the same, this new setup is impossible to use! what were they thinking? I used to rely so much on that command to switch between windows, I guess I'll have to install a 3rd party application like Witch.
I'm really thinking about going back to tiger, leopard is so full of bugs, I can't access my nas drive (worked fine with tiger) and I found so many glitches, apple has never disappointed me as much as with this release, and I've been following them since 7.1 -
Something happened in the last day with FF. IE downloads files correctly. FF Delicious bookmarks open up a page with blue links that look like an outline but they are not my links. My downloads do the same. No virus.
That can be caused by having some bookmarks with a long title in the main Bookmarks menu.
The width of a column in the Bookmarks menu list is in current Firefox versions automatically adjusted to fit the bookmark with the longest name.
You can check the names of the bookmarks and make the longer ones shorter. -
Ok so each character rolled with my app gets saved as an html file in a folder i create on the sdcard called RpgApp
the code to do this is
private async Task saveToHtmlCharacter(string name)
StorageFolder externalDevices = Windows.Storage.KnownFolders.RemovableDevices;
StorageFolder sdcard = (await externalDevices.GetFoldersAsync()).FirstOrDefault(); //Windows.Storage.ApplicationData.Current.LocalFolder;
var dataFolder = await sdcard.CreateFolderAsync("RpgApp",
CreationCollisionOption.OpenIfExists);
var file = await dataFolder.CreateFileAsync(name+".html",
CreationCollisionOption.ReplaceExisting);
using (StreamWriter writer = new StreamWriter(await file.OpenStreamForWriteAsync()))
writer.WriteLine("<html><head><title>Character File for " + z.charNameFirst + " " + z.charNameSecond + "</title></head><body>");
//trimed for the post
now this as i say works perfectly and i can confirm that the files show up in the "RpgApp"folder
now the next step is to have the app read the names of each of those html files and create a seperate button for each one named for the filename and with the filename as content (later i will link them up to load the html file they are named for in a webbrowser
panal)
here is the code that *should* do that
private async Task readFiles()
z.test.Clear();
StorageFolder externalDevices = Windows.Storage.KnownFolders.RemovableDevices;
StorageFolder folder = (await externalDevices.GetFolderAsync("RpgApp"));
IReadOnlyList<StorageFile> fileList = await folder.GetFilesAsync();
//z.test.Add("dummy");
foreach (StorageFile file in fileList)
z.test.Add(file.Name);
public async void buttonTest()
await readFiles();
CoreDispatcher dispatcher = CoreWindow.GetForCurrentThread().Dispatcher;
await dispatcher.RunAsync(CoreDispatcherPriority.Normal, () =>
foreach (string name in z.test)
Button button1 = new Button();
button1.Height = 75;
button1.Content = name;
button1.Name = name;
testStackPanal.Children.Add(button1);
now i say should as what i get is an error of "A first chance exception of type 'System.UnauthorizedAccessException' occurred in mscorlib.ni.dll" (2 of them in fact one after another)
more detailed error is at http://pastebin.com/3hBaZLQ9
now i went through checking line after line to find the error and line that causes it is:
StorageFolder folder = (await externalDevices.GetFolderAsync("RpgApp"));
in the readFiles method
i checked to make sure the case is right etc and its spot on, that IS the folder name, and remember my app creates that folder and creates the files that are inside that folder (and only files my app creates are in that folder) so it should have access
im 100% stuck its taken me all day to get the files to save and now i cant get them to list correctly
I have tested the button creation function with fake list data and that worked fine, as i say the error is when i tell it to look at the folder it created
all help most greatfully recievedthis was actually solved for me on another forum thread
async Task<bool> continueToReadAllFiles(StorageFolder folder)
if (folder == null)
return false;
if (folder.Name.Equals("RpgApp", StringComparison.CurrentCultureIgnoreCase))
var files = await folder.GetFilesAsync();
foreach (var file in files)
test.Add(file.Name);
return false;
var folders = await folder.GetFoldersAsync();
foreach (var child in folders)
if (!await continueToReadAllFiles(child))
return false;
return true;
public async void buttonTest()
test.Clear();
StorageFolder externalDevices = Windows.Storage.KnownFolders.RemovableDevices;
var folders = await externalDevices.GetFoldersAsync();
foreach (var folder in folders)
if (!await continueToReadAllFiles(folder))
break;
//.... commented out
...now i say solved this is more a workaround...but it works.
I would love to know why we cant just scan the RpgApp folder instead of having to scan the whole dc card and disregard all thats not in the RpgApp folder -
File to multiple IDOCs scenario with the same receiver system
Hi guys,
I have to design and implement the following scenario:
I will receive one file with many lines (Records) with data for materials, quantities, operations etc..
Based on the values of some fields of each line, I will have to create an IDOC for each material.
For example:
if operation type = "INSERT", and Labor = 001 then create 3 Idocs of type MBGMCR with movement types=101, 261,311 that have to be posted one after the other to the same receiver system.
else if operation type = "INSERT", and Labor <> 001 then create an Idoc MBGMCR with movement type=311 and plant = 1001.
else if operation type = "Delete", and Labor = 001 the created 3 Idocs MBGMCR with movement type=312, 262 1002 and post them serially to the same receiver system.
else if operation type = "Delete", and Labor <> 001 the created 1 Idoc MBGMCR with movement type=312.
All IDOCS are posted to the same SAP R/3 system. We do not care about the sequence, except for the cases where 3 IDOCS are created.
I am trying to think of a good design in performance terms.
It is obvious that I will need BPM for sure.
I am thinking of creating a mapping program that will produce 4 message types for the different cases from the initial file and then create a different message mapping for each case from the message type to the IDOC.
I am asking you if I have to include everything (mappings) in BPM with a "fork" step?
Or shall I produce only the 4 message types and then post them to R/3 and execute the mappings in R/3?
Best Regards
Evaggeloshi,
>>I am thinking of creating a mapping program that will produce 4 message types for the different cases from the initial file and then create a different message mapping for each case from the message type to the IDOC.
To me this seems to be the right solution.
here u will create different message mappings and write them sequentially in interface determination. the multi mapping will then be utilised in transformation step in BPM.
thus if this is the only requirement there is no need of using a fork step.
[reward if helpful]
regards,
latika. -
SAP PI ftp FIle transfer one to one with the same filename
Hello all,
maybe sombody ask the same in this forum, but couldn't find any topic regarding these.
Okay:
We have a scenario which have to pick up a txt file from a folder and to deliver to another folder
outside. The file transfer itselfs isn't a problem and works propertly, but we need the same file-
name for the outgoing file. Unfortunaltey we have huge different filenames..
So, my question would be, what for possiblities we have to sure, that if we can deliver the
file which the same filename as we have in the orginal (source) filefolder.
e.g. file named in source called TEST.123 in the destination should be also TEST.123.
The next file called TEST123.abc should be also in the destination TEST123.abc.
ThanksHi friends.
I don't know about if you need still any help. But i think it will be useful for another people who have encountered that problem and looking for the solution.
The solution is pretty simple for case if you are going to some file by scenario FTP - to - FTP without interface mapping. I was able to create simple example ant put it on my site to let you use the portable short instruction with screen shots and highlighted marks that help you understand it more clear. Indeed you don't need any udf if you wish to repeat that example in your real scenario. Link is HERE
Shortly you have to do the next:
1) for the sender adapter in tab "Advanced" switch on the check-box "Set Adapter Specific Attributes" and check that "File name" is switched on as well.
2) for the receiver adapter you have to repeat step 1 as well. Plus you have to change setting on the tab "Processing". On that tab you need to change "File Construction Mode" into "Create" and than you have to switch on the check box named as "Overwrite Existing File".
That's it.
Thank you, i hope that is help.
Sincerely, LukCAD. -
How to have CS3 always open up with the same dialog boxes
We would like to maintain our CS3 window "setup" when we reboot our PC. We use only a few preferences :: actions /history/layers ,,,but upon reopening CS >> there are nearly 10 windows that open on the right, with icons > probably just factory settings .... but, is there a way to have CS3 open with just the our favs, on the palettes on the right side ....??
look up workspaces in the help file.
-
Skype lagging always with the same contact
Hello, my Skype seems to always be lagging/sound robotic when I'm in a call with one specific contact. Also group calls lag if one of us is hosting it (it only lags to the one who is not hosting it). All the other calls work just fine. It is not our connections since they're fine. Any help would be nice!
So far we've tried:
disabling uPnP
removing shared.xml from appdataStill need help!
-
Responding to an email always with the same account
Hello,
Is it possible to have 2 email accounts on iPad but reply to messages on both accounts using just one of those accounts?
ThxYes, you can choose which account to reply from. See quote below from the iPad User Guide for IOS 7.
“Send a message from a different account. Tap the From field to choose an account.”
Excerpt From: Apple Inc. “iPad User Guide For iOS 7.” Apple Inc., 2014. iBooks.
This material may be protected by copyright.
Check out this book on the iBooks Store: https://itun.es/us/fJctQ.l -
Can I have two iPads with the same apps and games without losing info?
I just purchased new iPad air and I would like use the current iPad apps onto the new iPad without losing the current info and use both of the iPads. How I do that? If not, then I have to set it manually in separate way.
How to use multiple iPhone, iPad, or iPod devices with one computer
-
Last week when the automated upgrade came I said yes and then stopped it midway as it was not a good time to reboot my laptop. Since then, when I try to open it says cannot read configuration file - even when I uninstall and reinstall - still cannot open it with the same error.
Do a clean (re-)install:
* Download a fresh Firefox copy and save the file to the desktop.
* Firefox 4.0.x: http://www.mozilla.com/en-US/firefox/all.html
* Uninstall your current Firefox version and remove the Firefox program folder before installing that copy of the Firefox installer.
* Do not remove personal data if you uninstall the current version.
* It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
Your bookmarks and other profile data are stored elsewhere (not in the Firefox program folder) and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox.
Maybe you are looking for
-
What's the best ipod touch case/cover?
So I need a case or cover. Not too picky. BUT... I've seen that the cheaper cases scratch the heck out of the back. The Otterboxes look good. But some of the reviews for those are horrible as well. The Griffin Survivor at the Apple store seems to be
-
Import from a sample.DMP file
when import from a dump file an error occurs>>>>>> Export file created by export:v10.01.00 via conventional path IMP-00013: only a DBA can import a file exported by another DBA IMP-00000: Import terminated unsuccessfully. What can i do .... help meee
-
OC4J 10.0.3 Standalone LDAP / OID JAZN Authentication
I have tried to setup OID based authentication on OC4J 10.0.3, but I can't get it working. Here is my log output: ==> log/oc4j.err.log <== 04/10/27 16:21:28 java.lang.NoClassDefFoundError: oracle/ldap/util/Guid 04/10/27 16:21:28 at oracle.security.ja
-
Installation Problem; Installing 10gR2 on vmware workstation. OS - rhel5. Alloted 30G of space. RAM alloacted 2048 M. When I run the universal installer; Its giving a error in the Summary Page in 'red' REQUIRES 1.36 GB (INCLUDES 108 Mb TEMP) AVAILABL
-
Servlets + Seesion objects
Hi How can u retrieve a session object in a servlet. And how can u store an object back on the session in that servlet? Has anyone got any sample code - that will be much appreciated. many thanx <y>