Click here to Skip to main content
15,907,497 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Using "LIKE" Pin
EvanSaunders21-Feb-10 21:42
EvanSaunders21-Feb-10 21:42 
AnswerRe: Using "LIKE" Pin
Dave Kreskowiak22-Feb-10 3:21
mveDave Kreskowiak22-Feb-10 3:21 
QuestionAutodetect Pin
JustWorking21-Feb-10 20:30
JustWorking21-Feb-10 20:30 
AnswerRe: Autodetect Pin
Anubhava Dimri22-Feb-10 0:55
Anubhava Dimri22-Feb-10 0:55 
GeneralRe: Autodetect Pin
JustWorking22-Feb-10 1:27
JustWorking22-Feb-10 1:27 
GeneralRe: Autodetect Pin
Anubhava Dimri22-Feb-10 1:48
Anubhava Dimri22-Feb-10 1:48 
GeneralRe: Autodetect Pin
JustWorking22-Feb-10 2:15
JustWorking22-Feb-10 2:15 
QuestionGenerating datas in GridView and export to Excel [modified] Pin
John.L.Ponratnam21-Feb-10 19:39
John.L.Ponratnam21-Feb-10 19:39 
Hi,
I use this code for generating the data from Grid to Excel


Dim fs As New FileStream("D:\Library.xls", FileMode.Create)
Dim reportDataAdapter As IReportDataAdapter = New DataGridViewReportDataAdapter(datagrid)
Dim winFormsReportExporter As IReportExporter = New WinFormsReportExporter(reportDataAdapter)

Dim xlsFiledata As MemoryStream = winFormsReportExporter.ExportToXls
xlsFiledata.WriteTo(fs)
fs.Close()
xlsFiledata.Close()

But I get error message "An error occured during local report processing" near the line 4. Can any one help in solving the problem.

Regards,
John
Regards,
John.L.Ponratnam
modified on Monday, February 22, 2010 2:07 AM

AnswerRe: Generating datas in GridView and export to Excel Pin
Paramu197321-Feb-10 23:05
Paramu197321-Feb-10 23:05 
Questionpause and resume the execution upon finding a certain character in a textfile. Pin
xiah_junsu21-Feb-10 16:06
xiah_junsu21-Feb-10 16:06 
AnswerRe: pause and resume the execution upon finding a certain character in a textfile. Pin
Dave Kreskowiak22-Feb-10 3:15
mveDave Kreskowiak22-Feb-10 3:15 
GeneralRe: pause and resume the execution upon finding a certain character in a textfile. Pin
xiah_junsu22-Feb-10 16:42
xiah_junsu22-Feb-10 16:42 
GeneralRe: pause and resume the execution upon finding a certain character in a textfile. Pin
Dave Kreskowiak22-Feb-10 17:42
mveDave Kreskowiak22-Feb-10 17:42 
GeneralRe: pause and resume the execution upon finding a certain character in a textfile. Pin
xiah_junsu22-Feb-10 20:09
xiah_junsu22-Feb-10 20:09 
QuestionEvent Log ID Pin
Guizzardi21-Feb-10 7:40
Guizzardi21-Feb-10 7:40 
AnswerRe: Event Log ID Pin
Dave Kreskowiak21-Feb-10 8:26
mveDave Kreskowiak21-Feb-10 8:26 
QuestionVisual Studio 2005 and Windows 7 Pin
KreativeKai19-Feb-10 3:03
professionalKreativeKai19-Feb-10 3:03 
AnswerRe: Visual Studio 2005 and Windows 7 Pin
Dave Kreskowiak19-Feb-10 3:49
mveDave Kreskowiak19-Feb-10 3:49 
QuestionForceful use of My.Computer.Keyboard.CtrlKeyDown set to true from Edit Menu Pin
for120619-Feb-10 0:41
for120619-Feb-10 0:41 
AnswerRe: Forceful use of My.Computer.Keyboard.CtrlKeyDown set to true from Edit Menu Pin
Dave Kreskowiak19-Feb-10 3:28
mveDave Kreskowiak19-Feb-10 3:28 
AnswerHow to link Edit Menu selector to keyboard shortcut Pin
Richard MacCutchan19-Feb-10 3:59
mveRichard MacCutchan19-Feb-10 3:59 
AnswerRe: Forceful use of My.Computer.Keyboard.CtrlKeyDown set to true from Edit Menu Pin
Dave Kreskowiak19-Feb-10 4:08
mveDave Kreskowiak19-Feb-10 4:08 
AnswerRe: Forceful use of My.Computer.Keyboard.CtrlKeyDown set to true from Edit Menu Pin
Anubhava Dimri19-Feb-10 20:20
Anubhava Dimri19-Feb-10 20:20 
GeneralRe: Forceful use of My.Computer.Keyboard.CtrlKeyDown set to true from Edit Menu Pin
for120620-Feb-10 18:31
for120620-Feb-10 18:31 
AnswerRe: Forceful use of My.Computer.Keyboard.CtrlKeyDown set to true from Edit Menu Pin
Mark Hurd21-Feb-10 17:58
Mark Hurd21-Feb-10 17:58 

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.