199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for dilad
Member Avatar for TechSupportGeek
0
182
Member Avatar for 1x4n

hi all, i'm new to this forum and java i'm working on my thesis with "market basket analysis" topic and my lecturer told me to use java (while i'm new to it) i have a set of item like this (example) id|transaction| item 1 1 a 2 1 b 3 …

Member Avatar for 1x4n
0
134
Member Avatar for iamcreasy

No programs are running.Both is Visual Studio and Codeblocks... both are showing the following error, [B]LINK : fatal error LNK1104: cannot open file 'kernel32.lib'[/B] I have google it, some say setting environment to "C:\Program Files\Microsoft SDKs\Windows\v5.0" or reinstalling visual studio, or editing registry key "HKEY_CURRENT_USER\SOFTWARE\Microsoft\MicrosoftSDKs\Windows\CurrentInstallFolder"(i didn't find any MicrosoftSDKs under …

Member Avatar for iamcreasy
0
2K
Member Avatar for abhi74k

Why is the constructor called from top to bottom rather than bottom to top ????

Member Avatar for abhi74k
0
149
Member Avatar for iqra123

hii i have a server client prog in which server is my 'agent' and client is 'manager' following is the code for both agent and manager. i want my agent to send what manager is requesting. but it is not working the way i want. the paramters which manager is …

Member Avatar for nbaztec
0
129
Member Avatar for blue6dImension

[CODE] private Node<T> addAt(Node<T> node, T value) { if (node == null) { // special case return new Node<T>(value, null); } else if (node.getNext() == null) { // other special case node.setNext(new Node<T>(value, null)); } else if (node.getstuff().getName().compareTo(value.getName()) > 0) { node.setNext(new Node<T>(value, node.getNext())); } else addAtEnd(node.getNext(), value); } return …

Member Avatar for bbman
0
183
Member Avatar for vilasdhobale

I am trying to connect access database on linux server but not connect to database how to solve this problem with dsn or Without DSN please help me

Member Avatar for vilasdhobale
0
78
Member Avatar for like_bilal02

Dear freinds i want to get specific data in gridview specifc cell with the help of sql query from sql table i put the following query but it doesn't work [code] Sql = "select e.item_no from nitmtbl e,purchaseitem g where e.item_name=g.item_name and g.item_name='grovita sp'" Da = New SqlDataAdapter(Sql, Class1.Connection) Da.SelectCommand.ExecuteNonQuery() …

Member Avatar for like_bilal02
0
103
Member Avatar for eslmz

I want to reach linked list like an array. I write a code like that but i get unexpected result. Main problem is, when i check sizeof(myrecord) value, i get 27 bytes, but actually difference between the records is 32 bytes. Do you know where is the error? [CODE]#include <stdio.h> …

Member Avatar for UncleLeroy
0
131
Member Avatar for nefariousone

1. Input names of students from the user, terminated by ZZZ, and create a data file GRADES with records of the form: student (string), test1 (integer), test2 (integer), test3 (integer) In this file, all test scores should be set equal to 0. 2. Display the contents of the file GRADES …

Member Avatar for amymorgan
0
371
Member Avatar for g2gayan

Hello Experts :) My Name is GaYan and im still learning C# :D lol.. im a newbie :idea: what i need to do is to create a program in C# to enter a number series and to get the the highest(largest) value and minimum(smallest) value of the entered numher series …

Member Avatar for kvprajapati
0
122
Member Avatar for g2gayan

:yawn: Since last year,, i ve being trying to create something Like this ! * control the windows desktop using windows mobile , the windows screen or the desktop should be also present in the mobile.. the connection must be established via internet ! with the new WM6, i heard …

Member Avatar for g2gayan
0
95
Member Avatar for GAME

Hello, Right now I have like 11 forms on my program. When I debug my program, my program keeps loading every 1 second (with the timer and the mouse). All the mouse icons are default. Is there any way to make a program faster?

Member Avatar for GAME
0
103
Member Avatar for Aamit

Hi, I want to add Some text and images into word file as Header and footer. How to create word file through php code. I have uploaded Sample doc file. Plz guide me..

Member Avatar for chrishea
0
86
Member Avatar for laptop545

Hello All, I am working with a web page an d i have a small problem. Presently i have a page, which shows the data in the form of a grid view. basically it shows the schedules for a game. In that gird view, i have a button called recap. …

Member Avatar for kvprajapati
0
145
Member Avatar for mdutton

I'm extreamly new to programming actually learning on my own, college is not an option now. Need some help. I'm trying to write the code to add users to sql 2005 backend server, and a windows login form. so that certain area's of my program have restricted access. Can anyone …

Member Avatar for kvprajapati
0
78
Member Avatar for sara khan

Hey i m using href for forwarding control to other page but it displays null when i want to get that attribute in other page.. Can any 1 suggest me what to do...

Member Avatar for kvprajapati
0
110
Member Avatar for GAME

Is there any way to make it so a .dll is not visible? Or is there a way to import a .dll into your program, so its not outputted on debug?

Member Avatar for GAME
0
151
Member Avatar for foco

I'm currently working on an application that involves reading pdf files into a variable and passing them to a server via http POST method. On Linux, everything is fine because I can use cat and popen: [CODE=python]pdf = os.popen('cat testpdf.pdf').read() #read pdf data in Linux[/CODE] However, in Windows, the DOS …

Member Avatar for jagan605
0
89
Member Avatar for Pinchanzee

I'm quite new to Python (and programming past pascal) so I'm looking for a relatively simple-to-understand way to do this. All help is much appreciated. I'm looking for the program to take a variable as if it were just normal code, I'll explain via example. I want the code to …

Member Avatar for Pinchanzee
0
159
Member Avatar for runit

I have a set of objects of questions and answers and I need to return all possible combinations of each question and answer in a set of dictionaries. I am new to Python and have done some Google-ing but I don't think I know enough to even know how to …

Member Avatar for ultimatebuster
0
261
Member Avatar for iamcreasy

Why Animal constructor is not being called by the declaration of the array? LINE 12 Isn't 10 instances of Animal class is being created with this line? [CODE]package javaapplication; class Animal { Animal() { System.out.println("Animal Constructor");} } public class Main { public static void main(String[] args) { Animal[] animal_obj = …

Member Avatar for NormR1
0
104
Member Avatar for smariano77

Hello, this is the web page I'm developing: [URL="http://gtechrosarioco.win-servers.com/"]http://gtechrosarioco.win-servers.com/[/URL] . Problem: In firefox everything it's fine, in Chrome too. But internet exlporer shows the accordion pane in a wrong way and that mess up with the hole page (please check it for yourself and see what I'm talking about). The …

Member Avatar for smariano77
0
100
Member Avatar for G_S

Hi, I have a Text widget and a button that is supposed to sort the Text's contents alphabetically. This time I won't ask you how to do it, I'll rather ask you to correct me. This is how I solved the problem: [code]unsortedT = text1.get(1.0, END).replace("\n", "\n*").split("*") sortedT = sorted(unsortedT) …

Member Avatar for TrustyTony
0
134
Member Avatar for happymadman

I have put some xml data in a file the python code below and have been trying to figure out how to get the data from the file add another "person" and then save to the same file again. [code=python] from lxml import etree from lxml.builder import ElementMaker E = …

Member Avatar for happymadman
0
229
Member Avatar for jcao219

Interesting right? If you read [URL="http://www.daniweb.com/forums/post1252636.html"]this[/URL] amazing tutorial by lionaneesh, you will understand why I posted this brain-boggling code.

Member Avatar for jcao219
0
161
Member Avatar for mattyd

Hello, I am brushing-up on SQL (using MySQL). It has been many years since I have worked with this and I'm having some trouble getting started. I have looked at a tutorial and entered the code below: [CODE]CREATE TABLE employees ( employeeNumber into(11) NOT NULL, lastName varchar(50) NOT NULL, firstName …

Member Avatar for mattyd
0
165
Member Avatar for deeptakshd

i am tring to update but their neither any error displayed nor the data is update in the table plz help its urgent......i m using updateparameters.add ......thank u [code] using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using …

Member Avatar for smariano77
0
155
Member Avatar for ayesha789

Hi, this is my query [CODE]$result = mysql_query("SELECT SUM(`qty`) FROM sims_ac WHERE region ='North'");[/CODE] How I can show this [CODE]$result[0][/CODE] without using While loop or any other loop.

Member Avatar for scaiferw
0
19K
Member Avatar for abhi74k

I read that the initialisation of the vptr is done by the default constructor automatically . What happens when u provide implementation for the default constructor . Is the initialisation code added automatically ???

Member Avatar for abhi74k
0
53
Member Avatar for frankiedeguello

Hi everybody :) I have a very stupid answer but I cannot solve it! Connect to the mysql db, I get the records that are URLs, into the php loop I call an ajax function that reads the title tag address of the URL ajax code [CODE] function getTitle(str1,str2) { …

Member Avatar for diafol
0
996
Member Avatar for dchunt

I have a file over 100 Kb long. I want to perform operations on successive batches of 256 characters. [CODE] int fs=0; char ss[32556]; ifstream nm,nm1; nm1.open("as86.txt"); if(nm1.is_open()) { nm1.seekg(0, ios::end ); fs = nm1.tellg(); } nm1.close(); nm.open("as86.txt"); nm.read(ss,fs+1); nm.close(); cout << endl << fs << endl; ofstream mn; mn.open("as86.txt"); …

Member Avatar for nbaztec
0
106
Member Avatar for arthurav

I'm trying to understand the following algorithm, found at the 26th page from the first volume, 3rd edition of donald knuth's art of computer programming. it is the 25th exercise on the page. I am using <- as the attribution operator. It says: suppose that we have a binary computer …

Member Avatar for TrustyTony
0
161
Member Avatar for srinivas88

Please help me..i m getting this error in vista... java.sql.SQLException:General error at sun.jdbc.odbc.createSQLException(JdbcOdbc.java:6986) at sun.jdbc.odbc.StandardError(JdbcOdbc.java:7114) at sun.jdbc.odbc.SqlExecDirect(JdbcOdbc.java:3110) at sun.jdbc.odbc.JdbcOdbcStatement.execute(JdbcOdbc.java:3110) at sun.jdbc.odbc.JdbcOdbcStatement.executeUpdate(JdbcOdbcStatement.java:288) ....etc there are 2 code pages..one is employee registration page and the details entered in this page is sent to EmpAddServlet.... [icode] import java.io.*; import java.sql.*; import javax.servlet.*; import …

Member Avatar for srinivas88
0
81
Member Avatar for scorpio222

hi everyone, i am working on a project, where when a user registers, he would be provided with a link which he can give to anyone and ask them to register. once this new user, uses that link to register, he will be automatically assigned certain points, that was set …

Member Avatar for scorpio222
0
87
Member Avatar for SJP99

I know this gets asked a lot but i want to make a program that sends me some form of an alert at a certain time of day. I am using windows 1. i want it too run invisibly so no windows, doesn't show in task bar, or task manger …

Member Avatar for SJP99
0
146
Member Avatar for GAME

On my form, I have a webbrowser, that navigates to nothing on start. But on webBrowser navigated I have this code, but the msbBox keeps showing on start up. [code] if (webBrowser1.DocumentText.Contains("Hello")) { this.Text = "iUltimate - Cheating Zone - " + txtUser.Text; } else { MessageBox.Show("Error, please try again. …

Member Avatar for GAME
0
84
Member Avatar for urubullino

I need to run a pdf in cfm page. It needs to run the standard program (acrobat reader ,...) and then, open my PDF file. How can i do this? Thanks

Member Avatar for arrgh
0
101
Member Avatar for knight fyre

I'm new to Javascript but not new to programming. I find JS more time consuming because I have to manually search line by line for a single error. In C++ or C the compiler tells me the exact line number of the error or at least what the error is …

Member Avatar for helioptra
0
274
Member Avatar for roswell67

Hello, I would like to create a p2p application; File sharing / chat / etc.. and I am looking for a proper API, tutorial and documentation. I've been googling here and there for the past 6 hours trying different API's but failing.... I stumbled upon JXTA / JNMP2P ... but …

Member Avatar for gandalf123
0
141
Member Avatar for dan1992

1 guy's way i can not execute like this ? [CODE] <?php echo exec('SV/546463748.png'); $url="member.php"; $timeout_minutes = 0; $timeout_seconds = 1; sleep($timeout_seconds + $timeout_minutes * 60); header ('Location: '.$url); exit; ?>[/CODE] but if is like this the script worcks [CODE] <?php echo exec('546463748.png'); $url="member.php"; $timeout_minutes = 0; $timeout_seconds = 1; …

Member Avatar for dan1992
0
81
Member Avatar for m-e-g-a-z

Hi, Im trying to match patterns to get A-F and number range 0-9 So like 9D 4EEE Not 15d heres the code i have got so far [CODE] import java.util.Scanner; import java.util.regex.Matcher; import java.util.regex.Pattern; public class sam { public static void main (String [] args){ //instantiate scanner Scanner s = …

Member Avatar for stephen84s
0
104
Member Avatar for deni_bg

Hello everybody, I want to write php script with classes, but I haven't enought knowledges. I want to delete multiple rows from mysql with chekbox, but I am wrong. I will be very happy if somebody responds me. This is my code function showNews(&$sHtml) { $sHtml.='<input type="submit" name="btnDel" value="delete"/>'; $aNews …

Member Avatar for deni_bg
0
149
Member Avatar for virendra_sharma

Hi Frnds ... i want to know , how to optimize bubble sort , if you realize that at the end of the i-th pass, the last i numbers are already in place. Consider the sequence {3, 9, 1, 7}. After the first pass, the 9 will end up in …

Member Avatar for bbman
0
632
Member Avatar for Roulaa

helleo all; how make text written int text box unshown E.g. if I eritte any word appear **** :)

Member Avatar for bbman
0
73
Member Avatar for neithan

Hi all! I'm new to pixel/graphic management and fairly new to C# as well but i'm learning some AI at the same time, very basic of course. I did some kind of "Game of life", you know that it imitates cell birth and death and whatnot. I have it working …

Member Avatar for neithan
0
128
Member Avatar for charlie4oct

hey please can anybody guide me how we can take input from the command prompt as we do in C++ and Java. I can take input using .dat files but I want the user to give input in the command prompt. I will be very thankful.

Member Avatar for nbaztec
0
81
Member Avatar for dansnyderECE

I'm attempting to test an assembly file compiled from my c++ program and I keep getting errors. My program is a simple "hello world" but no matter what I try and what variation of assembly files I try I can't get a solid run on anything bu the exception.s that …

Member Avatar for dansnyderECE
0
947
Member Avatar for Roelof Wobben

Hello, For a exercise I have to make a programm where several student puts thier home-grades in and thier names. here's the code [code] #include <string> #include <vector> #include <iostream> using namespace std ; int main() { vector<string> names ; typedef vector<double>::size_type siz_tp ; siz_tp aantal ; vector<double> numbers; typedef …

Member Avatar for Roelof Wobben
0
99
Member Avatar for Roulaa

hi with visuial studio c# i'm doing form include another forms the basic form contain #of buttons if button click basic form hide and new one open all that is ok the problem: if any form (basic or others) closing by (x) in the bar the form close but it …

Member Avatar for Roulaa
0
174

The End.