Jump to content

Ams De Dialog Sorunu


badboy01
 Share

Recommended Posts

[center][color="#000000"]Neresine takıldın ki ?

Dialoğu aç
[quote]DialogEx.Show("Dialog1", true, nil, nil);[/quote]
Diyaloğu kapat
[quote]DialogEx.Close(0);[/quote]
Yazılımı aç
[quote]File.Run("AutoPlay\\Docs\\MyProg.exe", "", "", SW_SHOWNORMAL, false);[/quote]
[/color][/center]

Edited by ReaLyMaN
Link to comment
Share on other sites

Konunu Bölmüş gibi oluyorum ama kusura bakma; konu açmaya değmez benim sorunum....Arkadaşlar Page 1 ve page 2 adlı sayfa var page 2 deki veriyi buton aracılıgıyla page1 deki paragrapha taşıyacam ama nasıl ?

Edited by Ejdad
Link to comment
Share on other sites

[quote name='ReaLyMaN' date='03 December 2011 - 22:01 ' timestamp='1322942512' post='1123495']
[center][color="#000000"]Neresine takıldın ki ?

Dialoğu aç

Diyaloğu kapat

Yazılımı aç

[/color][/center]
[/quote]

Verdigin kodları Butonun Script Bolumune mi yapıstırıcaz orasını anlayamadm bnm amacım
Butona tıkladıgımızda kucuk bi sayfa acılıcak içinde 2 tane buton olcak Birinde W7 Lisans Diğerinde Xp Lisans ve tıkladıgımızda Programları çalıstırıcak
Açık Soylemek gerekirse Neyi nereye yapıstırıcagımı pek bilmiyorum

Link to comment
Share on other sites

[center][color="#000000"]Butona onclicke
[quote]al()[/quote]

Globale yaz
[quote]function al()
sText = Paragraph.GetText("Paragraph1");-----Alınacak paragraf
Paragraph.SetText("Paragraph2", sText);------Verinin gnderileceği paragraf
end[/quote][/color][/center]

@badboy01
Evet clicke yaz ama dialog açman lazım

Edited by ReaLyMaN
Link to comment
Share on other sites

[quote name='ReaLyMaN' date='03 December 2011 - 22:13 ' timestamp='1322943197' post='1123509']
Normal sayfaya eklediğin gibi buton ekleyebilirsin :D
[/quote]
ya dediklerini anlayamıyorum :) yada beni yanlıs anladın

Dialog Oluşturuyorm ancak Tamam ve İptal gibi dügmeler war oda AMS nin standart düğmeleri onları editleyemiyormuyuz :)

Link to comment
Share on other sites

[b]Bence Sen Şöyle Birşey Yap. Tek Button Kullan. İşletim Sistemini Otomatik Algılasın. Ona Göre Aktivasyon Programını Çalıştırsın.[/b]

[codebox]
sSistem = System.GetOSName();
if sSistem == "Windows 7" then
File.Run("AutoPlay\\Docs\\Win7.exe", "", "", SW_SHOWNORMAL, false);
elseif sSistem == "Windows XP" then
File.Run("AutoPlay\\Docs\\WinXP.exe", "", "", SW_SHOWNORMAL, false);
end
[/codebox]

[b]İlla Diğer Türlü Yapıcam Diyorsan Dialog ile Değil de DialogEx İle Yapabilirsin.[/b]

Link to comment
Share on other sites

[quote name='Baba_' date='03 December 2011 - 22:20 ' timestamp='1322943623' post='1123516']
[b]Bence Sen Şöyle Birşey Yap. Tek Button Kullan. İşletim Sistemini Otomatik Algılasın. Ona Göre Aktivasyon Programını Çalıştırsın.[/b]

[codebox]
sSistem = System.GetOSName();
if sSistem == "Windows 7" then
File.Run("AutoPlay\\Docs\\Win7.exe", "", "", SW_SHOWNORMAL, false);
elseif sSistem == "Windows XP" then
File.Run("AutoPlay\\Docs\\WinXP.exe", "", "", SW_SHOWNORMAL, false);
end
[/codebox]

[b]İlla Diğer Türlü Yapıcam Diyorsan Dialog ile Değil de DialogEx İle Yapabilirsin.[/b]
[/quote]

İşletim Sistemini Otomatik algılamada sorun cıkmasın :)

Link to comment
Share on other sites

[quote name='Ejdad' date='03 December 2011 - 22:03 ' timestamp='1322942614' post='1123497']
Konunu Bölmüş gibi oluyorum ama kusura bakma; konu açmaya değmez benim sorunum....Arkadaşlar Page 1 ve page 2 adlı sayfa var page 2 deki veriyi buton aracılıgıyla page1 deki paragrapha taşıyacam ama nasıl ?
[/quote]

Link to comment
Share on other sites

denedim çalışmadı yoksa bnm sistem aktif diye mi oyle
Kodlar Bu
sSistem = System.GetOSName();
if sSistem == "Windows 7" then
File.Run("AutoPlay\\Docs\\Windows Loader.exe", "", "", SW_SHOWNORMAL, false);
elseif sSistem == "Windows XP" then
File.Run("AutoPlay\\Docs\\xp-lisans-test.exe", "", "", SW_SHOWNORMAL, false);
end

Link to comment
Share on other sites

@ Ejdad Yukarıda verdim 5. ileti :D

@ badboy01 bunu dene bir
[quote]sSistem = System.GetOSName();
if sSistem == "Windows 7" then
File.Run("AutoPlay\\Docs\\Win7.exe", "", "", SW_SHOWNORMAL, false);
else
if sSistem == "Windows XP" then
File.Run("AutoPlay\\Docs\\WinXP.exe", "", "", SW_SHOWNORMAL, false);
end
end[/quote]

Edited by ReaLyMaN
Link to comment
Share on other sites

[quote name='Baba_' date='03 December 2011 - 22:40 ' timestamp='1322944802' post='1123537']
[b]@RealyMan Verdiğin Kod Hatalı. Hem Else Yazıyorsun, Hem de Ardına Bi Daha Koşullandırma Yapıyorsun.[/b]
[b]@BadBoy Verdiğim Kodların Çalışması Gerek.Sistem Aktifse Bile Çalışması Gerek.[/b]
[/quote]
hocam verdigin kodları kendim oluşturdugum Windows Lisanslama Adlı bir butonun Script> OnClik kısmına yapıstırıyorum (Kendi Program isimlerime uyarlayarak tabi ) yinede çalışmıyor

Edited by badboy01
Link to comment
Share on other sites

@Baba_ uyarı için teşekkürler.Bende de çalışmadı kod

Yazdığım kodun doğrusu;(Bende çalışıyor)
[quote]sSistem = System.GetOSName();
if sSistem == "Windows Xp" then
File.Run("AutoPlay\\Docs\\WinXP.exe", "", "", SW_SHOWNORMAL, false);
else
File.Run("AutoPlay\\Docs\\Win7.exe", "", "", SW_SHOWNORMAL, false);
end[/quote]

Edited by ReaLyMaN
Link to comment
Share on other sites

[quote name='KintaRo' date='04 December 2011 - 00:05 ' timestamp='1322949929' post='1123604']
Eğer AMS 7.X sürümü kullanıyorsanız windows 7 üzerinde System.GetOS() komutunu çalıştırdığınızda "" yani boş veri döner.
[/quote]KintaRo bazen bende deniyorum da 8de de bazen win7 boş geliyor.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...