how to connect Oracle in vb.net 2005? - vb.net

I'm a newbie to connect Oracle 10g using vb.net in MS Visual 2005. Please share me in coding.

You need to be more specific in your question because no one will write your project for you.
There are tons of resources on line to help you:
Using Oracle with VB.NET

If you're OK with being married to Oracle, a native driver is fastest. You tagged VS2005 so I assume you are deploying to .NET Framework 2.0. Our shop uses System.Data.OracleClient and it works fine (you will need the Oracle client installed on the target machine). This namespace, however, has been deprecated in the 4.0 framework release. The preferred way forward (which I've not tried yet) is either ODP.NET or another 3rd-party driver. This question details some of the alternatives.

Related

How to add SQL compact database file to VS 2013 solution

I have a project that uses SQL Compact DB 3.5. I used to work with VS 2010, and everything was going well, I then installed VS 2012, and opened the project with Visual Studio 2012, it asked me to update the database to 4.0, and I did and it worked. Now I have VS 2013, I installed the SQL Server Compact toolbox, and I managed to connect to the database file during design time, but during runtime, I don't know how to do so,
before I was using this connection string: "Data Source=my_db.sdf;Password=password"
I deleted the converted 4.0 database file, I only have the 3.5 file, and no more VS 2012,
if I add the database file to the solution, it tells me I am using an old version and I need to update it.
The question is: What connection string do I use to connect to the database during runtime which I am successfully viewing in SQL Server Compact Toolbox
I deleted the Reference to SqlCe 4.0 and added a reference to SqlCe 3.5 and it worked, thanks anyways, I hope this answer helps anyone

Is Enterprise Library 4.1 and server 2008 sp2 compatible? I can't find specifics on this

What I thought would be an easy google turned up no results. I'm trying to find out if Enterprise Library 4.1 is compatible with Windows Server 2008 SP2.
The system requirements say its compatible with Server 2008, but there is no mention of the service pack. Does anyone know definitively if these two are compatible?
Thank you for your time.
Typically compatibilities will list the minimum requirements; compatible with "Windows Server 2008" would include it and subsequent service packs (unless explicitly indicated otherwise). Keep in mind EL 4.1 was released almost a year before 2k8 SP2 was.
Does anyone know definitively if these two are compatible?
I guess it would depend on how you define "definitively" and "compatible". ;)
Do you want to know if Enterprise Library will run under Windows 2008 Server SP2? I don't believe that it was formally tested against that version (typically testing will go back two OS releases and SP2 didn't come out until the year after Enterprise Library was released) but it should work on later OS versions. For example, I have used version 4.1 with Windows 7.

Losing database connection when changing project target framework

As in title I'm having problem with my VB project when I change its .NET Framework from 4.5.1 in which I have application written to v4 which is supported on windowsXP. When I make the change and try to compile my program database could not be found. Should I make any extra changes in project properties or why database could not be found?
Thank you for help!
The Jet engine is not supported on 64bit machines. I know it is crazy but it's true. Not sure what MS Access uses on 64Bit, must be something else.
Jet on 64Bit
Some places say it's not going to be supported, others say it is part of Office 2010 install and you can download a seperate driver.
I ran into this when deploying a web app to our 64Bit server and just found a way around using MS Access for our report server. Got luck.

Any Addin for Visual Studio 2008 which would sort the imports?

I have seen plugins for VS 2005 and also for C# environment in VS2008 but not able to find for VB.NET environment in VS 2008.I want it to sort for each file, is there any addin for this?
I believe RefactorPro ($99) supports this on a per file basis. http://devexpress.com/refactor.
The functionality is called "Optimise Namespace References"
The current versions of CodeRush, RefactorPro and CodeRush Xpress support VB.Net and C# under VS2005, VS2008 and VS2010*/**
Feel free to ask me any Refactor / CodeRush (Xpress or Pro) questions, either http://twitter.com/rorybecker or rorybecker#gmail.com
Notes:
*VS2010 support is already available for CodeRush Xpress. RefactorPro and CodeRush support is at release candidate stage and is expected any time now.
** CodeRush and RefactorPro also have an earlier version that supports VS2002 and VS2003

Can I use SQL Server Compact Edition CE on Mono?

Does anyone know if I can use SQL Server Compact Edition 3.5 on mono?
I'm hoping they are written as managed assemblies and will work ok..does anyone have any experience?
All of the SQL Compact (except System.Data.SqlCe.dll obviously) are native libraries, so no they won't work under non-Windows platforms.
Pretty replacement for SQL CE is SQLite
SQLite ADO.NET Provider is portable and exists on Microsoft.NET and Mono
http://sqlite.phxsoftware.com
http://www.mono-project.com/SQLite
native components is exists for most major platforms and source code also available
(By 'on mono' I assume you mean running on Mono in Linux?)
No. I'm pretty sure none of the SQL Server versions are built on managed assemblies.