Recent content by Pete (BSC)

  1. P

    Question Compiler has stopped working - multi-project solution

    Resolved My project contained a reference: <Reference Include="System.Data.DataSetExtensions"> <RequiredTargetFramework>3.5</RequiredTargetFramework> </Reference> I removed it and the project loads
  2. P

    Question Compiler has stopped working - multi-project solution

    I have a solution that has 11 projects in it. After adding the 11th, when I load the project I get the "Microsoft (R) Visual Basic Compiler has stopped working" error n VS 2008. It looks like all the projects load, I see them in the solution explorer. When I remove the 11th project...
  3. P

    VB ODBC Connection problems

    Error in code Not sure where you are with this, seeing this is a month old... however: ' Declare data reader variable Dim reader As OdbcDataReader = Nothing MsgBox(reader) Your reader is set to nothing and then you try to access it a line after.
  4. P

    connect to a remote mysql db?

    Connection strings for MySQL MySQL® Connector/Net/
  5. P

    Deployment Issue

    How are you deploying? I've run into this problem and the issue for me was that I was not deploying all the files (dependencies). My recommendation would be to create a setup package (setup & deployment) and this should capture all your dependencies. The other thought that comes to mind, is...
  6. P

    FileVersion Information...

    In our auto update application if the file information does not contain a version we use the last date modified.
  7. P

    Question CR select range of date?

    Have you tried: CrystalReportViewer1.SelectionFormula = "{BIAYA.TANGGAL}>= CDateTime('" & Tgl_awal.Text & "')" AND BIAYA.TANGGAL}<= CDateTime('" & {Tgl_awal2.Text & "')"
  8. P

    Can't Even package ??

    In your code are you using: Oracle.DataAccess.Client (Oracle Data Provider for .NET (ODP.NET)) If so, then you would need to distrubute to ODP.NET or System.Data.OracleClient Does your client have the Oracle 10g client installed on the pc you are deplying to? I think only managed DLL's...
  9. P


    Create a new project. Under "Other Project Types" select Setup and Deployment You have options to create a "Setup Project" and there is also a Setup Wizard (in VS 2008, not sure about 2005).
  10. P

    Class Inheritance

    Syntax You could declare as such: Public Class MyClass : Inherits MyBaseClass End Class The idea that I follow for a base class is to put all my standard code and that if something comes up that doesn't follow or needs to be augmented to override it in the inherited class. For example...
  11. P

    Problem with launching crystal report 2008 distribution file with VS2008 setup projec

    Installing Crystal Reports during setup in VS2008 You can't execute another MSI while running a MSI. I don't know why Business Objects/SAP did not create a merge module (MSM). But... here is how I got it to work. In you setup project, go Properties > Click on Prerequisites. There you can...
  12. P

    Answered 'System.IO.Ports.Parity

    I didn't see the post date until after I posted my response.
  13. P

    Namespace Error in Crystal Reports

    Do you have the previous version (prior to making changes)? You can use a Diff viewer to see what changes were made. If you don't have the prior version... I strongly suggest some sort of source control, like SubVersion.
  14. P

    Question ImageList and Treeview Exception

    I have a treeview and would like to add images to the nodes; however, when I add: bmp, ico, gif or png images to the imagelist and set the TreeView.ImageList property the form loads and then I get an error: NotSupportedException "System.Drawing.Bitmap" The error occurs in the designer when...
  15. P

    Answered 'System.IO.Ports.Parity

    System.IO.Ports.Parity is an Enum rather than a namespace. Are you trying to work with serial ports? If so...I think you are looking for System.IO.SerialPort
Top Bottom