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!

All about programming (Specially c, c++, VB, Java)

Sino po ba meron ditong sample code ng paggawa ng Bookstore sa java object oriented, yung may search,transaction,book titles, etc.. kung sino man meron pa share nmn gusto ko lang makta kung pano ginawa. netbeans po gamit ko.
 
TS pa help naman, pa share ng isang program jan using JABA kahit anong program na gumagamit ng loop final project lang namin po, kahit simple program lang basta gamit ang looping...
 
ah.. sige po... salamat sir..^^
ahm, tanung ko lang po, anu na po ba pinagkaiba ng visual basic 2008 sa vb.net..??
parang mas trending kasi yung vb.net, nakakaintriga lang po..XD
hahahaha..
anyways, salamat po ulit sir knives645, and specially sa thread na ito..^^
------------------------
by the way sir, panu po ba aayusin pag nakaencounter ka ng error about sa database,
di ko na po maalala yung error, pero alam ko po about sya sa same data na nilagay ko,
nagtry po kasi akong gumawa ng application na my ID, bale nung first na try ko, nagsave naman yung data,
nung second try ko naman na same parin yung ID na nilagay ko, yun po, nagkaerror na,
panu po ba yun.??

VB.net? Visual basic 2008?
Let me elaborate...
Microsoft release Visual Studio .Net, if I'm not mistaken that was 2002.
But prior to .Net merong visual studio 97 then visual studio 6.

Visual Studio is the IDE, same sa MS Office, it's a suite, it has Word, Excel, Powerpoint etc.
So sa Visual Studio, merong Windows Forms, WPF, SilverLight, ASP, etc.
Then meron kang languages na pwedeng gamitin like VB, C# and C++.

Yung 2002, 2003, 2005, 2008, 2010, 2012, 2013 and lastly yung 2014, versions lang yan ng Visual Studio.Net, parang android versions lang.

-from Sir Eric
Yung Visual Studio 6, includes VB6 is a WIN32 development tool
meaning ginagamit to create applications in the Windows32bit platform using native windows library.

VB.NET (VB2005 - VB2010) is a development tool to create applications running under the .NET Framework

So yung 2008 is version, while VB is the language.

With regards sa error mo,
Nag-declare ka ng Primary Key sa Table, so if you attempted to insert a duplicate ID, it will generate an error.
So you have to use Try/Catch to trap the error. Same to sa On Error Goto sa VB6.
 
VB.net? Visual basic 2008?
Let me elaborate...
Microsoft release Visual Studio .Net, if I'm not mistaken that was 2002.
But prior to .Net merong visual studio 97 then visual studio 6.

Visual Studio is the IDE, same sa MS Office, it's a suite, it has Word, Excel, Powerpoint etc.
So sa Visual Studio, merong Windows Forms, WPF, SilverLight, ASP, etc.
Then meron kang languages na pwedeng gamitin like VB, C# and C++.

Yung 2002, 2003, 2005, 2008, 2010, 2012, 2013 and lastly yung 2014, versions lang yan ng Visual Studio.Net, parang android versions lang.

-from Sir Eric
Yung Visual Studio 6, includes VB6 is a WIN32 development tool
meaning ginagamit to create applications in the Windows32bit platform using native windows library.

VB.NET (VB2005 - VB2010) is a development tool to create applications running under the .NET Framework

So yung 2008 is version, while VB is the language.

With regards sa error mo,
Nag-declare ka ng Primary Key sa Table, so if you attempted to insert a duplicate ID, it will generate an error.
So you have to use Try/Catch to trap the error. Same to sa On Error Goto sa VB6.

wow,
so all in one na pala ang vb net,
may alam n dn ako s c pati c++,
kaya kaya ko cguro un..XD
install ko nalang agad sya pg nsa net ako maya.
salamat po sa info nyu.^^

ahm,
ung sa error ko naman po,
may gnwa po kc sya para maiwasan un eh,
ung parang pag may kaparehas na data dun field,
may lumalbs na msgbox tpos may nkalagay na "ID already exist"

bale,
un po ung gusto ko malaman, ung code po para, kung may kaparehas nga
na data sa field, mag la2bas nlang sya ng msgbox,
tpos ba2guhin nlang ng user ung nilagay nya,
nang ndi na nagdedebug,
 
Sir pa help naman dto sa casestudy nmen . Blue j tnx
 

Attachments

  • 1044452_883515621667830_6971013616072434093_n.jpg
    1044452_883515621667830_6971013616072434093_n.jpg
    41.6 KB · Views: 9
wow,
so all in one na pala ang vb net,
may alam n dn ako s c pati c++,
kaya kaya ko cguro un..XD
install ko nalang agad sya pg nsa net ako maya.
salamat po sa info nyu.^^

ahm,
ung sa error ko naman po,
may gnwa po kc sya para maiwasan un eh,
ung parang pag may kaparehas na data dun field,
may lumalbs na msgbox tpos may nkalagay na "ID already exist"

bale,
un po ung gusto ko malaman, ung code po para, kung may kaparehas nga
na data sa field, mag la2bas nlang sya ng msgbox,
tpos ba2guhin nlang ng user ung nilagay nya,
nang ndi na nagdedebug,

Sabi ko nga nung una, lagyan mo ng Try/Catch ang code mo.
Or retrieve mo muna sa table mo kung meron kapareho ang ID.

Sample code using OLEDB, I didn't test the code, pero ganyan ang concept.
Code:
Dim cmd As New OleDbCommand
cmd.CommandText = "SELECT count(*) FROM youTable WHERE ID = @ID"
cmd.Connection = conn
cmd.Parameters.AddWithValue("@ID", txtID.Text)

Dim oleRdr as new OleDbReader = cmd.ExecuteReader()
If oleRdr.HasRows = True Then
    oleRdr.Read()
    If oleRdr.Item(0) = 0 Then
        'ID is available and you can do insert command now
    Else
        'ID exists, notify user for duplicate entry.
    End If
End If
 
Last edited:
Sabi ko nga nung una, lagyan mo ng Try/Catch ang code mo.
Or retrieve mo muna sa table mo kung meron kapareho ang ID.

Sample code using OLEDB, I didn't test the code, pero ganyan ang concept.
Code:
Dim cmd As New OleDbCommand
cmd.CommandText = "SELECT count(*) FROM youTable WHERE ID = @ID"
cmd.Connection = conn
cmd.Parameters.AddWithValue("@ID", txtID.Text)

Dim oleRdr as new OleDbReader = cmd.ExecuteReader()
If oleRdr.HasRows = True Then
    oleRdr.Read()
    If oleRdr.Item(0) = 0 Then
        'ID is available and you can do insert command now
    Else
        'ID exists, notify user for duplicate entry.
    End If
End If


yap.. chineck ko na po yung sa database ko, bale yung code nalang po yung di ko alam...^^
and,,, salamat po dito..
hahaha.. ahm,
parehas lang po ba sa adodb to sir knives.??
medyo new po kasi yung mga code dito, di po ko familiar,
pero, try ko na din po sa project ko..^^
salamat po dito sir knives and sa thread na to..^^
tamabay na ko dito.. hahaha..XD
 
yap.. chineck ko na po yung sa database ko, bale yung code nalang po yung di ko alam...^^
and,,, salamat po dito..
hahaha.. ahm,
parehas lang po ba sa adodb to sir knives.??
medyo new po kasi yung mga code dito, di po ko familiar,
pero, try ko na din po sa project ko..^^
salamat po dito sir knives and sa thread na to..^^
tamabay na ko dito.. hahaha..XD

Same concept, but they have different approach.
 
View attachment 186953
wah..XD
may new error nanaman po ako.. sorry po sir knives ah, di ko po kasi naiaaply yung cnabi mo..
nagkaprob tuloy akoh..
panu po yung tamang coding nito..;(
sorry po tlga kung makulit akoh..
 

Attachments

  • Untitled.jpg
    Untitled.jpg
    328.2 KB · Views: 25
View attachment 967296
wah..XD
may new error nanaman po ako.. sorry po sir knives ah, di ko po kasi naiaaply yung cnabi mo..
nagkaprob tuloy akoh..
panu po yung tamang coding nito..;(
sorry po tlga kung makulit akoh..

Yung NewStudentNumber mo ba, text or number?

Pa-try na lang pala na tanggalin ang space dun sa may [NewStudentNumber = ' " & txtStudentNunber.Text & " '"] ng SQL mo.

SELECT * FROM NewStudentList WHERE NewStudentNumber = '" & txtStudentNunber.Text & "'"
 
Yung NewStudentNumber mo ba, text or number?

Pa-try na lang pala na tanggalin ang space dun sa may [NewStudentNumber = ' " & txtStudentNunber.Text & " '"] ng SQL mo.

SELECT * FROM NewStudentList WHERE NewStudentNumber = '" & txtStudentNunber.Text & "'"


MOTHER OF ALL SPACE..!!!!
hahahahaha.!!!
space lang pala yung problem..XD
Salamat tlga sir knives and sa thread na to.. laki po ng tulong nyu,
mamasterin ko po to para makatulong din ako dito sa thread..^^
salamat po tlga..^^
 
mga man sir since programming po ang topic dito ,magtatanong lang po sana ako kung possible po itong maachieve using visual basic
bale nagpaplano po kami sa ipopropose naming system at naisip ko ano kaya kung attendance and monitoring .possible po ba itong mangyari sa client server bale maglolog-in lang yung mga student sa client at dun na machecheck yung attendance nila sa server at maisasave yung name at time parang ganito...
View attachment 187046
pasensiya na kyo mga master. galing nako sa youtube at google wala man lang akong makitang sagot. :thanks:
 

Attachments

  • attendance.png
    attendance.png
    12.3 KB · Views: 7
ask ko lang po paano ko po ba magagawang online yung system na ginawa ko, gumawa po kasi ako ng inventory system using visual studio 2010 with MSSQL 2008 as its database ngayon po ang gusto ko po is pagdineploy ko po ito sa ibang pc(sa ibang baranggay yung isang pc) pagnagencode po sila at sinubmit po mauupdate po yung database ko dito sa pc dito sa office, bali ang pinakaserver po is etong office po
 
Last edited:
Like ko tong threds na to, pasilip baka may matutunan rin ako.. IT student rin ako.HEHE.. :D UP :) :) (peace)
 
Pahelp naman po paano ko ito icocode :(

kelangan po gagamit ng used defined functions eh absent ako nung tinuro di ko magets kasi nagaaral pa lang ako ng array :(

eto po yung problem:
Create 2 functions without parameters, one to display the word "YES" and one to display the word "NO" on screen in large letter using asterisks. Then, create a main function that will ask the user to enter a number. If the user will input an even number the program will call the YES function, otherwise it will call the no funtion.

Paano po yan? gagamit po ba ako ng if else if statement? Patulong naman po gumawa ng sarili function :(
 
mga sir..ptulong nman po.. bagong member lng po ako d2. bka nman po meron d2 na mrunong sa assembly langauage tnong ko lng po kung paano mag square root ng number tska po panu ung may option sa assembly language .ung kunware po pag run nyu ng program eh ang unang lalabas muna 2 option. ganito po oh. press A to compute adjacent, press O to compute for opposite ung gani2 po tapos pag nkapili ka na ng option eh magiinput kna ng number tpos cocomputin na nya .. EMU8086 po ang gamit ko na emulator sa assembly language.. tnx po
 
TV programming, open workspace w/ real time update

khit anu pdeng ilagay video/table/data pic etc.

katulad ng nasa tv tlaga.

thanks


kaya ba dito?
 
[/SIZE
]magandang araw mga masters bka naman po pde nyung ipaliwanag sakin sa tagalog kung ano po ang gamit mg return s fuction o panu po ito gamit sobra po kasi akong nguguluhan marami n po akong nbsa pero nd ko parin po ma getz

MARAMING SALAMAT PO
 
Back
Top Bottom