₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,302 members, 8,421,229 topics. Date: Saturday, 06 June 2026 at 03:45 AM

Toggle theme

Jboy01's Posts

Nairaland ForumJboy01's ProfileJboy01's Posts

1 2 3 4 5 6 7 8 ... 19 20 21 22 23 24 25 26 (of 26 pages)

ProgrammingUpdate Database Via Wlan by jboy01(op):
Pls am designing a destop application that needs to update a database in another computer by sending the datas via a wireless network.
I code in vb.net.
Pls how will I go about it?
ProgrammingRe: Date Format Using Vb.net by jboy01(m): 8:10pm On Sep 27, 2013
Use d (dd MMMM YYYY) Format
PhonesRe: BBM on iPhone and related issues by jboy01(m): 6:32pm On Sep 23, 2013
Drop ur bbm pin if u already have bbm running on ut phone!
Satellite TV TechnologyRe: New Daarsat HD Decorder by jboy01(m): 6:27pm On Sep 18, 2013
My daar sat don encrypt OOº°˚˚˚˚°.
Any solution?
PhonesRe: Download The Latest Blackberry Messenger 8.0.0.44 BETA Which Have BBM Channel. by jboy01(m): 7:15am On Sep 16, 2013
⌣»̶·̵̭̌·̵̭̌✽̤̈̊Ŧђɑ̤̥̈̊п̥̥̲̣̣̣kƨ̣̣̣̇̇̇̇✽̤̈̊·̵̭̌·̵̭̌«̶⌣ man! I have been ab le to activate mine. Though it took me some time
ProgrammingRe: Nigerian Made Android Apps for Android Phones by jboy01(m): 11:24am On Sep 14, 2013
Nice app bro. Am currently into desktop app using vb.net but planning combinning it with android using C# with mono for android. Since android is rulling the mobile world.
What do you think?
ProgrammingRe: Nigerian Made Android Apps for Android Phones by jboy01(m): 11:24am On Sep 14, 2013
Nice app bro!
ProgrammingRe: Visual Basic Problem by jboy01(m): 7:48am On Aug 26, 2013
Phemmmy: I'm trying to create a calculator with only one Screen.
I want the user to type all the operations at a go.
Pls,
How can i make it work on one screen?
how do u want the display to be? e.g when you press 500 + 200.
ProgrammingRe: programmers Please Help A Friend on visual basic. by jboy01(m): 7:30am On Aug 26, 2013
Immanuelar: Please help me out of this problem. I want to write a program that generates odd and even number within a particular range that is to be entered by the user in visual basic . That's i will have 2 textbox,one for the smaller and one for the highest. I have used several loop statement in other to generate either the odd or even number but to no avail .you can help with the algorithms in any prog language and I will write the program. Thanks
Sorry bro, i saw ur post yesterday but i was have headache, that was why i was unable to attend to it yesterday.
but i think this will be helpful.


Public Class Form1
'
'Since the program is to get both the even and odd number between two values,
'then the progaram is divided in to two subroutine.
'(1) The even subroutine :- Gets the even numbers between the two inputs
'(2) The odd subroutine :- Gets the odd numbers between the two inputs
'

Private Sub even() 'The even sub

Dim startnum As Integer = CInt(TextBox1.Text)
Dim endnum As Integer = CInt(TextBox2.Text) - 2
Dim even As Integer
If startnum Mod 2 = 1 Then
startnum = startnum - 1
even = startnum
While even < endnum
even = even + 2
System.Console.WriteLine("even : " & even)
End While
Else
even = startnum
While even < endnum
even = even + 2
System.Console.WriteLine("even : " & even)
End While
End If

End Sub



Private Sub odd() 'The odd sub
Dim startnum As Integer = CInt(TextBox1.Text)
Dim endnum As Integer = CInt(TextBox2.Text) - 2
Dim odd As Integer
If startnum Mod 2 = 1 Then
odd = startnum
While odd < endnum
odd = odd + 2
System.Console.WriteLine("odd : " & odd)
End While
Else
odd = startnum + 1
While odd < endnum
odd = odd + 2
System.Console.WriteLine("odd : " & odd)
End While
End If



End Sub

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim startnum As Integer = CInt(TextBox1.Text)
Dim endnum As Integer = CInt(TextBox2.Text)

If startnum > endnum Then
MsgBox("Incorrect input, The first input must be less than the Second input"wink
Else
Call even() 'Calling the even() subroutine
Call odd() 'Calling the odd() subroutine
End If
End Sub
End Class
ProgrammingRe: programmers Please Help A Friend on visual basic. by jboy01(m): 6:10pm On Aug 25, 2013
Immanuelar: Nobody is gonna help me sad sad huh
is the program going to print the even digit separatly from the odd?
ProgrammingRe: programmers Please Help A Friend on visual basic. by jboy01(m): 1:43pm On Aug 24, 2013
Immanuelar: someone please help me. you may give me only the algorithms and I will write the program myself.
am a vb.net guy,
am not with my system now, you can add me on whatsapp so dat we can talk more on it
08061249343
ProgrammingRe: Help For My Visual Basic Programming by jboy01(m): 1:32pm On Aug 24, 2013
adebayosun02: Good day please great programmer

Am a beginner on Vb 2010, please can some one help me with a code to use in counting the number of numeric value between

between two numeric variables using vb.
let assume the first number to be 5 and d last is 423.

dim numb, numbcount as integer
numb = 5
numbcount = 0
while numb < 423
numb = numb + 1
numbcount = numbcount + 1
end while
system.console.writeln(numbcount)
ProgrammingRe: Generating Crystal Report With MYSQL Database For A VB.NET Application by jboy01(m): 5:22pm On Aug 23, 2013
Thatz nice. Happy to see peeps coding with vb.net
ProgrammingRe: Top Earners in the Nigerian Software Industry by jboy01(m): 6:06pm On Aug 22, 2013
.NET:
One day, I will be in this list. I'm already working hard towards it.

.NET
Which language do u deal with?
ProgrammingRe: A Letter To Nairalanders by jboy01(m):
WHeeZyBoyi: will be 17 in three months time. Do u even think that i have the money to go to a cafe? i have gone to the best cafe in this town, i just wasted my money because their cafe is so slow that you cannot even open nairaland. If i keep going all my money would disappear in a flash, cafe is expensive. Besides that don't tell me to hook up with a friend that have a pc, because it's impossible, friends here don't have pcs. Grown ups that have cannot subscibe and cannot give you their pc either no matter how close you are to them.
Which of the cafe is slow medoline, dominion or post office? you are saying the truth because I know its very hard to get a person that can release his or her laptop for u to learn even though most of them use their lappy for dj stuff and for playing games, you hardly see a person ready and willing to go into programming.
ProgrammingRe: How To Maximize A Form And Centralise Controls In Vb.net by jboy01(m): 5:04pm On Aug 17, 2013
mubybaba: I have created a group on whatsapp for VB.NET programmers pls post your names&nos if you are interested
Latyf .... zero eight zero six one two four nine three four three.
ProgrammingRe: How To Maximize A Form And Centralise Controls In Vb.net by jboy01(m): 6:15pm On Aug 14, 2013
I wish we coding with vb.net should have a room whatsapp, to make ansking of questions easier.
ProgrammingRe: How To Maximize A Form And Centralise Controls In Vb.net by jboy01(m): 6:13pm On Aug 14, 2013
leastpay: Pls. I have a problem of putting all my controls in a form in the center once it is maximise on load event. Pls help i'm using vb.net
Anchor the controls to the form side of the form in the control properties.
Am happy to know that their are some vb.net coder out their.
ProgrammingVb.net And Java by jboy01(op): 5:39pm On Aug 08, 2013
Pls pals, am presently into vb.net, and am learning at my own speed. I have been able to code and app that save my friends data a data base and was built and installed successfully. But am still learning sha.
But am planning to switch to java, since the world is going to a mobile level where u don't need pc to do all thing, since java can be u to program for almost all OS compare to vb.
Advise me pls!
ProgrammingRe: What Is The Best Tool/software To Use In Developing Andriod Apps by jboy01(m): 1:10pm On Jul 29, 2013
adepentane1: wow....plzz wia shuld i start from ?? PHP OR MYSQL ??
php
ProgrammingRe: Sql "Select" With Vb.net by jboy01(op): 9:43am On Jul 28, 2013
ok
the problem has been solved
ProgrammingRe: What Is The Best Tool/software To Use In Developing Andriod Apps by jboy01(m): 11:57am On Jul 27, 2013
Danyl: can netbeans generate. apk files for android apparently. ^^^^
I code in vb.net but a friend of mine has done a gp calculator with netbean, and he generated d apk file in my presence which I instal on my android.
ProgrammingRe: What Is The Best Tool/software To Use In Developing Andriod Apps by jboy01(m): 8:09am On Jul 26, 2013
use eclipse or netbean if u code with java, and use mono for android if you code with C#
ProgrammingRe: Your Programming Experience And Your Languages. by jboy01(m): 8:04am On Jul 26, 2013
formally coding with vb, but now into vb.net to the core. looking forward to coding an android app with vb.net
ProgrammingRe: Sql "Select" With Vb.net by jboy01(op): 9:56pm On Jul 23, 2013
thank you very much
ProgrammingAndroid Application With Vb.net by jboy01(op): 8:19am On Jul 23, 2013
I read it somewhere that android application can be created with vb.net using MONO.
Has anyone heard about that or created an android app with mono?
ProgrammingRe: Sql "Select" With Vb.net by jboy01(op): 8:13am On Jul 23, 2013
⌣»̶·̵̭̌·̵̭̌✽̤̈̊Ŧђɑ̤̥̈̊п̥̥̲̣̣̣kƨ̣̣̣̇̇̇̇✽̤̈̊·̵̭̌·̵̭̌«̶⌣
ProgrammingRe: Pls Help Me Is Ugent by jboy01(m): 6:10am On Jul 22, 2013
i can not figure out what u really need. add me on whatsapp with o8o61249343 or on 2go with latyf01 so that we can chat better.
ProgrammingRe: Pls Help Me Is Ugent by jboy01(m): 11:29am On Jul 20, 2013
what function do u want the code to carry out?
ProgrammingRe: Expert Systems With Visual Basic by jboy01(m): 11:12am On Jul 20, 2013
its better u learn more of visual basic with ur project than giving the project out to someone else. if u face any problem, am available on latyf01@gmail.com
ProgrammingSql "Select" With Vb.net by jboy01(op): 11:29am On Jul 18, 2013
pls pals, i am working on an e-votting application, but am getting a runtime error in my code.
the code is to compare the login password entered by the volter to the one on the database table.
this is my code.

Private Sub passbox_keydown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs)
' CType(sender textbox).text
If e.KeyCode = Keys.Enter Then
Dim SqLConnection As MySqlConnection = New MySqlConnection()
Dim sqlcommand As New MySqlCommand
Dim connectionString As String = "Server=localhost; port=3306; User Id=root; Password=jboy;Database=fut_votting"
SqLConnection.ConnectionString = connectionString
' Using SQLConnection As New MySqlConnection(connectionString)
With sqlcommand
.CommandText = "SELECT names FROM student_data WHERE id=1 and password='" & passbox.Text & "'"
End With
Dim reder As MySqlDataReader = sqlcommand.ExecuteReader()
While reder.Read()
Dim mainform As New mainForm
mainform.Show()
Me.Dispose()
End While
' End Using
Try
SqLConnection.Open()
sqlcommand.ExecuteNonQuery()
Catch ex As MySqlException
MsgBox(ex.Message.ToString)
Finally
SqLConnection.Close()
End Try
End If
End Sub

but am getting a runtime error on the Dim reder As MySqlDataReader = sqlcommand.ExecuteReader().
what doo you think the problem is.
pls i need reply urgently.
thanks
ProgrammingVb.net With Mysql by jboy01(op): 3:31pm On Jul 05, 2013
pls am creating an application that involve database with vb.net, but i the application did not insert the input field in the database. this is my code.
Private Sub btnOk_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOk.Click

Dim myConnectionString As String

myConnectionString = "server=127.0.0.1;" _
& "uid=root;" _
& "pwd=;" _
& "database=data_book;"

Try
Dim conn As New MySql.Data.MySqlClient.MySqlConnection(myConnectionString)
conn.Open()
Catch ex As MySql.Data.MySqlClient.MySqlException
Select Case ex.Number
Case 0
MessageBox.Show("Cannot connect to server. Contact administrator"wink
Case 1045
MessageBox.Show("Invalid username/password, please try again"wink
End Select
End Try
Try
Dim cmd As New MySqlCommand(String.Format("INSERT INTO `data_book` (`id`, `first_name`, `middle_name`, `last_name`, `sex`, `mar_status`, `state`, `local_gov`, `home_add`, `office_add`, `phone_no`, `email`) " & _
"VALUES (NULL , '{0}', '{1}',`firName.text`, `midName.text`, `lstName.text`, `sex.text`, `marStar.text`,`stOrigin.text`, `lclGov.text`, `homeAdd.text`, `officeAdd.text`, `phNum.text`, `email.text` ); "wink, conn)
cmd.ExecuteNonQuery()
Catch ex As Exception
MsgBox("Your Record Added Successfully!", MsgBoxStyle.Information, "Successful!"wink
End Try
cmd.CommandText = "INSERT INTO 'data_book' (first_name, middle_name, last_name, 'sex', mar_status, state, local_gov, home_add, office_add, phone_no, email) " & _
"VALUES (firName.text, midName.text, lstName.text, sex.text, marStar.text,""stOrigin.text"", ""lclGov.text"", ""homeAdd.text"", ""officeAdd.text"", ""phNum.text"", ""email.text"" ); "

End Sub

1 2 3 4 5 6 7 8 ... 19 20 21 22 23 24 25 26 (of 26 pages)