199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
Hi, Which one do you prefer CakePHP, Symfony, Zend Framework, CodeIgniter ? I need to decide on one to go for. Thanks | |
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 … | |
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 … | |
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'); … | |
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")#') … | |
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 … | |
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 | |
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" … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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() … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. - … | |
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 … | |
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? | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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, … | |
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 ^^ | |
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 … | |
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 … | |
what type of indexes exists in Sql Server ?which one is the fastest and why can we only have one of those per table ? | |
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(); … | |
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' … | |
hi guys, just want to ask if how can i display the value of the textbox in javascript? as in, i will output it | |
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 … | |
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 … | |
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" … | |
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 … | |
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' … |
The End.