4,457 Topics
![]() | |
We have been using dbase4 in our workshop for all our database requirments for the last 12 years. for example our stores management, finances, salaries, challans, quotations etc. Now i want to upgrade to open source software, but i am quite unsure as to whether "mysql" will fulfill all my … | |
i have been using adodc for searching for a client's details using the client number, but it would give me inexpected errors and bomb out of my programme. i have then resorted to searching using sql. the following code gives me this error::: [I][U]no value given for one or more … | |
can u help me how to connect to MS Access database using java codes?? import java.applet.Applet; import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.lang.StringBuffer; import java.io.IOException; import java.io.*; import java.sql.*; public class sample1 extends JFrame { private DataPanel myDataPanel; private Connection dbconn; private static int numPeople=0; private static String info; … | |
description: Reading data from active directory. some names have the French accented E. when I write to screen, no problems. when I write to a .txt file the program errors out with... [I]Traceback (most recent call last): File "ad-listing.py", line 20, in <module> print >> OutFile, person.displayname,"~",person.title,\ UnicodeEncodeError: 'ascii' codec … | |
Hi.. I want to create a seperate DataAccessLayer and do the inserting,updating...etc to a database.Actually I'm new to .net things. I did it as below.But the database is not updated at all.. This is the DataAccessLayer class... [CODE] using System; using System.Collections.Generic; using System.Text; using System.Data; using System.Data.SqlClient; namespace ClassTest … | |
Hello , I have just started dealing with OpenCV and tried to open an sample.I am using version b4a. And when i opened a sample source file(for example:face detect). I compile source file(face detect) and it(visual stdio 6.0) gives 0 error or warning. But when i tried to run it … | |
Hi, I want to create a Forum System in asp.net 2.0, Its better that i download the open source from microsoft, if anybody has Link for this source code, then please give it to me.. Or Suggest what should i do? Thanx... | |
Hi I have a problem which i cant seem to solve or font really know where to start im only starting learning c# so dont have a lot of experience. Basically my problem is that i intend to loop through a directory of .tif images which contain BW and Colour … | |
[CODE]OleDbConnection con = new OleDbConnection("Provider = Microsoft.Jet.OLEDB.4.0; Data Source = D:\\incomexp.mdb"); OleDbCommand com; OleDbCommand com = new OleDbCommand("insert into incomeexp values (@year,@month,@data,@bal,@inc_exp)",con); com.Parameters.Add("@year", OleDbType.Integer); com.Parameters["@year"].Value = yr; com.Parameters.Add("@month", OleDbType.Integer); com.Parameters["@month"].Value = mn; com.Parameters.Add("@data", OleDbType.Char); com.Parameters["@data"].Value = s ; com.Parameters.Add("@bal", OleDbType.Decimal ); com.Parameters["@bal"].Value = j ; com.Parameters.Add("@inc_exp", OleDbType.Char); com.Parameters["@inc_exp"].Value = s1 … | |
Hi all, I have a library built in C++ targeted for linux platform. The authors suggested that with some minor changes, it can be compiled in windows as well.. This library in turn uses the mathematical library called miracl, which does support VC++ and I was also able to build … | |
![]() | Alright, so my issue is that I have a staff profile. When you press the button it brings you to the Edit Profile page with text boxes with the original information in them so they can be edited. Now I ask for the edited information to be updated when the … |
here is my source code about login into a web [CODE= php] <?php /* $login=$_POST['login']; if($login=="Login") { */ $connect==mysql_connect("localhost","root",""); if(!connect) { die ('Cannot connect to the database'.mysql_error()); } mysql_select_db("firstdbs",$connect); $in_user= $_POST['username']; $in_pass=$_POST['password']; // To protect MySQL injection $in_user = stripslashes($in_user); $in_pass = stripslashes($in_pass); $in_user = mysql_real_escape_string($in_user); $in_pass = mysql_real_escape_string($in_pass); $sql="SELECT … | |
Hello, I am trying to populate data from an xml file when a certain catergory from the dropdown menu is selected. The dropdown menu is also populated from a xml source different from the one where the data is stored that needs to be pulled. so when a category is … | |
Hello. I'm trying to connect with an Oracle database but i can't. This is the code that i have write: dbConexion : TADOConnection; dbCursor : TADODataSet; begin dbConexion := TADOConnection.Create(nil); dbConexion.ConnectionString := 'Provider={Microsoft ODBC for Oracle};Server=ss-server;Data Source=;User Id=id;Password=password;'; dbConexion.LoginPrompt := False; dbConexion.Open; I don't know whats wrong there. User id … | |
Another problem in my program is that I can't get my access database to update. It works on the other fields here is the code [code] Public Sub Lockuser(ByVal path As String, ByVal userId As String, ByVal access As Boolean) Dim sqlConn As OleDbConnection Dim oCommand As OleDbCommand Dim stmt … | |
Hello there!! i am glad for the help i have recieved before which helped solve my problems. my challenge now is that the following code fails to save to my Access 2007 database. it doesnt give me any errors but it does nothing. i want details i enter into the … | |
One way to become the "ultimate" of something is to simply declare it. JetBrains, maker of the IntelliJ IDEA Java IDE, on Thursday began previewing [url=http://www.jetbrains.net/confluence/display/IDEADEV/Maia+EAP]IntelliJ IDEA Ultimate Edition[/url], the latest version of its commercial integrated development environment for Linux, Mac OS X and Windows. The "ultimate" designation is presumably … | |
OK, so I get up, shower, eat, and open up my email client. Number 4 from the top is a Daniweb email telling me about the wonderful topics currently being discussed - here's the list: * Prevent programs from saving to certain folder? in Windows Vista and Windows 7 * … | |
Excuse my English.. At work we have porting some app to MySQL, but there are still some Database in Access 2.0, Access 97, DBF, etc Some important database is "codifica" is in access 2.0, this DB contain to many tables that are used in other DB. I need copy data … | |
ok, so here's the deal. i'm a bit confused about .sdf and .mdf files, i know i should post this in databases, but the topic is also relevant here so i'll just get right to it. 1. I'm working on an inventory project which will be a standalone, so i … | |
I am making a slider puzzle applet. And i have this problem when i display it as an applet my buttons do not seem to act the same was as they did before i made it into an applet by using a JApplet rather than a JFrame as my extension … | |
Hello All, I might be developing an IVR System for a unique school project. This is something I have never done before and I am currently in the researching phase of the project. Can anyone point me to some valuable articles, tutorials, definitions, open source programs for review, and anything … | |
Hello, We are trying to find a new open source ETL tool. Basically, we need our new software to perform tasks such as ETL, data migration and data synchronization. For now, the program would not be used on large projects. There are a few open source tools on the market. … | |
Excuse my English.. At work we have porting some app to MySQL, but there are still some Database in Access 2.0, Access 97, DBF, etc Some important database is "codifica" is in access 2.0, this DB contain to many tables that are used in other DB. I need copy data … | |
This program hangs when trying to generate fixtures when the table is empty: [CODE] using System; using Gtk; using Mono.Data.Sqlite; using System.IO; public partial class MainWindow: Gtk.Window { //SQLite variables static SqliteConnection DataConn; static SqliteCommand DataComm = new SqliteCommand(); static SqliteDataReader DataReader; string dsn; //tree_1 variables Gtk.TreeViewColumn name_1 = new … | |
I am looking for good (ideally open source) solution to do telnet from web browser. Anyone knows Flash/Ajax solutions for that? The best will be a pure client based components, but client-server may work too. | |
[code] public partial class FrmOnline : System.Web.UI.Page { string Query; SqlCommand cmd; SqlConnection conn; protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { OpenSQLConnection(); SqlCommand cmd = new SqlCommand("select * from Info1 where UID=1", conn); SqlDataReader dr; dr = cmd.ExecuteReader(); while (dr.Read()) { dr.Read(); TextBox1.Text = dr[0].ToString(); } } … | |
Apologies for the huge post! I am having trouble with ajax right now on my site: (This site is only a first draft and has a few nav problems with the flash - will sort it soon) My main problem is I have an Ajax code on the index page … | |
I am having trouble with textbox multiline when it store to Access database and returning in gridview show one chunk of string. Is there anyway to place each data into each own row? Input: google yahoo msn Output: [url]www.google.com[/url] [url]www.yahoo.com[/url] [url]www.msn.com[/url] But right now it is give me [url]www.googleyahoomsn.com[/url] Here … | |
hello i have some problem to send POST value by use mechanize. i can't write my article to my blog site. here is full source. and what i want to do is, im posting my article to my blog site. thanks in advance. [code] # -*- coding: cp949 -*- import … | |
I am looking at some open source code and I am a bit confused. There is an Allocator class: [code] class Allocator{ [/code] Then in another class, they have: [code] class Octree{ public: static Allocator<OctNode> Allocator; [/code] When trying to compile, I am getting: [code] error: declaration of 'Allocator<OctNode<NodeData, Real> … | |
Ive just created a login system using a tutorial, but it doesnt say how to protect the admin page, just logs you in.. Here first is my HTML, Login form [CODE]<%@ Page Language="VB" AutoEventWireup="false" CodeFile="login.aspx.vb" Inherits="login" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> … | |
here's my connection string for database over network.. for security purposes i put a password on my database... then for additional security i put a password on the shared folder... but i dont know the code to how open it... [CODE]"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\\warehouse-encod\Database\WI.mdb;Persist Security Info=False;Jet OLEDB:Database Password=thankyou"[/CODE] please help.. badly needed.. … | |
I wonder if i writing the correct code segment to read data from binary file.eg.the content file operation in constructor [CODE] try{ raf = new RandomAccessFile("record.dat","rw"); } catch(IOException ex) { JOptionPane.showMessageDialog(null,"Error create file"); System.exit(0); } [/CODE] write content to file [CODE] do { Name = JOptionPane.showInputDialog(null,"Please Enter The Account Holder's … | |
Hello I am trying to develop a small program that will periodically (say every 6 hrs) calculate my ISP broadband speed (both up and dn stream) and display on my router GUI's WAN page. I am thinking of say, start a Linux timer, start down/uploading a file of a known … | |
hey,, i created one application in asp.net in vc# wich required the results of a stored procedure to be displayed into a datagridview.heres d code..,, SqlConnection mysql = new SqlConnection(@"Integrated Security=SSPI;Data Source=MANU\SQLEXPRESS;Initial Catalog=info;"); mysql.Open(); SqlCommand searchcmd = new SqlCommand("search", mysql); searchcmd.CommandType = CommandType.StoredProcedure; searchcmd.Parameters.Add(new SqlParameter("@sname", SqlDbType.VarChar, 20)); searchcmd.Parameters["@sname"].Value = textBox1.Text.ToString(); … | |
i am creating a bank application with connection of MS ACCESS Database which is already construct a table with the following statement [CODE] Statement stmt = con.createStatement(); stmt.executeUpdate("CREATE TABLE ACCOUNT " + "(AccName VARCHAR(32), AccNum INTEGER, Deposit FLOAT, " + "Balance FLOAT, Withdraw FLOAT)"); [/CODE] So everything works fine ,the … | |
Hi, I wonder if there is some open source C++ library for creating SWF movies, something like SWF Scout but open source? Thanks! | |
Can anyone tell me where l can get an open source Enterprise Architect software or similar UML modeling tool. | |
Hi, I am writing a geometry engine using homogeneous coordinates (4D representing 3D Euclidean coordinates) used for perspective projection. This is handled by two classes a 4-Vector "fourVector" and a 4x4 Matrix "fourMatrix". For speed I have not (yet) separated class and member function declaration from definition. [CODE]class fourVector{ public: … | |
I am using following GridView control in WebForm [CODE] <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CellPadding="4" ForeColor="#333333" GridLines="None" style="z-index: 1; left: 276px; top: 192px; position: absolute; height: 133px; width: 187px"> <RowStyle BackColor="#F7F6F3" ForeColor="#333333" /> <Columns> <asp:BoundField HeaderText="userid" /> <asp:BoundField HeaderText="password" /> <asp:BoundField HeaderText="usertype" /> <asp:BoundField /> </Columns> <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" /> … | |
I want to create a unique ID for a record being entered into a sql server database, in a web application. My logic is to count the number of records in the table, add a one to that number, then add a prefix to the new number. Check that the … | |
Like many I'm sure, I'd heard a little of the Free Software Foundation - their petitions to the US Govt recently (and a public march if I remember correctly), brought a bit of a laugh. But I recently stumbled upon a new campaign being run by the FSF, entitled the … | |
i m using a open source cms (PHP) when ever i try to logout. i get loggged out but the screen shows as if still logged in. when i refresh it gets directed to home page. when i press back i get the history all the people logged in. how … | |
Here is the code first off all for the login script (HTML) [CODE] <form id="form1" runat="server" method="post"> <asp:TextBox ID="txtUsername" runat="server"></asp:TextBox> <asp:TextBox ID="txtPassword" runat="server" style="width: 128px"></asp:TextBox> <asp:Button ID="Button1" runat="server" Text="Login" />[/CODE] Here is the behind code to that page double click on the button and get this code (VB.NET) [CODE] Dim … | |
good day.. i have a problem in accessing my Access database in network.. I made an inventory system... i couldn't run the program simultaneously in two PC. i got this error >>> "could not use.. file already in used"... i thought it can use in network? is my coding have … | |
I'm a c++ programmer mostly working on winapi and mfc right now. DaniWeb community has been a good source of information so I decided to officially join because DaniWeb has given our company a good impression overall. I will try to contribute as soon as possible on open questions I … | |
Hi, I developed a webpage in which the first page contains a textbox in which if we enter a customer name and click button get details it should display all the details from database. in another page i have written code to insert values into database. the values are getting … | |
[CODE]Hello everyone, I am write a program, which have to read an excel file and save it in an access table. The excel file will be upload. The data will be read and saved in an access table named smsbestand. Can anyone one help here is the code: extension = … | |
this is products.vb code file [CODE]Imports Microsoft.VisualBasic Imports System.Data.SqlClient ' Use the unique namespace for this application Namespace Proj06Web ' ' Name the Class Public Class Products Function GetAllCategories() As SqlDataReader ' Get all products as return a dataset to the caller ' uses sp_Get_Products stored proc to return all … |
The End.