Resolved
My project contained a reference:
<Reference Include="System.Data.DataSetExtensions">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
I removed it and the project loads
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...
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.
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...
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...
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).
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...
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...
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.
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...
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
Serialization?
Can you serialize a class in your VB app and pass the path to the serialized file to your C# app via command line and deserialize it.
I'm not sure if Serialization is available in CF.
Or simply pass the string of the path via a command line?
System.IO.Ports
You can capture serial port data using the System.IO.Ports namespace.
Private WithEvents _Port As SerialPort
You'll have to open the port and then there is a "DataRecieved" event that you can capture the data.
WinCE Emulator
I have used the URL provided by raju_ulr and following the directions I was able to create a new device in VS and deploy to the emulator with debugging capabilities in the ide.
SourceGear DiffMerge
I like this tool for comparing source code:DiffMerge
There are other tools if you search google as well.
Another popular one: WinMerge
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.