Click here to Skip to main content
16,003,611 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: textbox Control problem Pin
Christian Graus5-Feb-09 22:15
protectorChristian Graus5-Feb-09 22:15 
AnswerRe: textbox Control problem Pin
Bharat Jain5-Feb-09 23:26
Bharat Jain5-Feb-09 23:26 
QuestionExport problem to Excel Pin
ivo755-Feb-09 10:25
ivo755-Feb-09 10:25 
AnswerRe: Export problem to Excel Pin
EliottA5-Feb-09 10:40
EliottA5-Feb-09 10:40 
GeneralRe: Export problem to Excel Pin
ivo755-Feb-09 10:59
ivo755-Feb-09 10:59 
GeneralRe: Export problem to Excel Pin
EliottA5-Feb-09 11:02
EliottA5-Feb-09 11:02 
GeneralRe: Export problem to Excel Pin
ivo755-Feb-09 11:10
ivo755-Feb-09 11:10 
GeneralRe: Export problem to Excel Pin
EliottA5-Feb-09 11:20
EliottA5-Feb-09 11:20 
You should be able to convert it fairly easily...I'd rather just end this thread

Imports System.IO

Public Class Form1

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Dim stline As String
        Dim MyFile As New StreamWriter(Application.StartupPath + "\\output.csv")
        Dim i, j As Integer
        For i = 0 To DataGridView1.RowCount - 1
            stline = ""
            For j = 0 To DataGridView1.Rows(i).Cells.Count
                stline = stline + DataGridView1.Item(i, j).ToString + ","
                MyFile.WriteLine(stline)
            Next
        Next
        MessageBox.Show(Application.StartupPath.ToString() + "\\output.csv")
    End Sub
End Class


Man my VB is out of date..
AnswerRe: Export problem to Excel Pin
vaghelabhavesh5-Feb-09 10:44
vaghelabhavesh5-Feb-09 10:44 
GeneralRe: Export problem to Excel Pin
ivo755-Feb-09 10:55
ivo755-Feb-09 10:55 
QuestionDissable security message "" A program is trying to access e-mail addresses" while sending email Pin
Amanjot5-Feb-09 8:07
Amanjot5-Feb-09 8:07 
AnswerRe: Dissable security message "" A program is trying to access e-mail addresses" while sending email Pin
Wendelius5-Feb-09 8:16
mentorWendelius5-Feb-09 8:16 
AnswerRe: Dissable security message "" A program is trying to access e-mail addresses" while sending email Pin
Bharat Jain5-Feb-09 18:36
Bharat Jain5-Feb-09 18:36 
QuestionBuild a firewall using VB.net and then open traffic after web-based sign-in Pin
GDMFSOB5-Feb-09 7:08
GDMFSOB5-Feb-09 7:08 
AnswerRe: Build a firewall using VB.net and then open traffic after web-based sign-in Pin
EliottA5-Feb-09 7:20
EliottA5-Feb-09 7:20 
AnswerRe: Build a firewall using VB.net and then open traffic after web-based sign-in Pin
Dave Kreskowiak5-Feb-09 9:16
mveDave Kreskowiak5-Feb-09 9:16 
QuestionListbox problem Pin
jaakinye5-Feb-09 6:21
jaakinye5-Feb-09 6:21 
AnswerRe: Listbox problem Pin
EliottA5-Feb-09 6:42
EliottA5-Feb-09 6:42 
AnswerRe: Listbox problem Pin
vaghelabhavesh5-Feb-09 10:01
vaghelabhavesh5-Feb-09 10:01 
GeneralRe: Listbox problem Pin
jaakinye5-Feb-09 16:07
jaakinye5-Feb-09 16:07 
QuestionVBScript to get all users (local and domain) Pin
mixologee5-Feb-09 3:27
mixologee5-Feb-09 3:27 
AnswerRe: VBScript to get all users (local and domain) Pin
Dave Kreskowiak6-Feb-09 3:36
mveDave Kreskowiak6-Feb-09 3:36 
Questionaccess MDB database help Pin
Dave McCool5-Feb-09 3:16
Dave McCool5-Feb-09 3:16 
AnswerRe: access MDB database help Pin
Dominick Marciano5-Feb-09 4:21
professionalDominick Marciano5-Feb-09 4:21 
AnswerRe: access MDB database help Pin
Rupesh Kumar Swami5-Feb-09 4:22
Rupesh Kumar Swami5-Feb-09 4:22 

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.