64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for baltazar

Hi, I'm trying to split a string with multiple delimiters using the PHP preg_split function. I am trying to separate the numbers from the units in terms like 172px, 100%, 2.5ems etc... i.e. after I run a preg_split on 172px I want the resulting array to have array[0] = 172 …

Member Avatar for baltazar
0
1K
Member Avatar for jen140

Hello all. I have a string that will contain the username, for the security reasons i want it to be checked it if its diferent from the specific charset. I think it could be done by looping the check 1 character from the username at a time till the end …

Member Avatar for EvolutionFallen
0
99
Member Avatar for persianprez

I'm to have the user input what classes they have taken and tell them what they have left to do. I have my for loop done but I feel like I need an array or something because they should have entered requirement for 6 different class types. Here is my …

Member Avatar for d5e5
-1
135
Member Avatar for djohnson82

Every time I write a code using Visual Studio for my C++ class, I keep getting reference linking errors and I dont know how to fix it. I have attached the code and the error that I keep getting. [CODE]// Fig. 3.7: fig03_07.cpp 47 // Instantiating multiple objects of the …

Member Avatar for djohnson82
1
87
Member Avatar for NinjaLink

Hey, In my duplicateWords function, I have been trying to figure out for a couple of hours how to [U]create[/U] duplicates for 4 different names in the list. Will someone help lead me in the right direction in how to complete this task? My program is reading in 50 words …

Member Avatar for NinjaLink
1
217
Member Avatar for nadnakinam

hi i'm using [B]wamp server 2.0[/B] in that, php version 5.3.0 MySQL version 5.1.36 PhpMyadmin 3.2.0.1 MySQL client version: mysqlnd 5.0.5 while uploading my files on to server (plesk control panel) there i have these... [B]Local host[/B] MySQL version: 5.0.45-community-nt Protocol version: 10 Server: localhost via TCP/IP User: username@localhost [B]PhpMyAdmin[/B] …

Member Avatar for nadnakinam
0
274
Member Avatar for Frenzic

Hi, I'm stumped at this problem set and was wondering if anyone could guide me in the right direction or give me some hints on where to begin. I'm not looking for a full answer. Q: Write a program that computes and prints the 1000th prime number. Any help is …

Member Avatar for pysup
-1
98
Member Avatar for ShailaMohite

Hi I am create one application in which add some selected images into flowlayoutpanel but how to remove memory assigned to particular images in flowlayoutpanel [B]It give some error like this[/B] (the process can not access the file "C:\Images\xyz.jpg" because it is being used by another process)

Member Avatar for Geekitygeek
0
127
Member Avatar for VidyaYadav

Hi, I have added no.of images(pictureboxes) in a flowlayoutpanel using openfiledialog. Now i want to remove the particular control at runtime but i am able to get the particular control. How can i name the pictureboxes while adding them in flowlayoutcontrol and after adding them how can i get the …

Member Avatar for Geekitygeek
-1
2K
Member Avatar for jithusdani

Hi Folks, I have created a text box dynamically using javascript. Now i want to call a javascript function in the OnChange Event Of that Control is there any way to do the same.?? Here is the code what i tried. [CODE] el[j] = document.createElement('input'); el[j].type = 'text'; el[j].name='work'+j; el[j].onChange='lookup(this.value)'; …

Member Avatar for jithusdani
0
92
Member Avatar for severman

hi all. i hope someone could help me. i'm trying to build a bidding site using ajax, and php. what i want to do is that: when the bid time is over 5 minutes, the "div" i've placed will refresh every 10 seconds, and when its under it will refres …

Member Avatar for severman
0
152
Member Avatar for DARK_BYTE

Hello I wrote a class Employee and a tester class TestEmployee.The problem is that I get this exception after I enter the first employee's id.I thght if I give default values to the instance field the exception shouldn't have occured; can someone help me with this please: Employee class: [code] …

Member Avatar for DARK_BYTE
0
151
Member Avatar for jen140

Hello all. I was trying to execute wget from the perl under windows vista. In cmd i can easily run wget because its in \windows\system32 folder. But from perl,when i try both system('wget --h'); and system('c:\windows\system32\wget --h'); i get the next error : 'wget' is not recognized as an internal …

Member Avatar for jen140
-1
94
Member Avatar for lcyew

Hi there. Is there any way that can count the number of slashes in a string? For example: abs/frg/grgr/rgr/ and,the number of slashes can be obtained? Thanks for any solutions provided.

Member Avatar for lcyew
0
570
Member Avatar for sonia sardana

I want to change the value & its backcolor of cell. On Button1_Click,I m adding records to the Gridview. On Button3_Click,I want to chnage the value of cell & its backcolor. Suppose two Rows & two columns are there in Grdiview 1 10 2 20 Suppose I want to change …

Member Avatar for sonia sardana
0
117
Member Avatar for sonia sardana

I was asked Suppose there is table A in DB,Suppose when we update that table,whose are two tables(Magic tables) that are updated other than table A?

Member Avatar for sonia sardana
0
247
Member Avatar for leokuz

[COLOR="Green"]I am trying to send email from VB.Net using code posted below in VB 2008 Express, but get one error "Syntax error" and it points to [COLOR="Red"][B]Imports System.Net.Mail[/B][/COLOR]. I also would like to include required by server authentication as well as to make confirmation message box disapear itself after two …

Member Avatar for leokuz
-1
368
Member Avatar for rdevi

Hi all, I am new to Perl. I am trying to send a variable which contains the location of my executable (eg: C:\temp) to system function. i initialized the variable as, my var1="C:\\temp"; when i print this line i got : C:\temp as o/p. To start the executable i did: …

Member Avatar for rdevi
0
133
Member Avatar for xWiredx

good day.. i have a problem in accessing my Access database in network.. I made an inventory system... i couldn't run the program simultaneously in two PC. i got this error >>> "could not use.. file already in used"... i thought it can use in network? is my coding have …

Member Avatar for xWiredx
1
81
Member Avatar for moonlighter724

I've only just started playing around with Javascript, so don't mind what I say if I misuse a term or ask to do something that's impossible. I'm having a problem opening a program through Javascript. I want the script to start a game that people can play. I'm using the …

Member Avatar for preemals
0
104
Member Avatar for mr_scooby

Was just wondering if anyone here is an Access master have this code that I want too add a CHECK too but keeps on throwing a syntax error [code] CREATE TABLE Email ( userEmailAddress memo not null, timeDate datetime not null, contactEmailAddress memo not null, emailBoxType text(6) not null, readStatus …

Member Avatar for mr_scooby
0
108
Member Avatar for kahaj

For some reason, line 67 is saying, "variable ddOption may not have been initialized. However, on lines 80 & 93, that variable is used and works just fine. Any idea of what's wrong here? (I omitted some of the code in the middle section. [code] //ShapeCalculator.java import java.util.Scanner; public class …

Member Avatar for kahaj
0
119
Member Avatar for lcyew

Hi! I'm having some problem in displaying long varchar retrieved from database on the interface. When the text is very long, it causes the interface to stretch horizontally to display the whole text. I've tried to use text field to display them. It can restrict the display of text in …

Member Avatar for lcyew
0
115
Member Avatar for wyett

So, I am currently having 2 issues with my code. Problem 1: Any value entered in for the GPA that isn't a number causes an infinite loop. (example: enter in the letter X) Instead of giving an error message, it just goes into that infinite loop. [CODE]bool right = false; …

Member Avatar for wyett
0
159
Member Avatar for Alexpap

Greetings members, i would like you to help me with a problem that i have. I have a gridview and in each row of the gridview there is a nested gridview. What i want i to insert paging functionality, to the nested Gridview control. Thanks in advance, Alexander

Member Avatar for carobee
0
884
Member Avatar for OmniX

I throw the exact same sql statement in phpmyadmin and it works but it does not work with mysql_query. Ideas? [code] $a = "INSERT INTO players (player_id, first_name, last_name, date_of_birth, email, mobile_number, emergency_number, mother_name, father_name, player_number, team_captain, ip_address) VALUES ('', '', '', '', '', '', '', '', '', '', '', …

Member Avatar for OmniX
0
143
Member Avatar for Frederick2

Been meaning to ask that question for a long time. With Visual Studio 6 I seem to recall I had to include iostream.h to use the CString class. Do I have that right? I think I also had to specify in a configuration dialog that I wanted to either link …

Member Avatar for Frederick2
0
302
Member Avatar for OmniX

I have done this a million times before. I dont understand why this is not working through the use of a class. It is telling me that the variable is "undefined" hence contains a NULL value which is a load of *((^&$#. Anyways my code(sections of it) is below, any …

Member Avatar for OmniX
0
124
Member Avatar for kkris1983

Hi! I am a student and I am working on database that concerns customer-order-product relationship. When designing it I encountered an issue that I do not really know how to solve it in the way it seems reasonable and obeys Normalization process. I would appreciate for any assistance. Description of …

Member Avatar for peter_budo
0
101
Member Avatar for EntangledDesi

How do I go about coding the 'Calculate button' so that when a user is prompted to input a number into a Input box it will will calculate the square and square root of it? This is what I have so far. I'm pretty sure about the first part, but …

Member Avatar for EntangledDesi
0
86
Member Avatar for railmaster7

I'm having trouble figuring out how I would replace a value in my vector once it is found by the if statement. [code] void ExprTree::setVariable(const string& s, double d) { vector<Variable>::iterator pos; for(pos = varList.begin(); pos!= varList.end(); ++pos) { if(pos->data = s) ; //here is where i'm stuck else if(pos …

Member Avatar for chunalt787
0
144
Member Avatar for LurkerPatrol

Hi everyone, So I have a form that I'm running which has an option to upload a resume. The form itself is actually multi-page but it all sits inside 1 asp file. The way I manage that is to use a select function and case function and depending on the …

Member Avatar for LurkerPatrol
0
206
Member Avatar for whiteyoh

Hi all, im very new to java i would like to know how to add the following objects into an array [code] CD cd1 = new CD("Kaiser "," up the khazi ", 9.99); CD cd2 = new CD("Oasis "," morning glory ",3.99); CD cd3 = new CD("Bob Dylan "," Alreet …

Member Avatar for Ezzaral
1
493
Member Avatar for planethax

OK, I am making a Form that will have about 65 check boxes, this data will be pulled from database. I need to validate form to be sure that 7 (no more no less) are checked. Can some one post a quick code snippet of the code validation for this? …

Member Avatar for wilch
-1
139
Member Avatar for ShailaMohite

Hi I am create one application in which add some selected images into flowlayout panel.how to select particular image from flowlayout panel and remove this selected images from flowlayout panel Regards, Shailaja

Member Avatar for Geekitygeek
0
6K
Member Avatar for bmiles2001

I have a GridView posting what is in my database and I have the DeleteCommand working as I want it, however, the Update Command is not updating. The if statement in mySQLDataSource "says" it's updating, but that is not the case. I have also tried adding in DeleteMessages.DataBind() thinking that …

Member Avatar for bmiles2001
0
550
Member Avatar for Oritm

I created a map<string, void*>. The void* used to store an Object from a class called Window. I can cout a string with the following: [CODE] it = windowMap.find(title); if( it != windowMap.end() ) { cout << "Value is: " << it->first << '\n'; } else { cout << "Key …

Member Avatar for Oritm
0
67
Member Avatar for Teethous

[TEX]Hey everyone, I am having a problem with converting my character array. The program runs, but in the display box I get little squares instead of a string. The program should display the first char of the fist name, the first five of the second name and a random number …

Member Avatar for Teethous
0
181
Member Avatar for DoEds

I dont know how to pass a value from the function [ICODE] total();[/ICODE] to [ICODE]main()[/ICODE]...i want get the value of the [ICODE]prod[/ICODE] and assign its value to bill...But this code i have will only redo the function [ICODE]total() [/ICODE]...Anyone can help please?. [ICODE]#include <stdio.h> #include <conio.h> int header(); int choices(int); …

Member Avatar for DoEds
0
138
Member Avatar for ayesha789

HI, I am developing a Inventory Management Databse in PHP/MySQL. There are 3 fields 1. Item_Code 2. Serial_No 3. Quantity For Example: if Item_Code is fan02 and quantity 10 then each item quantity have a unique serial no. How i can develop a form for user, Who can insert item_code …

Member Avatar for network18
0
127
Member Avatar for Facte

Hi there everyone. I have a script that has been written to generate a feed for sites that mine links to. It is supposed to return all jobs from my mySQL database that have not expired. No matter what I do I can only get it to display all jobs …

Member Avatar for Atli
0
120
Member Avatar for genieuk

Hi, I built a comments system, basically the comments appear underneath the form once submitted and page is refreshed, everything works like it should. I have this piece of code below, what i am having difficulty in is first time it worked then it no longer works. [CODE]<?php $bannedwordquery = …

Member Avatar for genieuk
0
161
Member Avatar for procomp65

Hi I receive ascii data from the serial port which consists of only 0 to 9, /005, /004 and spaces between values, but sometimes the harware get spikes from the electric motors and then the recorder add some funny characters. I need to check the string PortData = "" to …

Member Avatar for Geekitygeek
0
2K
Member Avatar for zorro-az

hi, everyone i would like to learn more about parentnode and childnode (with exaplanation) with the tutorials The reason i am beginner i dont understand this properties does anyone help

Member Avatar for Airshow
0
140
Member Avatar for AdventDeo

Okay idk if it's possible but I want one of my fields to have 000 as a default value and to maintain this value whenever called for. Like if I use PHP to run a query that asks for that field I want it to return "000". I'm doing this …

Member Avatar for network18
0
111
Member Avatar for mrinal.s2008

Hi, While trying a program from "C++ Primer 3rd Edition" by Stannley Lippman, I encountered with following two errors. 1. The book says that the header file fstream also includes the header iostream, so including just fstream will do. But g++ complained about cout, cin and cerr despite having fstream …

Member Avatar for William Hemsworth
1
321
Member Avatar for jithusdani

Hi Folks, I have 2 texboxes with the name names like 'des0' and 'des1', So i need to validate this two controls for required filed with the help of loop. something like this [CODE] for (var i=0;i<=1;i++) { } [/CODE] So i have confused what will write inside the loop …

Member Avatar for network18
0
119
Member Avatar for jithusdani

Hi Folks, I have 2 texboxes with the name names like 'des0' and 'des1', So i need to validate this two controls for required filed with the help of loop. something like this [CODE] for (var i=0;i<=1;i++) { } [/CODE] So i have confused what will write inside the loop …

Member Avatar for jithusdani
0
103
Member Avatar for farsen

Hi. First of all, I am new to C#. I have made this simple C# remoting example, based on a couple of tutorials I have read. The problem is very simple. The remote object that my server created, has to have a method, that can edit, lets say a textfield, …

Member Avatar for farsen
-1
176
Member Avatar for naif_prof

hi PLZ .. Im searching for an online exam applicatoin (MCQ exam ) using ASP.NET (C#) and this application read Questions randomly from a list of questions Stored in database like MSSQL2000 PLZ any one can help me to find this application because I Know this type of application available …

Member Avatar for piknik
-3
820

The End.