199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for 4evrmrepylrning

Hi I have a file with duplicate records they look something like this: [ICODE]<record> <dateadd>012012</dateadd> <nid>R04607295</nid> <reflink></reflink> <FPI>YES</FPI><TPG>NO</TPG><FT>YES</FT> <num>631</num> <author>Anon</author> <title>ON THE WED</title> </record> <record> <dateadd>012012</dateadd> <idref>R04607297</idref> <reflink></reflink> <type>Article</type> <FPI>YES</FPI><TPG>NO</TPG><FT>YES</FT> <num>651</num> <author>Bent, E</author> <title>ENTRANCES AND EXITS</title> </record> <record> <dateadd>012012</dateadd> <nid>R04607295</nid> <reflink></reflink> <FPI>YES</FPI><TPG>NO</TPG><FT>YES</FT> <num>631</num> <author>Anon</author> <title>ON THE WED</title> </record> <record> <dateadd>012012</dateadd> …

Member Avatar for JeoSaurus
0
169
Member Avatar for M.Waqas Aslam

hello! i have shifted my application from mssql server 2000 to mssql server 2005 , now the prob is the command object is not returning the recordset if command text is stored procedure , here is my code please check it and guide me through errors . [ICODE] dim cmdsp …

Member Avatar for BitBlt
0
235
Member Avatar for DNA_Monk

Hi all... I have been trying to read a huge file of size around 7 GB. It looks like impossible task now.. The file looks like this: [ICODE] CITY0_084989053<tab>hdewhiuewf CITY1_000989090<tab>AACGTACGT CITY1_000989090<tab>GTACGATAH CITY2_643274032<tab>kdijadadsail CITY3_004498906<tab>Adjbsajdada CITY3_004498906<tab>Adjbsajdada ...... [/ICODE] I expect an output like below with only duplicate left side records. [ICODE] CITY1_000989090#1<tab>AACGTACGT …

Member Avatar for histrungalot
0
157
Member Avatar for FraidaL

Is it possible to loop an if-else statement? How would such a thing be coded. Basically, this code allows the user to enter a value for a month. If it's not from 0-12 it asks the user to enter a new value. How could I get that to go through …

Member Avatar for Tygawr
0
395
Member Avatar for jd2369

[CODE]<input type="button" onclick="javascript:fnnSaveChanges()" onblur="lsTest=0" onfocus="lsTest=1" value="OK"> <input type="button" onclick="window.close()" onblur="lsTest=0" onfocus="lsTest=2" value="Cancel"> </td> <td class="clsTableElement" align="right" nowrap=""> Selecting 'Save' in the Main Window is required to Save the new settings. </td>[/CODE] i've tried [CODE]WebBrowser1.Document.All.GetElementsByName("OK")(0).InvokeMember("click")[/CODE] but i get value of 0 is not valid for index. index should bebetween 0 and …

Member Avatar for thines01
0
193
Member Avatar for resell4

I bet most of you in here have seen the old movie "Wargames" Im wondering how would you go about programming an AI like WOPR that learns from itself? Lets take an example in chess *Which he loved* He would make simulations of a chess game, if he lost he …

Member Avatar for mike_2000_17
0
194
Member Avatar for vizz

How to create watermark using jquery and css? I want to print text on image using javascript in diagonal direction.

Member Avatar for stbuchok
0
148
Member Avatar for Danny159

Hey guys, I need some help with preg_replace() I have something like this.... {$gallery_20} And I want to use preg_replace to replace it with nothing.... however gallery_20 can be anything... but im not sure on the patten... Can anyone help please? I don't understand how to change all this.... $patterns …

Member Avatar for pritaeas
0
105
Member Avatar for infinitus

Hello there Quick insight of what im trying to achieve here is. User adds data to a database called property in (addproperty.php) Then user can search for specific data in that property database Here is the code addproperty.php [CODE]<?php $dbhandle = sqlite_popen("property", 0666, $err_msg); if(!$dbhandle) die("Could not open the database"); …

Member Avatar for infinitus
0
274
Member Avatar for CalNChibi784

Hello everyone. I'm a new member here but have an issue that I've searched and searched for and just cannot figure out how to resolve. Based off of the issues that I was able to correct, Daniweb seemed like the best place to ask. I'm making my first attempt to …

Member Avatar for CalNChibi784
0
254
Member Avatar for eranre

I was wondering if anyone can assist me with a problem that I have with C Bluetooth programming (Linux Bluez). I am using Ubuntu 10.04, BlueZ 4.60. My goal is to have a L2CAP socket in which there will be minimal delay for sending data between 2 computers. So far …

0
180
Member Avatar for reds8

Using format NOW will just show the current time but the time will not run. Is it possible to make it to make the time keep running??

Member Avatar for Gé48
0
153
Member Avatar for titosd

Hello, how to create mysql database and grant privileges via php code I need to created a new database with new user and to set privileges for this user within my php script, how can i do this? Regards, TitoSd

Member Avatar for Biiim
0
1K
Member Avatar for GuruGhulab

Hello there, okie, my problem today is i i have all this names, [CODE]John, Dave, Steve, Kevin,Andrew,Scott,Colin,Timothy,Zenon [/CODE] and i have to sort them using insertion sort, i can sort number using insertion sort with no probs, but when it comes to strings, and stuff, i get lots of problems. …

Member Avatar for sameershah21
0
3K
Member Avatar for mags11

I am trying to figure out this one out. The directions: Write a class named car in the following fields: [LIST=1] [*]yearModel - The yearModel field is an int that holds the car's yea model. [*]make - The make field references a String object that holds the make of the …

Member Avatar for stultuske
0
12K
Member Avatar for cpchc

I am a web developer who has just had PHP thrust upon me. I have created a login-protected site and have put a timeout script on each page which redirects the user back to the login page if they have left the site idle for a certain period of time. …

Member Avatar for cpchc
0
519
Member Avatar for pendo826

My methods dont seem to be working for example void Resize doeznt do anything. AM i using it in the wrong way oris the method faulty. [CODE]//Header file for Array.cpp. #ifndef ARRAY_H #define ARRAY_H template<class Datatype> class Array { private: //Template for use with the Array's data type. //Member Variables. …

Member Avatar for pendo826
0
470
Member Avatar for MrHardRock

Hey guys, I have the assignment of writing the Towers of Hanoi program then testing it. I already got help measuring the time of the program, but that is not what my professor wanted he wanted to count the iterations. I can't get it down, my program will run but …

Member Avatar for MrHardRock
0
2K
Member Avatar for summey

Below i have my Main class and a MortgageCalculation class I am trying to modify my app to do the following: "Modify the mortgage program to display 3 mortgage loans: 7 year at 4.35%, 15 year at 4.5 %, and 30 year at 4.75%. Use an array for the different …

Member Avatar for NormR1
0
214
Member Avatar for Majestics

I am using jasper report (ireport for designing). I want help regarding to set [B]relative path[/B] of the [B]images and jar[/B] files for report... As the jasper report pick up the [B]absolute path[/B] so it create problem when the drive is changed or even pc is changed... Kindly please help …

0
84
Member Avatar for getack

Hello All! I am making a simple four-in-a-row style game where 2 players can play against eachother. This is part of an AI course I'm taking where we should demonstrate the machine (the AI) playing against the player. The game part of the game and the gui are completely separated. …

Member Avatar for rfq
0
3K
Member Avatar for oldSoftDev

Hey guys, I am setting my viewmodel as datacontext in my xaml but I override it to my view to make few functions work however to achieve the visibility on some grids and I have a property in my VM can I override my datacontext back to my VM? If …

Member Avatar for pfaux12
0
188
Member Avatar for ishtine18

[B]i'm having a problem in retrieving .wav file in ms access in my code in c# it says that the wave header is corrupt! can someone help me with this? thanks :)[/B] [code]cmd = new OleDbCommand("Select SOUND from SOUND where TITLE like" + "'" + textBox1.Text + "'", conn); dr …

Member Avatar for aniperiye
0
1K
Member Avatar for showman13

Good Afternoon, I have a bit of a dilema, maybe 2 or 3... I have a members table in MySql, that includes a field called join_date which is designated as DATE type field I have 7 position tables named position_1 thru position_7 These each have a field called create_date which …

Member Avatar for showman13
0
279
Member Avatar for seemeamal

Dear all, Am half way through my computer lab management project. to generate the timetable automatically i've written an algorithm. and for it to work i need an sql query that can : table-> ttprofile: id lab_name subject_name. now i looked every where, is there a command to take the …

Member Avatar for seemeamal
0
108
Member Avatar for riahc3

Hello I feel stupid for actually asking this but how do I ping a IP address in Java? I have this code [code] try { // Google.com if (InetAddress.getByAddress("173.194.35.133".getBytes()).isReachable(1000)==true) { //Boolean variable named network network=true; //Ping works } else { network=false; //Ping doesnt work } } catch (UnknownHostException e3) { …

Member Avatar for riahc3
0
984
Member Avatar for Que336

Hi guys, please help me out with this. I'm seriously considering suicide. I have three buttons that load numbers into divs. The problem I'm having is that the buttons only seem to work once. Any idea as to why this is happening? You help will go a long way. [CODE] …

Member Avatar for Que336
0
4K
Member Avatar for shubham123

**hi ... i am new in java swing. i am using netbeans. i've two frame named jFrame1 & jFrame2. jFrame2 contains a jTable. jFrame1 contains a jTextField & a jButton. while user input a value in jTextField and press JButton, jFrame2 will appear and output (from mySQL database) will be …

Member Avatar for mKorbel
0
142
Member Avatar for noobies

Hye all, I had a difficulty in codes a ball collision in java. Is there anyone could help me to code it. Here the requirement: 1) There will be two balls in the same size. 2) They move randomly at constant speed until they meet each other. 3) Once collided, …

Member Avatar for NormR1
0
196
Member Avatar for M09

Hello I have an experience in programming previously, and now i want learn C . how can i learn it, i means where i can learn it . in fact i am looking about sources to learn like books,web sites, and vedios. and i hope you Heuristic to the good …

Member Avatar for M09
0
267
Member Avatar for Exelio

hi all. Is it possible to display an image in all buttons in a datagridview(Windows Forms) button column? if yes, can you help me how to do it? Thank you, Regards Exelio

Member Avatar for sachinmuley
0
347
Member Avatar for shilpanayar

how to transfer all items of a list box to another list box in vb? i want coding of dat.../ plz help...

Member Avatar for Jx_Man
0
126
Member Avatar for jdgieschen

I've got a form which searches my database dynamically using ajax every time someone makes a change to it. Problem is, it doesn't perform when I change the slider... only when I change like a checkbox or something. Should be pretty simple to solve, but I'm just not seeing it. …

Member Avatar for jdgieschen
0
255
Member Avatar for poolet25

Well I have build a program until now with an MySql database. The programs add records for the customers and the products of the company(Its works perfect).. I am trying to build now the Orders the last part of my project but I have a little problem.. First of all …

Member Avatar for poolet25
0
179
Member Avatar for cigoL..:)

Hello There, Please Help, I have a form that generates data from database. i have to select value from a combobox so that i can see the value. but i wanted that data from database to be the value of the radio button. is that possible?I haven't started yet? can …

Member Avatar for cigoL..:)
0
2K
Member Avatar for Shardendu

I was told to make a stopwatch program..but i am unable to figure out how to take come out of loop and pause it and again go back into the loop if resumed ( i tried the pause button on the keyboard and it works) but i have to take …

Member Avatar for NoctiS17
0
305
Member Avatar for Albert Pinto

Hi All.... Actually I wanted to send mail through mail function in php... The mail is sent successfully and I'm receiving it in the inbox... Problem is I want the mail content in HTML format not plain text. I've tried this code, but it doesn't seem to work... [CODE] <?php …

Member Avatar for Albert Pinto
0
198
Member Avatar for ganesh641
Member Avatar for Ritesh_4

hello, am currently working on a code written by an ex-colleague, which was in asp and now converted to php. I want to add the value held by a dynamic text box to the mail () function of my code: [CODE]"Email: " . $_POST['Email'] . "\n\n"[/CODE] [CODE]mail("email1@email.com, email2@email.com", $subject, $message, …

Member Avatar for Ritesh_4
0
1K
Member Avatar for YiJun

Hi! I'm a newbie at java and I need help with an inventory program for a school project. I planned the inventory program for the user to keep track of their inventory in MMORPGs. I want the user to be able to add, delete, update, sort the items, also be …

Member Avatar for YiJun
0
2K
Member Avatar for DanOath

I am supposed to write a method to display a pattern as follows: ________1 _______21 ______321 _____4321 ____54321 ___654321 __7654321 _87654321 987654321 (underscores are simply placeholders to show alignment on my post they are not actually part of the printout) My program works and prints the aforementioned code correctly, however …

Member Avatar for zeroliken
0
401
Member Avatar for triumphost

It reads in the whole file.. thing is, it crashes right after it hits the last line in the file.. the file is 115 lines long.. it prints all 115 lines but for some odd reason, it crashes right after :S If I remove the blank line at the end …

Member Avatar for triumphost
0
250
Member Avatar for talhatanveer

I am getting errors on installing Visual Studio 2008 on Windows 7 machine. On digging down deeper I found that "Microsoft Visual Studio Web Authoring Component" is not getting installed which is a pre-req for VS 2008. I further drilled down and searched different forums over the internet, they mostly …

Member Avatar for talhatanveer
0
939
Member Avatar for zifr

how can i write a program, which accepts the starting address (in BX) of a text (terminated by a “%”) stored in data segment and replace all lower-case letters by their upper-case counterparts. Non-alphetic characters will remain as is.(8086)

Member Avatar for spixy
0
6K
Member Avatar for guy40az

I need to define a two dimensional array and assign values. I was wondering if there is an easier way in vb.net to do this other then how I have it below. some of my other arrays have over 700 elements in them. Dim L1(8, 2) As Double L1(0, 0) …

Member Avatar for vasim jada
0
175
Member Avatar for gopi17

Hey, i'm trying to connect to databases together in a single php, i follow a guide i searched in google, but there is something wrong with it...no error, juz a blank page... [CODE] <?php //This file is to check for the invoice number whether it exists or the field is …

Member Avatar for gopi17
0
87
Member Avatar for bubbleT

Hi I'm new to XML file. I have the following format XML file and I only need to read the value for data name = "A2" in VC++. How to read the value using the XML DOM methods without looping all the nodes? My xml file is as follows: [QUOTE] …

Member Avatar for bubbleT
0
809
Member Avatar for gopi17

heyy, as the title says, i need help regarding this issue... okay, the thing is i have two databases with the same number of fields. i need a function that runs over time, checking and maintaining the data inside both database A takes data from my company server, database B …

Member Avatar for gopi17
0
103
Member Avatar for RickCJ7

I'm a newbie in PHP. I'm trying to figure out a way to pass a second paramter in a URL by clicking a link instead of a submit button. For example, my page has a link that reads: <td><a href="agencydetails.php?id=1">Adams County</a></td> - the id=1 is the first parameter, I need …

Member Avatar for RickCJ7
0
2K
Member Avatar for spowel4

I need to create a service that will call a batch file. Here's the catch though - once the service calls the batch file, the command window that the batch file runs in must be visible on the desktop, it cannot run hidden. So far nothing I've tried results in …

Member Avatar for viljoed
0
241

The End.