Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
A

aguest

@aguest
About
Posts
105
Topics
64
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • trouble in passing parameter in crystal document
    A aguest

    is that not normal that can be empty(ParamName=Nothing)? please can you give me a hand

    Visual Basic help csharp com data-structures

  • trouble in passing parameter in crystal document
    A aguest

    i just found a property called ParamName and it's equal=Nothing. the other probelm happend with me when i work on windows 7 but when i worked with winXp i dont get this message error.

    Visual Basic help csharp com data-structures

  • trouble in passing parameter in crystal document
    A aguest

    sorry to bother you with an other problem,but now that i moved at home and i working on my pc (OS:windows 7)i got an error message with the same code : An unhandled exception of type 'System.Exception' occurred in CrystalDecisions.CrystalReports.Engine.dll Additional information: Load report failed. on this line impbonrecepReport.Load(reportPath)

    Visual Basic help csharp com data-structures

  • trouble in passing parameter in crystal document
    A aguest

    I coudnt find any thing cause the error hapend in this line Dim myParameterFieldDefinition As ParameterFieldDefinition = myParameterFieldDefinitions(PARAMETER_FIELD_NAME) i looked for numb or name and fieldname but nothing ????

    Visual Basic help csharp com data-structures

  • trouble in passing parameter in crystal document
    A aguest

    i fellowed the first part of this tutorial to set myParameterFieldDefinitions : LINK TO THE TUT and i have in my table(the table linked o the crystalReport Document) field called numb that i assigned it to PARAMETER_FIELD_NAME . and still dont know where is the error ???

    Visual Basic help csharp com data-structures

  • trouble in passing parameter in crystal document
    A aguest

    now i getting a message error in the next line Dim myParameterFieldDefinition As ParameterFieldDefinition = myParameterFieldDefinitions(PARAMETER_FIELD_NAME) this is the error message An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in CrystalDecisions.CrystalReports.Engine.dll Additional information: Index non valide. (Exception de HRESULT : 0x8002000B (DISP_E_BADINDEX))

    Visual Basic help csharp com data-structures

  • trouble in passing parameter in crystal document
    A aguest

    i am getting some trouble with a tutorial that i found on msdn web site : http://msdn.microsoft.com/en-us/library/ms227722.aspx. i would like to pass a parameter to my CrystalReport document,but i would like to send an integer value to my CR document and just one value(because in the tut its sending and array of string values). the code is the fellowing

    Private Const PARAMETER_FIELD_NAME As String = "numb"

    Private impbonrecepReport As ReportDocument
    
    Private Sub ConfigureCrystalReports()
    
    
        Dim myArrayList As ArrayList = New ArrayList()
    
        myArrayList.Add(999)
        Dim numbrecep As Integer
    
        numbrecep = 999
    
    
    
        SetCurrentValuesForParameterField(impbonrecepReport, myArrayList)
       
        impbonrecepReport = New ReportDocument()
        Dim reportPath As String = Application.StartupPath & "\\" & "ImpBonReception.rpt"
    
        impbonrecepReport.Load(reportPath)
        CrystalReportViewer1.ReportSource = impbonrecepReport
    
    End Sub
    

    Private Sub SetCurrentValuesForParameterField(ByVal myReportDocument As ReportDocument, ByVal myArrayList As ArrayList)

        Dim currentParameterValues As ParameterValues = New ParameterValues()
    
    
        For Each submittedValue As Object In myArrayList
    
            Dim myParameterDiscreteValue As ParameterDiscreteValue = New ParameterDiscreteValue()
            myParameterDiscreteValue.Value = myArrayList.ToString()
            currentParameterValues.Add(myParameterDiscreteValue)
    
        Next
    
    
        Dim myParameterFieldDefinitions As ParameterFieldDefinitions = myReportDocument.DataDefinition.ParameterFields
        Dim myParameterFieldDefinition As ParameterFieldDefinition = myParameterFieldDefinitions(PARAMETER\_FIELD\_NAME)
        myParameterFieldDefinition.ApplyCurrentValues(currentParameterValues)
    
    
    End Sub
    

    i got this error message

    An unhandled exception of type 'System.NullReferenceException' occurred in GestionStock.exe
    Additional information: La référence d'objet n'est pas définie à une instance d'un objet.

    in this line Dim myParameterFieldDefinitions As ParameterFieldDefinitions = myReportDocument.DataDefinition.ParameterFields can you help me to solve this problem? thank you ps: i am on VS2005 VB.NET

    Visual Basic help csharp com data-structures

  • trouble in passing parameter in crystal document
    A aguest

    i am getting some trouble with a tutorial that i found on msdn web site : http://msdn.microsoft.com/en-us/library/ms227722.aspx. i would like to pass a parameter to my CrystalReport document,but i would like to send an integer value to my CR document and just one value(because in the tut its sending and array of string values). the code is the fellowing

    Private Const PARAMETER_FIELD_NAME As String = "numb"

    Private impbonrecepReport As ReportDocument
    
    Private Sub ConfigureCrystalReports()
    
    
        Dim myArrayList As ArrayList = New ArrayList()
    
        myArrayList.Add(999)
        Dim numbrecep As Integer
    
        numbrecep = 999
    
    
    
        SetCurrentValuesForParameterField(impbonrecepReport, myArrayList)
       
        impbonrecepReport = New ReportDocument()
        Dim reportPath As String = Application.StartupPath & "\\" & "ImpBonReception.rpt"
    
        impbonrecepReport.Load(reportPath)
        CrystalReportViewer1.ReportSource = impbonrecepReport
    
    End Sub
    

    Private Sub SetCurrentValuesForParameterField(ByVal myReportDocument As ReportDocument, ByVal myArrayList As ArrayList)

        Dim currentParameterValues As ParameterValues = New ParameterValues()
    
    
        For Each submittedValue As Object In myArrayList
    
            Dim myParameterDiscreteValue As ParameterDiscreteValue = New ParameterDiscreteValue()
            myParameterDiscreteValue.Value = myArrayList.ToString()
            currentParameterValues.Add(myParameterDiscreteValue)
    
        Next
    
    
        Dim myParameterFieldDefinitions As ParameterFieldDefinitions = myReportDocument.DataDefinition.ParameterFields
        Dim myParameterFieldDefinition As ParameterFieldDefinition = myParameterFieldDefinitions(PARAMETER\_FIELD\_NAME)
        myParameterFieldDefinition.ApplyCurrentValues(currentParameterValues)
    
    
    End Sub
    

    i got this error message

    An unhandled exception of type 'System.NullReferenceException' occurred in GestionStock.exe
    Additional information: La référence d'objet n'est pas définie à une instance d'un objet.

    in this line Dim myParameterFieldDefinitions As ParameterFieldDefinitions = myReportDocument.DataDefinition.ParameterFields can you help me to solve this problem? thank you

    Visual Basic help com data-structures tutorial question

  • reaching a database on network
    A aguest

    hi i am on my pc on LAN and i woud like to make an application to reteive Data from a database located on the server of the LAN. i am programming with MFC,and i use the class CRecordset,and the method conssit to access to the database from ODBC (with ingres DATABASE), but when i add the the new class (MFC ODBC Consumer),i can't got the tables of the database(because when database is located on same PC,the ODBC give u the hand to show him the path of the database and the table that i would like to work with). can you help me ?

    C / C++ / MFC sysadmin c++ database help question

  • problem to get a member fuctions from iterator
    A aguest

    hi i am working with VS2003 and i got a problem with accessing to list member functions. i have : class company { public: CString comapany_name; int Number; list work; public: time_of_work(int ID); company(void); virtual ~company(void); } and class worker { public: CString name; int ID; int hours public: get_name(int ID); worker(void); virtual ~worker(void); } when i try to get the member function from the a company iterator that don't work: list::iterator comp; **comp->.....** it give me just a list of company methods and variables and if i try the dot('.') **comp.** i can get {iterator, operator+,operator-,operator*,operator= } how can i get the list of the member functions ?

    ATL / WTL / STL question help

  • Wizard Control in vc++ express
    A aguest

    hi i am looking for Wizard Control that allow to make step by step interface.cause i don't find it in the vc++ Express?

    Managed C++/CLI c++ tutorial question

  • listview and columns
    A aguest

    hi i am working with Listview,and when i insert some data in it it range them in many columns,and i would like that arrange them just in one columns with vertical scrollbare to reach the other data in the bottom.

    Managed C++/CLI

  • TableLayoutPanel and cells
    A aguest

    hi i am using TableLayoutPanel ,and i have created some rows and columns and i want to work with cells. my problem is that i want to control one cell by changing it color when the cursor in on it.

    C / C++ / MFC help

  • reading from database
    A aguest

    hi i just starting using cv++ express and i find a problem with DATABASE reading. i have an access database that i fill it with information ,but i got a problem to read from my database in the other version of vc++ i can use CRecordSet,but with vc++ express its not possible.i am lloking for help to read from my database? thank u

    C / C++ / MFC help c++ database question announcement

  • reading from database
    A aguest

    hi i am programming with vc++ 2005 ,i use an acces database with ODBC.i can add data to the database ,but my problem is to read from my database . is there any idea that can help me ?

    C / C++ / MFC help c++ database question

  • crystal reports 11
    A aguest

    hi i got a problem in installing crystal reports 11 it request a file called keycode.dll. can u help me ?

    C / C++ / MFC help question

  • X25 network
    A aguest

    hello i work in network when we use the X25 protocole to comunicate and i want to make an application to download files from others PCs of the network,and i have no idea how to do that,are there someone who can help me ?

    C / C++ / MFC sysadmin help tutorial question

  • execl and VC++
    A aguest

    hello i have a data base in prolog and i want to transfer it to excell and make some transformation ,i would like to know if there some API or command who can help me in this work?

    C / C++ / MFC c++ json help question

  • from ASP to PHP
    A aguest

    i am making a e-trade website and i have for exemple 03 products 1) Product N°1 = 5$ 2) Product N°1 = 10$ 1) Product N°1 = 8$ and when the consumer choise one product one row of matrix will be created in an other page with the name of the product and the price ---------------- product1 / 5$ ---------------- and like that with the second product and the third . and i want to store this session in the PC of the client ,cause the client can delete a product after he choise it.

    Web Development help php

  • from ASP to PHP
    A aguest

    the good in the Dictionary object is that can open a session in the client part(the pc of the client) and you can store the information. in the case that he refresh the page all the information still in his pc ,and that what i am looking for ,and i don't know if i can do that with PHP.

    Web Development help php
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups