4,457 Topics

Member Avatar for
Member Avatar for vidit_X

Question by ~s.o.s~ Write a program which will perform the job of moving the file from one location to another. The source and destination path will be entered by the user. Perform the required error checking and handle the exceptions accordingly. (Intermediate) [code=c++]#include<fstream> #include<iostream> #include<cstdio> using namespace std; int main(){ …

Member Avatar for mrnutty
0
381
Member Avatar for andyjko

As part of my research at the University of Washington, I've been working on a new web-based JavaScript/HTML/CSS editor that helps you find bugs as you type: [URL="http://faculty.washington.edu/ajko/projects/cleanroom/"]http://faculty.washington.edu/ajko/projects/cleanroom/[/URL] If you try it, and succeed at finishing the task described on the page above, I'll send you [B]a $10 Amazon gift …

Member Avatar for pritaeas
1
185
Member Avatar for akshay25088

Everyone master ppl out ther. I have 2 doubts in my mind regarding C++. Let me tell u 1 thing before stating my problem, I m using Turbo C s/w as a compiler. 1. I m nt able to include <string.h> header file in my program. Whener I try to …

Member Avatar for kvprajapati
0
139
Member Avatar for InS@NiTy

I'm trying to a open a connection to a local database and no matter what I try it just won't work (I'm pretty new to SQL Server and VB for that matter) I tried using 'sqlconnection' with different connection strings but none of them worked or gave me any useful …

Member Avatar for InS@NiTy
0
825
Member Avatar for verruckt24

My current project needs me to include the facilities of an email client into the system in order to keep track of all communication done through email. Designing an building an email client would be sort of re-inventing the wheel especially since thats not one of the core modules of …

0
77
Member Avatar for newsguy

File under what just happened here? According to a [URL="http://www.microsoft.com/Presspass/press/2010/feb10/02-22MSAmazonPR.mspx?rss_fdn=Press%20Releases"]press release[/URL] issued by Microsoft yesterday, it has entered into a cross-licensing patent deal with Amazon. This covers the Kindle as well the Linux-based servers that Amazon uses, and comes back to the Microsoft claim that a number of Linux implementations …

Member Avatar for pcm_man
0
748
Member Avatar for badx

Hi ive created this code for search and when i debug the applicaion it gives me an error with Variables, I dont understand a thing about variables, ive searched for a chapter on variables but i cant seem to find it on line, if any1 knows wer i can find …

Member Avatar for apegram
-1
157
Member Avatar for TobbeK

Can anyone provide a quick solution for INSERT the entire excel sheet into a access database. This is a click button event that just opens a excel sheet in a windows form. What I like to see is some example how to INSERT the same excel data into a access …

Member Avatar for TobbeK
0
288
Member Avatar for masocha

Hie guys does anyone know something about dotProject. l am trying to modify code in completed.php to display en extra column which is Project Name in a pdf file

Member Avatar for Wraithmanilian
0
182
Member Avatar for rajabca

The above code has been runtime Error display. Variable 'objReader' is used before it has been assigned a value. A null reference Exception could result at runtime. pls solve this error. Error Line for: objReader.Close()[code]Protected Sub Login(ByVal sender As Object, ByVal e As System.EventArgs) Dim intID As Integer = 0 …

Member Avatar for apegram
-1
118
Member Avatar for ashab27

hi, i m asha bhatt i have create check box list dynamically and i want to do the validation for that its checked or not this is my .aspx.cs code [code] using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using …

Member Avatar for kvprajapati
0
547
Member Avatar for canadafred

I have a quick question. I want to start a social networking site but haven't the foggiest clue how to do it. So I want something real easy, something my grandmother could figure out. Now, I know I'm going to need some kind of software for this and being the …

Member Avatar for canadafred
0
114
Member Avatar for khess

It's my pleasure to bring you the CTO of Devil Mountain Software, Craig Barth, in this exclusive interview, his first, after the much publicized outting of [URL="http://www.infoworld.com"]InfoWorld[/URL]'s Randall Kennedy. Barth, perhaps best known for his Windows performance expertise, is also a huge Linux fan. Here now, is my interview with …

Member Avatar for Quimber
0
711
Member Avatar for renyges

hi guys i have develope a database based system recently but its shows a error as in title do anyone can help me???? its realy urgent guys here is my code : [code] Imports System.Data Public Class Form2 Dim inc As Integer Dim maxrows As Integer Dim con As New …

Member Avatar for renyges
0
85
Member Avatar for badx

I NEED HELP WITH THIS BUTTON IVE ATTACHED THE FORM AND CODE ERROR. [code] public partial class Client : Form { public Client() { InitializeComponent(); } private void clientsBindingNavigatorSaveItem_Click(object sender, EventArgs e) { this.Validate(); this.clientsBindingSource.EndEdit(); this.clientsTableAdapter.Update(this.dataSet.clients); } private void Client_Load(object sender, EventArgs e) { // TODO: This line of code …

Member Avatar for Geekitygeek
0
151
Member Avatar for ashab27

Hi, I am Asha Bhatt. I am making simple form in asp.net and validation in java script. we this is my .aspx.cs code [code] using System.Data.SqlClient; public partial class InterviewSet : System.Web.UI.Page { string scon = "Data Source=RBWORKSTATION2\\SQLEXPRESS;Initial Catalog=onlineexamdb;Integrated Security=True;MultipleActiveResultSets=true"; //SqlDataAdapter da; SqlCommand cmd; // DataSet ds; SqlDataReader readsid; public …

Member Avatar for kvprajapati
0
145
Member Avatar for Liles13

[CODE]Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/content/l/i/l/liles13/html/main/libraries/joomla/database/database/mysql.php on line 344[/CODE] Im trying to get a new portfolio site up and running, and I'm very new to PHP. I've read various topics about queries and dropping tables, but I still can't resolve the issue. [CODE]<?php …

Member Avatar for JRM
0
260
Member Avatar for badx

hi can anyone help me with this code that ive created for a login form, im having trouble with the username and password, ive highlighted the part that's giving me a problem. Error Message: The name 'inputName' does not exist in the current context : The name 'inputPass' does not …

Member Avatar for SharpJohnnyG
0
144
Member Avatar for sandyben

i have a main java code called home.java which is an interface. when i press button BTNSTART , i want d progm WebCam.java to exxecute. but it's giving me an error saying : [B]ERROR[/B]: home.java:146: cannot find symbol symbol (constructor WebCam()) the code home.java : [CODE] import javax.swing.*; import java.awt.*; …

Member Avatar for sandyben
0
592
Member Avatar for abinpeter

[b]Split from - [url]http://www.daniweb.com/forums/thread94883.html[/url] [/b] hi i have the button click event [code] protected void Button1_Click(object sender, EventArgs e) { SqlConnection myConn = new SqlConnection(); myConn.ConnectionString = "Data Source=.\SQLEXPRESS;AttachDbFilename=D:\Postmyadd\App_Data\postmyad.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True"; myConn.Open(); string strqry = "Insert into advertisements values (" + TextBox1.Text +")"; SqlCommand myCom = new SqlCommand(strqry, myConn); …

Member Avatar for vinnijain
0
316
Member Avatar for bhagu

Hi, guys.. I am trying to find php script or open source script, for digital goods to sell on static website. My client wants to sell his music online. He wants very simple function for Store. When somebody make successful payment on paypal, the link should re-direct to a download …

Member Avatar for chrishea
0
250
Member Avatar for gedas

hey everyone, i just started working with java graphical user interface, i found some source codes from the web and trying to play around with them and i am just unable to understand it fully, the code is well commented and easy to understand it is a simple game called …

Member Avatar for gedas
0
331
Member Avatar for Cruize_Invades

my connection string goes like this... [CODE]Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=MyDB;Data Source=mysource[/CODE] I am using windows authentication, iis 7 and Classic ASP to to connect to SQL express 2008. Using UDL i can connect to my SQL. I can also connect to my SQLExpress when i am running my Database …

Member Avatar for rajendra.parmar
0
191
Member Avatar for rajarajan2017

Whether it's possible to connect any open source isometric engine to smartfox server?

Member Avatar for jwenting
0
57
Member Avatar for lrh9

I'm having a problem with 'os.path.getmtime'. I've been doing some research into generating '.pyc' files and I am able to retrieve the source modification time (in seconds) as recorded in the '.pyc' file. It is merely the second set of four bytes unpacked as a long integer. [code=Python] import random, …

Member Avatar for lrh9
0
2K
Member Avatar for jemz

hello please help me on this project form3 ..everytime i always add data it always already exist please help me to solve my problem..heres my code [code] Option Explicit Public con As ADODB.Connection Public cmd As ADODB.Command Public mch_rs As ADODB.Recordset, index As Integer, m_mchno As String Public sql As …

Member Avatar for kinwang2009
0
87
Member Avatar for kananpatel

hi doing i try to import data from sql server to text file bust i have some probleam like:--- 2/15/2010 12:00:00 AM ===================================================== POSITION GAMENO START ENDDAY AMOUNT TOTALSALE ===================================================== [code=text] #1 223 92 92 $1 $0 #1 121 92 92 $1 $0 #2 222 115 115 $1 $0 #2 …

Member Avatar for kvprajapati
0
134
Member Avatar for happygeek

[attach=right]13654[/attach]What's small and pink, incorporates a Linux kernel and an embedded ARM compatible processor, and let's you set up your own personal cloud? The answer is the latest [URL="http://www.pogoplug.com"]Pogoplug[/URL] device from Cloud Engines Inc. Combine this insanely easy to set up bit of kit with a free iPhone app and …

0
962
Member Avatar for priti kumari

please, check and give new source code[code]function getsubmit() { var lastname; var Firstn=t1.value; var cn=new ActiveXobject("ADODB.Connection"); var StrConn="provider Microsoft.Jet.OLEDB.4.0"; Data Source=d;//student_base.mdb; var SQL="select t1 from manisha where FirstName="'"Firstn+"'"); On.open(SQL,cn); surname.value=rs(0); DOB.value=rs(1); alter(rs(0)); rs.close(); cn.close(); } </script> </head>[/code]

Member Avatar for priti kumari
0
54
Member Avatar for akamini

Thanks to Daniweb I've almost finished my project just the last few bits to do e.g to prevent double bookings I've had a search around and found [url]http://www.daniweb.com/forums/thread129022.html[/url] which has helped me to make this [CODE] Private Sub Button2_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Dim con …

0
95
Member Avatar for virtualmisc
0
50
Member Avatar for mithun1538

Hello everyone, I'm having a problem when I try to display my applet online. I can view the applet on my desktop, with .htm file. However, when I upload the same file, along with the required .class files, I get the following error while viewing the applet online: java.lang.ClassFormatError: Extra …

0
52
Member Avatar for JAM1011

Hey all, I wondering if you could help me get my head around this problem. [CODE] connetionString = "Provider = Microsoft.ACE.OLEDB.12.0;Data Source = KellihersLawnmowers.accdb" cnn = New OleDbConnection(connetionString) cnn.Open() overDue = "SELECT tblCustomer.*, tblMachineHistory.*, tblPayments.* FROM (tblCustomer INNER JOIN tblMachineHistory ON tblCustomer.Customer_ID = tblMachineHistory.Customer_ID) INNER JOIN tblPayments ON tblMachineHistory.Machine_ID = …

Member Avatar for JAM1011
0
93
Member Avatar for khess

The [URL="http://www.linux.com/news/featured-blogs/158-jim-zemlin/286723-bringing-the-magic-to-linux-with-meego-"]announcement[/URL] from The [URL="http://www.linuxfoundation.org"]Linux Foundation[/URL]'s Jim Zemlin: [QUOTE]MeeGo combines Intel’s Moblin and Nokia’s Maemo projects at the Linux Foundation to create one open source uber-platform for the next generation of computing devices: tablets, pocketable computers, netbooks, automotive IVI and more. Why should you pay attention to this announcement? With …

0
424
Member Avatar for vijaysoft1

Hi friends , i have a plan to port a open source Linux application into Windows as part of my M. C. A Project. Can u tell me , is it possible to port Linux applications into windows , if yes then which Compiler or IDE i have to use …

Member Avatar for Ancient Dragon
0
89
Member Avatar for antihero0021

Trying to use an oledbdatareader to search through a table in my Access database. When I hit the command button to search it throws an error that says no data exists for row/column, but if I execute the command against the database it returns exactly what I am looking for. …

Member Avatar for antihero0021
0
482
Member Avatar for santhoshvkumar

Hi All, For more than two days I m trying this problem. Some one please help me out. My scenario is I want to directly insert data into my table from the input which I get it from text boxes. Here is my code... [code] con = new SqlConnection(); con.ConnectionString …

Member Avatar for asal80
0
109
Member Avatar for geoffy0404

is there any place i can find some Open Source cell phone code written in Java, where i can use a IDE and check it out and maybe even test it on my phone?

Member Avatar for geoffy0404
0
156
Member Avatar for abhay1234

ok i know connecting access. i want to learn database connectivity using sql server in vb.net. How do i create a table in sql server in vb.net visual studio i dont have sql server installed in my pc also performing database manipulation in windows application(i have been doing it in …

0
65
Member Avatar for akamini

Yet another date time related sql statement i need help with, oh how I loathe them. I need to find the records between now and a week ahead. I have this so far [CODE] Dim con As New OleDb.OleDbConnection Dim OleDBCon As System.Data.OleDb.OleDbConnection Dim ds As New DataSet Dim da …

Member Avatar for akamini
0
133
Member Avatar for Raged

Hey all I'm having loads of problems trying to update my database with a dataset, I have been looking around forums and posts and trying all sorts of work around's, as far as I can assume, I will need to manually create (insert, update) function querys (even though as far …

Member Avatar for Raged
0
195
Member Avatar for sifar786

Hi, I am trying to find a logic for reading sql query data and displaying it properly. i have 2 sql tables Modul & Relation (see attachments) which i am using to create a GDL file format (see Old and New GDL file attachments). I am trying to extract data …

1
75
Member Avatar for akamini

I was wondering whether anyone could tell em whats wrong with this code. Its trying to get the records where the theorydates (stored in a database as shorttime) are before 2 years ago and return the records in a datagrid but it doesnt. [CODE] Private Sub ExpiredTheoryTest_Load(ByVal sender As System.Object, …

Member Avatar for apegram
0
105
Member Avatar for bufospro

Hi, I am trying to install an open source erp but I don't know how. It is a greek erp called Putheus. [URL="http://www.snigel.gr/pytheus/wiki/PInstall"]http://www.snigel.gr/pytheus/wiki/PInstall[/URL] Could someone help me with some screenshots. Please PS : I am working with windows

0
68
Member Avatar for akamini

Hi This is my first time posting after daniweb has helped me alot but I couldn't find a solution for this so I thought hey why not ask. Basically I would like to have an sql statement which selects all the bookings from a table in microsoft access callled tblBookings …

Member Avatar for akamini
0
194
Member Avatar for sarvanhsr

[code] SqlConnection myConn = new SqlConnection(); myConn.ConnectionString = "Data Source=192.168.15.252;Initial Catalog=TestDB;User ID=sa;Password=Pdindia123;"; myConn.Open(); string strqry = "UPDATE Registration SET Password = ' " + Text2.Text + " ',PhoneNo = ' " + Text3.Text + " ', Email = '" + Text4.Text + "' WHERE (UserName = ' " + Text1.Text …

Member Avatar for kvprajapati
0
89
Member Avatar for strunful

Hi there my first post :), i've started a project that transforms a table from SQL to XML, works like a charm.Now i want to transform from a XML file to database: 1)search if there is a database created(i've done that using try catch) if not create a database XMLReader …

Member Avatar for strunful
0
183
Member Avatar for ksp_852005

below is my code....i m gettng "System.InvalidCastException: Specified cast is not valid." error in my code...m new on asp.net n sql...m trying to build login area....but unless n until i solve this error i can't move forward n as m new, m not gettng y m gettng dis error... can …

Member Avatar for padtes
0
253
Member Avatar for zeropulse

Hi guys, am currently stuck while trying to connect an Omron V720 series RFID equipment to read and write tags. I've have it in source code on VB6 but i want to create it in Java. I am using RXTX to connect to the RFID equipment and send the codes, …

0
53
Member Avatar for mikecole79

I recently wrote a small program to help people log into our office VPN without having to have IE open (at least not visible) so that we can do what we need to do when not at the office without having to have that on the Taskbar, too. Works great …

Member Avatar for mikecole79
1
151

The End.