Sunday, 30 July 2006
|
| RLE compression of a bitmap from a VB program New User 19:21:32 |
| | There seem to be a large number of image format transformation and compression programs, but I can't find one that would be most suitable for my use. I would like to be able to run a stand-alone program from VB by the Shell command. The program would ideally take in a 24 bit bitmap, and produce a RLE compressed (without or with an optimised palette) bitmap file, which can be read by Paint or any other software anywhere. Could someone point me to a suitable program of that kind?
|
| | Add comment |
|
| Cant resolve If or Elseif statements Aurora10 00:32:22 |
| | I have a chunk of code for a password checker. It worked fine untill I thought of putting there a Messagebox. For example. The Password file has 2 usernames and 2 passwords. they are being checked at once. If Passwd or Usrname are not good then Messagebox. Sounds simple but no matter where and how I put this, this message box keeps poping up even if login data is correct. I suspect I can't make it work with If - Else statements. this is how it looks like:
================================================================
If (inlognaam.Text = user1 And wachtwoord.Text = password1) Then Form2.Visible = True Me.Visible = False If (inlognaam.Text <> user1 And wachtwoord.Text <> password1) Then MessageBox.Show("bla")
elseif (inlognaam.Text = user2 And wachtwoord.Text = password2) Then Form2.Visible = True Me.Visible = False elseif(inlognaam.Text <> user2 And wachtwoord.Text <> password2)Then MessageBox.Show("sdfsf")
=================================================================
This is a mess. Compiler cpmplains that Elseif does not have a matching If and such.
Can anybody help me to see what am I doing wrong ?
Thanks in advance Rob
|
| | 4 answer | Add comment |
|
| Copying to LPT. Bert van den Dongen 00:22:24 |
| | Hi all,
There are a lot of prints that I first make in a txt-file. When the file is complete I must copy that file to a printer. I do this by executing RetVal = Shell("Print.bat" + " " + PrintFileName + " LPT1", 0) Print.bat is a oldfashioned DOS batch-file which holds:
Type %1 > %2 Del %1
Ik works, no problem, but I think there better ways to do this. Maybe by means of an API.
Any ideas, anyone? Bert.
|
| | 5 answers | Add comment |
Saturday, 29 July 2006
|
| Install a printer driver using Visual Basic 6.0 J 22:13:08 |
| | Hello All,
Is there a way from visual basic code that I can install a printer driver for a new printer that being added to the system?
Thanks in advance for help with this!
|
| | Add comment |
|
| One instance only TheOrangeRemix 18:48:55 |
| | Hi,
On my program that I have written in VB, it starts up with a main form when I double-click the shortcut on my desktop. But is there a way to have only one instance of the program running, so that if the program is open already, it will just switch to the program instead of opening the same program again?
|
| | 5 answers | Add comment |
|
| Invalid Use of Property Guest 05:36:29 |
| | I am struggling with a piece of code which leads to the error described in the title of thiis message. The code stops at "Public Function TestRockDescriptionForUniqueness() As Boolean" in the second function listed. Anybody see a mistake(s)?
Duke
Private Function ValidData() As Boolean Dim strMessage As String If txtNewGemName = "" Then txtNewGemName.SetFocus strMessage = "You must enter the name of the new gem." ValidData = False Else If Not TestRockDescriptionForUniqueness Then ValidData = False MsgBox "The Add New Gem value is already taken", vbExclamation, "Duplicate gem name" Else ValidData = True End If End If End Function ===== Public Function TestRockDescriptionForUniqueness() As Boolean Dim rs As Recordset Set rs = New Recordset rs = FindRockCodeTable TestRockDescriptionForUniqueness = True With rs Do Until .EOF If !RockDescription = txtAddNewGem Then TestRockDescriptionForUniqueness = False End If Loop End Function
=========
Public Function FindRockCodeTable() As Recordset Set rsRockCodeTable = New Recordset rsRockCodeTable.Open "SELECT GemID, GemDesciption FROM RockCode" FindRockCodeTable = rsRockCodeTable End Function
|
| | 3 answer | Add comment |
|
| STOP what you’re doing - It doesn’t work! 7XO0 Guest 01:30:01 |
| |
Always staying on the cutting edge of the latest trends and effective advertising methods, Kiosk offers only the best and time worthy promotional tools. If we don't have it, you don't need it!
*Supersponder
*Prospecting system
*Master Profit system
*Promotional pages
*Complete resell rights for our library of proprietary products
*Ad tracking
*Membership to our safelist franchise
*Super FFA system
*Group Networking
Click below to find out what has the super-affiliates quaking in their boots
http://tinyurl.com/pzkxe
Thank you for your time, and we wish you a profitable 2006!
Regards, Clive Foster
Please visit the following site, for the best promotional and marketing idea we have seen this year:
http://tinyurl.com/pzkxe
---
Feloc lisasuseri lov lofu mabiha hafadageh .
|
| | Add comment |
Friday, 28 July 2006
|
| Check collection for specific value Ramon 18:43:29 |
| | Hello,
I need to check if a collection contains a specific value. Is there a way to do this without looping?
Thanks! Ramon.
|
| | 2 answer | Add comment |
|
| simple 2 dimensional array problem Johnno 06:59:40 |
| | I am having trouble working out how to make a two dimensional array work correctly. I have tried the code below, but keep getting a Type Mismatch. If I simply assign simple variables to the Drive and Caption items, the code works fine and I get the results I expect. Can someone please tell me where the code is wrong? The Dim statements and the procedure are in a module, while the command button is on a form. Johnno.
Dim ItemSet As Object Dim Item As Object Dim CDInfo() As String Dim NumDrives As Integer
Public Sub FindCDAtts(CDInfo(), NumDrives) x = 0 Set ItemSet = GetObject("WinMgmts:").InstancesOf("Win32_CDRomDrive") For Each Item In ItemSet x = x + 1 ReDim Preserve CDInfo(1 To x, 2) CDInfo(x, 1) = Item.Drive CDInfo(x, 2) = Item.Caption ' info = info & Item.scsiport & "," ' info = info & Item.scsitargetid & "," ' info = info & Item.scsilogicalunit ' CDInfo(x, 2) = info Next Set ItemSet = Nothing Set Item = Nothing End Sub
Private Sub Command1_Click() Call FindCDAtts(CDInfo(), NumDrives) For x = 1 To NumDrives MsgBox " Drive is " & CDInfo(x, 1) & ", and caption is " & CDInfo(x, 2) Next x End Sub
|
| | 9 answers | Add comment |
Thursday, 27 July 2006
|
| Matlab Q. Kal 13:00:32 |
| | Hello All, In Matlab, I have this function: y = 20 * (x.^2).* ((1-x).^4) .* cos (12 * pi * x); When I try to see the result of y(0.5) on the m-file, the system generates a synatx error:
??? Error using ==> run Attempted to access y(0.5); index must be a positive integer or logical. The question is that how can I access this value as I need to sample this function into 1000 intervals, and use these samples for discrete analysis. My program is:
function wave=haar ; x = [0:0.001:1];
y = 20 * (x.^2).* ((1-x).^4) .* cos (12 * pi * x); %y(0.5); for i=1:length(x) Array(i) = y(i/1000); end Thanks for time and your response is much appreciated. Sincerely, Kal
|
| | 1 answer | Add comment |
Wednesday, 26 July 2006
|
| Can't get zOrder(0) to bring my form to the front! Quinn 19:41:17 |
| | I have two forms, one "main" form that is open initially, and a smaller form called GPIB_Add that loads once by default when the main form first loads (i.e. at startup) and then can also be called at any other point by clicking on a menu item from the main form. When I call it at startup as the last thing in the main form's load event:
Private Sub Form_Load() '------------lots of other code here------------------ GPIB_Add.Show GPIB_Add.zOrder(0) End Sub
....it brings the GPIB_Add form up alright, but it is behind the main form and the main form remains "active", even though I was told that zOrder(0) would bring it to the front.
However, what's interesting is if I go find GPIB_Add, close it, and then open it again by clicking on the menu item on my main form:
Private Sub mnuGPIB_Click() GPIB_Add.Show End Sub
....this does what I want without even using zOrder, i.e.GPIB_Add is active "on top" of the main form.
What am I missing this time???
|
| | 3 answer | Add comment |
|
| Change app.title at runtime? Jt 14:02:37 |
| | Hi,
I can't seem to change the app.title property at runtime? When my app connects to SQL, it does not display my app's new title under SQL's current activity. It only displays the predefined title which i set in my project properties at design time. I need to concatenate the active username to the title which can only be done at runtime. Please Help!
|
| | 12 answers | Add comment |
|
| Is it possible to find which RAD tool was used to develop an application from its exe file VB gives me money 12:31:15 |
| | A application developer gave me an exe and said that he used visual prolog to develop it.But it looks more like vb to me.I would like to have some clarifications here
After compiling a vb project into an exe Is it possible to find out which RAD tool was used to make the project? let me put it in more simple way was it done using visual basic? or what was the version used?.
|
| | 1 answer | Add comment |
|
| Compiling VB (.NET) files located in different directories P 11:52:15 |
| | Hi, I guess this question is not just related to VB.NET. i think it would appear even in VBA. So, posting this question in this group. I am having to vb files. One is located under C:/VB/main and the other is under C:/VB/class. File under main looks like:
<code> Module Module1 Sub Main()
Dim test As New Test1
End Sub
End Module </code> The class Test1 is defined in the file (class_test.vb) under class directory. When I compile the code, I get an error saying Test1 is not defined. This is because class_test.vb is located in some other directory. Any idea how this can be resolved? I want to main the directory structure.
Regards, P
|
| | 1 answer | Add comment |
|
| Listing of Files that have changed since last backup Dan Shelby 10:56:04 |
| | I would like help with writing a vb6 program that would check the attribute bit in all files in 'my documents and sub-folders' and identify files that need to be backed up. It would probably need to exclude certain file types such as .dll, etc. Any help would be appreciated.
|
| | 2 answer | Add comment |
|
| KADER Faruk.Nur 10:39:06 |
| | Kader;
soru:madem,herşey bir kader defterinde yazılı ve herşey ona göre oluyor.o halde insanlar niçin cehenneme gidiyor? cevap:evet herşey bir kader defterinde yazılı ve herşey ona göre oluyor.ama,defterde yazılı olduğu için o şey olmuyor.
mesela;meteroloji uzmanı,uydudan gelen fotoğraflara bakarak geleceği görebilmektedir.bir insan ne kadar yükseğe çıkarsa hem görüş alanı genişler hemde geleceği görebilir. uzman, uydudan görüyor ki,Türkiye"nin batısından yağmur bulutları geliyor.bulutların hızını ve yönünü hesaplıyarak,hemen defterine şunları yazıyor,"yarın türkiye bulutlu ve yağışlı olacak".bulutların gelmesine bir gün var.bir gün sonra türkiye bulutlu ve yağışlı olsa;acaba meteroloji uzmanı bir gün önceden deftere,bu olayı yazdığı içinmi olaylar oluyor?yoksa uzman olayları uydudan önceden gördüdemi yazdı.
doğru cevap;gördüde yazdı.yazdığı için olaylar olmamakta,fakat olayın öyle olacağını önceden görüp yazmıştır.
Mesela;aklı başında bir kişiyi, siz sırtınıza alsanız,nereye gitmek istersen seni oraya götüreceğim deseniz,diyelim ki iki yol var biri,tehlikeli yol, öteki tehlikesiz yol.siz baştan o kişiye uyarıda bulunarak her iki yolun durumunu anlatsanız buna rağmen,o kişi beni tehlikeli yoldan götür dese,o tehlikeli yolda başına bir kaza gelse ,size diyebilirmi ki,bak senin yüzünden başıma bu kaza geldi diyemez.çünkü kendi iradesiyle tehlikeli yolu seçmiştir.götüren değil,isteyen suçludur.Güç ve kuvvet yalnız Allah"tandır.bunu felçli hastalar daha iyi bilir.Götüren Allah"tır, fakat tehlikeli yolda gitmek isteyen,insan suçludur. Hem insan başıboş bırakılmış da değildir. Cüz-i iradesinden başka kendisine ait günahları ve borçları vardır.sevaptaki hissesi ise pek azdır.Kimin ve neyin sayesinde sevap işlemiştir düşünmesi gerekir.
Allah; birzaman gayet zengin bir ressam,sergi açmak istemiş,fakat sahnenin gerisinde durmuş kendisini konuklara göstermemiş.konuklara hertürlü ikramı yapmış.sergiyi gezen misafirler,harika resimlere bakmışlar,ne kadar güzel resimler diyerek aralarında konuşurlarken birisi, ressamı göremediği için, acaba bu resimler nasıl olmuştur diye bir soru ortaya atmış.bir kısım insanlar,bu resimler kendi kendine olmuştur demişler.bir kısım insanlar resimleri tabiiyyat kanunlarının yaptığını iddia etmişler.bir kısım insanlar ise resimleri,resmi meydana getiren,boya,fırça, tablo birlikte bu resmi kafa kafaya vermişler meydana getirmiştir demişler.bir kısım insanlar ise,harika resimleri ancak bir ressam tarafından yapılabileceğini söyleyerek,kendilerine ikramda bulunan ressamı içeriden,alkışlar ile davet edip,kendisiyle tanışmış ve teşekkür etmişler.işte biz o ressama Allah diyoruz.ressamdan farkı, gerçek ve canlı resimler yaratmasıdır.
Resim,ressamın bir parcası olmadığı gibi; ressam da, resmin bir parçası değildir.
Soru eki,Allah"ı kim yaratmıştır?sorusu(şeytanın insanları kandırmak için sorduğu sorudur) genellikle insanların kafasının karışmasına yol açmış,bu soruda takılıp kalmışlardır. İnsanların bu sorunun cevabını bulmaya çalışması,nafiledir.
Mesela; diyelimki bir saraya girmek için yüz kapı var,ama bir kapı kapalı ve sarayın sahibi ancak o kapıyı açabilir ve anahtarda sadece ondadır.Dışarıdan saraya girmeye çalışan biri,açık doksandokuz kapının herhangi birinden içeri girebilir.Fakat kapalı kapının önünde durup o kapıyı açamayınca,bu saraya girilemez diyemez,Çünkü diğer doksandokuz kapı açıktır.Aynen öylede,Allah"ı kim yaratmıştır, sorusu farzedelim ki kapalı bir kapıdır.O kapının anahtarı sadece Allah"tadır.Allah"a inanmak için doksandokuz kapı açıktır.Ama inat edip,kapalı kapının önünde durmak ve saray sahibini inkar etmek ve açık kapıdan saraya girmemek akıl karı değildir.
Peki Allah yoksa,bu kainatı kim yaratmıştır? bu kainat nasıl olmuştur?yani yukarıdaki harika resimler nasıl olmuştur? sorusunun cevabını inat edenlerin vermesi gerekir.
İlmin kapısı Hz.Ali şöyle der,"Varsayalım ki inanmayan inat edenlerin dediği gibi Allah,ahiret,cennet,hesap kitap, vs.yok.Ne inanana bir şey olur,nede inanmamakta inat edene.Ama ya varsa,"inanana yine bir şey olmaz ama inanmamakta inat eden; işini şansa bırakmış olur ki buda akıl karı değildir.
Tevekkül ve dua;
bir çifçi,evvela(önşart);ürün almak için,1-toprağını nadasa koyacak,2-toprağını sürecek,tohumu dikecek,3-sulayacak.vb.fiili dua edecek.
Sonra; Allah"a ,ürün vermesi için kavli(sözlü) dua edecek.Çünkü bir afet gelir ürünü alıp götürebilir.Mesela;Çekirge ve sel afeti gibi.Şartlardan birinin eksik olması,neticeye engeldir. Dua eden kişi için o istediği, kendisi hakkında hayırlı olup olmadığını dua eden bilemez.O halde duam niye,niçin kabül edilmedi diye,üzülmemelidir.
Mesela;Bir anne ve baba hiçbir zaman çocuğunun kötülüğünü istemediği için ,terbiyeye muhtaç çocuğunun her istediğini de yapmaz .Bu imtihan dünyasında,sınırlı ve kayıtlı olduğumuz için her istediğimizi elde edemeyiz,her istediğimizi yapamayız.Fakat her istediğimizi elde edecek ve her istediğimizi yapabileceğimiz bir yer vardır ki o yere cennet derler. Her şeye muhtaç olan kişinin , Samed olan Allah"ın kapısını çalması doğru bir şeydir.Yanlış olan, herşeye muhtaç bir kişinin, kendisini hiçbirşeye muhtaç olmadığını zannetmesi ve dua etmemesidir.
Åžeytan,
Şeytan"ın aslı cin olup ateşten yaratılmıştır.İnsanın apaçık,bir düşmanıdır.Mahlukatı,Allah"a düşman etmek için fırsat kollar. Bu hayatı insanlar için cehenneme çevirmeye çalışır. İnsan, şeytan"dan herbakımdan üstündür.Fakat şeytan"ıda hafife almamak gerekir.Çünkü Hz.Adem babamız ile Hz.Havva annemizin cennetten çıkmasına vesile olmuştur.Biz şeytanın inadına,bu dünyayı cennete çevirmek için çalışmalıyız. Sakın sizi şeytan, Allah afedicidir diye yanıltmasın.Çünkü, Allah af edicidir ama, kul hakkı hariçtir.
Şeytan,Allah"ı inkar etmemektedir ama,O"na düşman olduğu,iman etmediği için ezeli ve ebedi olarak cehennemden çıkamayacaktır. İnkar etmemek ayrıdır,iman etmek ayrıdır,hiç inanmamak ise,hiçmi hiç akıl karı değildir.İnsanlar korku ile ümit arasında olmalı. Acaba cennetlikmiyim, yoksa cehennemlikmiyim sorusunu merak etmek yerine, en kötü ihtimali göz önüne alarak, tedbirimizi almak; daha akıllıca bir iş olsa gerektir.Allah'tan ancak O"na iman etmeyenler,ümidini keser. Son nefese kadar,kimin ne olacağı,(şeytan hariç)bizce mechuldur.Cennet ucuz olmadığı gibi, cehennem dahi lüzümsuz değildir.
Din,
Her semavi hak dinler,medeniyetin ve insanın maddeten ve manen yükselmesini,daha iyiye ve ileri gitmesini savunur. İslam,bir lokma bir hırka felsefesine karşıdır.Yarın ölecekmiş gibi, ahirete, hiç ölmeyecekmiş gibi dünyaya teşvik eder,İki günü aynı olan ziyandadır,komşusu aç iken, tok yatan bizden değildir, haksız yere bir insanı öldüren,tüm insanlığı öldürmüş gibidir, düşüncesini savunur.Tek ilah vardır. O ilahın adı Allah"dır. Zerrece Allah"a imanı olan ve O"na düşman olmayan herkez, hesaptan sonra cennete girecektir. İslam; Peygamberi Hz.Muhammed"tir,Kitabı Kuran-ı Kerim"dir. Bir Müslüman,hem İncile,hem Hz.İsa"ya, hem,Tevrata, hem Hz.Musa"ya yani tüm semavi kitap ve peygamberlere zaten inandığı için din değiştirmesi, hiçmi hiç akıl karı değildir.
Namaz,
Dininin direğidir.Bir insan,Allah"ın benim namazıma ihtiyacı yoktur,demesi,hasta birinsinin,doktara "ey doktor senin ilaca ne ihtiyacın var demesine benzer ki,Allah"ın bizim namazımıza elbetteki ihtiyacı yoktur,bizim namaza ihtiyacımız vardır.Bedenin havaya ve suya ihtiyacı olduğu gibi, ruhunda manevi gıdaya ihtiyacı vardır ki o gıdalardan biriside "Hu" kelimesidir.İnsanlar her nefes verişte bilmeden,gayri ihtiyari "hu" derler.Hu ,Allah demektir.Aslında her şey Allah"ı anmaktadır.İnsanın bu dünyaya gönderilmesinin sebebi ve hikmeti ,Allah"ı tanımak ,O"na dua ve ibadet etmektir.
Hayat,
Helal şekilde; Çalışınız,kazanınız,yiyiniz,dağıtınız,paylaşınız,ama israf etmeyiniz.Kara günler, yaşlılığınız ve ahiret içinde,azık ayırınız. İlimin ,malın ve kuvvetin önemini fark ediniz.Bunları insanlığın hayrı için ve helal bir şekilde kullanınız.
Şeytanın,dünyayı fesada veren ve insanlar için dünyayı çehenneme çeviren,sen çalış ben yiyeyim ve ben tok olayım başkası açlıktan ölsün bana ne düşüncesini ,ortadan kaldırmak ve sosyal dengeleri kurmak için çalışmak insanlığa yapılacak en büyük hayırlardan biri olsa gerektir.
İlim,
Bir zaman iki ayna var imiş,her iki aynada yüzlerini gökteki güneşe çevirmiş,aynalarda akseden,tecelli eden güneşi , insanların yüzlerine her iki ayna da çevirdiğinde, insanların gözlerini kamaştırmışlar. Aynalardan biri gururlanarak ben insanların gözlerini kamaştırdım diye gururlanmış ve kendisinde bir şeyler olduğunu tevehhüm, zan etmiş.Diğer ayna ise mütevazı birşekilde,aslında kendisinde bizatihi bir şey olmadığını,gökteki güneş olmasa hiçbirşeye yaramadığını, önceki aynaya söylemiş. İşte gururlu ayna, sihir ve büyü gibi zararlı ilimler ile ilgilenip insanları kendisinin etkilediğini zanneden şeytan gibidir.Ama mütevazı ayna ise mücize ve kerametin asıl sahibinin kendisi olmadığını bilen ve faydalı ilimler ile ilgilenen bilge kişidir.Gıbta edilecek kişi gökteki güneşin ısı ve ışığına mazhar olan kendisini güneş zannetmeyen ama güneşi gösteren, kişidir.Bu aynaların en güzelleri peygamberlere aittir.en kötüleri ise şeytan ve şeytan gibilere aittir. Şeytan ve şeytan gibi kötü kişilerin şerrinden Allah"a sığınmak gerektir.Çünkü insanları ve insanlığı tesirleri altına alabilmekte ve aldatabilmektedirler.Her insan kabiliyeti nispetinde güneşe mahzar olabilir ve olmalıdırda. Asıl olan aynayı insanlığın hayrına kullanmak ve ayna olduğunu hiçbirzaman unutmamaktır.Aynadan kasıt insan, güneşten kasıt ise,Allah'tır.
Güneş bize ışık ve ısısı ile çok yakındır,biz ise güneşe çok uzağız.Ama ayna vasıtasıyla,bir nebze güneşin özelliklerini anlayabiliriz. Veya uzay mekiği ile güneşin hakiki nuruna ve ısısına yaklaşabiliriz onu yakından inceleyebiliriz ki,bunu mirac hadisesinde Hz.Muhammed bizzat refref'e binerek çok kısa bir zaman zarfında yapmıştır. Cenneti,cehennemi ve kainatın yaratıcısını görmüş,gidipte görenmi var veya gidipte dönenmi var sorusunuda cevapsız bırakmamıştır.
Mesela, koca bir kütlesi olan dünyamızı,vasıtasız ve çok süratli birşekilde götüren ve döndüren, bir insanı elbette ve evleviyetle daha hızlı ve kısa bir sürede götürmeye ve geri getirmeye muktedirdir ve aynen öylede olmuştur.
İnsanlığa faydalı bilgileri, tanıdık,tanımadık,başkaları ile de paylaşınız,yayınız. Ben bu bilgileri bilmiyordum,bana kimse öğretmedi diyen kişinin hesabı; bilenden, bildiği halde susandan ve hakikatı ve doğruyu yaymayandan sorulacaktır. Malın zekatı olduğu gibi,ilminde zekatı ve kuvvetinde bir zekatı vardır.Bilen ile bilmeyen bir değildir.İlim mümin"in yitiğidir, nerede olursa alır.İlim Çin"dede olsa alınız.Hayatta,en hakiki murşit ilimdir. Faydalı tüm ilimlerden istifade ediniz,ettiriniz. Beşikten mezara kadar ilim öğreniniz. Okuyunuz,okutunuz.Ne demiş yunus emre,'İlim ilim bilmektir, ilim kendin bilmektir,sen kendini bilmez isen ilim nice okumaktır.'
Ruh nedir;
Ruh insanın aslıdır,kendisidir.Mahiyeti,bir şekli sureti ve şuuru olan bir kanundur, yerçekimi kanunu gibi,ama yerçekimi kanununun bir şekli, sureti ve şuuru yoktur.Fakat dünyadaki işleri yapabilmesi için, ruh"un elbisesi,bineği mahiyetinde olan bedene ihtiyacı vardır.Ruh katiyen bakidir,yani ölümsüzdür. Ey insanlar, baki bir aleme gideceksiniz,o halde hazırlıklı olun.Ölüm,ruhun bedenden çıkması daha önce vefat etmiş olan sevgili anne ve babanızın ve dostlarınızın yanına gitmektir.
Mesela ;bir şöför nasıl aracından inince araba hiçbir işe yaramaz ise,ruh"ta beden aracından inince, beden hiçbir işe yaramaz.Kabre konan bedendir.Siz ise ruhsunuz.Ruh berzah alemine gitmektedir. ölüm yokluk ve hiclik değildir.Kim yok olmak isterki,Ezeli ve ebedi bir Allah"ın sevgili mahlukatıda ebedi olmalıdır.Fakat mahlukatın ebediliği bizatihi değil, Allah"ın dilemesiyledir.
Ey insanlar ve cinler ezeli ve ebedi cennete girmek,ebedi yaşamak,her istediğini yapmak ve Allah'ı görmek istemezmisiniz. Ey sevgili ruh,bunun için Allah'a şükretmeli ve iman etmeli değilmisin.
HULASA : Allah,birdir, hiçbirşeye ihtiyacı yoktur,ne birbaşkası O'nu yaratmıştır nede O'nun bir çocuğu vardır.O'nun eşi ve benzeri yoktur.
|
| | Add comment |
|
| Using .ItemData property of ComboBox correctly... Quinn 06:09:18 |
| | I have four combo boxes in an array, called cmbSW. Each combo box has two options which I have set in the .List property. However, behind these text options I need numbers encoded, so I have also set the .ItemData property with the two numbers (these numbers are 1 and 0 for the first and second list items respectively). The .ItemData from each combo box will go into making a 4-character string representing a binary number, so whenever a click event occurs on one of the 4 combo boxes I have the following code:
Private Sub cmbSW_Click(Index As Integer) txtSWRegister.Text = CStr(cmbSW(3).ItemData(cmbSW(3).ListIndex)) & _ CStr(cmbSW(2).ItemData(cmbSW(2).ListIndex)) & _ CStr(cmbSW(1).ItemData(cmbSW(1).ListIndex)) & _ CStr(cmbSW(0).ItemData(cmbSW(0).ListIndex)) End Sub
This seems like a lot of code to do a relatively simple thing, and furthermore it GIVES AN ERROR 381: INVALID PROPERTY ARRAY INDEX.
Somebody please tell me what I am doing stupid. I am new to VB so have mercy if this is a really dumb one ;)
|
| | 4 answer | Add comment |
|
| Visual Studio 2005 - VB or C#, etc - SOME ONE PLEASE EXPLAIN.. Anns via VBMonster.com 01:48:43 |
| | This is a silly question, but I must ask to better understand.
I do development work in Ms Access using VBA and new to SQL Server and now learning what Visual Studio 2005 has to offer.
In my mind Ms Access does so many little steps in the background for you (via - Wizards or drap/drop) so when you think about building a database in Ms Access its not overwhelming b/c if you compare building tables, forms, etc with Visual Studio - everything in VS 2005 for the most part takes ten times the steps that Ms Access tools offer.(unless you are an advance programmer)? To build a simple form with buttons, combo box, etc in Ms Access you just drag and drop and it automatically knows to relate that combo box to the specific form you are working on. The wizards in Ms Access will direct the data and do the rest for you.
Say if you want to build a web site in VS 2005, to me unless you know this programming very well and all the steps, it's just faster to build a website using Ms Publisher, Frontpage,etc. using drag and drop and other friendly tools.
Keep in mind that I am new to the .net environment and I play in the visual studio 2005 software to see all the different features and I go on-line and watch the visual tours that MS offers about it.
My company wants to take 25 of our Ms Access (native jet databases) and put the BE on SQL and FE's to be recreated in Visual Studio 2005 and then put the new FE on Sharepoint (intranet).
So with all that in mind, I am trying to make good sense of this.
My question is:
*******With software already available to create db's with out having to be advanced in code (C#, VB, VBA - Ms Access), why on earth would a person or company want to build this stuff from scratch in Visual Studio where it seems to be that every step is extra vs just build in Ms Access and pull over??????? ???????????????? Explain:
********Why would someone want to create a website in Visual Studio 2005 with the added extra steps (unless a programmer) when you can just drag and drop with Ms Publisher, FrontPage? Explain:
********When making the conversion like as mentioned above like my company is doing, why can't the current 25 ms access databases be pulled into SQL (BE) and the FE's still be used and view on SHAREPOINT AS IS? Why is it that all new FE's must be built using VS 2005, instead of just keeping the old. Isn't there a feature/property that will allow this to happen instead of having to rebuild all those userfaces? Explain:
Keep in mind that I don't know the anwsers to these questions and that's why I am here. My whole reason for asking this question is b/c why re-invent the wheel when it's already here.
********Why build a db or web site in VS 2005 when you can do it in a program that can do the same but easier, less programming, less steps and wizards that knock 10 steps to 1. The same goes for building web sites? Does it come down to Publisher the Db or Web site and that why programs like VS 2005 have to be used? Explain:
*******Should we all thank the software developer/engineers that created these wonderful programs that elimate all those steps? Explain:
-- Message posted via VBMonster.com http://www.vbmonster.com/Uwe/Forums.aspx/vbasic/200607/1
|
| | 1 answer | Add comment |
|
| EjectNtmsMedia Ekandeel@Gmail.Com 00:42:24 |
| | I would like to eject backup tape , any one can help me by send code sample
|
| | Add comment |
Tuesday, 25 July 2006
|
| Comparing Strings Mm2430 11:43:38 |
| | Hi
I am currently trying to create an application that, will compare a string in one Database, to that of another String in another Database, and if they do not compare exactly, output the result to the data report utility.
My current thinking is to use a quick sort algorithm, or some other FIFO algorithm to search the strings. is there a possible solution to this in Visual basic, or is .Net a better option.
any thoughts on this would be greatley appreciated.
Marco
|
| | 8 answers | Add comment |
|
| VB6 and Net View Bernard 11:28:36 |
| | Hi,
Is it possible to have the list of the PC actifs in the domain, just like the "net view" dos command.
Bernard
|
| | 2 answer | Add comment |
|
| Sorted listbox query Ade 05:19:31 |
| | Hi,
Having just responded to a post concerning a listbox, I did a bit of testing. It would appear that a sorted listbox isn't actually sorted. Example: List1.AddItem ("Open") List1.AddItem ("open")
shows the above texts in the wrong order. Just for good measure add, "Note" and "Pear" to the list. Alphabetically correct except within the letter itself.
Is this expected behaviour? If so why?
Ade
|
| | 1 answer | Add comment |
|
| InternetOpenUrl freezing Guest 03:15:52 |
| | The old problem of code which has worked fine for ages breaks. Or rather it comes up against a new situation.
I'm getting web pages by using InternetOpen and InternetOpenUrl, with the code Microsoft has on one of their pages. The lines in question are:
hOpen = InternetOpen(scUserAgent, INTERNET_OPEN_TYPE_PRECONFIG, vbNullString, vbNullString, 0)
hOpenUrl = InternetOpenUrl(hOpen, sUrl, vbNullString, 0, INTERNET_FLAG_RELOAD, 0)
The first one is ok, the second one is ok for most of the pages except one where it just freezes and it's not possible to look at any error stage
Is there change to the parameters so that it'll time out or give up? I'd rather skip pages it can't get to than it all lock up.
|
| | 3 answer | Add comment |
Monday, 24 July 2006
|
| change icon? TheOrangeRemix 21:59:57 |
| | This will seem quite elementary for many of you, but I am fairly new to VB. I am trying to change the icon that appears with my program. The icon appears in the alt+ tab, the top left corner on the titlebar, and next to the program name on the taskbar. I wanted to change it to something other than the parallelogram-shaped box with the turquoise top.
How do I do this?
|
| | 1 answer | Add comment |
|
| Why Type Mismatch Richard Bromberg 20:49:02 |
| | I am writing a slide show program. I have populated a FileListBox (File1) with files of type jpg and bmp .
When I try to use the entries in the FileListBox to put a picture into a PictureBox (Picture1) I get a Type mismatch
Below is the code line that causes the error:
Picture1.Picture = File1.List(I)
Any Suggestions?
|
| | 10 answers | Add comment |
|