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!

VB.NET Programming Corner!

Re: VB.NET Programming Corner! UPDATED!!!

:help: pano po ba gawing installer ung nagawang program sa vb.net?:weep:
 
Re: VB.NET Programming Corner! UPDATED!!!

Isa pong paraan po ang ClickOnce Deployment, ito po ang project publishing,
nakikita niyo po ba yung mga MSI installer? Ganito po 'yon.

At yung isa naman po ay yung Creation ng installer, marami na po yatang Software para dito,
Smart Install Maker ang isa na po dito at marami pa.

Yung nabanggit ko po na Clickonce Deployment, available po ito sa Visual Studio niyo,
pakitignan na lang po yung documentation.

Siya nga po pala, ano ang gamit ninyong version ng Visual Studio?
 
Re: VB.NET Programming Corner! UPDATED!!!

Meron po yan, VS 2003, meron na pong ClickOnce,
configure mo po, under your project properties, Publish and deployment, ClickOnce.
 
Re: VB.NET Programming Corner! UPDATED!!!

pahelp po paano po iconnect sa visual studio lung broadband...
bale sms using broadban as modem po kc ung system na ginagawa q
 
Re: VB.NET Programming Corner! UPDATED!!!

mga sir pa help s Project namen..

Question(0) = "What is noun?"
Question(0) = "What is Adjective"
Question(1) = "What is Linking Verb"
Question(2) = "What is Pronoun"
Question(3) = "What is Abverb"

anu po code ko lalagay ko s button pra mg increment un Question(0) hanggang s Question(5)

Tnx po in advance..kelangn kelangn lng ,,
 
Re: VB.NET Programming Corner! UPDATED!!!

mga sir pa help s Project namen..

Question(0) = "What is noun?"
Question(0) = "What is Adjective"
Question(1) = "What is Linking Verb"
Question(2) = "What is Pronoun"
Question(3) = "What is Abverb"

anu po code ko lalagay ko s button pra mg increment un Question(0) hanggang s Question(5)

Tnx po in advance..kelangn kelangn lng ,,

Code:
private/dim iCurrentQuestion = 0
define mo po as global variable

sa button:
Code:
iCurrentQuestion += 1
DoDisplayQuestion(iCurrentQuestion)
 
Re: VB.NET Programming Corner! UPDATED!!!

yan po error
sir DoDisplayQuestion' is not declared..

sori po babago plng ako ng aaral ng vb.net.

pag pacenxahan nio n po ako .tnx^^:)
 
Re: VB.NET Programming Corner! UPDATED!!!

yan po error
sir DoDisplayQuestion' is not declared..

sori po babago plng ako ng aaral ng vb.net.

pag pacenxahan nio n po ako .tnx^^:)

Siyempre, ikaw ang madedeclare niyan,
nagbigay lang ako ng idea.

I prefer po sir, pag-aralan niyo po ang Object Oriented Programming,
yan ang dapat na foundation nating mga .NET programmer(as if it is applicable to wide programming languages).
 
Last edited:
Re: VB.NET Programming Corner! UPDATED!!!

ahh,,tnx po sa advise,,
search search po muna ako s internet,,
 
Re: VB.NET Programming Corner! UPDATED!!!

mga sir pa help s Project namen..

Question(0) = "What is noun?"
Question(1) = "What is Adjective"
Question(2) = "What is Linking Verb"
Question(3) = "What is Pronoun"
Question(4) = "What is Abverb"

anu po code ko lalagay ko s button pra mg increment un Question(0) hanggang s Question(4)

guy nid help tlga d ko magawa e,,kahiya hiya man kung pwd detalyado,d ko kc tlga mgwa,
tnx po
 
Re: VB.NET Programming Corner! UPDATED!!!

mga sir pa help s Project namen..

Question(0) = "What is noun?"
Question(1) = "What is Adjective"
Question(2) = "What is Linking Verb"
Question(3) = "What is Pronoun"
Question(4) = "What is Abverb"

anu po code ko lalagay ko s button pra mg increment un Question(0) hanggang s Question(4)

guy nid help tlga d ko magawa e,,kahiya hiya man kung pwd detalyado,d ko kc tlga mgwa,
tnx po

try mo po maglagay ng counter. kunwari. tuwing pinipindot mo yung button, merong nakalagay na:

n = n + 1

kaya ilalagay mo Question(n)..

pwede mo rin lagyan ng limit.

kapag nilagay mo ng ganito:

n = n + 1
n = n Mod 5


ang mangyayari jan eh, hindi na lalagpas ng 4 yung value ng n
 
Re: VB.NET Programming Corner! UPDATED!!!

mga sir pa help s Project namen..

Question(0) = "What is noun?"
Question(1) = "What is Adjective"
Question(2) = "What is Linking Verb"
Question(3) = "What is Pronoun"
Question(4) = "What is Abverb"

anu po code ko lalagay ko s button pra mg increment un Question(0) hanggang s Question(4)

guy nid help tlga d ko magawa e,,kahiya hiya man kung pwd detalyado,d ko kc tlga mgwa,
tnx po

ano gagawin neto? kada click mag increase yung index at i display yung question based sa index?

una dapat alam mo ang range ng array mo by using
UpperBound para flexible, isang point lang nag papalitan mo kung magbabago ang number of questions

try this

Array.png
 

Attachments

  • Array.png
    Array.png
    36.2 KB · Views: 6
Re: VB.NET Programming Corner! UPDATED!!!

hello po sa mga master in VB.NET Programmer I'am four year BSCS and meron po kaming Thesis ngayon and our system need an Conversion Number to Text and with that i found a system that Convert Number to Text in a Site and my BIG Problem is the system is programmed in VB6 language and ang ginagamit po namin nagyon na language is VB.NET 2005.


Ito po yung Site na sinasabi ko.!
http://vbnet.mvps.org/index.html?code/helpers/numbertotext.htm



sana matulunga nio po ako BIG Thanks.

create k ng bagong sln sa vb.net, copy mo lang lahat ng codes sa site sa new form mo...

fix mo n lng un error...
lahat ng code may equivalent syntax sa vb.net...
 
Re: VB.NET Programming Corner! UPDATED!!!

@lighton

BIG PROBLEM talaga?
get the logic and code your own, maganda na exercise at practice yan.
 
Last edited:
Re: VB.NET Programming Corner! UPDATED!!!

@lighton

mukang BIG din un school nyo...
kc BIG TIME din thesis...

mahirap nga mgcopy ng code kung d mo alam un logic...
un ang BIG PROBLEM...
 
Re: VB.NET Programming Corner! UPDATED!!!

kapag copy paste lang ng code mula sa iba, para kang umiinom ng kape na lasang 3in1, wala lang, normal kapehan lang

pero pag ikaw ang nag code maski may basis ka man, para kang umiinom ng kape na lasang istarbaks, bonga ang pagkakape mo, di mo makakalimutan sa mahabang panahon.
 
Re: VB.NET Programming Corner! UPDATED!!!

mga sir pa help s Project namen..

Question(0) = "What is noun?"
Question(1) = "What is Adjective"
Question(2) = "What is Linking Verb"
Question(3) = "What is Pronoun"
Question(4) = "What is Abverb"

anu po code ko lalagay ko s button pra mg increment un Question(0) hanggang s Question(4)

guy nid help tlga d ko magawa e,,kahiya hiya man kung pwd detalyado,d ko kc tlga mgwa,
tnx po

eto din o nagawa ko kagabi hindi ko na naipost kasi naunahan na..
pero eto share ko na din..
ginawa ko is count ko ung buong array then increment ko lng lagi
then kung na reach niya na eh babalik sa index zero nung array
Code:
Public Class Form1
    Dim x As Integer
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Dim question(4) As String
        question(0) = "a"
        question(1) = "b"
        question(2) = "c"
        question(3) = "d"
        question(4) = "e"

        If x <= question.Count Then
            If x = question.Count Then
                x = 0
                MsgBox(question(x))
            Else
                MsgBox(question(x))
            End If
        End If
        x = x + 1
    End Sub
End Class
 
Re: VB.NET Programming Corner! UPDATED!!!

eto din o nagawa ko kagabi hindi ko na naipost kasi naunahan na..
pero eto share ko na din..
ginawa ko is count ko ung buong array then increment ko lng lagi
then kung na reach niya na eh babalik sa index zero nung array
Code:
Public Class Form1
    Dim x As Integer
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Dim question(4) As String
        question(0) = "a"
        question(1) = "b"
        question(2) = "c"
        question(3) = "d"
        question(4) = "e"

        If x <= question.Count Then
            If x = question.Count Then
                x = 0
                MsgBox(question(x))
            Else
                MsgBox(question(x))
            End If
        End If
        x = x + 1
    End Sub
End Class


note lang:

array.count returns 5 on this case
array.upperbound returns 4
 
Re: VB.NET Programming Corner! UPDATED!!!

eto din o nagawa ko kagabi hindi ko na naipost kasi naunahan na..
pero eto share ko na din..
ginawa ko is count ko ung buong array then increment ko lng lagi
then kung na reach niya na eh babalik sa index zero nung array
Code:
Public Class Form1
    Dim x As Integer
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Dim question(4) As String
        question(0) = "a"
        question(1) = "b"
        question(2) = "c"
        question(3) = "d"
        question(4) = "e"

        If x <= question.Count Then
            If x = question.Count Then
                x = 0
                MsgBox(question(x))
            Else
                MsgBox(question(x))
            End If
        End If
        x = x + 1
    End Sub
End Class



Sir magiging index out of bounds yung code mo pag ginamit since nag start ka sa zero ..

gawin mo nalang pong
x < question.Count
or
x <= question.UpperBound
 
Back
Top Bottom