Jboy01's Posts
Nairaland Forum › Jboy01's Profile › Jboy01's Posts
1 2 3 4 5 6 7 8 ... 19 20 21 22 23 24 25 26 (of 26 pages)
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? |
Use d (dd MMMM YYYY) Format |
Drop ur bbm pin if u already have bbm running on ut phone! |
My daar sat don encrypt OOº°˚˚˚˚°. Any solution? |
⌣»̶·̵̭̌·̵̭̌✽̤̈̊Ŧђɑ̤̥̈̊п̥̥̲̣̣̣kƨ̣̣̣̇̇̇̇✽̤̈̊·̵̭̌·̵̭̌«̶⌣ man! I have been ab le to activate mine. Though it took me some time |
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? |
Nice app bro! |
Phemmmy: I'm trying to create a calculator with only one Screen.how do u want the display to be? e.g when you press 500 + 200. |
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. ThanksSorry 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" ![]() Else Call even() 'Calling the even() subroutine Call odd() 'Calling the odd() subroutine End If End Sub End Class |
Immanuelar: Nobody is gonna help meis the program going to print the even digit separatly from the odd? |
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 |
adebayosun02: Good day please great programmerlet 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) |
Thatz nice. Happy to see peeps coding with vb.net |
.NET:Which language do u deal with? |
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. |
mubybaba: I have created a group on whatsapp for VB.NET programmers pls post your names&nos if you are interestedLatyf .... zero eight zero six one two four nine three four three. |
I wish we coding with vb.net should have a room whatsapp, to make ansking of questions easier. |
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.netAnchor 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. |
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! |
adepentane1: wow....plzz wia shuld i start from ?? PHP OR MYSQL ??php |
ok the problem has been solved |
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. |
use eclipse or netbean if u code with java, and use mono for android if you code with C# |
formally coding with vb, but now into vb.net to the core. looking forward to coding an android app with vb.net |
thank you very much |
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? |
⌣»̶·̵̭̌·̵̭̌✽̤̈̊Ŧђɑ̤̥̈̊п̥̥̲̣̣̣kƨ̣̣̣̇̇̇̇✽̤̈̊·̵̭̌·̵̭̌«̶⌣ |
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. |
what function do u want the code to carry out? |
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 |
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 |
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" ![]() Case 1045 MessageBox.Show("Invalid username/password, please try again" ![]() 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` ); " , conn)cmd.ExecuteNonQuery() Catch ex As Exception MsgBox("Your Record Added Successfully!", MsgBoxStyle.Information, "Successful!" ![]() 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 |

