Search Results

Showing results 1 to 19 of 19
Search took 0.01 seconds.
Search: Posts Made By: hjdaniel.sun
Forum: VB.NET 14 Days Ago
Replies: 4
Views: 252
Posted By hjdaniel.sun
Yeah, my bad mate.
if you want to write new lines in the existing text file, here is the code.

Dim oWriter As systems.io.Streamwriter
oWriter =...
Forum: VB.NET 15 Days Ago
Replies: 4
Views: 252
Posted By hjdaniel.sun
Use streamwriter

dim oWrite as system.io.streamwriter
'openfile
oWrite = system.io.file.opentext("C:\sample")
'write textbox1.text to the textfile
oWrite.WriteLine(textbox1.text)
'leave a...
Forum: VB.NET 15 Days Ago
Replies: 5
Views: 328
Posted By hjdaniel.sun
Hey, what version of VB.NET are you using?
Here is an sample of VB.NET 2005(connecting to mysql database. the syntax for MS SQL database is similar)


Dim column_1 as string
Dim column_2 as...
Forum: VB.NET Aug 16th, 2009
Replies: 1
Views: 237
Posted By hjdaniel.sun
Hi all,
I am writing a program which needs to connect to a mysql server I have set up. I use the proxy server at school to access internet. I found that my program cannot connect to the database. ...
Forum: VB.NET Jul 28th, 2009
Replies: 14
Views: 502
Posted By hjdaniel.sun
Patient mate, patient :twisted:
Forum: VB.NET Jul 27th, 2009
Replies: 4
Solved: multiforms
Views: 197
Posted By hjdaniel.sun
Oops, I get it, just do this
me.visible = false
my.forms.form2.showdialog()
me.close
it works this way, I think :)
Thank you all!!!
Forum: VB.NET Jul 27th, 2009
Replies: 4
Solved: multiforms
Views: 197
Posted By hjdaniel.sun
Well, just imagine that I am coding in a button of form1
I typed in
my.forms.form2.showdialog()
me.close
but the me.close will not be runned. as a result, both of the forms shows.....
Forum: VB.NET Jul 26th, 2009
Replies: 14
Views: 502
Posted By hjdaniel.sun
We also encounter a lot of problems with SQL database connection. when we start our project. There may be something wrong with the SQL server. try to use mysql, this one is better. I say it is better...
Forum: VB.NET Jul 26th, 2009
Replies: 4
Solved: multiforms
Views: 197
Posted By hjdaniel.sun
Hi friends,
I want to write a multiform application. if I am running form1, I want to call form2 and end form1. can anyone teach me how to do it? I tried to set form1 as invisible, but I found it...
Forum: VB.NET Jul 12th, 2009
Replies: 12
Views: 680
Posted By hjdaniel.sun
You can try to use timer control. grab a label and a timer control from the toolbox. double click on the timer control and go into the coding environment. type in label1.text = timestring
you can...
Forum: VB.NET Jul 11th, 2009
Replies: 12
Views: 680
Posted By hjdaniel.sun
I found the problem. it is somehow the insert statement. it seems that I can't put specific columns that I want to insert data in, in the insert query... I then change it to "INSERT INTO tbl1 VALUES...
Forum: VB.NET Jul 10th, 2009
Replies: 12
Views: 680
Posted By hjdaniel.sun
Thank you, but I do reading. "Step by step VB.NET" and msdn
Forum: VB.NET Jul 10th, 2009
Replies: 12
Views: 680
Posted By hjdaniel.sun
This is my code. when I run it. there is nothing happen in my database1.mdb Could you please tell me the problem?

'build access database connection
Dim Conn As New OleDbConnection("provider =...
Forum: VB.NET Jul 10th, 2009
Replies: 12
Views: 680
Posted By hjdaniel.sun
what is the difference between the "?" in the insert query and the value you add into the parameters? are they the same? if so, do I just write the same value?
Forum: VB.NET Jul 10th, 2009
Replies: 12
Views: 680
Posted By hjdaniel.sun
Hey, Thank you for you code. I don't get the parameter. what is this for?
Forum: VB.NET Jul 3rd, 2009
Replies: 12
Views: 680
Posted By hjdaniel.sun
Hi I used the Data Source Configuration Wizard to connect to my access database, how do I write code to manipulate the data from the database? I read the book "Microsoft Visual Basic 208 step by...
Forum: Community Introductions Jun 26th, 2009
Replies: 0
Views: 205
Posted By hjdaniel.sun
Hi everyone,
Here I post a new thread. Name: Daniel Sun. career in the future: software engineer. wish in this websit: I hope to make friends with you geeks, and become a software engineer with your...
Forum: VB.NET Jun 26th, 2009
Replies: 3
Views: 375
Posted By hjdaniel.sun
Thank you, very much.
So, is System.Data.SqlClient.SqlConnection a built-in control in .NET Framework?
Forum: VB.NET Jun 24th, 2009
Replies: 3
Views: 375
Posted By hjdaniel.sun
Hi,
I want to use VB.NET to connect to sql server remotely and input and receive data from the server. Can anyone help me to do it? I really appreciate code example. Thank you very much!!
Showing results 1 to 19 of 19

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC