A resource in this file uses an unknown language (for default MFC project)
Visual Studio 2013. I created a default MCF project and tried to open rc-file via Resource View. No custom changes were made.
I got an error: "A resource in this file uses an unknown language: Neutral (Default) (unknown sub-lang: 0x3). Unable to open this file." I used AFX_TARG_ENU: language 9 (english), sublanguage 1. There is no language value
in my project defined as 0x3 in winnt.h.
Hi JGANOL,
Based on your issue, could you please tell me if you get same error when you re-create a new Resource Script File in the MFC project?
https://msdn.microsoft.com/en-us/library/hcctd63y.aspx
https://msdn.microsoft.com/en-us/library/sxdy04be.aspx
(1) If you get same error message, I suggest you try to reset the VS setting file by going to the Tools->Import and Export Settings... check this issue again.
If it still could not help you, maybe you will need to repair or re-install the VS2013 check this issue again.
(2)If you did not get same error message, I think that the issue may be related to the specified the MFC project. So I suggest you can tell me the detail steps about how you create a MFC project.
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.
Similar Messages
-
Hi All,
upload failed your changes were saved but could not be uploaded because of an error. you may be able to upload this file using server web page. save a copy button.
This is the issue which I am facing while working with SharePoint 2010. In a sharePoint 2010 document library I am having an excel file and I am trying to open it from Windows 7 and is office 2010.
I cam e across few suggestion as mentined below but unable to find the location where to do
Go to Resource Policies > Web >
Rewriting > Custom Headers > (if 'Custom Headers' is not visible, click
Customize on the right top to enable the view).
Create a new policy with the Resource as <fully qualified domain name of the SharePoint server:*/*> (for example https://sharepoint.juniper.net:*/* ).
Create the action as Allow Custom Headers.
Apply the settings to the required roles.
Please suggest.Hi rkarteek
All things you have to do is as follows:
1. Open regedit.exe
2. Naviagate to following key:
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\14.0\Common\Internet]
3. Click Edit Menu -> New -> DWORD with name of "FSSHTTPOff"
(without quotes)
4. Click on "FSSHTTPOff" and enter value of 1
5.
Close any Office Applications and browser sessions
6. Try to reopen your document (no more read only or failure to upload)
have a nice day! -
Unknown error for converting VC project to Measuremen​t Studio project
I create a project in VC environment. When I use "Measurement Studio Add/Remove Cimoibebts Wuzard" or "Measurement Stduio Project Conversion Wizard" to convert my VC project into NI Measurement Studio Project, it appear "Unknow Error" message box. Can someone help me to solve this problem, thanks.
My computer environment is list as following:
Operating System: Microsoft Windows XP Home Edition (SP2)
VC: Visual C++ 6.0 (SP5)
Measurement Studio Version: 6.0
由 hwnien 在 03-15-2007 05:36 AM 上編輯的訊息VC project to MS project
I find some information in the help file, and...I wonder if the customer misunderstands the function he tried to "convert" VC project to MS project
Maybe we can ask he why he wants to do it, the problem he has, the purpose he would like to do or something else
(Another tip. Don't forget to see the help file)
Using the Measurement Studio Add/RemoveComponents Wizard
This wizard allows you to add and remove components from your existing Measurement Studio projects. For example, you can add the 3D graph component to a project that acquires data. When you add and/or remove components from an existing project, Measurement Studio saves a backup copy of your .dsp and .dsw files to a subdirectory named MStudio_Backup. The backup copies contain "_mstudio_xxx" in the file name, where "xxx" is a number that distinguishes the backup file from other backup files.
Caution: Visual Studio calls the .dsp file from the .dsw file. When you load a backup .dsw, it calls the updated .dsp file instead of the backup copy of the .dsp, which prevents you from opening the backup copy of the project. If you must open the backup copy of the project, ensure that the .dsw and .dsp files are in the original directory and rename the files to their original names. This overwrites the updated project. To avoid losing information, National Instruments recommends that you perform this step with extreme caution and only when absolutely necessary.
Using the Measurement Studio Project Conversion Wizard
This wizard allows you to convert Measurement Studio version 1.0 projects to Measurement Studio version 6.0 so that you can apply the latest features to your project.
When you convert your version 1.0 project to version 6.0, Measurement Studio saves a backup copy of your .dsp and .dsw files to a subdirectory named MStudio_Backup. The backup copies contain "_mstudio_xxx" in the file name, where "xxx" is a number that distinguishes the backup file from other backup files.
Caution: Visual Studio calls the .dsp file from the .dsw file. When you load a backup .dsw, it calls the updated .dsp file instead of the backup copy of the .dsp, which prevents you from opening the backup copy of the project. If you must open the backup copy of the project, ensure that the .dsw and .dsp files are in the original directory and rename the files to their original names. This overwrites the updated project. To avoid losing information, National Instruments recommends that you perform this step with extreme caution and only when absolutely necessary. -
Site examples of using css to design for smartphone, tablet, projection
Hi,
Can anyone recommend a site that uses css to design for different platform using css. Not a standalone mobile site, but one where the existing site uses jquery to show the sites differntly.
I saw a video of it using cs5.5 and it seems to be the way forward, but would love to see how others designed/structured their sites to use this technology.
Cheers
DaveHi
The best place to view demo's regarding the jQuery mobile framework is the official site at - http://jquerymobile.com/. But remember designing and building a site specifically for mobiles, (tablet/mobile/cell devices) is no longer a completely different process to a normal site and all smart-phones can now display a normal desktop web site as good as a desktop pc, (and when it comes to html5/css3 even better).
The use of redirects for mobile devices is now an old outdated recommendation, and is the equivalent of saying to any tablet/smart-phone user, "Use IE7 or go-away", so unless you are mainly targeting pre-2008 devices do not bother, (Google and similar do this because they are covering 'all' devices and present a very simple page design which convert to mobiles without much difficulty). It is now a more widely accepted method to use media-queries to display a link to a mobile specific site, that is hidden on larger displays.
Do not get hung-up as some do on this site with the iPhone, it is only one of the devices that must be targeted, and is not even the most popular having a smaller market share than Android powered devices, (I personally use the iTouch, (which has the same web capabilities as the iPhone) and the Samsung Galaxy S2 for my personal testing, then SDK's and 3rd party testing services for other devices) a popular blog with many links that is specific to mobile development is - http://www.visionmobile.com/blog/.
With regards to testing on mobiles, you do not require a iPhone specifically, and if you are on the mac you can download the SDK for accurate testing, (but then what does one do for all the other devices?) and the true mark of a professional, (which I do not claim to be, my clients may, but I do not, and anyone saying they are whilst 'insulting' others must be viewed with suspicion, as inter-personal skills are also part of any designers/developers necessary skills) is knowing that you must test on all popular OS's and devices, (similar to browsers, and just testing on the iPhone is like just testing your site in IE8 and ignoring everything else) so for setting up a local testing suite see - http://www.mikebrittain.com/blog/2010/01/31/browser-testing-for-mobile-web-applications/, and/or you can also use a 3rd party service such as - http://www.deviceanywhere.com/.
For a number of tutorials on using CS5/5.5 for developing mobile site see, - http://www.adobe.com/devnet/devices/mobile-web.html.
PZ -
Hello, I have CME 8.6 installed on two 2851s and before going into production, I am testing a few phones.
One of my 2851's is creating cnf.xml files for each phone using SEP<Mac address>.cnf.xml and the other one will not and the phones keep booting up with XMLDefault.cnf.xml.
I've looked at both configurations and I can't see what the difference is. Other than not being able to create the SEP<MacAddress>.cnf.xml files, the phones appear to be loading up fine.
One difference I see is the "its" directory is located on system: on the one that creates the cnf files, and the "its" directory is located in flash on the one that doesn't, although I don't know how that matters.
Below is the one that doesn't create the SEP<MACADDRESS>.cnf.xml files for phones:
Current configuration : 2657 bytes
! Last configuration change at 02:12:45 UTC Wed Oct 8 2014
version 15.1
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
hostname RtrPod2
boot-start-marker
boot-end-marker
no aaa new-model
no network-clock-participate wic 3
crypto pki token default removal timeout 0
dot11 syslog
ip source-route
ip cef
ip dhcp excluded-address 20.0.30.0 20.0.30.10
ip dhcp excluded-address 20.0.10.0 20.0.10.10
ip dhcp pool Data
network 20.0.10.0 255.255.255.0
default-router 20.0.10.254
option 150 ip 20.0.30.254
ip dhcp pool Voice
network 20.0.30.0 255.255.255.0
default-router 20.0.30.254
option 150 ip 20.0.30.254
dns-server 8.8.8.8
no ipv6 cef
multilink bundle-name authenticated
voice-card 0
license udi pid CISCO2851 sn FTX1331AJQ1
username cisco privilege 15 password 0 cisco
redundancy
controller T1 0/3/0
controller T1 0/3/1
interface Loopback0
no ip address
interface GigabitEthernet0/0
no ip address
duplex auto
speed auto
interface GigabitEthernet0/0.10
encapsulation dot1Q 10
ip address 20.0.10.254 255.255.255.0
interface GigabitEthernet0/0.30
encapsulation dot1Q 30
ip address 20.0.30.254 255.255.255.0
interface GigabitEthernet0/1
ip address 192.168.5.232 255.255.255.0
duplex auto
speed auto
interface Serial0/0/0
no ip address
shutdown
clock rate 2000000
interface Serial0/0/1
ip address 200.2.0.1 255.255.255.0
ip forward-protocol nd
no ip http server
no ip http secure-server
tftp-server flash:cmterm-7940-7960-sccp.8-1-2.cop.sgn alias cmterm-7940-7960-sccp.8-1-2
tftp-server flash:/Ringtones/DistinctiveRingList.xml alias DistinctiveRingList.xml
tftp-server flash:/Ringtones/Ringlist.xml alias Ringlist.xml
tftp-server flash:P00308010200.bin
tftp-server flash:P00308010200.loads
tftp-server flash:P00308010200.sb2
tftp-server flash:P00308010200.sbn
control-plane
mgcp profile default
telephony-service
no auto-reg-ephone
max-ephones 110
max-dn 288
ip source-address 20.0.30.254 port 2000
system message Branch System
load 7960-7940 P00308010200
max-conferences 8 gain -6
transfer-system full-consult
create cnf-files version-stamp Jan 01 2002 00:00:00
ephone-dn 1 dual-line
number 2000
label Phil Davis
description Branch Office
ephone 1
device-security-mode none
mac-address 0009.E89D.0B4F
username "cisco" password cisco
button 1:1
line con 0
line aux 0
line vty 0 4
login local
transport input all
line vty 5 15
login local
transport input all
scheduler allocate 20000 1000
endHello, and thanks for the good advice. I did try and added the cnf perphone command and ran no create cnf-files and then create cnf-files, but unfortunately its still not making them.
Also, from the other few CME installations I've seen, all of the information is in flash, but for some reason when I xtracted the tar for this CME, it's showing up in system: ? Could that be a problem? Here is what I see:
CompactFlash directory:
File Length Name/status
1 67922508 c2800nm-adventerprisek9-mz.151-4.M8.bin
2 85149696 cme-full-8.0.0.1.tar
3 2942935 apps11.8-5-3TH1-6.sbn
4 503269 cnu11.8-5-3TH1-6.sbn
5 2104751 cvm11sccp.8-5-3TH1-6.sbn
6 340615 dsp11.8-5-3TH1-6.sbn
7 1616686 jar11sccp.8-5-3TH1-6.sbn
8 670 SCCP11.8-5-3S.loads
9 674 term06.default.loads
10 674 term11.default.loads
11 1916 MISCH-1.3.3.SBN
12 900 CP7921G-1.3.3.LOADS
13 900 CP7925G-1.3.3.LOADS
14 674 term42.default.loads
15 674 term62.default.loads
16 670 SCCP42.8-5-3S.loads
17 655 term31.default.loads
18 654 term41.default.loads
19 654 term45.default.loads
20 654 term61.default.loads
21 654 term65.default.loads
22 654 term70.default.loads
23 654 term71.default.loads
24 654 term75.default.loads
25 651 SCCP31.8-5-3S.loads
26 650 SCCP41.8-5-3S.loads
27 650 SCCP45.8-5-3S.loads
28 650 SCCP70.8-5-3S.loads
29 650 SCCP75.8-5-3S.loads
30 61 SCCP69xx.8-5-3-0.loads
31 131470 Desktops/320x212x12/CampusNight.png
32 80565 Desktops/320x212x12/CiscoFountain.png
33 8156 Desktops/320x212x12/CiscoLogo.png
34 138278 Desktops/320x212x12/FOUNTAIN.PNG
35 740 Desktops/320x212x12/LIST.XML
36 109076 Desktops/320x212x12/MorroRock.png
37 108087 Desktops/320x212x12/NantucketFlowers.png
38 10820 Desktops/320x212x12/TN-CampusNight.png
39 9657 Desktops/320x212x12/TN-CiscoFountain.png
40 2089 Desktops/320x212x12/TN-CiscoLogo.png
41 7953 Desktops/320x212x12/TN-Fountain.png
42 7274 Desktops/320x212x12/TN-MorroRock.png
43 9933 Desktops/320x212x12/TN-NantucketFlowers.png
44 740 Desktops/320x212x16/LIST.XML
45 740 Desktops/320x216x16/LIST.XML
46 8224 Ringtones/Analog1.raw
47 8307 Ringtones/Analog2.raw
48 5280 Ringtones/AreYouThere.raw
49 5040 Ringtones/AreYouThereF.raw
50 8206 Ringtones/Bass.raw
51 12240 Ringtones/CallBack.raw
52 16066 Ringtones/Chime.raw
53 8160 Ringtones/Classic1.raw
54 16080 Ringtones/Classic2.raw
55 10800 Ringtones/ClockShop.raw
56 2823 Ringtones/DistinctiveRingList.xml
57 9665 Ringtones/Drums1.raw
58 13610 Ringtones/Drums2.raw
59 15928 Ringtones/FilmScore.raw
60 16244 Ringtones/HarpSynth.raw
61 8245 Ringtones/Jamaica.raw
62 16127 Ringtones/KotoEffect.raw
63 12776 Ringtones/MusicBox.raw
64 8223 Ringtones/Piano1.raw
65 15422 Ringtones/Piano2.raw
66 9360 Ringtones/Pop.raw
67 7200 Ringtones/Pulse1.raw
68 4000 Ringtones/Ring1.raw
69 4000 Ringtones/Ring2.raw
70 4000 Ringtones/Ring3.raw
71 4000 Ringtones/Ring4.raw
72 4000 Ringtones/Ring5.raw
73 4000 Ringtones/Ring6.raw
74 4088 Ringtones/Ring7.raw
75 495 Ringtones/Ringlist.xml
76 10858 Ringtones/Sax1.raw
77 14233 Ringtones/Sax2.raw
78 16100 Ringtones/Vibe.raw
79 8095286 apps37sccp.1-3-4-0.bin
80 2942935 apps31.8-5-3TH1-6.sbn
81 2935993 apps42.8-5-3TH1-6.sbn
82 2935993 apps45.8-5-3TH1-6.sbn
83 2935993 apps75.8-5-3TH1-6.sbn
84 2933329 apps41.8-5-3TH1-6.sbn
85 2933329 apps70.8-5-3TH1-6.sbn
86 2599169 APPSH-1.3.3.SBN
87 2591877 APPS-1.3.3.SBN
88 2118620 SYSH-1.3.3.SBN
89 2103754 cvm70sccp.8-5-3TH1-6.sbn [invalid checksum]
90 2101414 cvm41sccp.8-5-3TH1-6.sbn [invalid checksum]
91 2100804 cvm45sccp.8-5-3TH1-6.sbn [invalid checksum]
92 2100554 cvm75sccp.8-5-3TH1-6.sbn [invalid checksum]
93 2100286 cvm31sccp.8-5-3TH1-6.sbn [invalid checksum]
94 2099070 cvm42sccp.8-5-3TH1-6.sbn [invalid checksum]
95 2083047 SYS-1.3.3.SBN [invalid checksum]
96 1939872 WLANH-1.3.3.SBN [invalid checksum]
97 1906272 SCCP69xx.8-5-3-0.zz [invalid checksum]
98 1892036 GUIH-1.3.3.SBN [invalid checksum]
99 1887312 jar75sccp.8-5-3TH1-6.sbn [invalid checksum]
100 1882934 jar45sccp.8-5-3TH1-6.sbn [invalid checksum]
101 1848343 GUI-1.3.3.SBN [invalid checksum]
102 1828410 jar70sccp.8-5-3TH1-6.sbn [invalid checksum]
103 1756328 jar42sccp.8-5-3TH1-6.sbn [invalid checksum]
104 1628021 jar41sccp.8-5-3TH1-6.sbn [invalid checksum]
105 1616425 jar31sccp.8-5-3TH1-6.sbn [invalid checksum]
106 1379535 WLAN-1.3.3.SBN [invalid checksum]
107 939293 TNUXH-1.3.3.SBN [invalid checksum]
108 896477 TNUX-1.3.3.SBN [invalid checksum]
109 537925 dsp41.8-5-3TH1-6.sbn [invalid checksum]
110 537925 dsp70.8-5-3TH1-6.sbn [invalid checksum]
111 524969 cnu45.8-5-3TH1-6.sbn [invalid checksum]
112 524917 cnu42.8-5-3TH1-6.sbn [invalid checksum]
113 524876 cnu75.8-5-3TH1-6.sbn [invalid checksum]
114 503753 cnu31.8-5-3TH1-6.sbn [invalid checksum]
115 500084 cnu70.8-5-3TH1-6.sbn [invalid checksum]
116 499644 cnu41.8-5-3TH1-6.sbn [invalid checksum]
117 496521 music-on-hold.au [invalid checksum]
118 340615 dsp31.8-5-3TH1-6.sbn [invalid checksum]
119 340615 dsp42.8-5-3TH1-6.sbn [invalid checksum]
120 340615 dsp45.8-5-3TH1-6.sbn [invalid checksum]
121 340615 dsp75.8-5-3TH1-6.sbn [invalid checksum]
122 264368 DSP69xx.0-0-0-3.zz [invalid checksum]
123 165355 B016-1-0-3.SBN [invalid checksum]
124 146463 B015-1-0-3.SBN [invalid checksum]
125 44896 BOOT69xx.0-0-0-14.zz [invalid checksum]
126 11601 CME-8-0-Full-Readme-v.1.0.txt [invalid checksum]
127 5134 7970-71-75-Background-readme-v1.txt [invalid checksum]
128 1916 MISC-1.3.3.SBN [invalid checksum]
129 4118 GUI/admin_user.html [invalid checksum]
130 677820 GUI/admin_user.js [invalid checksum]
131 1029 GUI/CiscoLogo.gif [invalid checksum]
132 639 GUI/CME_GUI_README.TXT [invalid checksum]
133 953 GUI/Delete.gif [invalid checksum]
134 16344 GUI/DOM.JS [invalid checksum]
135 864 GUI/downarrow.gif [invalid checksum]
136 6315 GUI/ephone_admin.html [invalid checksum]
137 4558 GUI/LOGOHOME.GIF [invalid checksum]
138 3978 GUI/normal_user.html [invalid checksum]
139 78428 GUI/normal_user.js [invalid checksum]
140 1347 GUI/Plus.gif [invalid checksum]
141 843 GUI/SXICONAD.GIF [invalid checksum]
142 174 GUI/Tab.gif [invalid checksum]
143 2496 GUI/telephony_service.html [invalid checksum]
144 870 GUI/UPARROW.GIF [invalid checksum]
145 10230 GUI/xml-test.html [invalid checksum]
146 3412 GUI/xml.template [invalid checksum]
147 12 OS79XX.txt
148 130552 P00308010200.bin
149 461 P00308010200.loads
150 708448 P00308010200.sb2
151 130956 P00308010200.sbn
152 703535 cmterm-7940-7960-sccp.8-1-2.cop.sgn
[239789964 bytes used, 281983088 available, 521773052 total]
509544K bytes of ATA CompactFlash (Read/Write)
RtrPod2#show telephony-service tftp-bindings
tftp-server system:/its/united_states/7960-tones.xml alias United_States/7960-tones.xml
tftp-server system:/its/united_states/7960-font.xml alias English_United_States/7960-font.xml
tftp-server system:/its/united_states/7960-font.xml alias English_United_States/7920-font.xml
tftp-server system:/its/united_states/7960-dictionary.xml alias English_United_States/7960-dictionary.xml
tftp-server system:/its/united_states/7960-kate.xml alias English_United_States/7960-kate.xml
tftp-server system:/its/united_states/7960-kate.xml alias English_United_States/7920-kate.xml
tftp-server system:/its/united_states/SCCP-dictionary.xml alias English_United_States/SCCP-dictionary.xml
tftp-server system:/its/SEPDEFAULT.cnf alias SEPDefault.cnf
tftp-server system:/its/vrf1/XMLDefault.cnf.xml alias XMLDefault.cnf.xml -
"Cannot place this file. No filter found for requested operation"
Hello,
Saw earlier postings on this but not quite the same situation and/or the solutions didn't work. Using InDesign CS 6. Trying to place many JPEG files. First one placed. After that, stopped working. Trying closing out of InDesign and restarting. Checked show options. Couldn't import into Illustrator. Tried copy and paste. Please help! Deadline approaching.
Thank you!No, they don't open in Photoshop - but I did try renaming the file name - not the extension but the filename itself as it was very long, including location, date and number. Although cumbersome for the number of files I have, this seemed to do the trick. Thank you!!!
-
Audio bug with WAV files: use mp3, not wav for syncing long audio files
Just a tip:
I've noticed another audio bug in Presenter (including 7.05) but there is a workaround. I often export the audio as a single, long clip from pre-recorded lecture videos, and sync it with the powerpoint slides in Presenter. I've found it easiest to import the long audio file into the first slide, then sync using the Edit Audio window. I find that much easier to use than the Sync audio window.
However, If you use WAV format for the imported audio file, sometimes Presenter will simply refuse to play back anything beyond about 5 minutes into the timeline in the Edit Audio window. Nothing fixes it - restarting, re-importing, etc. However the problem goes away if you save the audio as mp3.
Ellen
http://thedesignspace.netWhy did you post this in the LiveType forum?
I would recommending posting your question in the Final Cut Pro forum.
Have you tried trashing your preferences?
Anyways... here is a thread with a similar problem:
http://discussions.apple.com/thread.jspa?threadID=656515 -
Can one share JPEG files using the Creative Cloud for example similar to Dropbox and Flickr
Can one use the Creative Cloud facility to share JPEG files similar to Dropbox and Flickr
ALakey, Yes!!! You can, you just have to click on Share and put the email address of the person and a link will be sent to him.
- Nitin -
Been unable to sync files (use) creatice cloud connect for three (3) days
So what gives. Everything work find on Saturday 11 May 2013 but now I have been unable to sync files with Creative Cloud
Creative Cloud file sync services are currently unavailable. We're working to restore service as soon as possible. To disable error alerts you can Turn Sync Off or Quit Creative Cloud Connection.
You can check the current status of Creative Cloud at http://status.creativecloud.com.
Agreed that the status page could be more clear.
The Adobe Creative Cloud has may pieces:
Subscription to plans from https://creative.adobe.com/plans is working normally.
Installing desktop applications from https://creative.adobe.com/apps and the Adobe Application Manager are working normally.
Other services you can access from the Creative Cloud such as Story and Typekit are working normally.
Viewing training and learning videos from the Learn link is working normally.
Uploading, downloading and working with your files from the web service at https://creative.adobe.com/files is working normally. -
Two different methods for downloading a file using URL...
I was just wondering if someone could shed some light on whether I should be downloading files using java.net.URL or java.net.URLConnection
Here are two ways that I have found to work (and yes I realize that one is outputting to a stream and the other is getting put into a StringBuffer):
InputStream in = url.openStream();
byte[] b = new byte[buffSize];
fileOutStream = new FileOutputStream(fileToBeCreated);
while ((bytesRead = in.read(b)) != -1){
totalFileSize+=bytesRead;
fileOutStream.write(b, 0, bytesRead);
}and
URLConnection _con = url.openConnection();
in = new BufferedReader(new InputStreamReader(_con.getInputStream()));
String inputLine;
while ((inputLine = in.readLine()) != null){
webPageStringBuff.append(inputLine+"\r\n");
}In both of the above cases url is just a URL object that has already been instantiated with a valid URL.
So, just to re-iterate, I realize that the output portion of this code is doing something different (i.e. writing to a stream as opposed to appending to a StringBuffer) but I would like to know whether there is any reason to choose using the URLConnection to get the stream as opposed to using the URL to get the stream.
Thanks,
Timhi,
try out the following code
// Program: copyURL.java
// Author: Anil Hemrajani ([email protected])
// Purpose: Utility for copying files from the Internet to local disk
// Example: 1. java copyURL http://www.patriot.net/users/anil/resume/resume.gif
// 2. java copyURL http://www.ibm.com/index.html abcd.html
import java.net.*;
import java.io.*;
import java.util.Date;
import java.util.StringTokenizer;
class copyURL
public static void main(String args[])
if (args.length < 1)
System.err.println
("usage: java copyURL URL [LocalFile]");
System.exit(1);
try
URL url = new URL(args[0]);
System.out.println("Opening connection to " + args[0] + "...");
URLConnection urlC = url.openConnection();
// Copy resource to local file, use remote file
// if no local file name specified
InputStream is = url.openStream();
// Print info about resource
System.out.print("Copying resource (type: " +
urlC.getContentType());
Date date=new Date(urlC.getLastModified());
System.out.println(", modified on: " +
date.toLocaleString() + ")...");
System.out.flush();
FileOutputStream fos=null;
if (args.length < 2)
String localFile=null;
// Get only file name
StringTokenizer st=new StringTokenizer(url.getFile(), "/");
while (st.hasMoreTokens())
localFile=st.nextToken();
fos = new FileOutputStream(localFile);
else
fos = new FileOutputStream(args[1]);
int oneChar, count=0;
while ((oneChar=is.read()) != -1)
fos.write(oneChar);
count++;
is.close();
fos.close();
System.out.println(count + " byte(s) copied");
catch (MalformedURLException e)
{ System.err.println(e.toString()); }
catch (IOException e)
{ System.err.println(e.toString()); }
ok -
Reading XML file using BAPI and then uploading that xml file data into SAP
I am getting a xml file from Java server. I need to take
data from this file using BAPI and need to upload into SAP using SAP.
Please tell me how to read XML files using BAPI's.<b>SDIXML_DATA_TO_DOM</b> Convert SAP data (elementary/structured/table types) into DOM (XML
<b>SDIXML_DOM_TO_XML</b> Convert DOM (XML) into string of bytes that can be downloaded to PC or application server
<b>SDIXML_DOM_TO_SCREEN</b> Display DOM (XML)
<b>SDIXML_DOM_TO_DATA</b>
data: it_table like t001 occurs 0.
data: l_dom TYPE REF TO IF_IXML_ELEMENT,
m_document TYPE REF TO IF_IXML_DOCUMENT,
g_ixml TYPE REF TO IF_IXML,
w_string TYPE XSTRING,
w_size TYPE I,
w_result TYPE I,
w_line TYPE STRING,
it_xml TYPE DCXMLLINES,
s_xml like line of it_xml,
w_rc like sy-subrc.
start-of-selection.
select * from t001 into table it_table.
end-of-selection.
initialize iXML-Framework ****
write: / 'initialiazing iXML:'.
class cl_ixml definition load.
g_ixml = cl_ixml=>create( ).
check not g_ixml is initial.
write: 'ok'.
create DOM from SAP data ****
write: / 'creating iXML doc:'.
m_document = g_ixml->create_document( ).
check not m_document is initial.
write: 'ok'.
write: / 'converting DATA TO DOM 1:'.
CALL FUNCTION 'SDIXML_DATA_TO_DOM'
EXPORTING
NAME = 'IT_TABLE'
DATAOBJECT = it_table[]
IMPORTING
DATA_AS_DOM = l_dom
CHANGING
DOCUMENT = m_document
EXCEPTIONS
ILLEGAL_NAME = 1
OTHERS = 2.
if sy-subrc = 0. write 'ok'.
else. write: 'Err =', sy-subrc.
endif.
check not l_dom is initial.
write: / 'appending DOM to iXML doc:'.
w_rc = m_document->append_child( new_child = l_dom ).
if w_rc is initial. write 'ok'.
else. write: 'Err =', w_rc.
endif.
visualize iXML (DOM) ****
write: / 'displaying DOM:'.
CALL FUNCTION 'SDIXML_DOM_TO_SCREEN'
EXPORTING
DOCUMENT = m_document
EXCEPTIONS
NO_DOCUMENT = 1
OTHERS = 2.
if sy-subrc = 0. write 'ok'.
else. write: 'Err =', sy-subrc.
endif.
convert DOM to XML doc (table) ****
write: / 'converting DOM TO XML:'.
CALL FUNCTION 'SDIXML_DOM_TO_XML'
EXPORTING
DOCUMENT = m_document
PRETTY_PRINT = ' '
IMPORTING
XML_AS_STRING = w_string
SIZE = w_size
TABLES
XML_AS_TABLE = it_xml
EXCEPTIONS
NO_DOCUMENT = 1
OTHERS = 2.
if sy-subrc = 0. write 'ok'.
else. write: 'Err =', sy-subrc.
endif.
write: / 'XML as string of size:', w_size, / w_string.
describe table it_xml lines w_result.
write: / 'XML as table of', w_result, 'lines:'..
loop at it_xml into s_xml.
write s_xml.
endloop.
write: / 'end of processing'.
end of code
Hope this will be useful.
regards
vinod -
Cannot retrieve file after I forgot to properly eject the USB it was on--what can I do to get this file to open? Thanks for helping me out b/c it would take days to re-create this file! IMAC 10.5.8 Excel File using .xls extension.
Hi Sue,
Could be many things, we should start with this...
"Try Disk Utility
1. Insert the Mac OS X Install disc, then restart the computer while holding the C key.
2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu at the top of the screen. (In Mac OS X 10.4 or later, you must select your language first.)
Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.
3. Click the First Aid tab.
4. Select your Mac OS X volume.
5. Click Repair. Disk Utility checks and repairs the disk."
http://docs.info.apple.com/article.html?artnum=106214
Then Try a Repair on the External USB Drive.
Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
(Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.) -
Error Message: "A virus was detected in FILENAME. This file will not be uploaded"
I have been synching files using Creative Cloud Connect for many months. During the past few weeks, I get the message "Some files failed to sync". When I click on "Learn more", it has 3 files there and all have the message "A virus was detected in filename . This file will not be uploaded". I scanned all three files with AVG and Malwarebytes (installed on my system) and both report that there is no virus in those files. I have tried to chat with support but I could not find any resolution with them. I believe that I never got to the right place. I was connected with 5 different people. At the end of the last discussion I spoke to Adobe Captivate support. It so happens that the files with that error are all Adobe Captivate files. But that support also concluded that they couldn't help. I could not find similar entries in the forums either. Did anyone else have this problem?
I appreciate any help.
AngelaNo unfortunately, I have not. I spent over an hour on the phone with them already regarding this topic. In the end, the support in Adobe Captivate (that's the 5th support group they connected me to) told me that I wasn't allowed to upload Captivate files since Adobe Captivate 8 is not a CC application and that's why the problem was happening. I am absolutely sure that this is untrue since I have many Captivate files on CC. I think the key will be to get to the right support group. Good luck! I really hope you find a solution. Keep me informed. Thanks.
-
Is it possible to edit a file made with 8.1 for word using acrobat 9 pro??
I have a PDF file which seems to have been created using acrobat 8.1 file maker for Word. Is it possible to edit this file using acrobat 9 pro extended and if so how do i go about this..
When i select the tools menu, no options become available and there is no secuirty enabled on the file.
Thanks
Tonybluuskii wrote:
I have a PDF file which seems to have been created using acrobat 8.1 file maker for Word. Is it possible to edit this file using acrobat 9 pro extended and if so how do i go about this..
When i select the tools menu, no options become available and there is no secuirty enabled on the file.
Thanks
Tony
If you have Acrobat Pro Extended that is a PC Product. You've clicked on wrong Forum. Go back to main page the click on Acrobat and choose PC forum. Extend has such features as XML based PDF Forms which Acrobat Pro Mac can't handle. -
How Encrypt a File Using Key?
Hi Guys,
Here is my problem. I have to create a bank's document encrypted to send to a legacy system. ( Using a KEY to validate the roll process)
I'm thinking to use two scenarios:
1 - Generate the file via ABAP and sent it to a folder in a server to be consuming - SAP ERP.
2 - Generate the file via ABAP, sent it to PI encrypt it via Java Mapping and sent it to a server.
ABAP
First question.
There is a way to generate this file using SHA1 using a Key as parameter?
(CALCULATE_HASH_FOR_CHAR)
Second one.
How can I decrypt this file to test?
Third.
There is others ways to encrypt a file via SAP ERP? UTF-8 and BASE32 are not encrypt codes. They are encoding code.
PI
First
There is a library or other way to encrypt a file without implement a Java Mapping?
Tnks.> There is a way to generate this file using SHA1 using a Key as parameter?
Why don't you simple search the forum with "SHA1" term, you'd get the answer in an instant
> How can I decrypt this file to test?
> There is others ways to encrypt a file via SAP ERP? UTF-8 and BASE32 are not encrypt codes. They are encoding code.
What encryption do you need?
> But I would like to know if are these methods algorithms as DES, AES, RSA... or others ?
Couldn't you say it at the beginning!
By simply looking at CL_HARD_WIRED_ENCRYPTOR methods, we see that the encryption mechanism is very simple (I'm not expert so I can't tell what it is), I wouldn't rely on it...
I recommend you to read [Note 662340 - SSF Encryption Using the SAPCryptolib|http://service.sap.com/sap/support/notes/662340]. There are also some documentation, security guides on sap library and sap marketplace.
Edited by: Sandra Rossi on Jul 13, 2010 6:51 PM
Maybe you are looking for
-
IOS 4.2.1 / Exchange Calendar Bug - "Tentative"
I've noticed a problem with iOS 4.2.1 on my iPhone and iPad. Whenever I accept a meeting request from Outlook it shows up as "Tentative" in iOS even though it is "Accepted" in Outlook. If I accept the request from iOS directly it shows up as "Accepte
-
Modify Vendor Search Term # 2 While Saving.
Hi Experts, I'm trying to modify and save trought a BADI VENDOR_ADD_DATA -> SAVE_DATA the search term #2. i've typed the following code to try it, but it does´nt make any change, please help me : DATA: sort1(30), sort2(30), zsendv
-
E1000 works behind E3500 as access point but not behind Airlink AR675W and ideas?
In my own home just testing my E1000 works fine as an access point with an E3500 as primary router using Linksys method 1 (lan-lan connection) with E1000 IP reset to 192.168.1.2 and DHCP off and with method 2 (lan-wan) with E1000 IP reset to 192.1
-
Hi All, My project is implementing BI 7.0. Can any one suggest me reg server sizing. My Problems: 1) Whether better to go for same client for both Functional guyz n BW guyz on the same server. 2) I
-
Usage dependencies between SWCVs.
Hi guys, Im doing a BPM that needs to use a Message Interface defined in other SWCV. In the SLD, under the SWCV which the BPM itself resides, I have defined an Installation Time dependency for SWCV2. I already have the SLD cache cleared, but the Mes