199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for wasyazwan

I have attached that file. The sample of data are as below: PUBLT 167_89 656 PB -38321.478 6807.984 657 PB DAUD 200005041 278.271074.5150 69.4035 08370074.1830 69.2755 083800254.1925290.4620083900254.5615291.010008400008390098.2710 74.3630 20.3943 278.27100.0211 15.5954 74.3726 278.2748 PUBLT 167_89 656 PB -38321.478 6807.984 657 PB DAUD 200005042 278.271074.4940 68.1425 08430074.1610 68.0010 084400254.1720292.1650084500254.5400292.315508460008450098.2710 74.3418 22.0833 …

Member Avatar for wasyazwan
0
586
Member Avatar for P00dle

I'm reading a whole xml file in as a string. Some of the Node values are directories, e.g. "C:\" When I print out the string, to make sure that the file has been read in correctly, I see that it has completely ignored the Nodes that have directories in them. …

Member Avatar for P00dle
0
88
Member Avatar for SonxQ7

Hi, i get [CODE]undefined reference to 'boost::gregorian::greg_month::get_month_map_ptr() '[/CODE] on the following code using Eclipse CDT and MinGW .. [CODE] #include "boost/date_time/gregorian/gregorian.hpp" #include <iostream> int main() { using namespace boost::gregorian; std::string s; std::cout << "Enter birth day YYYY-MM-DD (eg: 2002-02-01): "; std::cin >> s; try { date birthday(from_simple_string(s)); date today = …

Member Avatar for vijayan121
0
520
Member Avatar for cwarn23

Hi and I have a database with over 32 million entries and whenever I try the below mysql query or simular it crashes the sql server unless I use phpmyadmin. I have 4 columns all indexed and all are the char() type with a fixed length. Below is an example …

Member Avatar for cwarn23
0
1K
Member Avatar for love_dude1984

hi.. im trying to put my data on a server & work on the same from other machine..im using win2003 as OS of my server & on the other machine's XP is the OS. my problem is, when i try to run my C# applications from the other machines, it …

0
81
Member Avatar for heroes8453

this is my code. I have no clue what could be wrong with it. The error that keeps coming up is: class, interface, or enum expected. The five errors it pointed out are the 'v' in public void actionPerformed at the bottom of the code, the 'g' in the green …

Member Avatar for gunjannigam
0
93
Member Avatar for dolu

Hi all.. I have written one php code to kill a process on my shell. for this i have used shell_exec function. the code is: start.php [code] <?php echo "into php"; shell_exec ('killall -9 sshd-sim'); //sshd-sim is the process to be killed echo "out of php"; ?> [/code] the problem …

Member Avatar for dolu
0
2K
Member Avatar for zhouxuzhu1985

Hi, I've got a problem when I was using LoadLibrary function to load a library "MSVCR90.dll". It is a dll with manifest, but I don't know how to load this kind of library. Should I load the manifest first and how? Any suggestions will be OK. Thanks.

Member Avatar for zhouxuzhu1985
0
117
Member Avatar for bilaman

hello..im trying to do a student registration system i used access as a database the system must have a search button to search student name then whenever i click the student name it will automatically fill the name in a ready made .doc form any one can help me?? im …

Member Avatar for bilaman
0
66
Member Avatar for Manxie

Hello, I'm new to using C++ and am using dev-c++ as a compiler only I'm having a problem as the code I've written doesn't stay open after the user has stated the name, here's the code. [CODE] //Game 3,0 //Using constants and strings. #include <iostream> #include <string> using std::cout; using …

Member Avatar for jonsca
0
95
Member Avatar for athlon32

I just learned about linked lists, so i decided to experiment a little. I'm trying to make a linked list that automatically keeps all of the data in consecutive order (like bubble sort built in :P). Anyways, the problem is that while it adds data, the second thing added disappears, …

Member Avatar for Ancient Dragon
0
90
Member Avatar for kiroyzki

Hi, i'm having problem on the computation of working hours, regular pay, overtime and gross income... on a time-in and time-out of an employee for a week including holidays and overtime... please help on making it work. e.g. of employee.txt Name: kiroyzki Code: A02-004 Level: 1 Salary/Day: 500/day ############################################ [code] …

Member Avatar for vmanes
0
175
Member Avatar for fansa

I need some help... i am the beginner vb.net developer, so i need someone correct my coading to insert data from text field into database mssql... below is my coading; Protected Sub btnSimpan_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSimpan.Click Dim dtTemp As New DataSet Dim ddClass As …

Member Avatar for fansa
0
105
Member Avatar for TommyTran

Hi everyone! I have an assign ment that says: create an application to let the user enter his or her name (first and last name), then displays the Initial in Upper Case. FOr example: you enter "John Wow", then the Label will display "JW". I know that I'm supposed to …

Member Avatar for ChrisPadgham
0
101
Member Avatar for drjay1627

Hello, My friend and I are trying to program a basic 3D modeler. Nothing fancy just a very basic program. I was wondering if anyone here could help me with reading material. We need to figure out the math and that is what I can doing now. Any good books …

Member Avatar for BountyX
0
82
Member Avatar for CJesusSaves

Hello all, I am Lisa and fairly new to C++/MFC. For a class project, we are to develop any software of our choice and add as much functionality as possible. I have chosen to build a program similar to MS Paint since MFC has functions that makes building shapes very …

Member Avatar for CJesusSaves
0
157
Member Avatar for networkmancer

How to kill a process? I tried this and gives me an error [code] Dim RunningProcess As System.Diagnostics.Process = Process.GetProcessesByName("explorer.exe")(0) RunningProcess.Kill() [/code] and also Any code for enabling Task Manager, Regedit and Folder Option in VB 8?

Member Avatar for Chrono841
0
210
Member Avatar for Bloodhand

Hello everyone, I'm still pretty new to javascript and require a little help. Basically, I wrote my first script, which was designed for innerHTML, and tann I found a website which showed me a few things. It showed me how to use two links per harder, one shown, one hidden, …

Member Avatar for Bloodhand
0
162
Member Avatar for freshfitz

I am tring to import a database from another server that is 10gb in size the database came to me as 10 files xaa xab xac xad etc. I ran a command to dump the 10 files to 1 10gb file mydatabase.sql When I first tried to import via command …

Member Avatar for freshfitz
0
435
Member Avatar for bdrkb

How can i find the difference between two date like '01/01/2008' and '01/01/2010' my date format is "mm/dd/yyyy"

Member Avatar for SCBWV
0
98
Member Avatar for rwill357

This is what I have so far. This program should contain a recursive function that will compute the binomial coefficient according to the definition if k=0 or k=n [CODE]#include <iostream> #include <algorithm> using namespace std ; int C(int n,int k) { if (k < 0 || k > n ) …

Member Avatar for rwill357
0
193
Member Avatar for ContactaCall

how would this be done [CODE]int main(void) { char string[]="231 number 73 word 1 2"; char *ele; ele=strtok(string," "); while (ele != NULL) { if (*ele == '0' || *ele == '1' || *ele == '2' || *ele == '3' || *ele == '4' || *ele == '5' || *ele …

Member Avatar for ContactaCall
0
250
Member Avatar for 68thorby68

I am try to put the finishing touches to a mail function, and would like to show an alert to tell the user the form has been submitted correctly. I would then like to redirect them to another page in the site. The alert works OK on its own, but …

Member Avatar for 68thorby68
0
163
Member Avatar for RicardoE

Hello, folks at Dani Web I'm a new to Dani Web and I hope to be helpful to a lot of people, but first I want to ask something. You see I have a huge problem, it begins with a desktop app I'm currently coding written in C# for a …

Member Avatar for RicardoE
0
101
Member Avatar for yssirhc

I'm trying to paste some text into a memo field and am getting the message "The text is too long to be edited". The text is 64K, which I believe is the max. I even did a character count on it that came to 64,360 and the limit I learned …

Member Avatar for ChrisPadgham
0
806
Member Avatar for rouse

In the following code I just want to disable the textbox if “other Amount is selected”, radio element 7. I have been working at this too long cause I can’t see the problem. Can someone point out what I am doing incorrectly [Code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" …

Member Avatar for rouse
0
180
Member Avatar for ContactaCall

So I'm using Mysql to make a text-to-speech engine. Basically any given phrase by the database is returned to my script, which has to say every word and number, if any, by way of voice . For the voices I'm using Asterisk, but that's another problem of my own lol …

Member Avatar for Dave Sinkula
0
418
Member Avatar for johndoe444

hi, 1) what q signify and how can it be of any use? int* p = 0; int* &q = *p; 2) what does it do? int main() { return main; } It compiles with gcc (not g++) and running the executable does not do anything without error. Thanks.

Member Avatar for gerard4143
0
96
Member Avatar for rayarman

Hi, I have a problem with IE7 (Works fine in FireFox!). I'm sending a Jquery AJAX POST request to get option values from a PHP script. The php script returns a bunch of the following: [code]<option value='x'>xxx</option>[/code] Ajax also sends a value to the PHP script, so if that value …

Member Avatar for rayarman
0
82
Member Avatar for Alicito

hello my friends ... in C# Forms ( application form) my question is about the (DateTimePicker) is there any way to calculate the days between two different times which were entered by the tool DateTimePicker by an existing method or something else ... thank you in advance

Member Avatar for jonsca
0
133
Member Avatar for Waddiwassi

Hi, I'm in my second year of computer science and we're currently learning about design patterns. As part of this we have been given an assignment to include the Abstract Factory design. I'm having trouble understanding exactly how it fits together so I was wondering if someone could explain, in …

Member Avatar for Waddiwassi
0
173
Member Avatar for Elemen7s

Hi, ive just started C# and have a little problem. The below code is the program. [CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Diagnostics; namespace killer { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private …

Member Avatar for Elemen7s
0
97
Member Avatar for Phen0

Hello all, I am new to VB and need to make a program that does the following: Write a VB.Net program that allows users to enter a series of numbers (separated by a comma) in a text box called series. When the users clicks the command button called Average, the …

Member Avatar for Phen0
0
250
Member Avatar for Fbody

I just started an advanced C++ course and my instructor sent around a file with this piece of code: [code]class smallobj // specify a class { public: smallobj() : iData(0){} // Constructor smallobj(int iInValue) : iData(iInValue) {} // Overloaded Constructor ~smallobj() {} // Destructor void setdata(int d) // member function …

Member Avatar for Fbody
0
1K
Member Avatar for clutchkiller

Hi, is there a quick way to format a float variable that is 0.775 to display it as 77.5? Thanks To better clarify, im doing a simple little tasks of variable = variable / variable to find the percentage of something.

Member Avatar for Fbody
0
79
Member Avatar for ppetree

Hi All! I found a simple star-rating system based on mootools, dhtml and css. It seems to work fine with one exception that I just can't seem to figure out. You set it up as in the following:[code] <td class='td_stars'> <ul id="price" class="rating onestar"> <li id="1" class="rate one"><a href="#" title="1 …

Member Avatar for ppetree
0
143
Member Avatar for warrior_2010

hi , iam new asm and i heave problem exercise the exercise: 1-Make a data file named "file.txt" with 10 integers, each on a separate line and each between 0 and 160. 2. Write an assembly program which does the following: a. looks for the above file in your working …

Member Avatar for warrior_2010
0
98
Member Avatar for Aamit

Hi..I am trying to connect oracle which is on my pc.i am using oracle 9i. i am creating 1 customer table & trying to display it. [code] import java.sql.*; import java.net.*; public class JdbcDemo{ public static void main(String args[]){ Driver d; Connection con; Statement stmt ; ResultSet rs; try{ d=(Driver)Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance(); …

Member Avatar for fardoonmuhaifz
0
361
Member Avatar for cissee

what happens if a context switch happens while the cpu is executing instruction X will instruction x be restarted?

Member Avatar for Salem
0
233
Member Avatar for talk2sachi

Hi all, I'm very new to php and I'm working on a project that require to create compcard that should be saved in a folder (uploade) which is working properly. The problem is that now I have to preview that copcard (images) and ask user to save it or not. …

Member Avatar for Wraithmanilian
0
101
Member Avatar for ankush.mukherje

Hi all I want the data shown in MSH flex grid to be shown in crystal report. I am using Crystal report 8.5 If the value in the grid changes then the crystal report must be updated accordingly. Is this possible to do?

Member Avatar for sidnei
0
101
Member Avatar for shiv0013

how to create login page using ajax? i know whether to show valid or invalid in the same page.......... but how to redirect to same different page wen its and valid?

Member Avatar for shiv0013
0
140
Member Avatar for chromatinpt

Hello, I have in one textbox this values separated by comma: 2,4,5,6,7,8,9,0,2,0,2,3,4,5,1,2,3,4 In a new textbox I want only some portion of this vector, from the 7th position to the 15th. 9,0,2,0,2,3,4,5,1 How can I do this? Best regards!

Member Avatar for jonsca
0
132
Member Avatar for t_stewart1012
Member Avatar for stangn99

Hey guys...I've run into a little issue (noob here). I’ve setup a little application for scheduling days + times in different rooms. I’m trying to implement some sort of an error check which determines is someone has already been scheduled for a certain day, time(range), and certain room. For example: …

Member Avatar for stangn99
0
136
Member Avatar for V0ldemort

I'm kind of a noob at this, I have an error and i -sort of- know what it means, but I have no idea how to fix it. [CODE]#include "Sprite.h" int Sprite::LoadSprite(LPDIRECT3DDEVICE9 device, std::string Filename) { dImageScale = 1.0; D3DXIMAGE_INFO ImageInfo; D3DXGetImageInfoFromFile(Filename.c_str(), &ImageInfo); dImageHeight = ImageInfo.Height; dImageWidth = ImageInfo.Width; }[/CODE] …

Member Avatar for V0ldemort
0
190
Member Avatar for ronaldpaul

[CODE]<select name="splace" onchange="eval(this.value)"> <option value="javascript:show_loc('1');">Chennai</option> <option value="javascript:show_loc('2');">Coimbatore</option> </select>[/CODE] In the above code, in the option the value property is given as a javascript. Since in IE the onclick function doesn't work I've placed onchange in the select and then given the javascript in the option value. Now to save the …

Member Avatar for wrivera
0
169
Member Avatar for valatharv

Hi, I am looking for best approach to query db table and get corresponding values on the basis of Ids passed. I have ids in String array, please provide best approach for point (a) and (b), what to use ArrayList, HashMap, etc... so that there are minimum loops... Sample code: …

Member Avatar for JamesCherrill
0
118
Member Avatar for icccapital

I am trying to build a crm like database with some billing functionality. The way our client base is setup we could have a client that wants to be billed based on a group of client codes and others individually even if they have multiple client codes and still others …

Member Avatar for icccapital
0
114
Member Avatar for Venom Rush

Hi all I found cURL and want to use it to upload a file after a form has been submitted. I found the following code on [URL="http://php.net/curl"]http://php.net/curl[/URL] [CODE=php] <?php /* http://localhost/upload.php: print_r($_POST); print_r($_FILES); */ $ch = curl_init(); $data = array('name' => 'Foo', 'file' => '@/home/user/test.png'); curl_setopt($ch, CURLOPT_URL, 'http://localhost/upload.php'); curl_setopt($ch, CURLOPT_POST, …

Member Avatar for wrivera
0
132

The End.