Current location: Hot Scripts Forums » Programming Languages » Everything Java » Java Call Program Pass Value


Java Call Program Pass Value

Reply
  #1 (permalink)  
Old 07-05-11, 03:39 PM
RandyW RandyW is offline
New Member
 
Join Date: Jul 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Java Call Program Pass Value

I'm new to Java. What little I do know is self-taught. Please bear with me as I may not use the correct terminology.
I have a program I知 writing that I値l call my work-horse program.
I have a second program I知 writing to SendEmails.
I want to call the SendEmails program from the work-horse program but when I do I need to pass the values for the TO, FROM, SUBJECT and TEXT fields.
I don稚 know the syntax needed to call a program and pass the values needed.
In the work-horse program I have "SendEmail();" to call the SendEmail program, and that works as long as the values that I want to pass are hard coded into the work-horse program.
I don't know what to do in either program in order to pass the values needed from the work-horse program to the SendEmail program.
Thank you for your time.
Reply With Quote
  #2 (permalink)  
Old 07-05-11, 03:42 PM
RandyW RandyW is offline
New Member
 
Join Date: Jul 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
I posted incorrectly.
I should have said...
In the work-horse program I have "SendEmail();" to call the SendEmail program, and that works as long as the values that I want to pass are hard coded into the SendEmail program.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Video Java Game Programming phys.rainbow Everything Java 0 10-03-10 01:50 AM
87 video Java Tutorial phys.rainbow Everything Java 0 09-15-10 04:34 AM
a.c. 50Hz voltage asm trouble steph6 Other Languages 0 04-09-08 05:17 AM
Asembly Language Help needed..Urgent..plzzzz paritoshcool Other Languages 1 11-27-07 07:07 AM


All times are GMT -5. The time now is 05:58 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.