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!

meron din ako kakilalang ganyan senior ko sya hahaha
22571177f08680d8b0e49d39146edea0a86d0692.jpg


madali lang naman ehh
 

Attachments

  • 22571177f08680d8b0e49d39146edea0a86d0692.jpg
    22571177f08680d8b0e49d39146edea0a86d0692.jpg
    81.3 KB · Views: 5
Last edited:
Maraming salamat po sir. Salamat po sa advice. Ok lng po ba di gumamit ng datareader sir? sa system? medyo beginer pa po

hhmmm . d rin ako gumagamit nun e. hahaha . di ko lang trip nung nag aaral pa ko.
 
pag parameterized kasi hirap din .. lalo na kapag naglilipat ng codes.

uu mahirap pero secured naman po.

ganun din naman ung standard ng "select * from table where field='" + textbox.text + "'" what if napakaraming field din eh di ganun din po sya.

dun nalan gako sa parametarized kasi secured
 
uu mahirap pero secured naman po.

ganun din naman ung standard ng "select * from table where field='" + textbox.text + "'" what if napakaraming field din eh di ganun din po sya.

dun nalan gako sa parametarized kasi secured



d naman mahirap, Gumawa kasi ako ng Crud using parametized ehh.. Generated na yung codes ko from MySQL :)

2258544075f4bae3a57bde4120d85c49f631e510.jpg


- - - Updated - - -

d naman mahirap, Gumawa kasi ako ng Crud using parametized ehh.. Generated na yung codes ko from MySQL :)

View attachment 276417
 

Attachments

  • 2258544075f4bae3a57bde4120d85c49f631e510.jpg
    2258544075f4bae3a57bde4120d85c49f631e510.jpg
    178.1 KB · Views: 24
d naman mahirap, Gumawa kasi ako ng Crud using parametized ehh.. Generated na yung codes ko from MySQL :)

http://img0.uploadhouse.com/fileuploads/22585/2258544075f4bae3a57bde4120d85c49f631e510.jpg

- - - Updated - - -

d naman mahirap, Gumawa kasi ako ng Crud using parametized ehh.. Generated na yung codes ko from MySQL :)

View attachment 1136131

ung parametarized para sa akin mas madali un at mas madaling nag debug kesa sa sa hindi parametarized.
and i created nalang ng method para sa parametarized query ko mas mabilis ng developmnt.
and i shift into linq na mas madali sa insert lahat.
 
cK17voY.png


guys how if gagawin kung multiple remote nasiya

ito yung code nakuha ko lang din sa google ang code so gusto ko gawing multiple


Code:
Imports System.IO
Imports System.Net
Imports System.Net.Sockets
Imports System.Threading
Imports System.Drawing
Imports System.Runtime.Serialization.Formatters.Binary
Public Class Form1
    Dim client As New TcpClient
    Dim nstream As NetworkStream


    Public Function Desktop() As Image
        Dim bounds As Rectangle = Nothing
        Dim screenshot As System.Drawing.Bitmap = Nothing
        Dim graph As Graphics = Nothing
        bounds = Screen.PrimaryScreen.Bounds
        screenshot = New Bitmap(bounds.Width, bounds.Height, System.Drawing.Imaging.PixelFormat.Format32bppArgb)
        graph = Graphics.FromImage(screenshot)
        graph.CopyFromScreen(bounds.X, bounds.Y, 0, 0, bounds.Size, CopyPixelOperation.SourceCopy)
        Return screenshot
    End Function

    Private Sub SendImage()
        Dim bf As New BinaryFormatter
        nstream = client.GetStream
        bf.Serialize(nstream, Desktop())
    End Sub

    Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
        SendImage()
    End Sub

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Try

            client.Connect("127.0.0.1", 8085)
        Catch ex As Exception
            MsgBox("Failed to connect...")
        End Try
    End Sub

    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
        Timer1.Start()
    End Sub
End Class
 
What would be a good programming language wherein I can handle a simulation based on the selected images the user has click. Say for example, a student select a chemical and apparatus to make a reaction and display the product maybe an image will do in displaying...any programming language guys that would best suit to this kind of problem?
 
What would be a good programming language wherein I can handle a simulation based on the selected images the user has click. Say for example, a student select a chemical and apparatus to make a reaction and display the product maybe an image will do in displaying...any programming language guys that would best suit to this kind of problem?

pick visual basic .net 2010

VB = Very Basic..
 
Pahelp nmn po paano gumawa statistical report using graph and access data base. salamat po
 
Hi,

Ask ko lng po kung ano po ung best way para mag achive ko ung report na customized in a way na walang default na pwesto ung mga fields.. For example may isa akong field (Serial No.) minsan nasa top right sya, minsan sa middle, minsan bottom.. depende kung san ilagay ni report master ung pwesto .. pro syempre d sya pwede gumamit ng visual studio or crystal report viewer..

TIA .. Idea lng po .. Thx
 
Hi,

Ask ko lng po kung ano po ung best way para mag achive ko ung report na customized in a way na walang default na pwesto ung mga fields.. For example may isa akong field (Serial No.) minsan nasa top right sya, minsan sa middle, minsan bottom.. depende kung san ilagay ni report master ung pwesto .. pro syempre d sya pwede gumamit ng visual studio or crystal report viewer..

TIA .. Idea lng po .. Thx

search mo po yung reportviewer.
 
Mga Master Patulong naman ako pano ko gagawin sa code ko na gusto ko 2 weeks before the expiration is ma-nonotify ko na via email yung user na expired na yung document. yung ginawa ko kasing code ngayon is kung ano yung expiration date let say 7/15/2016 kung tomorrow ni run ko na yung system saka lang siya mag-nonotify?

ito pala yung code na ginawa ko:

If Date.Now.ToString("MM/dd/yyyy") >= row.Cells(4).Value

salamat, cheers!
 

Use Subtract() function of DateTime. Notify by email when the difference is 14 days or less (2 weeks = 14 days)

DateTime expiration = DateTime.Parse(row.Cells(4).Value)

If DateTime.Now.Subtract(expiration).TotalDays <=14
 
Back
Top Bottom