I am having trouble opening a word document from my application. My Code is as follows:
String execProg =
"C:\\Program Files\\MicorsoftOffice\\winword.exe";
String filePath =
"C:\\Documents and settings\\Owner\\My Documents\\my.doc";
try{...
I have an application that contains a JTextArea and a graphical representation of a key board that is a series of JButtons
I need to have action listeners for the keys and
I also a key listner.
So if the user types an A on their keyboard it would process the same as if they clicked on the A...
I am having trouble finding a way to change the text color
or maybe the background color of an input box.
I need to display errors when the user enters invalid information and I don't like using alert.
If there is any way I would like to know.
I need to have the information that users enter in a form mailed to me. When I do it now it birngs up my e-mail service with an attachment of the form but when I try to access the attachment I get the following error:
"OE has removed access to the following unsafe attachment"
and...
I need to be able to have users enter information into a form and then submit it. But I need the information in the form to be e-mailed to me. I there any way to do this.
I need to be able to select a portion of the text from a rich text box and change the font and alignment of only the selected text. Every thing that I have tried has changed the whole text box.
I am designing a databse with an access 2000 back end and a visual basic front end. All forms in this project are midi childs of the main form which does nothing other than allow the user to open the other forms. I need to be able to refresh any given form that is currently open if any changes...
I am trying to access an Access database with an Adodc control as follows.
MsgBox (Combo1.Text)
data2.Recordset.Find ("UserID = '" & Combo1.Text & "'")
data2.Recordset.Delete
the value in the combo box is obtained from the same table and field.
the correct value appears...
I am trying to delete a recored from a table but when I try to I get error
"Either EOF or BOF is true, or current record
already been deleted"
As far as I can tell none of this is true.
Any ideas why this is happening?
first:
i am having touble accessing an access DB. I have an ADODC control pointing to a table but it will not read any other record than the first one in the table.
second:
I am having trouble adding a new record to an access DB
any sugestions?
Targol,
The two vars are of compatable types.
The subtotal is of type DollarAmount wihich is stored as a long and increment is an int.
The DollarAmount class is not a subclass of CashRegister.
I need to know how to access the reciver object of the plus method from within the plus method...
I need to add the reciever object and the arguement of a method in a seperate class.
class CashRegister{
public void computesubtotal(){
subtotal.plus(itemprice);
}//end computesubtotal
}//end CashRegister
class DollarAmount{
public DollarAmount plus(int increment){...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.