Symbianize Forum

Most of our features and services are available only to members, so we encourage you to login or register a new account. Registration is free, fast and simple. You only need to provide a valid email. Being a member you'll gain access to all member forums and features, post a message to ask question or provide answer, and share or find resources related to mobile phones, tablets, computers, game consoles, and multimedia.

All that and more, so what are you waiting for, click the register button and join us now! Ito ang website na ginawa ng pinoy para sa pinoy!

Exclusively for Visual Basic 6.0 Programmers Only!

wala lang yan idol sagot ko lang yan dito sa problem nya :)


try mo nga 2ng code na 2:

Private Sub Command1_Click()
Dim a
a = 1 / 2 * (Val(Text1.Text) ^ 2 + Val(Text2.Text)) / 3
Text3.Text = FormatNumber(a, 2)
End Sub

:excited::excited:
 
Mali nga yung lumalabas kasi:

Code:
a = 7
b = 15

x = (0.5 * (7*7) + (15)) / 3

x = (0.5 * 49 + 15)/3

x = (24.5 + 15)/3

x = (39.5)/3

x = 13.166666666666666666666666666667

Looks like your professor bombed this one.


----------------ahh sir kc ung original post n t0h


--------------------------------------------------
x=1/2((a)^2+(b))/3

paano niyo po malalagyan yan ng code?

ibang result po kasi yung lumabas nung nag-experiment ako. eto yung akin

Private Sub Command1_Click()
Dim x As Integer
a = 7
b = 15
x = Val(0.5 * (a) ^ 2 + (b)) / 3
Text1.Text = Val(x)

End Sub

paano kaya to?

ang lalabas po dapat na value ng x ay 10.67
---------------------------------------------------------------

base s formula x=1/2((a)^2+(b))/3
ung 1/2 ay nklbas s parenthesis.
so it means that the formula should be:

x = 0.5((a)^2+(b))/3

if you will solve this with the given value of a and b as 7,15.

x = 0.5(7^2 + 15)/3

x = 0.5(49 + 15)/3

x = 0.5(64)/3

x = (0.5*64)/3

x = 32/3

x = 10.67



hope this will help., :buddy:
 
penge naman po ng full installer ng vb6.0, p0rtable po kasi yung nasa akin eh! Sana nasa mf link narin po! Thanks!
 
patulong po... paano gumawa ng auto update sa GUI ko :( please pahingi po ng code
 
Mali nga yung lumalabas kasi:

Code:
a = 7
b = 15

x = (0.5 * (7*7) + (15)) / 3

x = (0.5 * 49 + 15)/3

x = (24.5 + 15)/3

x = (39.5)/3

x = 13.166666666666666666666666666667

Looks like your professor bombed this one.

daghang salamat! hindi ko pa to natry!:clap: :salute:
 
patulong po sa auto update please... yung pag open sana na autoupdate.exe eh mag download na agad siya ng file sa nilgay na url sa kanya :(
 
Hi, medyo off-topic po.. nagbabakasakali lang.. Our client is currently looking for Software Engineers(VB.net) for a BPO firm. If interested po kayo, send me a copy of your cv at [email protected]..

Thanks!
 
HELP! GETSETTING and SAVESETTING functions

pano po isave ung variable mo sa registry

halimbawa po:

Code:
      Dim condition as String
      
      condition = txtinput.text
      'ung variable po na condition(pati ung laman) ang isasave sa registry then i reretrieve
      every time na mag load and form

TIA
 
Pa TUlong po : (Salamat sa lahat ng tutulong) vb6

====================================================
Private Sub Loadlistview()
Dim recordCtr, ctr As String

Closerecordset

ListView1.ListItems.Clear
Openrecordset ("Select * from tblinformation Where " & cbLookin.Text & " Like '" & txtSearch.Text & "%'")
recordCtr = rsInformation.RecordCount
ctr = 1
If recordCtr >= 1 Then
rsInformation.MoveFirst
While Not rsInformation.EOF
Set myitm = ListView1.ListItems.Add(ctr, , rsInformation.Fields("No.").Value)
'myitm.SmallIcon = ImageList1.ListImages.Item("ico").Key
myitm.SubItems(1) = rsInformation.Fields("Fullname").Value
myitm.SubItems(2) = rsInformation.Fields("Lastname").Value
myitm.SubItems(3) = rsInformation.Fields("Firstname").Value

rsInformation.MoveNext
ctr = ctr + 1

Wend
ctr = 1

Else
Exit Sub

End If
End Sub
====================================================
Private Sub ListView1_DblClick()

Dim i As Integer

rsInformation.MoveFirst

For i = 1 To ListView1.ListItems.count
If ListView1.ListItems(i).Selected = True Then

frmAddandUpdate.Image2.Visible = True
frmAddandUpdate.Image3.Visible = False
If Len(rsInformation.Fields("Picture").Value) <> 0 Then
Set frmAddandUpdate.Image2.DataSource = rsInformation
frmAddandUpdate.Image2.DataField = "Picture"
Else
frmAddandUpdate.Image3.Picture = Nothing
End If

frmAddandUpdate.txtLN.Text = rsInformation.Fields("Lastname").Value
frmAddandUpdate.txtFN.Text = rsInformation.Fields("Firstname").Value

End If
rsInformation.MoveNext
Next i

End Sub
=======================================================
Private Sub txtSearch_Change()
Call Loadlistview
If txtSearch.Text = vbNullString Then ListView1.ListItems.Clear
End Sub
========================================================

Ang tanong ko po pag double click ko na po siya ok siya mag papasa ang data, pero
yung sa Picture po lilitaw tapos mawawala agad. Paano po yung sa part ng Picture???
Salmat po sa tutulong
 
guys.. Matagal na akong nagVB. pero until now di padin ako gumagamit ng Array.. Explain nyo naman sakin if ok lng.. Haba kasi ng codes ko eh..
 
Hi, medyo off-topic po.. nagbabakasakali lang.. Our client is currently looking for Software Engineers(VB.net) for a BPO firm. If interested po kayo, send me a copy of your cv at [email protected]..

Thanks!

Interested sana ako sa post mo kaso nakabond ako sa company ko 4 2 years as cobol programmer pero i really love if sa MS ako mag poprogram kasi mas dun ako sanay :weep:
 
Hi, medyo off-topic po.. nagbabakasakali lang.. Our client is currently looking for Software Engineers(VB.net) for a BPO firm. If interested po kayo, send me a copy of your cv at [email protected]..

Thanks!


sir pde po ba khit fresh grad lang wala pa kc akong experience sa work as programmer eh..pero i'm currently taking my Masteral ngaun..
 
pwede po makahingi ng link ng visual basic 6.0 ? wala po kasi ko makita sa download section eh . .

salamat mga idol . . .
 
boss newbie po ako.. Pwde po ba mkahingi nang visual basic 6.0.. Thanks in advance..
 
Back
Top Bottom