199,114 Archived Topics
Remove Filter ![]() | |
I want to merge 2 or more hashtables together..It doesn't matter what the final form is, as long as I can iterate through it. Here the final form is an array. So I have an unsigned long long as the key, the value is a string,int pair. Each key maps … | |
Just wondering if anyone can help with making all the fields on my contact form a required field. I have added the coding for the contact form php. Also will there be an adjustment to the coding for the website? Thank you in advance for your help. [CODE]<?php $field_name = … | |
Hi, I am rapidly getting involved deeper programming and I want to know more about fundamental computer concepts. Could you drop some good tittles for me please? THANKS | |
hello sir, i am new to jsp and i have to use jsp mail in my project and i got a jsp mail script but unfortunately it is showing error like this one! 530-5.5.1 Authentication Required. Learn more at 530 5.5.1 http://mail.google.com/support/bin/answer.py?answer=14257 f10sm3473193anh.25 i am using smtp server:smtp.gmail.com and there … | |
Hello, I have access database which have hyperlink column, and values as "/yes.bmp", "/no.bmp". Then in asp.net have a GridView with ImageField which in browser will show Yes image, or No image. ImageField Properties >> DataImageUrlFormatString: ~/images/{0}.jpg. My goal is to get in vb.net code a value from GridView's imagefield. … | |
hello... Can you help me please, how can i use the checkbox if i want to display on my listiew Active or not Active After clicking the addbutton. Example Jemz Gimz 123 then i will check the checkbox and click the Add button it should display on my listview Jemz … | |
![]() | Hi all, I recently made a web crawler as part of a Uni team project building a small search engine. I've managed to incorporate it into our GUI, there is a button which starts the crawling process by creating the crawler in a thread. (I did this because otherwise the … |
i have a form, on which after i click submit, i want the existing elements to get cleared off , ie, all those form fields and button to be cleared, and the result i wanna display be displayed kind of like clrscr() in c++. is there anything in JSP or … | |
I've got this error `Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/siambidd/domains/siambidding.com/public_html/session.php:3) in /home/siambidd/domains/siambidding.com/public_html/session.php on line 4` I've checked my code, there is no any spaces, and I'm not using BOM as well, but still got this error. please help me here … | |
Hello, I'm making an application that supports sending text/files. It will use a server and 2+ clients. The clients won't communicate directly with each other, their messages will be forwarded by the server. My problem is this: in C++, after starting a client, I'd have 1 thread stuck on RECEIVE … | |
Hi all, I'm trying to match all PHP reserved keywords in a string, but this string also contains a bunch of \4 characters [i]between[/i] the letters. So, for example, if I have the string [ICODE]'f\4u\4n\4c\4t\4i\4o\4n@@@some other weird characters@@@'[/ICODE] and the array [ICODE]['abstract','and','array','as','break','case','catch','class','clone','const','continue','declare','default','do','else','elseif','enddeclare','endfor','endforeach','endif','endswitch','endwhile','extends','final','for','foreach','function','global','goto','if','implements','interface','instanceof','namespace','new','or','private','protected','public','static','switch','throw','try','use','var','while','xor'][/ICODE] and I want to make 'function' match '\4f\4u\4n\4c\4t\4i\4o\4n\4', … | |
This is my Program: [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication1 { class Myclass { static void Main(string[] args) { Myclass d = new Myclass(); d.Myprog("ahasda"); } void Myprog(params string[] s) { int num=0; foreach (string r in s) { if (r.Contains('a')) { num++; } } Console.WriteLine(num); … | |
Hi everybody, I have a question about purchasing a product which I do not know the name of or where to buy from. I have the following requirements for a PDA but can somebody point me to a few links of where I can buy such a device. My requirements … | |
I am working if application and I cannot figure out how to make a box move forward one at a time when the spacebar is pressed. Here are my codes: [CODE] package DrawingInApplications; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import javax.swing.*; import javax.swing.JFrame; public class Program extends Drawing implements KeyListener{ Drawing d; … | |
Hello:-/ I have a form that generates a multidimensional button array that represents theatre seating when I select an event in a list box ... so far so good. I also have a database that I can get to return a list of tickets which relate to the buttons/seats ... … | |
Hi, Again I am trying to do a simple thing but with joomla it is advanced. What I want to make is to show articles on front page in the way like it is in the atached picture. You can see the red bracked on the left. There is 3 … | |
i am having a lot of problems trying to create a Mastermind game. The goal is to implement it and have it print out a game board on the screen that has the previous answer move up as new ones are entered. Also its supposed to keep track of whether … | |
i write a point class, when i compile , vs2008 give me the warning about" not all control parth return a value" could you please tell how to avoid that? [CODE] double& operator [](int i) //[] which can used as the left value { if(i==0) return x; else if(i==1) return … | |
i have my interface built already and my sql database. i want to connect the interface to the database. i have four fields that is the lugword, meaning1, meaning2 and the search from the database can some ome help me | |
So here's the question: Suppose as min heap uses parent pointers such that each node contains a pointer to its parent and the root has a null pointer. Given a pointer to the node, which isn't the root of the tree, containing the max key in the heap, what is … | |
Hello again guys, I am little bit stuck in this situation and searched everywhere in google but i did'nt find what actually i want.. a problem with autonumber in access database. i have created a database with 4 columns .. deleted primary key slip, cname, nic... the slip column is … | |
Any help would be appreciated. I have a working command line program (trivia question) and decided to try to put it in a Gui. I got the user menu to print, but it gets to line 162 and blows up (going line by line) where I'm thinking it should do … | |
Hi, I am working on an exercise in operator overloading. I've created a matrix class and I am supposed to overload operators so I can do arithmetic on matrices efficiently. My directions say that I am supposed to make two matrix arrays using the class constructor that has 2 parameters … | |
Hello, I want to save multiple record in database from DataGridView. I have some code but their is an error i.e [B] Column named id cannot be found. Paramater name:columnName[/B] [CODE]SqlConnection cn = new SqlConnection(); cn.ConnectionString = "path of connection"; cn.Open(); string q = "select * from abc"; SqlDataAdapter da … | |
Here is my code for the login script. Everything works perfectly, but everytime I enter everything CORRECTLY into the forum, it says "The username, ____, and password do not match!". When they do match. If I leave the areas blank, they say "You must enter a username!" or "You must … ![]() | |
Alright, I have a random thing going on. Works perfectly fine. This is the code: [code]<?php include("config.php"); //To change the odds, change the second number in the rand() function. $rand = floor(rand(0,1)); if($rand == 1) { $sql = "SELECT * FROM randomevents WHERE rarity <= '10'"; $result = mysqli_query($cxn, $sql); … ![]() | |
It's working great, but at some points after one of the random events goes through, I reload the page and it either gives me or takes away some starpoints without showing the message.. but it shows the message all the other times. Could someone help me debug this and see … ![]() | |
I am having trouble correctly allocating memory for a parent function that will remain upon the child functions exit. the call to the child function is [code=c]HTTP_packToGen((char*)http_headerContent.HTTP ..[/code] the HTTP variable within http_headerContent is a char pointer that isn't allocated until the child function is called, http_headerContent is a static … | |
i searched about this error. they said is mostly caused by forgot putting semicolon... but i find for 1hours+ still cant find out >.< anyone can help me? the error is pointing test.h lines 9: multiple types in one declaration test.h: [CODE]#ifndef TEST_H_ #define TEST_H_ class TEST { public: //call … | |
Hi all, I am writing a program in VB6 where I need to determine the path for the system32 folder. I know the default path is c:\WINDOWS\Sytem32, but some people installed they windows in another drive. How i can get the path of system32 folder? Best Regards Vega | |
In my current project (homework), I am storing a pair of values in a map. The ID is an integer, and the value is a string (name of a movie) and an integer (rating of the movie on a 1-5 scale). I need to get the elements into the map … | |
compiler vc2010 and gcc4.5.2(minGW) os : windows xp sp3 I am trying to implement a generic find_if function as std::find_if Below is my code [code] //code for estimating expanding time template<typename unaryOP> double timeCount(unaryOP op, size_t const LOOP = 1, char const* NAME = "function") { std::clock_t begin, end; begin … | |
Hey, I'm trying to work on a project that asks a question and tyhen give three possible answers. The problem is that I want the answers to be in random places.. So like the answer could be in in the second place 1 time and at the top again. I've … | |
Hello, I have the following situation which I can seem to resolve. When I do an "ALTER TABLE" in mysql (v5.5) it hangs in with "waiting for metadata lock". Here is how I got there: - i have an xml which i want to import into a table; i use … | |
I'm using a single WSH script controlled by Microsoft Task Scheduler that calls a series of daily run batch files sequentially. However, some of these batch files only need to run on the first working day of each month. I don't want to create additional Task Scheduled events for these … | |
Is there a way to move data from one map to another without it being re-sorted? Ex: I have a map of [ICODE]<int, pair<string, int>[/ICODE] where the key is the number of vowels in the string (int) and the pair contains a moviename as string and rating as int (multiple … | |
![]() | Hi I'm trying to use the outportb() function to send a signal to a RS-232 serial port. I understand that in order to use the function I need to #include <dos.h> and <conio.h>. I am using Dev-C++ as my compiler and am having no luck when compiling the code. I … ![]() |
hi, all im working in access 2007 vba, i write a code in the login screen, to check if the user name and password match with the corresponding username and password in the database. the problem im facing is if a user enters a usernam correct and a password which … | |
Hi Guys, I really need help with my checkbook. My functions seem to be working. However when I can deposit, balance, or withdraw from the userinterface it doesn't seem to store the updates. When I check my balance it always says the balance is 0.00. Can someone help me fix … | |
I can write char a[] = "hello world"; , but i can not write char a[]; a = "hello world"; why is that ?? | |
Hey there, I am looking to have 2 drop down lists, 1 for provinces and 1 for cities. i saw some examples in java script but since i dont know how to use java and i do know and LOVE php i wondering if anyone can help me with this … | |
Hello Guys, I'm having the biggest headache over this issue. I have a system that I designed which uses a standard php login script to a MySQL database. The system has account registration etc. For the past 5 months I've tested multiple accounts and logged in with one primary account … | |
hello guys, how can my program gives automatic code numbers? for example the first student has the code number 1,the second student the code number 2 | |
I am working on developing p2p chat system and also file share system.... But only thing is that ...i can't find out the way to find how to implement it...i have worked on client server programs but i m not able to get p2p... The concepts of P2P are:- 1. … | |
Some details of my machine and installed packages before proceeding further: [B]Mac OSX version: 10.6.6 Python version: Activestate Python 2.7.1 wxpython version: wxpython 2.8 (uses Carbon API hence limited to 32-bit mode arch only) [/B] I installed wxPython2.8-osx-unicode-py2.7 from wxpython website using their .dmg installer file. This package uses the … | |
As you folks may know, I love math! I know almost all programming languages, but which one should I use for math. Basically, I want: Easy type conversion I don't care if it is object-oriented or not' Can handle LARGE numbers And speed! I do not need graphical features, just … | |
here i want to know that how i can do this result on client side no user can change,delete or add in this page how i will show info like this: (all values come from database) +2009 +2010 +BCA-I +BCA-II -BCA-III SAD.pdf Advance Web Application.pdf Programming in JAVA.pdf +PGDCA +M.Sc. … | |
Guys Is there a way to export the record of a table in csv format and then send that csv as attachment in mail to anyone using php? Thanks | |
I have all but completed my design for an application in PHP and MySQL using apache as my web server. However, I was wondering whether apache supported transaction logging which would save me creating code with numerous database calls to log all activity myself. I appreciate I may have to … |
The End.