199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for vinnijain

I want to make a database window application using Visual Studio 2008(with C#) which is basically a search engine for searching images(of size 25 KB to 95 KB) . I want to sell my application in CD\DVD in such a way that it should run directly from CD\DVD. As I …

Member Avatar for vinnijain
0
128
Member Avatar for chromatinpt

In a button click event I need to send 5 different commands recieve each output one by one. My code for only one command is (its works): [CODE]TcpClient socketForServer; socketForServer = new TcpClient("127.0.0.1", 2211); NetworkStream networkStream = socketForServer.GetStream(); System.IO.StreamReader streamReader = new System.IO.StreamReader(networkStream); System.IO.StreamWriter streamWriter = new System.IO.StreamWriter(networkStream); string command …

Member Avatar for sknake
0
106
Member Avatar for greenphpcoder

hi i was set the task to increment a number by x every x seconds and i tried to find some [URL="http://www.daniweb.com/code/../techtalkforums/thread68355.html#"]code[/URL] off the net, but found the subject covered very sparsley so for whoevers benefit ill post the code here hope it helps [URL]http://www.daniweb.com/code/../techtalkforums/dani-images/smilies/fiyellow/icon_smile.gif[/URL] Thanks Nicholas

Member Avatar for sharasyn
0
906
Member Avatar for Muazam

Hello, I need help with my site, for example [B]this[/B] forum: If there is 25 post in this page it makes another page automatically, like blogs or search. If you go in google and search for something.. all the links wont be on the same page you have to goto …

Member Avatar for pclfw
0
127
Member Avatar for kanuri1

hi iam using to insert data into database by using gridview,,,,, i have coding in c#.net please convert this code into vb.net here my coding is given below [CODE] using System; using System.Configuration; 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 System.Collections.Generic; using System.Data; using …

Member Avatar for vimalrasa
0
103
Member Avatar for picsoung

Hi, I'm new on this forum, hope you can help to solve my problem :) I would like to modelize a binary tree like that [CODE] A / \ B C / \ D E[/CODE] They will be more nodes be a node can only have a maximum of two …

Member Avatar for picsoung
0
74
Member Avatar for nkk

Hey guys, I'd posted earlier about creating a database for a vaccination clinic is a slum. All the responses were really helpful (thank you!) but I'm encountering some further problems. In a table named "Table Children" I have a "Date of Birth field" and and an "Age at the time …

Member Avatar for nkk
0
110
Member Avatar for BASSUHG

Hello every one I am trying to insert text into oracle 10g, which contains ( ‘ ) single quotes. I know its simple , I have tried google. This is the error I get Warning: ociparse() [function.ociparse]: ORA-01756: quoted string not properly terminated in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\qmon\age.php on line …

Member Avatar for keerthanasunder
0
80
Member Avatar for veledrom

Hi, Which one do you prefer CakePHP, Symfony, Zend Framework, CodeIgniter ? I need to decide on one to go for. Thanks

Member Avatar for veledrom
0
81
Member Avatar for cwarn23

Hi and I am writing a small program but need to make a function that converts an integer to a hex. Below is an example of a similar function but need the result stored in a std::string variable. [CODE]printf("%x%x%x%x%x",h0, h1, h2, h3, h4);[/CODE] Does anybody know how to create a …

Member Avatar for Poincarre
0
425
Member Avatar for ramesh017

Hi i tried the same.. but its not displaying any data from database [CODE] Public Class Editdetails Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim cn As New System.Data.OleDb.OleDbConnection Dim cm As New System.Data.OleDb.OleDbCommand Dim form As New Fielddetails Dim rd As System.Data.OleDb.OleDbDataReader Dim tbl_name …

Member Avatar for ramesh017
0
116
Member Avatar for Mujahid158

I'm getting the following warning; Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\xampp\htdocs\ep\login.php:1) in C:\xampp\htdocs\ep\login.php on line 2 If i comment session_start(), everthing works fine. Where is the actual problem? Here is my code; [CODE=php] <? session_start(); include "config.php"; global $c; require('functions.php'); …

Member Avatar for Mujahid158
0
124
Member Avatar for obautista

Can someone tell me why this code is not displaying the "time" field in the table? I cannot figure it out. [CODE]<tr> <CFQUERY NAME="getAllTechsWeeklyActivity" DATASOURCE="VEHSALES"> SELECT date, time, DatePart(ww, date), datepart(dw, date) AS weekday FROM service_tech_activity WHERE DatePart(ww, date) = DatePart(ww, '#DateFormat("#editdate#", "yyyy-mmm-dd")#') AND DatePart(yyyy, date) = DatePart(yyyy, '#DateFormat("#editdate#", "yyyy-mmm-dd")#') …

Member Avatar for arrgh
0
122
Member Avatar for vbdotnetlover

Hello Sqlserver MyTable has following data Vou---------date---------qty 1-------25/12/2009------5 2-------25/12/2009------4 1-------26/12/2009------8 2-------26/12/2009------3 3-------26/12/2009------2 [CODE] str = "SELECT date, SUM(Qty) AS Qty, FROM mytable GROUP BY Date" dt = GetTable(str) [/CODE] These codes display following result date--------------qty 25/12/2009------9 26/12/2009------13 Now I want to add sno column in result as Sno--------date---------qty 1------25/12/2009------9 2------26/12/2009------13 …

Member Avatar for achieveSenthil
0
125
Member Avatar for praveensagi

I have to access a uuge data from mysql , Can i replace that db call writing data into text file and accessing it again from the file itself . then file can be removed once data is processed

Member Avatar for masijade
0
104
Member Avatar for David_k2

Hi All, First time post :) I am having a problem with sorting a for-each loop. I need to sort the data based upon a date given by a child element that has a certain attribute, confused ill show the code: XML FILE: [CODE]<?xml version="1.0" encoding="utf-8"?> <IssueViewXMLExport xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" …

Member Avatar for David_k2
0
129
Member Avatar for mpegjohn

Hi, I am running 3 threads that each start an ffmpeg process to extract 3 snapshots form a video file. I need to be able to call this method multiple times, with different video files. It writes the three snapshots to the system. However If I try to delete these …

Member Avatar for mpegjohn
0
339
Member Avatar for murid

i'm making program to send picture through socket programming. now my program only can send to 1 destination using destination's IP address. i'm trying to develop the program, so my program can sending picture to many destination. with code below, i still cant send to many destination. only the 1st …

Member Avatar for kvprajapati
0
149
Member Avatar for sweetheart39150

I keep getting an error starting from line public static boolean hide. Can someone please help I am using eclipse. [code]import java.util.*; import java.io.File; import java.io.*; import java.io.BufferedReader; import java.awt.*; import java.lang.String; public class Steganography { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated …

Member Avatar for masijade
0
183
Member Avatar for nkasei28

Hi there. Please i have a little problem with a report i want to generate in a program i've written. The program is to be used to check the attendance of students and at the end of a month of checking the attendance, print a report of how many times …

Member Avatar for kvprajapati
0
114
Member Avatar for samdesilva

Hi, I am creating a website where a user has to register to access the site features. Once the user registers, his registration has to be confirmed by the admin guy, who is maintaining the site. The thing is I wanted a way to send an email automatically, once a …

Member Avatar for satuti
0
110
Member Avatar for wacky4444

My question is that the program is suppose to randomly generate a addition question with two integers less than 100 this is what i have so far: [CODE]import java.util.Scanner; public class ex3_13 { public static void main(String[] args) { // 1. Generate two random single-digit integers int number1 = (int)(Math.random() …

Member Avatar for javaAddict
0
81
Member Avatar for Olliepop

Hey guys :) I am stuck on this piece of code i am about to give below. What happens, is the server sends a "ping" to the client, the client sends "pong" back, but when the server sends "pong" back to the client (i KNOW this is sent) the client …

Member Avatar for JamesCherrill
0
216
Member Avatar for cromie09

could anyone please help me with this1. Create a simple Times Table program which will allow the user to enter an integer value n (between 1 and 20) into a textbox. On the click of a button output to a label the n times tables. Use a For…Next loop to …

Member Avatar for ssommaro
0
108
Member Avatar for lewashby

I'M trying to learn to program through C#. The book I'M reading is trying to explain namespaces but I'M failing to understand it. As I understand it, a class is a blueprint for an object and, and a class is just a special block of code. So what exactly is …

Member Avatar for kvprajapati
0
118
Member Avatar for bonnysammy

Hi! I'm using C# and SQL Server. I need to take data from one table, display it to the user, allow the user to modify anything, and then when they click save, have the record added to a new table and deleted from the old. I have the first table …

Member Avatar for padtes
0
146
Member Avatar for abhi.it01

Hi in that code i need all lines those started with doble k in another as out put like double k325 = 2.000000e-01; . . .. double k297 = 8.000000e-03; pls help me i tried but i didnt get some one pls help how to solve this problem the code …

Member Avatar for WaltP
0
225
Member Avatar for schoolboy2010

Here's the code. I'm trying to read data from a text file and put it into an array... I'm trying to do this using a function.... can anyone please help..... it's not running. There's an error somewhere.... [CODE] int main() { float readFloat(std::ifstream& readFile) { float holdData = 0; while(holdData …

Member Avatar for WaltP
0
157
Member Avatar for c1979h

I am pulling a list of 3 items with a list price from a text file, I ask for the percentage off and calculate it against the list price then I update to file with revised price. The program compiles correctly, but it never displays the info in the console …

Member Avatar for jonsca
0
197
Member Avatar for swolll

Hey guys. I need to write a program that does the following: Requirements - The program... - Shall allow user to enter individual songs with information: - Shall ask for song name. - Shall ask for length. - Shall ask for artist name. - Shall ask for album name. - …

Member Avatar for jonsca
0
2K
Member Avatar for phpDave

Hello, I'm fairly new to php. I have a two page's, one where user creates account. The other one is for the user to insert other information. [B]If [/B]user completes both pages I want to direct them to their personal page, [B]else[/B], direct them to the second page to insert …

Member Avatar for vandenzergen
0
118
Member Avatar for muralibobby2015

hello... anybody give suggestion.. i am doing one task what it zzz means my site is in english. i have dropdown list having multiple languages. if anybody changes language option site all pages change to that language. any body knows how to do it?

Member Avatar for muralibobby2015
0
2K
Member Avatar for Vindhyaauri

Hello!! I have to design a program which can read the following file: [CODE]k1082 SciTegic08250908273D 30 32 0 0 0 0 999 V2000 0.3230 -0.6380 -0.7700 C 0 0 1.1810 -1.2460 -1.7340 C 0 0 2.5950 -1.1640 -1.6010 C 0 0 3.1670 -0.4730 -0.5020 C 0 0 2.2620 0.0980 0.4020 …

Member Avatar for Vindhyaauri
0
190
Member Avatar for xuexue

i have this problem, i want to have a data grid which functions like in vb6...now, whenever the user will click on any part of the table, the program will get the value of that specific row being selected. now, using clickable tables, i can get the value but in …

0
85
Member Avatar for schoolboy2010

Hi How would I write a function that reads numbers from a txt file into an array. For example a function to call this code below: [CODE] float gradeData[12] = {0.0F}; int i; // loop counter ifstream myfile ("rainfall.txt"); if( myfile.is_open() ) { i = 0; while( i < 12 …

Member Avatar for schoolboy2010
0
87
Member Avatar for jemz

hello please help me on this. i have cmdadd_click()..when i click the button add,the data will display on the flexgrid at the sametime it write on the notepad..my problem is that i don't know how to make code on cmddelete_click().i want to delete the data i added on the notepad …

Member Avatar for ankush.mukherje
0
236
Member Avatar for ceyesuma

Hello all. I have the TreeSet Component that won't add any thing uising the add method ex: [CODE]nameSet.add(projectName);[/CODE] The exception always gets the text in the String projectName xxx for example. and Throws nullpointer and traces out the string but adds null to it. ex xxxnull What more do I …

Member Avatar for AbhikGhosh
0
152
Member Avatar for vampgirl13

Hi Everybody, I've created an array to hold the alphabet . It uses the scanner class to ask the user for a position in the array and print that. I have the first part working however I need to use system.array copy to create a new array of size 27, …

Member Avatar for AbhikGhosh
0
2K
Member Avatar for xuexue

is it possible to have a clickable table wherein once you click that specific row, a dialog box will appear to display the entire row. could you help me with this one..thanks in advnce ^^

Member Avatar for xuexue
0
101
Member Avatar for nsjoe

I'm new to using delegates and invoke methods. Can someone please quickly identify what I'm missing here. I know this code is no where near completed right now, but as is, it's working for what I'm trying to test. Basically I'm creating a simple client application that is receiving a …

Member Avatar for sknake
0
988
Member Avatar for makdu

Hi, My application needs to run the command prompt with admin privilage . ie with the same effect when we select start-> all program--> accessories--> right click on command prompt --> run as administrator. Here is the current code i have for using command prompt from c# [code] static void …

Member Avatar for makdu
0
5K
Member Avatar for firoz.raj

what type of indexes exists in Sql Server ?which one is the fastest and why can we only have one of those per table ?

Member Avatar for sknake
0
83
Member Avatar for kenji

Hi, I'm trying to copy a value in a vector to a string. The vector is also of string type, I'm trying to copy through the iterator. [code=CPLUSPLUS] for(iter = inputStr.begin(); iter != inputStr.end(); iter++){ string temp = inputStr.at(iter); int count = 0; for(int i = 0; i != temp.size(); …

Member Avatar for jonsca
0
137
Member Avatar for jananis

Hi all can anyone please help me write a shell script for file transfer from windows to unix server and vice versa. i m new to unix shell scripting so kindly bare with the small mistakes tht i mite have made the code is: [CODE]#!/bin/sh filename="sample.txt" user='user' password='passwd' IP='some ip' …

Member Avatar for jananis
0
348
Member Avatar for xuexue

hi guys, just want to ask if how can i display the value of the textbox in javascript? as in, i will output it

Member Avatar for xuexue
0
609
Member Avatar for perroned

could someone please explain to me what wrong with my do while loop. i made a pokemon game in visual basic for school. i am teaching my self C++. i just started this weekend and wanted to see if i could covert my code over. everything works perfectly without the …

Member Avatar for perroned
0
108
Member Avatar for vampyrescene

Hi guys, this is my first post. I would also like to make clear that I am totally new to PHP and other languages, I am using a lot of site searches and google to get this working, however I am stuck on one thing. On the login script that …

Member Avatar for JRM
0
92
Member Avatar for claudiu_is

Hi, I need help I have a form with an input field [B]addEdit[/B], after pressing a submit button I need to read the value from [B]addEdit[/B] and sent it to db. The problem is [COLOR="Red"]no value is sent through $_POST['addEdit'][/COLOR] . Why ? [CODE=html]<form name='frm' method='POST' action=''> <table cellpadding="0" cellspacing="0" …

Member Avatar for JRM
0
146
Member Avatar for MasterPengwin

Hey, I currently have a program that runs a loop with some mouse clicks in an internet browser to do some menial tasks I do not want to do. But I have to specify the number I want it to do before hand, and since the mouse clicks are too …

Member Avatar for Diamonddrake
0
162
Member Avatar for Noeli

Hi, I'v only just downloaded MySQL and I'm trying to import a text file but i keep getting an error message: "#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '2009-08-24,00:00:00,2009-08-24,00:01:00,1,444,261,0,0,0 00:b0' …

Member Avatar for apegram
0
99

The End.