64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for yorro
Member Avatar for EvilLinux

Hello again, I hopefully have a quick and simple question. I'm working with 5 forms to that will be holding data over them and then have the ability to add, delete, edit the data for each person entered into the form (student wise). So far I've managed to create 2 …

Member Avatar for Geekitygeek
-1
165
Member Avatar for Ishbir

Okay, so, I've got this code- [CODE=C#] List<Post> list = new List<Post>(); foreach(XElement post in posts) { var postType = post.Descendants(); var type = (string)post.Attribute("type"); Post item; if (type == "regular") { item = new RegularPost(); item.title = (string)postType.ElementAt(0); item.body = (string)postType.ElementAt(1); } if (type == "quote") { item = …

Member Avatar for Geekitygeek
-1
138
Member Avatar for Derice

I have created an asp.net web project and deployed it in my pc with the virtual directory set to websetup1. How should i access my website? When i type my ip add in the browser, it will display my router configuration page instead. Should i include virtual directory in my …

Member Avatar for vuyiswamb
0
204
Member Avatar for facadie

Hi how can i write a program to compare data entered and data stored? when we click ok. they will detect whether information store is the same. Just an example login. but mine is asp.net i'm just using normal window application. previously i use this is to store my password. …

Member Avatar for facadie
-1
129
Member Avatar for ayesha789

Hi, I have inserted time in Database using CURRENT_TIME() and Data type is Time. Now I want to show the Time in AM and PM format. Please guide me. Thanks in advance....

Member Avatar for mick_sp
0
4K
Member Avatar for Mapper99

Hi there, I am trying to delete XML nodes using PHP. Here is a sample of my xml file. [code] <users> <user> <fullname>PC1</fullname> <flooor>4</floor </user> <user> <fullname>PC2</fullname> <flooor>3</floor </user> </users> [/code] Here is my code so far: [CODE] <?php $users = new DOMDocument(); $users->load("officedata.xml"); $suser = simplexml_load_file("officedata.xml"); $count = 0; …

Member Avatar for Mapper99
0
240
Member Avatar for ayesha789

Hi, I am developing a Lease Management System, and I need to upload multiple files in a folder. and I want to name the folder where I want to upload in DB. Here is a code for upload a single file. first file is sendfile.php [CODE=php]<!-- The data encoding type, …

Member Avatar for ayesha789
0
351
Member Avatar for vileoxidation

Thanks to the help I recieved earlier, I figured out how to make my other header file and my other .cpp file!! So thank you for that. I am now trying to compile all of my files together, and am getting quite a few linker errors, even though the functions …

Member Avatar for vileoxidation
0
222
Member Avatar for lukerobi

lets say i have a list: L = [1,2,3,4,5,6,7,8,9] x could be anything, but it wont ever be longer than len(L) - 1.. just for what im asking, im setting it to 3 x = 3 value could also be anything, but not exceeding sum(L) value = 8 What i …

Member Avatar for lukerobi
-1
85
Member Avatar for vileoxidation

Hello, and thank you for taking the time to help me! This is my first real program in C++, and I am still getting used to the differences between C and C++, so I still really don't know what I'm doing. I am working on a header file and its …

Member Avatar for Grn Xtrm
0
190
Member Avatar for kingofkya

Ok my script takes a list of files picks out all jpgs and stores it in files[] now the problem is how do I display all thous images in tk gui window below is what i have that works for 1 image how do i make this work for basically …

Member Avatar for kingofkya
0
2K
Member Avatar for KimJack

Hello, I am working on a plain old simple text version of a memory game. The player will be able to match letters of the alphabet by clicking on various numbers. For example This is what the player will see: 123 456 789 but underneath that will be something like: …

Member Avatar for KimJack
0
177
Member Avatar for Stefano Mtangoo

Hi All, I'm trying to make simple CMS and can populate my HTML (generated by TinyMCE editor) to my database. I can retrieve them as well. Now I want to add image support to My editor. What are the tricks necessary? Thanks a lot :)

Member Avatar for Stefano Mtangoo
0
83
Member Avatar for mark2326l

As the title says I want to have a text field appear using the if statement. My simplest attempt.... [CODE] <?php if($row_Recordset1['NoPages_A'] { echo<input type="text" name="firstM" id="firstM" />;} ?> [/CODE]

Member Avatar for mark2326l
0
127
Member Avatar for leverin4

I have a noobish question. If you have a nested try-catch block and an exception is thrown in the inner catch block, will the outer catch block catch it? Example: [code=java] try { // All this code is random. It doesn't int x = 5; // have anything to do …

Member Avatar for leverin4
0
67
Member Avatar for hmortensen

Hi all, Here is the problem; I’m trying to make two threads draw pixels in two different memory spaces at the same time. Nothing fancy, just a test program to learn about thread programming. I allocate the memory, send the address as parameters to the two threads, and in each …

Member Avatar for hmortensen
0
177
Member Avatar for Geekitygeek

Im working on a project and i'm stuck on the best route to take in designing a feature. Rather than go into detail about the actual project i'll use a simple example since the concepts are the same :) I have a panel on a form, the panel contains 100 …

Member Avatar for sknake
0
119
Member Avatar for Mark198995

im lost making a code that runs this. it has to include "while" command but im having difficulty with the counter vs the name =/ can someone help [COLOR="Green"] Enter your friend’s name(stop to quit):john Enter your friend’s name(stop to quit):megan Enter your friend’s name(stop to quit):stop Congratulations you have …

Member Avatar for Kashaku
0
96
Member Avatar for Roebuc

can someone tell me what is wrong with the following: [CODE]function connect($db_host,$db_database,$db_user,$db_pass){ global $db_connection; try { $db_connection = mysql_connect($DB_HOST,$db_user,$db_pass, true); if(!$db_connection) { throw new Exception('MYQSL Connection Database Error: ' . mysql_error()); } else { $connection = true; } catch (Exception $e) { echo $e->GetMessage(); } }[/CODE] I receive: Parse error: …

Member Avatar for Roebuc
0
2K
Member Avatar for willywonka

I have to write a program for my assignment that does a quote. It has to have a void function that validates a string and and integer entered. Other wise I would have solved the problem with a simple menu and integers. The entries has to be one of five …

Member Avatar for Vani3863
0
175
Member Avatar for redpython

I have a text file (tackles.txt) that contains basic stats on high school football players - so far it is just last name and number of tackles. For example: Jones 2.3 Smith 4.6 Dillon 7.8 How can I read that file and come up with the average number of tackles …

Member Avatar for redpython
0
191
Member Avatar for navinkumar

When we run a program and if the program is having a error...then we a popup message saying that there is a error in ur program.... The error message has a option of "Dont Show this message next time" I have enabled the Dont show me error message next time. …

Member Avatar for navinkumar
0
109
Member Avatar for Todd88

I am writing a project with two classes: 1 factory class and 1 "fragment" class. The factory class creates fragments from a given input file. For example, if there was a file that was 100 bytes in size, the factory class would create 10 fragments of 10 bytes each. The …

Member Avatar for vegaseat
0
127
Member Avatar for azegurb

Hello, I have one question again if i dont disturb you thank you very much you helped me with your help i created one table again and in this table i added some another options for ex at the previous table there were only one problem sum of the dynamically …

Member Avatar for Airshow
-1
267
Member Avatar for Altairzq

Hello... I can't see why this form is not working, when I generate if from a php script through Ajax. I made a test with the same code written directly in an html document and it works ok. Would appreciate any help. This is the code that generates the html …

Member Avatar for Altairzq
-1
126
Member Avatar for =OTS=G-Man

Hello, I am witting some software to interact with a mail order manager. Issue is they use a strange date/time format that they store as text in the DB, from what i guessed its YYYYMMDDHHMMSSNNN right now im using this function to get it into C# as a standard date. …

Member Avatar for Geekitygeek
0
359
Member Avatar for benkyma

I'm trying to connect to the twitter streaming api. At the moment I'm just trying to grab the incoming data stream, keep the connection open and write the data to the console. I can do this easily from a terminal using curl. The following code however runs, throws no errors, …

Member Avatar for VinayRok
0
930
Member Avatar for bhaskerlee

Hiiiiiiiii Can any one help me to find an idea for my final BTECH project. My project duration is 2 months and I decided to do it in C#.NET. I am preferring windows application......can any one help me............. Thanks in advance..........................

Member Avatar for sknake
0
129
Member Avatar for tkud

hello, can somebody help me in learning file i/o in c++? i would be very grateful

Member Avatar for dkalita
0
194
Member Avatar for jralexander137

I'm trying to take a string of a number i.e. 123456 of any size and then convert each int in the string to an int to be added to a linked list. I.E. read 1 convert to int then add to linked list, read 2 convert to int then add …

Member Avatar for BestJewSinceJC
0
121
Member Avatar for GibbsJeremyS

So I've been beating my head against a wall for the past few days trying to get this to work. I've tried countless samples from the net and even the MSDN sample. I just can't get it to work, Explorer NEVER seems to call my DLL. I recently created another …

Member Avatar for GibbsJeremyS
0
146
Member Avatar for adcodingmaster

i m making a messenger in linux. a command line application. here is a server and 2 clients.both the clients are connected to the server but not with each other. i want to connect those 2 clients with each other. i m the server. how can i do that? plz …

Member Avatar for dkalita
-1
95
Member Avatar for MrNoob

well bascially here i started with K&R excerises with remove tabes and spaces i m not sure why my programs works in my head it does but even in puesdo code i did it does but arr[j] sometimes get intilised to values before [code] #include <stdio.h> #include <ctype.h> #define STOP …

Member Avatar for dkalita
-1
99
Member Avatar for khaos64

Ok, I'm pretty new to Python.... What I need to do is set up a couple tuples like so: [CODE]users = ('user1','user2','user3') passw = ('pass1','pass2','pass3')[/CODE] I then am asking the user for their username and password to compare to the tuples. The only way I could think to do that …

Member Avatar for khaos64
0
273
Member Avatar for Diamonddrake

I have been working on a custom Hue Slider, when you drag the knob the color of it changes to its hue value. (ex 0 is red). I added a little gloss to the knob, I feel its not done, I Just don't have any Ideas as to how to …

Member Avatar for Diamonddrake
1
177
Member Avatar for mIssy_ricco

im using menu item as my navigation. and im using this to remove my menu. [CODE] Private Sub RemoveItemByValue(ByVal Value As String) For i As Integer = 0 To Menu1.Items.Count - 1 If Menu1.Items(i).Value = Value Then Menu1.Items.Remove(Menu1.Items(i)) End If Next End Sub[/CODE] but i can only remove the top …

Member Avatar for mIssy_ricco
0
101
Member Avatar for Atove

Hi all; I'd be really grateful if someone could assist me with this problem. What i am trying to do is create a query that pulls information from two different tables: tblBooking and tblConcessions. tblBooking holds the ID number of tblConcessions as a ForeignKey. What i need within my statement …

Member Avatar for TomW
0
116
Member Avatar for .11

Hey Guys, I am working on a BlackJack GUI, I have just about everything set up, and now I am working on generating the cards. I was doing some quick snippet test, to see if I can get it working. But no luck, I wanted to know if I can …

Member Avatar for .11
0
130
Member Avatar for MxDev

Hi guys, Is it necessary to use destructor in c# to terminate any created objects?? Thanks in advance

Member Avatar for sknake
0
110
Member Avatar for andym67

Hi All, I am processing a form that includes address info. If the user fills out the form and (address2) has an apartment number that they enter like: #1522 I have trouble later where I might contruct a link such as: [code] header("location: contact.php?address1=$address1&address2=$address2&city=$city&state=$state"); [/code] The link creates fine, but …

Member Avatar for diafol
0
169
Member Avatar for frank.zappa

I'm working on a school assignment and I'm having trouble with radio buttons. I want something like this: [IMG]http://i43.photobucket.com/albums/e395/frank_zappa77/vb04f06.gif[/IMG] Where at least one radio button from each frame (in that example, the frames being 'Processor' and 'OS') can be selected. I've set up my application to look somewhat like this …

Member Avatar for frank.zappa
0
172
Member Avatar for Altairzq

Hello. I'm using AJAX for all the updates to the web site I'm building and it works very well. But now I face the need to: 1) Upload a file (an image or video) to a folder in the server. 2) Insert a row in MySQL with the name of …

Member Avatar for digital-ether
-1
357
Member Avatar for TinoMclaren

Hello All: Im using a dataGridView in unbound way, and would like to set the foreColor of the cell i just added based on info i fetch from my db table, here is my current code :- [code]if (cheque == true) { dgv.Rows.Add(date.ToString("dd ddd"), venue, fee,"chk"); } else { dgv.Rows.Add(date.ToString("dd …

Member Avatar for TinoMclaren
0
6K
Member Avatar for Web_Sailor

Hi, I have done a lot of regex in perl and feel like in no mans land in c++ :) Well I want to parse a tab delimited file and want to print specific fields as per my needs. One more thing the input file may not be sorted and …

Member Avatar for iamthwee
0
249
Member Avatar for Alba Ra

This is from a training project. So the objective is to learn how to do a specific task, though there may be better ways to do the same thing. Okay, the background of the problem at hand: It's from my training Mastermind clone. The user has chosen his colours and …

Member Avatar for Geekitygeek
0
152
Member Avatar for cgyrob

I am just wondering if there is a way to stop my paging images from moving around the gridview footer when using the builtin gridview paging control.

Member Avatar for cgyrob
0
65
Member Avatar for HappyOrangutan

The output of the code below is: start Caught One! Ex. #: 1 Caught One! Ex. #: 2 Abnormal Program Termination I don't understand why the exception isn't caught. [CODE]#include <iostream> using namespace std; // Different types of exceptions can be caught. void Xhandler(int test) { try{ if(test) throw test; …

Member Avatar for HappyOrangutan
0
226
Member Avatar for geno93n0

Is there a code to set the font color for all outputted text in a86? I have to combine the following two programs, using the background from SIEGE and the content of FTCONV. My problem is that I'm working on a limited timeframe and I'd really like to know if …

Member Avatar for geno93n0
-1
109
Member Avatar for jithusdani

Hi folks, I want to open a pdf stored in the database in a new window using php server side script. Actually I want store the file name in data table, which user clicks. So i need a server side script open the things in new window along with the …

Member Avatar for jithusdani
0
3K

The End.