I need a code to be able to save my form to excel with a save button????
This is the codes very simple right now but i can not get a code or understanding of what to put for the import part or Dim file path. The excel sheet i have saved in C:\connecttoexcel\ but do have the exact code needed.
Public Class Mesquite
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
End Sub
Private Sub TextBox1_TextChanged(sender As Object, e As EventArgs) Handles TextBox1.TextChanged
IsNumeric(TextBox1.Text)
End Sub
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
End Sub
Private Sub TextBox2_TextChanged(sender As Object, e As EventArgs) Handles TextBox2.TextChanged
TimeValue(TimeOfDay)
End Sub
End Class
I'm sorry but there isn't enough information here to help you. You can't "save a form to Excel"... you could copy data from the Form's controls into an Excel spreadsheet, but it doesn't make sense to "save a form". There's
also no indication of how you want to interface with Excel... will there always be a version of Excel installed on the computer running your program? If so, what versions of Excel do you need to target? What version of Visual Studio are you using?
What Windows OS will you be targeting?
Please explain what you are trying to do in greater detail, answering not just the questions above, but also providing a detailed description of what you are trying to achieve.
Reed Kimble - "When you do things right, people won't be sure you've done anything at all"
Similar Messages
-
I need a code to run a report from a forms on 10G...
Hi!! I´m migrating from 6i to 10G and i cant run a report... can someone send me a sample code to run a report from a form in 10G??
Thanks!!
Regards!iam using Javabean in oracle 10g forms to tun the report....
First create a block with a name control and add an bean to it with a name
userid_bean.click the proerty of the bean and changes its width and height
so that u cannot see it when u run the particular form.
now use the below code where u are coding to run the report.
Declare
rep_url varchar2(2000);
begin
rep_url := '/reports/rwservlet?report=filepath\rep1.RDF' ||
'&desformat=htmlcss&destype=cache&userid=sample/sample@oracle' || '¶mform=yes';
-- Write Log messages to the Forms JInitiator console.The Next line must
-- be disabled before running this code in any production environment.
set_custom_property('control.userid_bean',1,'ADD_USERID',
get_application_property(username)||'/'||
get_application_property(password)||'@'||
get_application_property(connect_string));
-- writing the cookie
set_custom_property('control.userid_bean',1,'WRITE_USERID_COOKIE','10g');
web.show_document(rep_url,'_blank');
end; -
From an Banking Site I am not able to open PDF form
Hi Team,
I am trying to open a form which is in PDF format but when click the form which is a Link provide in a Banking website, the page open but the with out form and it give a message as below
Message:
Please wait...
If this message is not eventually replaced by the proper contents of the document, your PDF
viewer may not be able to display this type of document.
You can upgrade to the latest version of Adobe Reader for Windows®, Mac, or Linux® by
visiting http://www.adobe.com/products/acrobat/readstep2.html.
For more assistance with Adobe Reader visit http://www.adobe.com/support/products/
acrreader.html.This is a User 2 User forum and not paid Acrobat support.
Google Chrome, FireFox and other web browsers include their own PDF reader plug-in. These plug-ins vary in quality and the ability to process all types of PDFs. Many fail with forms.
I would change the PDF viewer to Adobe Reader.
You might also try using Internet Explorer and Adobe Reader.
You also might need to save the form directly to your computer, "Save Target as", and then open the saved copy of the form.
If all of that fails, you need to talk to the bank. -
I need activation code for my ipad
PLeas i need activation code for my ipad becouse i cant open it ana i know the apple id and password
Only the person who initiated the Activation Lock can remove it. if purchased used/2cd hand,
contact the seller for assistance. This is what they need to do:
Prepare your device to sell or give away
If seller refuses or cannot be contacted, the iPad is useless. There is no workaround for
Activation Lock.
iCloud: Find My iPhone Activation Lock in iOS 7 & later
http://support.apple.com/kb/HT5818?viewlocale=en_US&locale=en_US
http://support.apple.com/kb/TS4515
If you are the original purchaser, gather up proof of purchase and take that proof + the iPad
to a physical Apple store where they may be able to assist you.
What is the exact complete wording of the error message you are receiving? -
Can you please give me my code to be able do register Photoshop and Lightroom, I have now got a one month try out version of Photoshop.
Can you also give me my log gin, I have two companies, so I my have mixed up the logins.
Best R
Leif O Pehrson
26 aug 2014 kl. 14:08 skrev Adobe Creative Cloud <[email protected]>:
I have a order number, do you want it ?Cloud programs do not use serial numbers... you log in to your paid Cloud account to download & install & activate... you MAY need to log out of the Cloud and restart your computer and log back in to the Cloud for things to work
Some general information for a Cloud subscription
Log out of your Cloud account... Restart your computer... Log in to your paid Cloud account
-Sign in help http://helpx.adobe.com/x-productkb/policy-pricing/account-password-sign-faq.html
http://www.adobe.com/products/creativecloud/faq.html
http://helpx.adobe.com/creative-cloud/help/install-apps.html to install or uninstall
http://forums.adobe.com/community/download_install_setup/creative_cloud_faq
What it is http://helpx.adobe.com/creative-cloud/help/creative-cloud-desktop.html
Cloud Getting Started https://helpx.adobe.com/creative-cloud.html -
I need to host a Shared PDF on SharePoint 2010. If it is on SharePoint can only one person comment at a time? I know documents have to be checked out when using SharePoint. I need multiple users to be able to comment in real time and see comments in real time. Is this possible?
try here:
http://www.bbb.org
File a complaint with them. Verizon will call you to fix the blunder.
But remember it is always up to the customer to insure what they are getting and what it costs. Don't trust the word of a sales person who makes their living on getting that sale. Lies, deceit or false promises will be and have been used by sales people for thousands of years.
Good Luck -
I have an iPad 2 and want to be able to design my own templates for invitations, labels, and such. What do I need to do to be able to do this? Apps??
Take a look at these three sites and you might find something in one that will work for you.
http://appadvice.com/appnn/2011/06/appguide-updated-vector-drawing-apps-ipad
http://jaevin.com/blog/2011/02/20/ipad-sketching-drawing-apps/
http://www.designer-daily.com/10-great-ipad-applications-for-creative-people-623 4
I downloaded iDraw - which is an Adobe Illustrator wannabe for the iPad. You can export to PDF and other formats using iDraw. iDraw also supports file sharing. File Sharing is the iPad/iTunes way to send files back and forth from the iPad to your computer and back again.
This site will tell you about iDraw.
http://www.indeeo.com/idraw/
This is a link to iOS File Sharing which you will find useful as well.
http://support.apple.com/kb/ht4094
There are third party apps in the app store that will allow you to use virtually any printer even if you don't have one of the HP AirPrint compatible printers.
You can even use an app like Pages to create your templates. You can insert art and photos into Pages and it supports file sharing as well. Pages is a Word Processing app and I would be inclined to not use it for your purposes but it will work for some basic designs however it's certainly not ideal for creating artwork.
http://www.apple.com/ipad/from-the-app-store/pages.html -
I need the code to delete record in the database not in the form???
I need the code to delete record in the database not in the form...
because when i execute a form always insert the datas in the data base but i want insert value on a text file and delete in the data base the record whith this value of text file.
i'm spanish an my english is bad sorry.
thank, javierWell, I fail to understand why you want to complicate easy things, but anyway you can do that by using TEXT_IO within Forms to create text file (see Forms builder help), and UTL_FILE package to read it within Pl/Sql : you could create a stored procedure, and call it from Forms passing the file name as parameter. See UTL_FILE documentation
-
Need sample code with RV_INVOICE_CREATE used
Hi everybody!
I need sample code with RV_INVOICE_CREATE or similar FMs used.
The thing is that I do not know how to populate parametres of this and other invoicing FMs....
For example, there are some tables to be passed to RV_INVOICE_CREATE
TABLES
XKOMFK = XKOMFK
XKOMV = XKOMV
XTHEAD = XTHEAD
XVBFS = XVBFS
XVBPA = XVBPA
XVBRK = XVBRK
XVBRP = XVBRP
XVBSS = XVBSS
How to populate them? I mean how to fill them with needed values?
Useful answers will be awarded.
Kind regards, M.RV_INVOICE_CREATE is the function module to create invoice based on delivery .
when you pass delivery number ,it will create invoice ,see the invoice number in vf02,vf03 transaction. and also see the data vbrk,vbrp tables
I have done this development and i have cancelled invoice,reverse goods issue,updated the delivery and again i am createing invoice..see the below progrm to get better understanding.
REPORT ZWM_OVERWEIGHT_FIX no standard page heading
message-id zwm.
======================================================================
Program Name : ZWM_OVERWEIGHT_FIX *
Description : Tool to fix Overweight in delivery line item, *
Used All Function module to cancel invoice , *
Reverse the goods issue ,Update Delivery qty,Create *
invoice *
Author : Seshu *
Date : 05/08/2007 *
MODIFICATION HISTORY *
DATE | AUTHOR | CHANGE # | DESCRIPTION OF MODIFICATION *
--|||--
05/08/07| Seshu | DEVK921979 | Initial *
D A T A - D E C L A R A T I O N *******************
Tables
Tables : vbak,
vbap,
vbfa,
likp,
lips,
vbrk,
vbrp.
Internal Tables
data : i_lips like lips occurs 0 with header line,
i_vbap like vbap occurs 0 with header line.
Variables
data : v_deliv like vbfa-vbelv,
v_invoic like vbfa-vbelv.
Data Declaration Part for Post Goods Issue
DATA: l_vbeln LIKE likp-vbeln,
l_vbkok LIKE vbkok,
i_prot LIKE prott OCCURS 0 WITH HEADER LINE,
ef_error_any_0 TYPE c,
ef_error_in_item_deletion_0 TYPE c,
ef_error_in_pod_update_0 TYPE c,
ef_error_in_interface_0 TYPE c,
ef_error_in_goods_issue_0 TYPE c,
ef_error_in_final_check_0 TYPE c,
d_return LIKE bapireturn1.
Internal tables for BAPI Function Module
data : i_cret like BAPIRETURN1 occurs 0 with header line,
i_csucess like BAPIVBRKSUCcESS occurs 0 with header line,
i_ret2 like bapiret2 ,
flag type c,
i_mesg like mesg occurs 0 with header line.
Data Declaration for Invoice Creation
DATA: VBSK_I LIKE VBSK.
data: d_success type c.
DATA: XKOMFK LIKE KOMFK OCCURS 0 WITH HEADER LINE,
XKOMV LIKE KOMV OCCURS 0 WITH HEADER LINE,
XTHEAD LIKE THEADVB OCCURS 0 WITH HEADER LINE,
XVBFS LIKE VBFS OCCURS 0 WITH HEADER LINE,
XVBPA LIKE VBPAVB OCCURS 0 WITH HEADER LINE,
XVBRK LIKE VBRKVB OCCURS 0 WITH HEADER LINE,
XVBRP LIKE VBRPVB OCCURS 0 WITH HEADER LINE,
XVBSS LIKE VBSS OCCURS 0 WITH HEADER LINE,
XKOMFKGN LIKE KOMFKGN OCCURS 0 WITH HEADER LINE.
S E L E C T I O N - S C R E E N ******************
Selection-screen
Selection-screen : begin of block blk with frame title text-001.
parameters : p_vbeln like vbak-vbeln obligatory.
selection-screen : end of block blk.
A T - S E L E C T I O N - S C R E E N ***************
Validation on Sales order
at selection-screen on p_vbeln.
Check the data on VBAK Table
select single vbeln from vbak into vbak-vbeln
where vbeln = p_vbeln.
if sy-subrc ne 0.
message e006 with p_vbeln.
endif.
S T A R T - O F - S E L E C T I O N *******************
Start-of-selection.
break sreddy.
Get the Invoice Number corresponding Sales Order Number
perform get_invoice.
Step 1.
Cancel the Invoice - Transaction VF11
perform cancel_invoice.
Reverse the goods issue
perform reverse_goodsissue.
Get the Order and Delivery Items
perform get_sales_deliv.
Delivery Change
perform Delivery_change.
Create Invoice document
perform invoice_create.
E N D - O F - S E L E C T I O N *******************
end-of-selection.
if flag = 'X'.
message i012 with p_vbeln.
endif.
*& Form get_invoice
Get Invoice Number
FORM get_invoice.
Clear Variables
clear : v_deliv,
v_invoic,
flag.
Get the Delivery Number First
select single vbeln from vbfa into v_deliv
where vbelv = p_vbeln
and vbtyp_n = 'J'.
if sy-subrc ne 0.
message i004 with p_vbeln.
stop.
endif.
Get the Invoice Number
select single vbeln from vbfa into v_invoic
where vbelv = p_vbeln
and vbtyp_n = 'M'.
if sy-subrc ne 0.
message i003 with p_vbeln.
stop.
endif.
ENDFORM. " get_invoice
*& Form cancel_invoice
Cancel the Invoice
FORM cancel_invoice.
clear : i_ret2,
i_cret,
i_csucess.
refresh : i_cret,
i_csucess.
CALL FUNCTION 'BAPI_BILLINGDOC_CANCEL1'
EXPORTING
BILLINGDOCUMENT = v_invoic
TESTRUN =
NO_COMMIT =
BILLINGDATE =
TABLES
RETURN = i_cret
SUCCESS = i_csucess
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = space
IMPORTING
RETURN = i_ret2.
read table i_cret with key type = 'E'.
if sy-subrc ne 0.
message i005 with v_invoic.
stop.
endif.
ENDFORM. " cancel_invoice
*& Form reverse_goodsissue
Reverse the goods Issue
FORM reverse_goodsissue.
Local Variable
data : lv_vbtyp like likp-vbtyp.
clear : i_mesg,
lv_vbtyp.
refresh : i_mesg.
select single vbtyp from likp into lv_vbtyp
where vbeln = v_deliv.
CALL FUNCTION 'WS_REVERSE_GOODS_ISSUE'
EXPORTING
I_VBELN = v_deliv
I_BUDAT = sy-datum
I_COUNT =
I_MBLNR =
I_TCODE =
I_VBTYP = lv_vbtyp
TABLES
T_MESG = i_mesg
EXCEPTIONS
ERROR_REVERSE_GOODS_ISSUE = 1
OTHERS = 2
if sy-subrc ne 0.
message i007 with v_deliv.
endif.
ENDFORM. " reverse_goodsissue
*& Form get_sales_deliv
Get the Sales order and Deliv Items
FORM get_sales_deliv.
Local Variables
data : lv_kwmeng like vbap-kwmeng.
clear : i_lips,
i_vbap.
refresh : i_lips,
i_vbap.
Select the data from LIPS
select * from lips into table i_lips
where vbeln = v_deliv.
if sy-subrc ne 0.
message i008 with v_deliv.
stop.
endif.
sort i_lips by vbeln posnr.
Get the Sales order Item Data.
select * from vbap into table i_vbap
where vbeln = p_vbeln.
if sy-subrc ne 0.
message i006 with p_vbeln.
stop.
endif.
sort i_vbap by vbeln posnr.
Compare delivery Item and Order Items
loop at i_lips.
clear lv_kwmeng.
read table i_vbap with key posnr = i_lips-posnr.
if sy-subrc eq 0.
lv_kwmeng = i_vbap-kwmeng * 2.
if lv_kwmeng >= i_lips-lfimg.
i_lips-lfimg = i_vbap-kwmeng.
modify i_lips.
endif.
endif.
endloop.
ENDFORM. " get_sales_deliv
*& Form Delivery_change
Delivery Update
FORM Delivery_change.
Clear : i_prot.
refresh : i_prot.
Delivery Update
CALL FUNCTION 'LE_MOB_DELIVERY_UPDATE'
EXPORTING
do_commit = 'X'
TABLES
t_delivery_items = i_lips
prot = i_prot
EXCEPTIONS
conversion_overflow = 1
essential_data_missing = 2
error = 3
nothing_to_update = 4
lock_after_update_failed = 5
error_in_delivery_update = 6
OTHERS = 7.
COMMIT WORK.
IF sy-subrc <> 0.
MESSAGE i009 with v_deliv.
endif.
Post Goods Issue
CLEAR: d_return,
i_prot,
l_vbeln,
l_vbkok.
REFRESH i_prot.
CLEAR: ef_error_in_item_deletion_0 ,
ef_error_in_pod_update_0 ,
ef_error_in_interface_0 ,
ef_error_in_goods_issue_0 ,
ef_error_in_final_check_0 .
carry out goods issue
l_vbeln = v_deliv.
l_vbkok-vbeln_vl = l_vbeln.
l_vbkok-wabuc = 'X'.
carry out goods issue
l_vbeln = v_deliv.
l_vbkok-vbeln_vl = l_vbeln.
l_vbkok-wabuc = 'X'.
SET UPDATE TASK LOCAL.
CALL FUNCTION 'WS_DELIVERY_UPDATE'
EXPORTING
vbkok_wa = l_vbkok
synchron = 'X'
no_messages_update = ' '
update_picking = 'X'
commit = 'X'
delivery = l_vbeln
nicht_sperren = 'X'
if_error_messages_send_0 = space
IMPORTING
ef_error_any_0 = ef_error_any_0
ef_error_in_item_deletion_0 = ef_error_in_item_deletion_0
ef_error_in_pod_update_0 = ef_error_in_pod_update_0
ef_error_in_interface_0 = ef_error_in_interface_0
ef_error_in_goods_issue_0 = ef_error_in_goods_issue_0
ef_error_in_final_check_0 = ef_error_in_final_check_0
TABLES
prot = i_prot
EXCEPTIONS
error_message = 1
OTHERS = 2.
if sy-subrc ne 0.
message i010 with v_deliv.
else.
COMMIT WORK .
endif.
ENDFORM. " Delivery_change
*& Form invoice_create
Invoice Creation
FORM invoice_create.
refresh: XKOMFK, XKOMV,
XTHEAD, XVBFS,
XVBPA, XVBRK,
XVBRP, XVBSS.
clear : XKOMFK, XKOMV,
XTHEAD, XVBFS,
XVBPA, XVBRK,
XVBRP, XVBSS,
VBSK_I.
VBSK_I-SMART = 'F'.
XKOMFK-VBELN = v_deliv.
XKOMFK-VBTYP = 'J'.
APPEND XKOMFK.
CALL FUNCTION 'RV_INVOICE_CREATE'
EXPORTING
VBSK_I = VBSK_I
WITH_POSTING = 'C'
TABLES
XKOMFK = XKOMFK
XKOMV = XKOMV
XTHEAD = XTHEAD
XVBFS = XVBFS
XVBPA = XVBPA
XVBRK = XVBRK
XVBRP = XVBRP
XVBSS = XVBSS.
if sy-subrc eq 0.
COMMIT WORK.
flag = 'X'.
else.
message i011 with p_vbeln.
endif.
ENDFORM. " invoice_create
Reward Points if it is helpful
Thanks
Seshu -
I have inadvertently infringe copyright on facebook and they have subsequently barred me from uploading any more videos.
The question I need answered is ( and not able to find the answer on any of you help pages).....
Do the following have free copyright to publish on facebook and U Tube?
1.Garage band sounds?
2.Slide show...Sample music and Theme music?
3.iMovie...iMovie sounds and iLife sounds ie.Medal Ceremony and Memorial etc?
I note one can publish to shared net places directly from iMovie so one assumes these are copyright free for non-profit making and non-comercial use.
It is impossible to contact apple direct.No email address.We put our selves at risk without this knowledge and like applemac, facebook will not communicate direct.Will applemac please take responsibility for copyright/the above that they are all too willing to sell to us but not support us with that knowledge.
I have Mac OS X Snow Leopard version 10.6.2 (2009 bought in 2010)Thank you Klaus1.The large font, I copied and pasted from my mail box.I'm visually impaired...not to a huge degree but it helps to use the large font.I believe you are right about the copyright on the imac stuff but if facebook decide otherwise, you have to reply electronically to their challenge.If you can't provide a reference directly from the copyright owner then they remove the video.I believe this is a programmed response and no human is involved which now makes it impossible for me to get my video uploading restored.They detect added soundtrack automatically and then challenge.There are many others in the same boat and facebook will not communicate.They have various discussion sites on which I have left messages including Mark Zuckerbergs own facebook but I don't think anyone from facebook ever reads them.I intend to start a second facebook which I can use purely to get my videos uploaded as a lot of my friends enjoy them BUT don't want fall foul of their programming again.If only iMac would put something on the net to this effect.I think it is so unfair that with modern technology it is impossible to contact these large conglomerates personally and receive an email response.I tried emailing [email protected] but I got a failure notice.If you have any ideas on how to get verification from apple direct, I would be very grateful.Thank You.
-
I am a new iPad owner with Mac OS 10.4.11 on my desktop. Currently I have iTunes 9.2.1. What do I need to do to be able to sync my iPod settings in iTunes to my new iPad? The newest version of iTunes says I can't install it since it requires 10.5 or later.
Mac OS X 10.5 Leopard installation system requirements
http://support.apple.com/kb/TA24950
Leopard is no longer available at the Apple Store but may be available by calling Apple Phone Sales @ 1-800-MY-APPLE (1-800-692-7753).
If you can't obtain a retail install DVD from Apple, look on eBay or Google the installer part numbers to possibly find at an on-line store. Here's what to look for:
MB427Z/A Leopard 10.5.1 install DVD
MB576Z/A Leopard 10.5.4 install DVD
MB021Z/A Leopard 10.5.6 install DVD (single user)
MB022Z/A Leopard 10.5.6 install DVD (5-user family pack)
Installing Mac OS X 10.5 Leopard
http://support.apple.com/kb/HT1544
Mac OS X 10.5 Leopard Installation and Setup Guide
http://manuals.info.apple.com/en/leopard_install-setup.pdf
After you install the base 10.5, download & install the 10.5.8 combo update at http://support.apple.com/downloads/Mac_OS_X_10_5_8_Combo_Update
Cheers, Tom -
I have Mac OS X 10.5.8, what do I need to do to be able to be able to install itunes 11.1?
Get more information about your computer. Go to the Apple in the upper left corner of any window, then "About This Mac". Write down what it says about "version"and report that here. Now continue to "More Info..." Copy and paste the information here, but omit the serial number and Hardware UUID (if present).
If you have a PPC Mac you cannot sync your idevice without a newer computer. See the end of this post for options.
If it says you have an Intel Mac you can upgrade to Snow Leopard, but check system requirements first:
Snow Leopard 10.6 Technical Requirements - http://support.apple.com/kb/SP575
You can buy Snow Leopard at:
Snow Leopard disc source - http://store.apple.com/us/product/MC573Z/A/mac-os-x-106-snow-leopard
After installing run the updater to 10.6.8, then upgrade iTunes.
Jan. 2014 post by Kappy on doing all this: https://discussions.apple.com/message/24599931
Options if you cannot upgrade: iTunes Store purchases can already be downloaded directly. Use iTunes Match to put non-Store music in iCloud, then download to your device from there. Backup your device directly to iCloud over a wireless connection. Photos can be downloaded from the Camera Roll using iPhoto or Image Capture. -
Vendor Database - Need Transaction code
Hi All,
Last week i have posted a query with regard to pulling the Vendor Database (Need : Vendor Code / Description/ Address 1/ Postal Code / Payment Type )
Few experts have suggested me to use S_ALR_87012086 T-Code, however the problem is we dont have access to use this Transaction. Can someone help me to pull the information from through any other way.
Regards,
SrikanthHi
As suggested by earlier thread it is standard ! It is very easy to follow the SAP standards. For time being you can use like
SE16 Table > LFA1 table > Give vendor code & execute. You can get all required data. If not take ADRNR number and pass the smae in to ADRC table ,where you can get exactly what you want. Link is vendor and ADRNR number.
Rgds
SUMA -
I Need Java code for following Algorithm
* I Need Java code for following algorithm. Kindly any one help.
1. Read the contents (ideas and its corresponding scores) from two files named as 'a' and 'b'.
2. Stored the file 'a' contents in array a[].
3. Stored the file 'b' contents in array b[].
4. compare both files like
if(a.equals(b[j])
Writing the common idea and add the score from file 'a' and 'b'.
else
write the uncommon idea and its score..
For example :
Form Agents.txt
action,65
architecture,85
eco-,15
essay,30
form,85
form,85
link,40
tangent,25
Form Agents1.txt
Black holes,69
essay,78
Herewith i have above mentioned two files named as Form Agents and Form Agents1.
Form Agents has eight fields
Form Agents1 has two fields
--> 'essay' is common in two files, so store the idea 'essay' and add the score from Form Agents score is '30' and Form Agents1 has 78 (essay 108).
Finally it stores idea in another file with uncommon fields also.
Please help us.We have tried with following code.
But we cant add the scores.
For Example:
Form Agents.txt --> has "essay,30"
Form Agents1.txt --> has "essay,78"
Result is: essay,108
Finally it stores idea in another file with uncommon fields also.
So Any one pls correct the following code.
try
DataOutputStream o1=new DataOutputStream(new
FileOutputStream("C:\\Interfaces\\interfaces\\temp\\BlackBoard\\My Design
World\\Project\\Material\\art\\System Agents\\Form Agents\\CandidateResponses\\Form
Agents.txt"));
//Reading the contents of the files
BufferedReader br= new BufferedReader(new InputStreamReader(new
FileInputStream("C:\\Interfaces\\interfaces\\temp\\BlackBoard\\My Design
World\\Project\\Material\\art\\System Agents\\Form Agents\\Ideological\\Form
Agents.txt")));
BufferedReader br1= new BufferedReader(new InputStreamReader(new
FileInputStream("C:\\Interfaces\\interfaces\\temp\\BlackBoard\\My Design
World\\Project\\Material\\art\\System Agents\\Form Agents\\Related\\Form
Agents.txt")));
while((s=br.readLine())!=null)
s1+=s+"\n";
while((s2=br1.readLine())!=null)
s3+=s2+"\n";
int numTokens = 0;
StringTokenizer st = new StringTokenizer(s1);
String[] a = new String[10000];
String[] br_n=new String[10000];
int i=0;
while (st.hasMoreTokens())
s2 = st.nextToken();
a=s2.substring(0,s2.length()-3);
s6=s2.substring(s2.length()-2);
br_n[i]=s6;
i++;
numTokens++;
int numTokens1 = 0;
StringTokenizer st1 = new StringTokenizer (s3);
String[] b = new String[10000];
String[] br1_n=new String[1000];
int j=0;
while (st1.hasMoreTokens())
s4 = st1.nextToken();
b[j]=s4.substring(0,s4.length()-3);
s7=s4.substring(s4.length()-2);
br1_n[j]=s7;
j++;
numTokens1++;
int x=0;
for(int m=0;m<a.length;m++)
for(int n=0;n<b.length;n++)
if(a[m].equalsIgnoreCase(b[n])){
int sc=Integer.parseInt(br_n[m]);
int sc1=Integer.parseInt(br1_n[n]);
int score=sc+sc1;
o.writeBytes(a[m]+","+score+"\n");
break;
else
o.writeBytes(a[m]+","+br_n[m]+"\n");
break;
}catch(Exception e){} -
I need php code for copy paste our all histroy of browser in a text page.
I need php code for copy paste our all histroy of browser in a text page can any one send me the code please.
You can use an application like GarageSale for doing this....
http://www.macupdate.com/info.php/id/16035/garagesale
Maybe you are looking for
-
Hi, I have a problem with the share button in all the programs (Finder, Safari, etc.) when I touch it say NO SERVICE instead Airdrop, etc. Please help me to configure. Thanks in advanced!!
-
Why does PSE 12 installation continually fail?
Despite repeated attempts with Adobe Support, I am unable to get PSE 12 installed due to "Shared Technologies" installation failure. After 20-30 minutes of attempting an install, I receive an error message saying that Shared Technologies has failed t
-
can any creative mp3 player read greek characters for the tags? which can? is there a way that i can make them able to read?
-
Help fix - Error Msg: Licensing for this product has stopped working.
I need to know how to fix my AI - the app quit working & gave me an error message: Licensing for this product has stopped working. You cannot use this product at this time. You must repair the problem by uninstalling & reinstalling this product or co
-
Div tag not expanding with content.. Help please!
Hi there, Firstly I'm reasonably new to this so if I appear stoopid, it's possible that I am. I have been building a CSS based page with Div tags. What I'm trying to achieve is an html body that has a #wrapper centred on the page, then a #header, #na