I want to develop a software which restricts users internet access using vb6 or vb.net.
This is not a baby sitter program but
1) whenever a client machine takes any browser it should ask for username and password.
2)There should be option for adding new users at the server side application.
can anyone suggest any name of such a s...
Hi,
I've got a Python/Django application which runs quite a lot of SQL statements. For debugging purposes, I thought I should create a simple view for me which just lists all the SQL statements that have been run.
According to the documentation, this code should be enough to do that:
from django.db import connection
connectio...
Hi,
I've got a .NET app monitoring a network share and periodically it loses the connection.
The app itself does not send any login info, it runs under the current (Windows) user.
When this happens I can't connect to the network share in Explorer either, I need to reboot the machine.
Is there any way programmatically in .NET I could ...
I want to execute a custom command against a typed dataset I created using the dataset designer. For this I need to get a reference to the underlying connection, right? How to go about this? In which autogenerated file can I find the connection?
...
When I try to make a new data connection from a Visual Studio 2008 to a database on SQL Server 2008, it fails. It says, it supports SQL Server connections up to SQL Server 2005 version only.
What is missing in my installation? Or where are settings I should change?
...
Hi, folks !
So the problem changed from what it was, i'll leave the original question below to prevent bad reviews on answers like I had after someone editing his question I answered :
So I am working on a (really lame) shared hosting which has PDO installed, but it doesn't work.
With default parameters
<?php
try {
$dbh = new PDO(...
Hi,
a friend of mine uses SCILAB for doing his mathematicall "homework" for his studies and he told me, that it should be possible to use Java source code diretly in SCILAB.
The background is that I presented my current Java project and I would like to plot this in 3D, but I haven't done graphical output so far. And he proposed to let ...
Hello,
I'm trying to write a program to do automated testing on my webapp. To accomplish this, I open up a connection using HttpURLConnection.
One of the pages that I'm trying to test performs a 302 redirect. My test code looks like this :
URL currentUrl = new URL(urlToSend);
HttpURLConnection connection = (HttpURLConnection) curr...
I am curious to know if there is a way of connecting a flash front-end to a C++ driven backend? I'm not currently working on a project that involves this, but I found out about an application used in the gaming industry, called Scaleform, that requires knowledge on doing such things in order to create menus in games.
...
While using the Entity Framework I have split it out to it's own project:
RivWorks.Model - Contains Entity Model
RivWorks.Controller - Uses the Entity Model and contains the biz rules
RivWorks.View.Web - The web site
RivWorks.View.Services - WCF project
Everything in the web site is working fine. I am able to call into the Controll...
I want to write a program that allows user to select one SQL Server instances in an network. How can I list available instances in a C# program?
Addition questions: How can I know that a database is currently mirroring? Is there a way to know what instance is it's partner and it's witness?
Thank you very much!
...
This is an odd one. All the sudden when I create LINQ to SQL projects in Visual Studio would it not create the following line in the designer, up to three weeks ago or so, it used to create this line, now I have to manually do it. Then if I make changes in the dbml file it removes it and I have to manuallhy add again. huge pain. Here is ...
I have a Tomcat and PostgreSQL installed on a server. I'm having a connection problem trying to connect from my servlet to PostgreSQL database using c3p0 pool.
I can reach DB if I'm running Tomcat locally on my laptop. Also I can connect from server to DB using psql (i.e. command line sql utility). But when I'm trying to deploy my serv...
I am trying to establish connection to following url :
" http://local.yahooapis.com/LocalSearchService/V3/localSearch?appid=0KOmkJ7V34Hvfo6oPV4YJaKmTz69b_UMMhOyBex5v24Gnyr3t4lrN26HBjwbfT.khg--&query=pepsi&latitude=37.79581&longitude=-122.38008&results=5"
The problem is that when i am trying to make an connection to abo...
I have a little problem with a simple URLLoader, it simply just loads the data from an url, and processes that data, nothing complicated. But, when ever i run it, it leaves the connection open. At the bottom of the browser it says:
Transfering Data From www....
The data is read sucessfully, so it should close the connection? but do...
Back when Crystal Reports still supports ActiveX, we have crystal reports that were built to use ODBC data source point to an Access or SQL database. In run time, we would change the report to use OLE DB (ADO) instead of ODBC, change the server name, database name, username, password to ones specific to the user, and run the report, it w...
Using an ODBC connection to a mysql database, the connection times-out after a period of 8 hours (the default).
In order for my application to be resilient, it must recreate this connection to issue a prepared statement query.
Is it possible to issue a new database connection for a prepared statement?
Does it make sense to do so?
It ...
I am using LINQ to SQL for my website to access two databases. The first database is the website (which i'll call WEBSITE) data, the second is a history of transactions (which i'll call WEBSITE_HISOTRY). When I added a table from the WEBSITE_HISOTRY to my datacontext not so long ago i recieved some sort of alert that I clicked OK on (pro...
I changed a dataset based approach to my sqlite database to one using the Entity Framework. I created the entities using Visual studio 2008's wizard and had the connection string stored in the app.config. A client program then communicates through WCF with the database. This works well on the development computer when I host the WCF serv...
Hi,
I was trying to connect my PHP page to PostgreSQL, but it's not working. The code which I have tried is given below:
<?php
$connection = pg_connect("host=localhost dbname=mydb user=postgres password=pgsql");
if (!$connection)
{
echo "Couldn't make a connection!";
}
?>
During the time of installation, the system aske...