Jerry Pasaribu wrote:
> this applicatin has failed to start because tk84.dll was not found.
> Re-installing the app may fix this problem
wah error message nya friendly juga ya di windows ;-)
dulu saya pernah gini (saya tangkap di Exception)
id-ruby:~/1 arie$ cat 1.rb
#!/opt/local/bin/ruby
begin
require 'tk'
rescue LoadError => e
puts e.message
exit
end
root = TkRoot.new { title "Our First Tk App" }
label = TkLabel.new(root) do
text "Hello, world!"
pack("padx" => 90)
end
Tk.mainloop
id-ruby:~/1 arie$ ruby 1.rb
no such file to load -- tk
id-ruby:~/1 arie$ ruby -v
ruby 1.8.6 (2007-03-13 patchlevel 0) [powerpc-darwin8.9.0]
id-ruby:~/1 arie$
solusinya saya pakai ruby yang patchlevel terbaru langsung berhasil (as simple
as
./configure && make && make test && sudo make install) disamping juga dugaan
widi
[dll tidak ditemukan [tidak ada or tidak di path]], IMO ada benarnya.
Tolong Anda konfirmasi dengan me-reply email ini kalau sudah sukses dengan
pencerahan widi tsb.
Terima kasih.
> aku br coba2 utk membuat form menggunakan tk, tetapi muncul seperti itu ketika
> menjalankannya
> minta tlg solusinya.
>
> terima kasih
--
r9 = { NAME: Arie, NICK: ariekeren, YM!: riyari3,
BLOG: http://ariekusumaatmaja.wordpress.com,
COMMUNITY: %w( http://groups.yahoo.com/groups/id-ruby
http://www.linkedin.com/in/ariekeren ) }