Jx_Man 987 Nearly a Senior Poster Featured Poster

see this attachment :

Change Font.zip

Hope this helps...
PS: don't remove author name n comment

Estella commented: Great code +1
dnk commented: grab this wonderful code +1
ITKnight commented: good example :) +1
Neji commented: Thanks +2
Jx_Man 987 Nearly a Senior Poster Featured Poster

see this code :

function FIBO(N : integer) : integer; 

 begin 
   if (N = 1) or (N = 2) then 
      FIBO := 1 
   else 
      FIBO(N) := FIBO(N - 1) + FIBO(N - 2) 
 end;

hope this helps...

Jade_me commented: thank you +1
Jx_Man 987 Nearly a Senior Poster Featured Poster

make a public shared variable to accomodate your item and you can call it in other form.

Jx_Man 987 Nearly a Senior Poster Featured Poster

ok. see this example program :

Get All User.zip

Hope this helps.
don't forget to give feedback.

Neji commented: Great Program :D +1
Naruse commented: helps me too +1
november_pooh commented: Good friend +1
Jx_Man 987 Nearly a Senior Poster Featured Poster

that you means every user included default user that it created by windows??

Neji commented: help me much +1
Jx_Man 987 Nearly a Senior Poster Featured Poster

i think you forget to set full = false, just it.
add this code after else :

begin
        Full := false;
        T.Top := inc(T.Top);
        T.Contain[T.Top] := X
      end

ok hope this helps..

ITKnight commented: :D +1
Vega_Knight commented: upss..i forgot. thanks for the great helps..want to see your help again +1
Jx_Man 987 Nearly a Senior Poster Featured Poster

sorry for the double post.

Jx_Man 987 Nearly a Senior Poster Featured Poster

see this example :
i write this code in pascal

[ATTACH]5318[/ATTACH]

hope this helps..

Jx_Man 987 Nearly a Senior Poster Featured Poster

see this example :
i write this code in pascal

Array.zip

hope this helps..

Vega_Knight commented: Help me much +1
Jx_Man 987 Nearly a Senior Poster Featured Poster

answered by shouvik. try it friend.

Jx_Man 987 Nearly a Senior Poster Featured Poster

maybe sqlserver 2005 more better to use.

Jx_Man 987 Nearly a Senior Poster Featured Poster

oh... same logic like my prog... ChristosK, you can rewrite a program in vb6 like my prog. see the posted link by cometburn, its like my prog.
great finding cometburn.:)

Jx_Man 987 Nearly a Senior Poster Featured Poster

hi VIeditorlover...
are you have other program to read mb info?? i would like to know too. :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi ChristosK...
Sorry i must to convert this program into vb.net cause it build in c# before. sorry if this program not perfect. u can develop this program to read other hardware info. look into link which i given to you yesterday, that link will help u much.

Daniweb.zip

OK. Hope This helps.

Jx_Man 987 Nearly a Senior Poster Featured Poster

as james said you should to using wmi (Windows Management Instrumentation).
i have a simple prog to read motherboard model but i m do with vb.net. if you want, i'll post it for you.

Jade_me commented: great link +1
Jx_Man 987 Nearly a Senior Poster Featured Poster

huh?? i was try and i did not get any error..
that error message "aren't defined" for the code i post? or for other code??

Jx_Man 987 Nearly a Senior Poster Featured Poster

you should to use convert.
repair your code with following code :

msngInitialValue = Convert.ToSingle(txtInitialValue.Text)
msngSalvageValue = Convert.ToSingle(txtSalvageValue.Text)
mintAssetLife = Convert.ToInt32(txtAssetLife.Text)

ok. hope this helps.

Jx_Man 987 Nearly a Senior Poster Featured Poster

as estella said it using winmm.dll
see this prog :

CD ROOM Access.zip

OK. Hope This Helps...

Sawamura commented: excelent +1
Estella commented: hmm... great, awesome code. always helping +1
dnk commented: =) +1
november_pooh commented: Good :) +1
Jx_Man 987 Nearly a Senior Poster Featured Poster

use this code to get upper result

CompName = CompName.ToUpper
UseName = UseName.ToUpper
Jade_me commented: thx to direct me +1
Jx_Man 987 Nearly a Senior Poster Featured Poster
CompName = System.Environment.MachineName.ToString
UseName = System.Environment.UserName.ToString
Naruse commented: Usefull. thx +1
Sawamura commented: easy code for beginer +1
Vega_Knight commented: wow so easy..;) +1
Jx_Man 987 Nearly a Senior Poster Featured Poster

set database source on data1 properties. browse a current path of database.

Jx_Man 987 Nearly a Senior Poster Featured Poster

It looks like a paper pinned down by Pins :)
but it cant be that simple because you are asking it here.

ross

agree. :D

Jx_Man 987 Nearly a Senior Poster Featured Poster

check this prog :

Database With Data Control.zip

Hope This Helps...
Happy Coding :)

dnk commented: thanks... very helpfull +1
Vega_Knight commented: fine start for me +1
Estella commented: this a good example. thanks jx_man +1
Sawamura commented: wonderful code +1
Jx_Man 987 Nearly a Senior Poster Featured Poster

there are code for this....
sorry if it can't help you.

ITKnight commented: trims +1
Jx_Man 987 Nearly a Senior Poster Featured Poster
Neji commented: thanks for links +1
Naruse commented: helps link +1
Jx_Man 987 Nearly a Senior Poster Featured Poster

see this link :
http://www.vbdotnetforums.com/showthread.php?t=12469

Happy Coding friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

great work. happy coding friend :)
don't forget to mark this thread solved

Jx_Man 987 Nearly a Senior Poster Featured Poster

call the function from module and calculate in form

Jx_Man 987 Nearly a Senior Poster Featured Poster

hmm... give me a day and i'll post it for you.

Jx_Man 987 Nearly a Senior Poster Featured Poster

first, what of grid that you want to use with data control.
On Properties of Data1 :

DatabaseName = your database pathName.
RecordSource = Table that you want to use.

Then, Ex you use MSFlexGrid :
On MSFlexGrid properties ->DataSource = Data1

Jx_Man 987 Nearly a Senior Poster Featured Poster

already answer by SolTec

Jx_Man 987 Nearly a Senior Poster Featured Poster

Ok. Happy coding friend :)

dnk commented: i see :) +1
Jx_Man 987 Nearly a Senior Poster Featured Poster

Try This Following Code :

private declare function SHEmptyRecycleBin Lib "shell32.dll" Alias "SHEmptyRecycleBinA" (ByVal hwnd As Long,ByVal pszRootPath As String,ByVal dwFlags As Long) As Long
Private Const SHERB_NORMAL = &H10
Private Const SHERB_NOCONFIRMATION = &H1
Private Const SHERB_NOPROGRESSUI = &H2
Private Const SHERB_NOSOUND = &H4
Private Const SHERB_NOALL = _
(SHERB_NOCONFIRMATION And _
SHERB_NOPROGRESSUI And SHERB_NOSOUND)

Dim RetVal As Long
Private Sub Command1_Click()
   Dim y as Integer
   y = MsgBox("Are u sure to clean up Recycle Bin ? ", vbYesNo, "Confirmation"
   If y = vbYes Then
      RetVal = SHEmptyRecycleBin(0&,vbNullString,&H1)
   MsgBox "Recycle Bin has been cleaned"
   End If
End Sub

Ok. Hope This Helps.

Sawamura commented: Perfect :) +1
Neji commented: Great coding..... +1
dnk commented: Good +1
Jx_Man 987 Nearly a Senior Poster Featured Poster

try this :

For Each controlx In Form3.Controls
    If TypeOf controlx Is TextBox Then controlx.Text = ""
Next controlx
dnk commented: worked +1
Jx_Man 987 Nearly a Senior Poster Featured Poster

i post it cause previous post use or operand.
but you have a great code. nice one :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

why use or??
if the value 3 2 4 5 6 then the result is 3 cause the first state is pass (3 > 2).
when use or operand, if one state was passed then another state not checked by prog again.
use and operand.

If Val(Text1.Text) > Val(Text2.Text) And Val(Text1.Text) > Val(Text3.Text) And Val(Text1.Text) > Val(Text4.Text) And Val(Text1.Text) > Val(Text5.Text) Then
    Label1.Caption = Text1.Text
End If
Jx_Man 987 Nearly a Senior Poster Featured Poster

Welcome To daniweb :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

oh... sorry.
i repost the attachment :

Files Selected.zip

Jade_me commented: Pretty good +1
Sawamura commented: peace of code :) +1
Jx_Man 987 Nearly a Senior Poster Featured Poster

see this program :

[ATTACH]5142[/ATTACH]

this snapshot for the program
[ATTACH]5143[/ATTACH]
hope this helps.

Jx_Man 987 Nearly a Senior Poster Featured Poster

sorry i got some error while i compiled this program.
this a sample for asterix character using.

Use Asterix Symbol in input dialog box.zip

hope this helps.

Naruse commented: thanks friend :) +1
Estella commented: Great +1
Sawamura commented: awesome program...never know this before +1
ITKnight commented: nice one +1
Jx_Man 987 Nearly a Senior Poster Featured Poster

counted like what?for what you counted that files?

Jx_Man 987 Nearly a Senior Poster Featured Poster

yes, vb 2005 is group of .net and sorry for the post its for vb 6. ok. this i post an attachment of simple flash player.

Flash Player.zip


for activeX problem see this link : http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2535137&SiteID=1

Jx_Man 987 Nearly a Senior Poster Featured Poster

on form load event add this code :

RadioButton1.Checked = True
Jx_Man 987 Nearly a Senior Poster Featured Poster

in properties of textbox1 -> tabindex = 0
when it run the cursor will get focus in textbox1.

Jx_Man 987 Nearly a Senior Poster Featured Poster

in properties -> passwordchar = *

Jx_Man 987 Nearly a Senior Poster Featured Poster

no, its not inserted in picture box. to play swf file you must use shockwaveflash. find this component and add to your toolbox.
right click on your toolbox (or control + T) -> in tab controls find "shockwave flash" -> select it and it will shown on your toolbox control.
use this control on your form.
then add this code to play :

Private Sub Play_Click()
ShockwaveFlash1.Play
End Sub

Private Sub Pause_Click()
ShockwaveFlash1.StopPlay
End Sub

Private Sub Rewind_Click()
ShockwaveFlash1.Rewind
End Sub

Private Sub LoadMovies_Click()
Call ShockwaveFlash1.LoadMovie(0, "C:\Documents and Settings\Jerry\My Documents\Games Flash\ninja.swf")
End Sub
november_pooh commented: i learning Here +1
Jx_Man 987 Nearly a Senior Poster Featured Poster

hmmm.... this forum for introducing your self. please post your thread in current forum.

Jx_Man 987 Nearly a Senior Poster Featured Poster

actually you didn't give much information for your problem.what database that you've using?
see this link :
http://www.codeproject.com/KB/database/relationaladonet.aspx

Jhermzb_22 commented: pls let me know how to add different records in database using dataset +0
Vega_Knight commented: help as always +2
Jx_Man 987 Nearly a Senior Poster Featured Poster

you're very .... :ooh:

i'll post the files again. if you can see that files it's not my problem.
look for the attachment below :

Get Startup.zip

OK.

Jx_Man 987 Nearly a Senior Poster Featured Poster

your code just less single quote sign.

select TBIn.NoTbin,TBIn.IdBrg, Barang.NameBrg,TBIn.SupCode,Supplier.SupName from TBIn,Barang,Supplier
where TBIn.SupCode=Supplier.SupCode and
TBIn.IdBrg=Barang.IdBrg and
TBIn.IdBrg = [B]'B002'[/B]
ITKnight commented: Thanks to recovering my code +1
Jade_me commented: yes +1
november_pooh commented: Nice +3