connection

ODBC Connection Pooling

I have inherited a suite of .Net c# applications from a developer which talk to an Informix database on a unix server. Instead of using the usual practices for managing the database connections (disposable pattern / "open late / close early"), the code seems to open one ODBC connection when each app loads and doesn't close it. Is there...

Use ActiveSync in Java for connect to Symbian OS

How I can use ActiveSync in Java for connect to Symbian OS? Where I can I find a good manual about this? ...

Restart PPP connection from C#

Hi, I have to restart a PPP connection on Windows 2k and XP from a C# program. How can I do that ? Does I have to disconnect and reconnect ? How ? Thanks in advance Best regards ...

How can I prevent ADO from creating multiple SPIDs?

I'm working on an application that creates a single ADO connection and keeps it open for the lifetime of the application. I have connection pooling turned off. (Please ignore the fact that this might not be best practice for the purposes of this question). If I spawn a new thread and use the exact same ADO connection, it uses a new SPI...

Connecting to a localhost Webservice via kSOAP2

What steps will reproduce the problem? 1. Staring the Application, since it's quite small I think that should do it here. What is the expected output? What do you see instead? Well actually I'm not quite sure what should be the output in the end, but while debugging the app I noticed that it won't execute the line: aht.call(SOAP_ACTIO...

How can a client try to reconnect to a server after a first failed try with WCF?

Hey guys, I'm using a client - server app. When a client starts, he gets a login-screen. When the server is not up yet, the call to the server will throw an exception which i catch (EndpointNotFoundException). I show a messagebox telling the user the server is offline. When he tries to reconnect again, it will throw another exception (C...

Handling connection timeout in GWT

I am using GWT and PHP and communication is via the RequestBuilder class, but I need to handle internet connection present or not and show some message but RequestBuilder class supports RequestCallback interface which cannot handle internet connection present or not. What is the solution? ...

Should my connected web parts support IWebPartField, IWebPartRow and IWebPartTable?

I've been writing some simple webparts, and they communicate via a custom interface type. That's working fine. I've got one ConnectionProvider, with a variety of ConnectionConsumers. I see that the OOTB SharePoint webparts provide many standard connections, apparently through IWebPartField and IWebPartRow (IWebPartTable seems less supp...

Connecting Omron blood presure device on my own health vault application

Dear all, I have an application using WPF and WCF integrated with Windows health vault. and now, I have a Omron blood pressure device that i want to connect with my own application. health vault has its own app to upload the data, but my requirement is using my own apps. so the flow more or less is like this: when i plug the device in...

.NET Windows Live Messenger Connectivity?

Hey there guys, I'm working on an IRC bot project, Trying to integrate Windows live into a bot, And have received messages sent to the channel. But the current problem is that the old messenger API that I had no longer works. And the current API i can only find information about addins (complicated for the end user to set up unless I ma...

Stored Connection Strings per user

In the past I've used a Singleton Pattern to load the connection string when the application starts via the global.asa file. I have a project now where each user has a unique connection string to the database. I would like to load this connection string once. The issue is that the singleton pattern will not work for me since each use...

Secure database connection. DAL .net architecture best practice

We have several applications that are installed in several departments that interact with database via Intranet. Users tend to use weak passwords or store login/password written on a sheets of paper where everybody can see them. I'm worried about login/password leakage & want to minimize consequences. Minimizing database-server attack s...

how to connect asp.net Crystal report with mysql.

how to connect asp.net Crystal report with mysql database. like sql server database connection .is there any connector available to do this.. ...

iphone app crashing when url connection connection timed out is coming

I'm creating iphone app. In that, when the app starts, it connects to server and downloads few images and then proceeds with app. When app is downloading, it will show the initial splash screen. as long as my server is able to ping my iphone, its working well. but the trouble starts when my server is taking much time to respond for the N...

Connection Pooling vs Per-Thread JDBC Connection

Which of these approaches is better: connection pooling or per-thread JDBC connections? ...

Get data to android app from mysql server

Hi i have an mysql database with some sports results in it. I want to write an android application to display these data on mobile phones. I´ve searched on the internet for this issue and i think it is not possible to have a direct connection between the mysql database and the android application. (Is this right?) So my question is th...

Application not releasing database connection Spring.net + NHibernate

Even after successful transaction.Application connection with the database persist.in Nhibernate log it shows Nhibernate Log 2010-05-21 14:45:08,428 [Worker] [0] DEBUG NHibernate.Impl.SessionImpl [(null)] <(null)> - executing flush 2010-05-21 14:45:08,428 [Worker] [0] DEBUG NHibernate.Impl.ConnectionManager [(null)] < (null)> - r...

oracle connection manager Java Client example

Hi Experts, I am new to oracle connection manager. Can some help me with a Java Client code example to talk to a oracle database thru oracle connection manager. Thanks Sam. ...

iphone PC TCP/IP connection

Hi I'm looking for the faster and easy way to connect the iphone to the PC with IP/Port connection. Anyone has a good idea? thanks in advance Gilad ...

Connection point Iplemetation in Javascript

Hi All, I need to use activeX control with connection point events in html page.I saw some sodes in different sites and most of tham says use this below code <script for="Cntrl1" event="UploadProgress(Data)"> alert(Data); </script> But This is not working. I got this below code from How to handle an ActiveX event in Javascript (Sta...