Click here to Skip to main content
16,004,854 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Typed Datasets Pin
Dave Kreskowiak21-Nov-07 16:17
mveDave Kreskowiak21-Nov-07 16:17 
AnswerRe: Typed Datasets Pin
rashadaliarshad21-Nov-07 19:11
rashadaliarshad21-Nov-07 19:11 
QuestionCreating Data Sets and Data Adapters Pin
AAGTHosting21-Nov-07 11:01
AAGTHosting21-Nov-07 11:01 
AnswerRe: Creating Data Sets and Data Adapters Pin
Dave Kreskowiak21-Nov-07 16:08
mveDave Kreskowiak21-Nov-07 16:08 
AnswerRe: Creating Data Sets and Data Adapters Pin
AAGTHosting23-Nov-07 12:41
AAGTHosting23-Nov-07 12:41 
QuestionHow to import a MFC/C++ DLL into VB.NET 2005? Pin
BIRDENT21-Nov-07 3:13
BIRDENT21-Nov-07 3:13 
AnswerRe: How to import a MFC/C++ DLL into VB.NET 2005? Pin
Dave Kreskowiak21-Nov-07 5:50
mveDave Kreskowiak21-Nov-07 5:50 
QuestionUploading Data in C1.Win.FlexGrid From Excel. Pin
Dot Net Jantu21-Nov-07 1:17
Dot Net Jantu21-Nov-07 1:17 
Hi,

I have a excel sheet, in that the fields are:
Name,EmployeeID,Address,Email.
Sourabh,757,New Bombay,something@something.com

I have a C1.Win.FlexGrid in which I have put the same columns in this grid with one more colum in the starting as Select(Boolean).

This is the code that I have written.....

<br />
Dim ofd As New OpenFileDialog<br />
Dim dgtemp As C1.Win.C1FlexGrid.C1FlexGrid<br />
Dim fn As String = ""<br />
        Dim sheetname() As String<br />
<br />
        ofd.AddExtension = True<br />
        ofd.DefaultExt = ".xls"<br />
        ofd.Filter = "Microsoft Excel Workbook(*.xls)|*.xls"<br />
        ofd.ShowDialog()<br />
        fn = ofd.FileName<br />
        txtFile.Text = fn<br />
        dgtemp = New C1.Win.C1FlexGrid.C1FlexGrid<br />
<br />
        sheetname = dgtemp.LoadExcelSheetNames(fn)<br />
        dgtemp.LoadExcel(fn, sheetname(0), C1.Win.C1FlexGrid.FileFlags.IncludeFixedCells)<br />


Thje bold part of the code is giving error as:
"Failed to open storage file."

Help...





Thanks and Regards,

AnswerRe: Uploading Data in C1.Win.FlexGrid From Excel. Pin
Dave Kreskowiak21-Nov-07 5:48
mveDave Kreskowiak21-Nov-07 5:48 
AnswerRe: Uploading Data in C1.Win.FlexGrid From Excel. Pin
C1AllenS21-Nov-07 8:32
C1AllenS21-Nov-07 8:32 
GeneralRe: Uploading Data in C1.Win.FlexGrid From Excel. [modified] Pin
Dot Net Jantu22-Nov-07 0:59
Dot Net Jantu22-Nov-07 0:59 
QuestionProperty attribute setting using password char ?? Pin
edmonson21-Nov-07 0:40
edmonson21-Nov-07 0:40 
AnswerRe: Property attribute setting using password char ?? Pin
Dave Kreskowiak21-Nov-07 5:38
mveDave Kreskowiak21-Nov-07 5:38 
QuestionDraw Line Pin
MrFulvio21-Nov-07 0:24
MrFulvio21-Nov-07 0:24 
AnswerRe: Draw Line Pin
Dave Kreskowiak21-Nov-07 15:57
mveDave Kreskowiak21-Nov-07 15:57 
QuestionSearch Pin
Tsepoz21-Nov-07 0:14
Tsepoz21-Nov-07 0:14 
AnswerRe: Search Pin
pmarfleet21-Nov-07 2:26
pmarfleet21-Nov-07 2:26 
AnswerRe: Search Pin
Steven J Jowett21-Nov-07 5:15
Steven J Jowett21-Nov-07 5:15 
Questionhow to set ActiveViewIndex? Pin
kokilaB20-Nov-07 23:57
kokilaB20-Nov-07 23:57 
AnswerRe: how to set ActiveViewIndex? Pin
Dave Kreskowiak21-Nov-07 5:35
mveDave Kreskowiak21-Nov-07 5:35 
GeneralRe: how to set ActiveViewIndex? Pin
kokilaB21-Nov-07 21:51
kokilaB21-Nov-07 21:51 
QuestionFormat Style of DataGridView Column Pin
SekharOne20-Nov-07 23:46
SekharOne20-Nov-07 23:46 
AnswerRe: Format Style of DataGridView Column Pin
Dave Kreskowiak21-Nov-07 5:33
mveDave Kreskowiak21-Nov-07 5:33 
AnswerRe: Wizard binding - Please help me urgent Pin
Dave Kreskowiak21-Nov-07 4:55
mveDave Kreskowiak21-Nov-07 4:55 
QuestionIcon as cursor Pin
nishkarsh_k20-Nov-07 22:48
nishkarsh_k20-Nov-07 22:48 

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.