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!

sorry my bad, errorprovider pala gamit mo.

Code:
  For Each objControl In Me.Controls
            If TypeOf objControl Is TextBox Then
                Dim objTextbox As TextBox = objControl

                If objTextbox.Text = Nothing Then
                    ErrorProvider1.SetError(objTextbox, "Fatal Error")
                Else
                    ErrorProvider1.SetError(objTextbox, Nothing)
                End If
            End If
        Next

replace this For Each objControl In Me.Controls with For Each objControl In Group2.Controls

ok na sir , got it ,, very much thanks :yipee:
 
welcome, combine mo nalang yung 1st reply ko at 2nd.

sir panu po pag group1 and group2 i che check ko ?

group1 = type : text
group2 = type : textbox

sensya na talaga sa abalaa sir eheh .. :slap: :praise:

ok na sana sir kaso nung nag test ako , di pala nabasa dun sa group1 ehhe
 
Last edited:
sir panu po pag group1 and group2 i che check ko ?

group1 = type : text
group2 = type : textbox

sensya na talaga sa abalaa sir eheh .. :slap: :praise:

ok na sana sir kaso nung nag test ako , di pala nabasa dun sa group1 ehhe

lagay mo sa dalawang loop

Code:
for each objControl as control in me.controls
  if typeof objControl is groupbox then
    dim objGroup as groupbox = objControl
     for each objTextbox as control in objGroup.controls
       'yung code kanina resumes here
     next
  end if
next
 
Last edited:
thanks talaga sir :thumbsup:


ito lang ayaw ko , katakot takot na validations :slap:

ehhe :)
 
thanks talaga sir :thumbsup:


ito lang ayaw ko , katakot takot na validations :slap:

ehhe :)

gumawa ka ng function for validation, tapos e add mo lang yung mga items na kelangan mo e validate. tapos yung function mo na ang mag hahandle.

lagi mo tandaan: we need to make our lives easy. hehehe.
 
Mga sir. Wala ba talagang available na crystal reports sa vb 2010 EXPRESS? Paano po ba gumawa ng reports? HUHU.
 
pahapyaw naman po ng login and signup

kung paano po sya tatakbo ,

e.g pag nag signup need pa ba permit ni admin para mag signup ?

mga ganun po eheh thanks :)
 
Mga sir. Wala ba talagang available na crystal reports sa vb 2010 EXPRESS? Paano po ba gumawa ng reports? HUHU.


wala po, use standalone crystal to creare reports
then manually add ref to proj.
then add reports
 
mga sir help naman po about getting random data without duplication...penge naman po ng codes for vb.net... salamat in advance:pray::pray::pray:
 
mga sir help naman po about getting random data without duplication...penge naman po ng codes for vb.net... salamat in advance:pray::pray::pray:

ang logic lang po nyan ay

1, generate random, add to list
2, generate next random,
3, check if exist on the list,
4, add if not exist
5, return to 2


ganyan lang po, just check if the number exists on the list of generated numbers
add to the list if new number is not there pa
 
Cnu po may alam ng codes for Barcode Scanning sa vb.net. help nmn po thanks:pray:.

may device ka na ba?
kasi kung may device ka na malalaman mo na parang keyboard lang yan
wala ka gagawin kundi ilagay lang sa textbox ang focus at mag scan
 
ahm sir eric ask ko lang po may sample code po ba kau jan nung displa ng data from listview to textbox.ung pag nagclick po sa listview eh lalabas din ung data sa textbox po.. . thanks po in advance.
 
ahm sir eric ask ko lang po may sample code po ba kau jan nung displa ng data from listview to textbox.ung pag nagclick po sa listview eh lalabas din ung data sa textbox po.. . thanks po in advance.

no need ng sample

dont look for sample sa bawat code na gagawin nyo

ganito lang yan

display sa listview, alam mo na ba gawin?
meron samples sa page1 yata

meron event sa listview na click at double click

pag click or dbl click
get the key na gagamitin, usually yung TAG ng listviewitem or yung first column
run a function to read the database with this kind of query

"SELECT * FROM Table WHERE KeyField = '" & ListView1.SelectedItem.Tag & "'"

then makukuha mo yung record na merong ganun na text or tag

then pag nakuha mo pwede mo na ilagay maski saan

try mo i code using codes sa page1
 
Any installer for VB.NET?

Di ko kasi alam ano ung tamang software for vb.net ehh :(

Penge link please xD
 
Pano ko po magagawang dalawang klase ang mapipili dito

"SELECT * FROM tblInventory WHERE ProductID LIKE '%RBCO%' AND Quantity <= 300"

sa productID po may madaming pag pipilian like RBCA,RBBR,RBTA gusto ko po sana makasama si RBCO at RBCA tsaka po sa Quantity ni RBCA is 30
 
Back
Top Bottom