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

Visual Basic

 
GeneralRe: Need Help Pin
Colin Angus Mackay27-Dec-07 2:04
Colin Angus Mackay27-Dec-07 2:04 
GeneralRe: Need Help Pin
BOREC27-Dec-07 2:12
BOREC27-Dec-07 2:12 
GeneralRe: Need Help Pin
leckey27-Dec-07 4:51
leckey27-Dec-07 4:51 
GeneralRe: Need Help Pin
Benny_Lava27-Dec-07 22:45
Benny_Lava27-Dec-07 22:45 
GeneralRe: Need Help Pin
TomGarth28-Dec-07 8:53
TomGarth28-Dec-07 8:53 
GeneralLoading Resources in VB 6.0 Pin
anu_sam77726-Dec-07 20:01
anu_sam77726-Dec-07 20:01 
GeneralRe: Loading Resources in VB 6.0 Pin
Dave Kreskowiak27-Dec-07 12:41
mveDave Kreskowiak27-Dec-07 12:41 
QuestionUsing Crystal Control in VB.net As VB6 Pin
Meenge26-Dec-07 17:29
Meenge26-Dec-07 17:29 
Please, Help me if anybody can!!!!!

I want to generate own Report from my project,not from Crystal report Software.
I used following control in VB6 to generate Crystal.
CRViewer.This control can get Crystal Report Viewer component.

Like this VB6 code,i am using this control in VB.Net,
Friend WithEvents crvReport As CRVIEWERLib.CRViewer
Me.crvReport = New CRVIEWERLib.CRViewer

And my form has Preview command button to preview own report from this form.If user click this Preview button ,user can preview his own report.For
this ,i am using this code in cmdPreview_Click().
Call frmpReport.ShowReport(m_astrType, m_strColumn, m_aintWidth, m_astrFSource, blnSave)

,but my project face with problem in this line.
Call frmpReport.ShowReport(m_astrType, m_strColumn, m_aintWidth, m_astrFSource, blnSave)

Error Message is
Unable to cast COM object of type 'CRVIEWERLib.CRViewerClass' to interface type

I will waiting for your answer.THANKS For ur Answer.
GeneralRe: Using Crystal Control in VB.net As VB6 Pin
Paul Conrad30-Dec-07 10:44
professionalPaul Conrad30-Dec-07 10:44 
QuestionVB.net, Web Services and Soap Pin
Brit the Brut26-Dec-07 16:52
Brit the Brut26-Dec-07 16:52 
GeneralRe: VB.net, Web Services and Soap Pin
Dave Kreskowiak27-Dec-07 12:38
mveDave Kreskowiak27-Dec-07 12:38 
Generalneed help selecting rows in a DataGridView Pin
Shimmy Weitzhandler26-Dec-07 15:42
Shimmy Weitzhandler26-Dec-07 15:42 
GeneralRe: need help selecting rows in a DataGridView Pin
helelark12326-Dec-07 19:27
helelark12326-Dec-07 19:27 
GeneralRe: need help selecting rows in a DataGridView Pin
Shimmy Weitzhandler29-Dec-07 7:49
Shimmy Weitzhandler29-Dec-07 7:49 
AnswerRe: need help selecting rows in a DataGridView [modified] Pin
Shimmy Weitzhandler30-Dec-07 13:53
Shimmy Weitzhandler30-Dec-07 13:53 
QuestionWriting to and reading from a text file Pin
Hedo26-Dec-07 15:12
Hedo26-Dec-07 15:12 
GeneralRe: Writing to and reading from a text file Pin
helelark12326-Dec-07 19:44
helelark12326-Dec-07 19:44 
GeneralRe: Writing to and reading from a text file Pin
Hedo27-Dec-07 16:55
Hedo27-Dec-07 16:55 
QuestionMouse Movement in VB 6.0 Pin
zawpai26-Dec-07 14:59
zawpai26-Dec-07 14:59 
GeneralRe: Mouse Movement in VB 6.0 Pin
Dave Kreskowiak27-Dec-07 12:27
mveDave Kreskowiak27-Dec-07 12:27 
Question[Message Deleted] Pin
ciconte26-Dec-07 14:28
ciconte26-Dec-07 14:28 
GeneralRe: Terms of use and e-mail subscription Pin
Dave Kreskowiak27-Dec-07 12:21
mveDave Kreskowiak27-Dec-07 12:21 
GeneralRe: [Message Deleted] Pin
Paul Conrad30-Dec-07 10:45
professionalPaul Conrad30-Dec-07 10:45 
GeneralExport Excel Sheet to Textfile (vb.net) Pin
Member 375080126-Dec-07 13:45
Member 375080126-Dec-07 13:45 
GeneralRe: Export Excel Sheet to Textfile (vb.net) Pin
Paul Conrad30-Dec-07 10:46
professionalPaul Conrad30-Dec-07 10:46 

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.