199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sherinpoulose

how to populate treeview from multiple columns of sql data table I have attached my sql table here.from that table,i have to populate a treeview of the below form; -outlook ---------overcast -----------------------------yes ---------rainy ----------------wind ----------------------strong ------------------------------no ----------------------weak -------------------------------yes ---------sunny ---------------humidity ------------------------high --------------------------------no -------------------------normal ---------------------------------yes. It is readable like this; if …

Member Avatar for debasisdas
0
172
Member Avatar for byrosport

[CODE]// name-printer.cpp : Defines the entry point for the console application. // #include <stdlib.h> #include <iostream> #include <iomanip> #include <fstream> #include <string> #include <cstdlib> using namespace std; int main () { string inputNameString; //the Name string that is entered by the user string names[3]; // A string array that will …

Member Avatar for WaltP
0
199
Member Avatar for lloydsbackyard

i throw a string value from the database in an input box...when i click update button, i need to clear the textbox after clicking update button..how?thanks a lot...

Member Avatar for lloydsbackyard
0
7K
Member Avatar for ivan3510

Hi! How to create a website with cookies, but cookies will not be deleted (they will be on computer forever, except somebody delete it; I deleted the cookies one time, and then they have been automatically created (I didn't go to these sites)) So, how to create these two things? …

Member Avatar for MagicMedia
0
77
Member Avatar for vaanipala

Hi, I'm getting the following error: attempt to run compile-and-go script on a cleared scope [Break On This Error] if (xmlhttp.readyState==4 && xmlhttp.status==200) when i try to run the following code in mozilla firefox: does anyone know on what i'm doing wrong? thank you. gethint.html [CODE] <script language="javascript" type="text/javascript"> function …

Member Avatar for vaanipala
0
284
Member Avatar for insanity99

Hello... I already know how to connect the Drive to Directory but I don't know how to connect File to Image can someone teach me how to connect the File to Image?? Pls......

Member Avatar for debasisdas
0
70
Member Avatar for wan28

I am developing a windows phone application using VB.NET Can anyone suggest me of which database to use as MySQL is said to hang on a mobile device...

Member Avatar for brettg
0
92
Member Avatar for ztdep

Dear friends: I get different resutls when copy my code from windows to linux system. the string comparion " if( keyword==Key[0] ) " is true in window system, but it is false in linux system. I am really confused about this.I copy the same source code and the same input …

Member Avatar for mrnutty
0
241
Member Avatar for WildBamaBoy

Here's my dilema. My client program is going to request a certain file from my server program, so the server program needs to send the size of the file it requests and then the file itself by using a Socket all in one go. My client will then read the …

Member Avatar for WildBamaBoy
0
409
Member Avatar for D33wakar

I'm trying to convert hexadecimal values to Binary. I've done Decimal values to Binary up to 32 bits in this way: [CODE] #include <stdio.h> int showbits(int);/**************function*prototype******************************/ int main() { unsigned int num; printf("enter the number."); scanf("%d",&num); printf("%d in binary is ",num); printf("\n"); showbits(num);/*********************function*call********************************/ return 0; } showbits (int n)/******************function*definition****************************/ //* …

Member Avatar for D33wakar
0
407
Member Avatar for pickett65

I have a script that reads all rows from a database, and prints it out to an html table. The html table has an extra column for "status".In this column there is a form that is supposed to submit the dropdown field to the mysql database. I've got the set …

Member Avatar for pickett65
0
144
Member Avatar for yokorobi12

im using uploadify that can upload multi photos.. now i need to select a client to upload photos.. after choosing a client > next is client profile.. including the "add photo" button which is jquery... my problem is after choosing a client i need to get the clientid then pass …

Member Avatar for yokorobi12
0
112
Member Avatar for churva_churva

how to trap? for example in my textfield i don't want my textfield to accept double data type only integer is accepted..i don't have any idea how to do it.. can someone here give me a clue...please a sample code.

Member Avatar for ChrisPadgham
0
176
Member Avatar for kezkez

Wondering what the proper way to test a collection, that is not an [I]ICollection[/I], is since Assert.Contains(object, [I]ICollection[/I]) cannot be used for something like a constructed PriorityQueue? [CODE] [Test] public void AddTest() { PriorityQueue<Vertex> vertexQueue1 = new PriorityQueue<Vertex>(); Vertex v1 = new Vertex("V"); v1.minDistance = 10; vertexQueue.add(v1.minDistance, v1); Assert.Contains(v1, [I]vertexQueue1[/I]); …

Member Avatar for kezkez
0
113
Member Avatar for jorjah

.gud pm!!i know people out there are so intelligent,,so please help me regarding my project about software engineering, "system/software development project proposal document. " any software will be accepted,,please have mercy!

Member Avatar for jorjah
0
89
Member Avatar for PixelatedKarma

Hello everybody, First off let me say I did do a search of google and these forums before posting this. I have sort of what I want without having exactly what I want and before I proceed further hacking up already working code I figured I'd start a conversation as …

Member Avatar for PixelatedKarma
0
146
Member Avatar for itisnot_me

ok so i know how to write a reg expression for something more specific but i dont know how to make it more dynamic. right now i am matching {tour:right} with this {tour:([A-Za-z0-9_]+)} But the question is how do i write it so that i can use {tour} and {tour:right} …

Member Avatar for hielo
0
293
Member Avatar for choboja621

Here`s my code. I think its right. I had checked every single detail. But then, it still don`t work. It doesn`t link to the html i had created. Hope you can help me. I`m new to this stuffs. [CODE]<html> <head><title>Using Image Maps</title></head> <body> <center><img src="bearface.jpg" width="600" height="776" alt="bearface" usemap="#bearface"></center> <map …

Member Avatar for Airshow
0
135
Member Avatar for Reverend Jim

I have two forms that are called by the main form. One is named frmEdit, and is invoked by the ShowDialog (modal) method. The other is named frmSearch and is invoked by the Show (non modal) method. In both cases I want to preserve the last window position so each …

Member Avatar for Reverend Jim
0
164
Member Avatar for fashxfreak

[CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { int num, unit, ten; Console.Write("\t\t\t** Developed by : GE ** \n\n "); Console.Write("Enter number here in range 0-50 : "); num = Convert.ToInt16(Console.ReadLine()); unit = num % 10; ten = num …

Member Avatar for thines01
0
526
Member Avatar for sha11e

I found a page saying that int a = 12; and int a (12); do the same thing. But is there something special with the int a (12); way of initializing a variables? Like, you can do: string test(5, '-'); which would make test = ----- I couldn't seem to …

Member Avatar for Narue
0
102
Member Avatar for cozmo87

Hi everyone, I'm writing a program that reads numbers from a text file, stores them in a table, does calculations on the numbers and displays the result in a jTable. The scanner reads the numbers as doubles and stores them in an ArrayList. My tablemodel is very similar to the …

Member Avatar for Zetlin
0
175
Member Avatar for darknoobie

Hello forum, My name is juan and recently started html programming. I have a web page with a drop box with the name of states. Code: <option value="">Alabama</option> <option value="">Alaska</option> I can add a onclick="code here" to the tag so that when the drop box alabama is selected it triggers …

Member Avatar for darknoobie
0
220
Member Avatar for baby_c

Hey dear Friends... I'm developing a code for an assignment given that find a solution for a modified Dining philosophers problem.. For that problem I had to create four classes. [ICODE]Philosopher[/ICODE] , [ICODE]chopStick[/ICODE] , [ICODE]samllBowl [/ICODE] and [ICODE]bigBowl[/ICODE].. I implemented the class [ICODE]philosopher[/ICODE] as Runnable.. And the problem is this.. …

Member Avatar for baby_c
0
169
Member Avatar for murnesty

let say i have a class A (base) class B , C, D also inherit A [ multiple ] then class E inherit class B, C, D... But class E also want to inherit class A [ multilevel ] *I want to use class A protected function in class E... …

Member Avatar for Ancient Dragon
0
122
Member Avatar for observ

Hi, I am trying to update data from a column in a database using a php script. But for some reason it doesn't update the database, but i get no error feedback. So first i select a random entry from the database and i add it as a parameter to …

Member Avatar for Stefano Mtangoo
0
887
Member Avatar for debasishgang7

Hi all, I am trying to calculate checksum of some data using python. I am putting a sample ICMP header here and the correct checksum of that packet(Got this by sniffing network with wireshark) [B]DATA is "08 00 69 eb 8e 13 00 01" And the correct checksum is "0xa9eb". …

Member Avatar for debasishgang7
0
451
Member Avatar for syria718

[CODE]char main()/*Start of the function main???*/ { char choice1; char choices = 'y'; while(choices == 'y' && choices != 'n'){/*while loop initialization*/ print(); getchar(); scanf("%c",&choice1); printf("%c",choice1); switch(choice1){/*Switch case statement,,,*/ case 'a': case 'A': addContact(); break; case 'f': case 'F': search(contacts); break; case 'v': case 'V': list(); break; case 'e': case …

Member Avatar for Narue
0
277
Member Avatar for Zagga

Hi folks, I am trying to create a function that adds comments to a text file. If the file exists, the comments are added to it. If the file doesn't exist, it is created then the comments are added to it. If there are any problems, an error message is …

Member Avatar for Zagga
0
181
Member Avatar for tbanisida
Member Avatar for xapher19

For the project I'm working on, it has to have a changeable template system, so the users can make their own HTML templates to work with the system. However, I have no clue how to even go about doing this. Any help would be appreciated, thanks.

Member Avatar for xapher19
0
361
Member Avatar for barriegrant1

im building a site that places galleries within an itemTemplate, each gallery has its own ID, im tring to allow each gallery to have its own "edit" button, this will allow the user to delete or rename the gallery etc. is it possible to make the button ID the same …

Member Avatar for barriegrant1
0
167
Member Avatar for geekme
Member Avatar for ulyssey
0
167
Member Avatar for cerezo_mark

i already finished my app and now i deployed it using Setup Wizard. But when i installed my app to my computer, the Crystal Report didn't work.... it says "Load Report Failed"... and when i red about this Merge Module thing i want to figure it out but the problem …

Member Avatar for cerezo_mark
0
203
Member Avatar for jas2010

hi all friends I wanna check if presses keys shift and tab then focus will go to the textbox that i want.

Member Avatar for prasan7
0
91
Member Avatar for toadzky

I'm trying to write out a series of objects as an XML file so they can be read in later. I have all the code to build the XML tree and set all the attributes, etc. I've looked through the whole tree in VS so I know all of my …

Member Avatar for toadzky
0
227
Member Avatar for sirlink99

I am attempting to make a chatroom as my first program that communicates between computers. I am having trouble setting up the Server Socket Though. My program stops when it tries to set up. Here are my variables [CODE] private JTextField textArea; private ServerSocket servSock; private Socket sock; private BufferedReader …

Member Avatar for NormR1
0
222
Member Avatar for extemer

hi guys i am trying to upload an image but my code is not upload image size higher than 400bytes please help me i tried but many thing but figure it out. [CODE] <html> <head> </head> <body> <form action="test.php" method="post" enctype="multipart/form-data" > File: <input type="file" name="image" /> <input type="submit" value="Upload" …

Member Avatar for IIM
0
179
Member Avatar for heshanm

The below line generates this error. Can anyone gives me a solution Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in C:\wamp\www\MySite\php files\approve_page.php on line 25 [CODE] $query = "UPDATE transaction SET approved_status='1' WHERE account_number='$account_number' AND tran_id='$_POST['tran_id']'"; [/CODE]

Member Avatar for heshanm
0
127
Member Avatar for TheProgramer

i need the snake not to pass by the walls...can anyone help me? here is the progam.cs [CODE]using System; using System.Collections.Generic; using System.Text; using System.Runtime.InteropServices; namespace TikTak { class TestCon { [DllImport("msvcrt")] static extern int _getch(); static void Main() { ConsoleHelper ch = new ConsoleHelper(); char move; short x = …

Member Avatar for pseudorandom21
0
170
Member Avatar for stevanity

Im not asking for home work help .I need a guide.. My teacher gave a huge project work for me. I have to develop an application that maintains basic info about all students in my college (every department and IV batches in each department). And I need to maintain their …

Member Avatar for stevanity
0
384
Member Avatar for zack_falcon

I'm working on a game version of Game of the Generals (board game). Basically, it plays like checkers, but I wanted to add multiplayer functionality, with an additional chat function. A player starts a server, another player on another PC (in the same network) starts a client, client connects to …

Member Avatar for zack_falcon
0
183
Member Avatar for Majestics

How to open already present text file... So user can see the data in that file... I dont mean FileInput or OutputStream open.

Member Avatar for peter_budo
0
88
Member Avatar for dennysimon
Member Avatar for dennysimon
0
62
Member Avatar for Chamath
Member Avatar for Chamath
0
157
Member Avatar for mvsjs

I am using jpgrpah in php to show a bar diagram by using an array as an input. The array is created by a function. I am getting the following error. Error 25044 - Cannot use auto scaling since it is impossible to determine a valid min/max value for y-axis …

0
148
Member Avatar for aharkus

I'm creating dynamic buttons and forms for a website and would like the form hidden when it's corresponding button is clicked. However, when I pass button and form name variables to my JavaScript that hides the form, the variables are not being recognised unless I explicitly set them. (e.g 1 …

Member Avatar for Airshow
0
1K
Member Avatar for duffsil

wxpython i cant figure out the problem. it says that the global neme 'panel' is not defined. Traceback (most recent call last): File "C:\Users\Daniel\Desktop\Duffan Teorem", line 34, in clickbutton wx.StaticText(panel,-1,media,pos=(150,240)) NameError: global name 'panel' is not defined could someone please help me to figure tha problem out? Thanks in Advance …

Member Avatar for duffsil
0
298
Member Avatar for Daniel_Wright

Hey! I have a problem. I've been coding Python for two years now, and it's great, but now I'd like to use a module called "ctypes" to import C function into Python. I know how to do it and all, but the problem is: I know how to program in …

Member Avatar for Daniel_Wright
0
302
Member Avatar for cemali_ys

Hello! I am writing a program to execute another process. But the argment string has " ) ( ; / \ symbols. So it does not allow me to start the program with the true string (argument)... Here is the program: the program is on the user agent string: [CODE]#include …

Member Avatar for cemali_ys
0
143

The End.