Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by mellthy

  1. mellthy

    Walter Zorn JS graphics library drawing not only axis aligned ellipse?

    Hello, I'm experimenting with Walter Zorn's graphics library (http://www.walterzorn.com/jsgraphics/jsgraphics_e.htm). I wonder if there is a way how to draw ellipses that are not axis aligned. I've found a demo of rotation there too (http://www.walterzorn.com/jsgraphics/demos/animarc.htm), but...
  2. mellthy

    JMAIL Attachment.New problem

    Thanks for the hint but it doesn't solve the problem. I did try it before and I only get "object doesn't support this method" error. The solution lies somewhere else.
  3. mellthy

    JMAIL Attachment.New problem

    Hi, I'm trying to send an e-mail with an attachment via JMAIL. set msg = Server.CreateObject("JMail.Message") msg.Logging = true msg.Silent = true msg.From = "someone@somewhere" msg.AddRecipient "me@localhost" msg.Subject = "a bad try" msg.Body = "didn't work, did it?" msg.Charset =...
  4. mellthy

    Absolute positioning + button action

    One more thing. I am not able to make JFileChooser to work in ActionListener. package morseovka; import java.io.*; import java.awt.*; import java.awt.event.*; import javax.swing.*; public class test { public static void addComponentsToPane(Container pane) { pane.setLayout(null)...
  5. mellthy

    Absolute positioning + button action

    My fault, I should've checked that. Anyway, it's working ... finally :) Thank you very much for your time and patience with my stupid questions. Have a nice day G.
  6. mellthy

    Absolute positioning + button action

    Strange, I got some errors reported at the end of the addActionListener function. My complete code I use right now (red places are errors): import java.awt.*; import java.awt.event.*; import javax.swing.*; public class gui { public static void addComponentsToPane(Container pane) {...
  7. mellthy

    Absolute positioning + button action

    Well, I put your suggested code after addComponentsToPane function, but it says that identifier was expected in the line with "*.addActionListener(new ActionListener()&{", "new" is underlined. I imported java.awt.event.* I tried to fix it but I can't find a solution.
  8. mellthy

    Absolute positioning + button action

    Hi, I'm a newbie in Java, please be tolerant :) I got the simplest code possible (absolute positioning): import java.awt.Container; import java.awt.Insets; import java.awt.Dimension; import javax.swing.JButton; import javax.swing.JFrame; public class AbsoluteLayoutDemo { public static...
  9. mellthy

    Can't delete files via filesystem fcs (WinXPPro, IIS 5.1)

    It's in Virus Protection, I've already find it, turned it off and it works perfectly. Thx
  10. mellthy

    Can't delete files via filesystem fcs (WinXPPro, IIS 5.1)

    I've tried to turn off my firewall, but it didn't work out. Any more suggestions?
  11. mellthy

    Can't delete files via filesystem fcs (WinXPPro, IIS 5.1)

    Hi, I want to delete a file using this absolutely simple script: path = "deleteme.txt" set fso=Server.CreateObject("Scripting.FileSystemObject") fso.DeleteFile path,true It works without a problem on my webhosting server. But when I try it at home (WinXPPro, IIS 5.1), the browser obviously...
  12. mellthy

    "i" variable in an input name

    Hi, is there any way how to put "i" variable from "for" cycle into an input name? <html> <head> <script> function change_rows() { for (var i = 1; i < document.forma.rows.value; i++) { document.forma.rowi.disabled = true } } </script> </head> <body> <form name="forma"> Number of...
  13. mellthy

    Help with attachment via mail() (not far from solution)

    Hi, I've used a code for sending e-mail via mail() function which posted here a programmer &quot;ignition&quot; (thread434-153872). This code succesfully send an e-mail message which (in Outlook) contains some attachments (jpg image in this case). But, the image has only a few of bytes and...
  14. mellthy

    Using variable in for each cycle

    Actually when I return value of result(&quot;columns&quot;) it returns integer - i dont know why ot doesnt work. Anyway I've added the CInt function and I received quite different error: &quot;Type difference: CInt&quot; Any other ideas?
  15. mellthy

    Using variable in for each cycle

    Hi, its quite stupid question i am afraid, but i cant solve it myself. Using a variable from database query result(&quot;columns&quot;) shows an error - &quot;Type difference: [String &quot; &quot;]&quot; or something like that. Here is my code: For column = 1 To result(&quot;columns&quot;)...

Part and Inventory Search

Back
Top