Click here to Skip to main content
15,921,028 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: application created on vista using vb.net does not run on my xp computer!! Pin
jzonthemtn4-Apr-08 8:37
jzonthemtn4-Apr-08 8:37 
GeneralRe: application created on vista using vb.net does not run on my xp computer!! Pin
Chun24-Apr-08 8:46
Chun24-Apr-08 8:46 
GeneralRe: application created on vista using vb.net does not run on my xp computer!! Pin
KrisnNala4-Apr-08 22:26
KrisnNala4-Apr-08 22:26 
GeneralHelp in getting the IP address dynamically Pin
aaraaayen4-Apr-08 1:24
aaraaayen4-Apr-08 1:24 
GeneralRe: Help in getting the IP address dynamically Pin
nlarson114-Apr-08 4:00
nlarson114-Apr-08 4:00 
GeneralRe: Help in getting the IP address dynamically Pin
Dave Kreskowiak4-Apr-08 5:02
mveDave Kreskowiak4-Apr-08 5:02 
GeneralRe: Help in getting the IP address dynamically Pin
Rajesh Anuhya5-Apr-08 1:48
professionalRajesh Anuhya5-Apr-08 1:48 
GeneralHP 6767 NoteBoOk sql sERVER 2005 Pin
Piyush Vardhan Singh3-Apr-08 22:32
Piyush Vardhan Singh3-Apr-08 22:32 
GeneralRe: HP 6767 NoteBoOk sql sERVER 2005 Pin
darkelv4-Apr-08 1:21
darkelv4-Apr-08 1:21 
GeneralRe: HP 6767 NoteBoOk sql sERVER 2005 Pin
Dave Kreskowiak4-Apr-08 4:46
mveDave Kreskowiak4-Apr-08 4:46 
GeneralDataset filter give error Pin
Rupesh Kumar Swami3-Apr-08 21:39
Rupesh Kumar Swami3-Apr-08 21:39 
GeneralRe: Dataset filter give error Pin
Dave Kreskowiak4-Apr-08 4:57
mveDave Kreskowiak4-Apr-08 4:57 
GeneralRe: Dataset filter give error Pin
Rupesh Kumar Swami4-Apr-08 5:37
Rupesh Kumar Swami4-Apr-08 5:37 
GeneralRe: Dataset filter give error Pin
Dave Kreskowiak4-Apr-08 6:04
mveDave Kreskowiak4-Apr-08 6:04 
GeneralRe: Dataset filter give error Pin
Rupesh Kumar Swami5-Apr-08 1:01
Rupesh Kumar Swami5-Apr-08 1:01 
GeneralReports in Visual Basic Pin
Vignesh Krishnan3-Apr-08 20:08
Vignesh Krishnan3-Apr-08 20:08 
GeneralRe: Reports in Visual Basic Pin
ChandraRam3-Apr-08 20:59
ChandraRam3-Apr-08 20:59 
GeneralRe: Reports in Visual Basic Pin
Dave Kreskowiak4-Apr-08 4:41
mveDave Kreskowiak4-Apr-08 4:41 
Questionabout post back event in asp.net 2.0 Pin
vijaylumar3-Apr-08 19:55
vijaylumar3-Apr-08 19:55 
GeneralRe: about post back event in asp.net 2.0 Pin
Dave Kreskowiak4-Apr-08 4:37
mveDave Kreskowiak4-Apr-08 4:37 
Generalabout retriving Ms-acess table Pin
vijaylumar3-Apr-08 19:34
vijaylumar3-Apr-08 19:34 
GeneralRe: about retriving Ms-acess table Pin
ChandraRam3-Apr-08 21:01
ChandraRam3-Apr-08 21:01 
GeneralRe: about retriving Ms-acess table Pin
Rupesh Kumar Swami3-Apr-08 21:17
Rupesh Kumar Swami3-Apr-08 21:17 
GeneralAutomate excel help Pin
Member 44350513-Apr-08 19:12
Member 44350513-Apr-08 19:12 
Hi I'm trying to make an app that opens a file with excel in vb.net.
I'm trying to separate the text in a sheet with TextToColumns, but i'm stuck on how to do that. I have tested this but get an error that "TextToColumns method in the Range class has failed". Here's what I tried:


Private Sub btnOPEN_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOPEN.Click<br />
<br />
        OpenFD.ShowDialog()<br />
        Dim strfilename As String<br />
        strfilename = OpenFD.FileName<br />
<br />
        Dim xlApp As Excel.Application<br />
        Dim xlWorkBook As Excel.Workbook<br />
        Dim xlWorkSheet As Excel.Worksheet<br />
        Dim Range As Excel.Range<br />
<br />
        xlApp = CreateObject("Excel.Application")<br />
        xlApp.Visible = True<br />
<br />
        xlWorkBook = xlApp.Workbooks.Open(strfilename)<br />
        xlWorkSheet = xlWorkBook.ActiveSheet<br />
        Range = xlWorkSheet.Range("a1", "a70")<br />
        Range.Font.Bold = True<br />
        Range.TextToColumns("a3", Microsoft.Office.Interop.Excel. _<br />
        XlTextParsingType.xlDelimited, _<br />
        Microsoft.Office.Interop.Excel.XlTextQualifier. _<br />
        xlTextQualifierDoubleQuote, _<br />
       True, True, False, True, True, False, False, _<br />
       False, False, False, False)  <br />
 End Sub

GeneralRe: Automate excel help Pin
Dave Kreskowiak4-Apr-08 4:32
mveDave Kreskowiak4-Apr-08 4:32 

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.