Click here to Skip to main content
15,923,142 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Optional Date parameter within a Function Pin
Psycho-*Coder*-Extreme30-Mar-07 23:00
Psycho-*Coder*-Extreme30-Mar-07 23:00 
QuestionHow to show progress bar during the files or folders deletion Pin
Pankaj Saha28-Mar-07 4:41
Pankaj Saha28-Mar-07 4:41 
AnswerRe: How to show progress bar during the files or folders deletion Pin
Christian Graus28-Mar-07 5:01
protectorChristian Graus28-Mar-07 5:01 
Questionmdi child maximization Pin
caymanislands28-Mar-07 4:21
caymanislands28-Mar-07 4:21 
AnswerRe: mdi child maximization Pin
caymanislands2-Apr-07 13:22
caymanislands2-Apr-07 13:22 
AnswerRe: resource Pin
Christian Graus28-Mar-07 13:40
protectorChristian Graus28-Mar-07 13:40 
Questionrun dts package on different domain Pin
leezardd28-Mar-07 4:06
leezardd28-Mar-07 4:06 
Question.mdb Pin
NANCO28-Mar-07 3:56
NANCO28-Mar-07 3:56 
I would like to ask what is the best db system that I can use to store data(ex:MDB or SQL)?

and secondly could some one tell me how to use the .mdb system I whet through a lot websites but non of those sites have a clear coding.

I found this one: but this just writes the columns, is there a practical way to use mdb.(I want to be able to use .mdb to its fullest capacity)

Big Grin | :-D - any help is extremely appreciated -Big Grin | :-D
ps:
can you also give me the codes to save data to db as well
(by the way I don't know anything about using db in vb .net)
------------------------------------------------------------------------
Try<br />
            Dim ds As DataSet<br />
            cn = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=db.mdb;")<br />
            'provider to be used when working with access database<br />
            cn.Open()<br />
            cmd = New OleDbCommand("select * from table1", cn)<br />
<br />
            dr = cmd.ExecuteReader<br />
            While dr.Read()<br />
                TextBox1.Text = dr(0)<br />
                TextBox2.Text = dr(1)<br />
                TextBox3.Text = dr(2)<br />
                ' loading data into TextBoxes by column index<br />
            End While<br />
            ds = New DataSet<br />
            D1.DataSource = ds.Tables<br />
        Catch<br />
        End Try<br />
        dr.Close()<br />
        cn.Close()

----------------------------------------------------------------------------
AnswerRe: .mdb Pin
leckey28-Mar-07 8:46
leckey28-Mar-07 8:46 
GeneralRe: .mdb Pin
NANCO28-Mar-07 19:14
NANCO28-Mar-07 19:14 
AnswerRe: .mdb Pin
Vasudevan Deepak Kumar29-Mar-07 6:25
Vasudevan Deepak Kumar29-Mar-07 6:25 
QuestionWhat is the .NET equivalent of Format() and Mid() = ??? [modified] Pin
Marcus J. Smith28-Mar-07 2:29
professionalMarcus J. Smith28-Mar-07 2:29 
AnswerRe: What is the .NET equivalent of Format() and Mid() = ??? Pin
RichardBerry28-Mar-07 3:56
RichardBerry28-Mar-07 3:56 
GeneralRe: What is the .NET equivalent of Format() and Mid() = ??? Pin
Marcus J. Smith28-Mar-07 4:07
professionalMarcus J. Smith28-Mar-07 4:07 
GeneralRe: What is the .NET equivalent of Format() and Mid() = ??? Pin
Dave Kreskowiak28-Mar-07 4:18
mveDave Kreskowiak28-Mar-07 4:18 
GeneralRe: What is the .NET equivalent of Format() and Mid() = ??? Pin
Marcus J. Smith28-Mar-07 5:07
professionalMarcus J. Smith28-Mar-07 5:07 
GeneralRe: What is the .NET equivalent of Format() and Mid() = ??? Pin
Dave Kreskowiak28-Mar-07 5:19
mveDave Kreskowiak28-Mar-07 5:19 
GeneralRe: What is the .NET equivalent of Format() and Mid() = ??? Pin
Marcus J. Smith28-Mar-07 5:22
professionalMarcus J. Smith28-Mar-07 5:22 
GeneralRe: What is the .NET equivalent of Format() and Mid() = ??? Pin
Dave Doknjas28-Mar-07 13:25
Dave Doknjas28-Mar-07 13:25 
GeneralRe: What is the .NET equivalent of Format() and Mid() = ??? Pin
Dave Kreskowiak28-Mar-07 15:10
mveDave Kreskowiak28-Mar-07 15:10 
General.NET equivalent Mid() = ??? - Not Answered... Pin
RichardBerry28-Mar-07 4:29
RichardBerry28-Mar-07 4:29 
GeneralRe: .NET equivalent Mid() = ??? - Not Answered... Pin
Marcus J. Smith28-Mar-07 4:50
professionalMarcus J. Smith28-Mar-07 4:50 
GeneralRe: .NET equivalent Mid() = ??? - Not Answered... Pin
Dave Kreskowiak28-Mar-07 5:21
mveDave Kreskowiak28-Mar-07 5:21 
QuestionWord document Pin
scorp_scorp28-Mar-07 1:55
scorp_scorp28-Mar-07 1:55 
AnswerRe: Word document Pin
freefika28-Mar-07 2:44
freefika28-Mar-07 2:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.