199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for CFROG

I'm new to PHP and I'm some trouble writing to multiple tables from the same form. When I run the following script it will not write the data to XINFO but it will write to ATTRIB1. If I take ATTRIB1 out of the script it will work properly and once …

Member Avatar for CFROG
0
285
Member Avatar for hwaterboys

Can someone please tell me how I would wrap my array. Lets say that it is of size 10. What I want it to do is count the number of letters in the name then mod it into the array (This is working properly). If a name has the same …

Member Avatar for hwaterboys
0
123
Member Avatar for dimplemodi

Hello! All, "Error in my_thread_global_end(): 1 threads didn't exit " I got this error when i m trying to access my site........ i m web developer so i hvan't any access to change in core part of PHP and MYSQL........ :sad: what should i do?????? :?: Please anybody help me …

Member Avatar for dimplemodi
0
96
Member Avatar for shizu

Hi all, I'm using microsoft visual C++ 6.0 with SP4 and SP5.. I had a program which content a CScrollView.. Now I would like to add in a image into CScrollView.. but my image is buffer..not from resource.. I can save my image, bitmap form, into local drive.. but I …

Member Avatar for shizu
0
142
Member Avatar for oopg

hihi, when I open a file using ofstream or fopen, the memory cannot be released after I call [B]close() [/B]function. how can I release the memory? P.S. the memory can be released after remove the files. the program code: [CODE] int main (int argc, char **argv){ ofstream file1; while (true){ …

Member Avatar for Ancient Dragon
0
279
Member Avatar for nova2177

wow, haven't been here for sometimes due to the business aspect of my course. would like some help in understanding what is set, get, change and return in c++. have an assignment with topics the class haven't covered as yet, but I'd love to understand it before we reach those …

Member Avatar for Ancient Dragon
0
158
Member Avatar for denniskhor

My question is :' if my "[2009'07'12 @ 22'49'47] main page.jpg" store in "C:\image folder\", but the timestamp [2009'07'12 @ 22'49'47] will be inconsistent, so i wan use behind "main page.jpg" to find "[2009'07'12 @ 22'49'47] main page.jpg", and print the link like "C:\image folder\[2009'07'12 @ 22'49'47] main page.jpg" as …

Member Avatar for denniskhor
0
227
Member Avatar for bnekolny

Hello, So I've got a code where I'm wanting to make sure that there is nothing in this class variable "finalgrid". To do this I've got an if statement: [code]if(canvas->finalgrid) OR if(finalgrid)[/code] Sorry for the confusion with the two statements, but I'm working on modifying one project to fit in …

Member Avatar for bnekolny
0
107
Member Avatar for nanchuangyeyu

Hi, I am a C++ newbie and had never written even a very simple C++ class before. Now I intend to do such a job. My objective is quite simple, a matrix class with the following features is just OK: [COLOR="Red"]1. The object of such a class can be initialized …

Member Avatar for Ancient Dragon
0
388
Member Avatar for sal21

Hi friend i use this code to connect via vb6 a mysql database in local. Is possible to connect other pc with the same code on the dsn on original pc where reside the dsn? Tks for all and sorry for my bad english i'm italian. Sub uno() Dim conn …

Member Avatar for vb5prgrmr
0
174
Member Avatar for shiv0013

how to delete a particular record in all the tables? i am not sure wat r the tables as i wil create them at run time i am maintaining an attendance for employees. a table wil be added for every month and when i delete a employee, his record should …

Member Avatar for vb5prgrmr
0
116
Member Avatar for ladykaelin

Hi: How can I write a program using pointers and classes. My program suppose to translate dollar amounts in the range 0 through 9999 into an English description of the number. For example, the number 710 could be translated into the string seven hundred thirteen, and 8203 would be translated …

Member Avatar for monkey_king
0
114
Member Avatar for b89smith

I have a few computers one acts as a server and the rest are clients. They are all on the same LAN. I need to write a program that when I enter data into one of the clients it sends it back to the server which is constantly listening. The …

Member Avatar for b89smith
0
99
Member Avatar for sravan953

Hey guys, I want to make a Python program which I will use to automate certain tasks like opening TweetDeck and Skype everytime I boot up my laptop. The problem is, I know how to open the programs(using subprocess.call), but I don't know how to pass the user ID and …

Member Avatar for zachabesh
0
278
Member Avatar for sid78669

I'm working on a web browser that will have the option to block ad components such as 1. <img src="your block url" /> 2. <script src="your block url" type="text/javascript"></script> 3. <iframe src="your block url"></iframe> 4. <embed src="your block url"></embed> 5. <frame src="your block url" /> 6. <div> tags Now I …

Member Avatar for Ramy Mahrous
0
150
Member Avatar for cronika

As the title says, here is the code : [code=php]<?php $lvl=1; $xp=0; if ($xp <50) { echo $lvl ; }; if ($xp >51) { echo $lvl+1; } return $lvl; if ($xp >101) { echo $lvl+1; }; ?> <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post"> Xp : <input name="xp" type="text" /> <input …

Member Avatar for mrcniceguy
0
89
Member Avatar for emilio

how can i compare between two objects using getType method i want to know if two objects are from the same class or from the same base class

Member Avatar for serkan sendur
0
112
Member Avatar for bringoutthejams

I saw a similar problem to this, but couldn't understand the solution the guy used. I have to sort this tunes program in order by title. It seems like there is a problem with my sort algorithm, but I cannot figure it out. Here are the classes. [code] public class …

Member Avatar for JamesCherrill
0
126
Member Avatar for brainbox

Hi I am totally new to crystal reports and i need to print invoices from C# with the data stored in SQL. Now i can retireve the data and display it in the report however, i cannot properly display it. The problem is that e.g. i want to print out …

Member Avatar for Ramy Mahrous
0
100
Member Avatar for Sailor_Jerry

I have 3 tables. Company, phone, companyPhone. The company table has an auto_increment companyID primaryKey The phone table has an auto_increment phoneID primaryKey The companyPhone table row is made up the companyID, and the phoneID. On my form the user will enter company information and the company phone number. After …

Member Avatar for Sailor_Jerry
0
143
Member Avatar for BlackIP

Hi Im learning C# lately. Im working right now on a project that should help me learn some new stuff about C# programming... I'm programming a simple accounting software, that can be used by small businesses, especially by small shops. This software should register products, it will have a form …

Member Avatar for Ramy Mahrous
0
321
Member Avatar for chewy81

I have a C# remoting app that has 2 pieces. One runs in the current user context and is a Windows Application. The 2nd piece runs as a windows service and they communicate just fine with each other using Remoting. However, I cannot find a good solution to my problem. …

Member Avatar for Ramy Mahrous
0
98
Member Avatar for sbala_810
Member Avatar for adelphe
Member Avatar for adelphe
0
96
Member Avatar for waleed_cs2000

hi I have some code of ADO.net to dynamically detect the database schema, [B]what I need is how to get Unique columns constraints and Primary key constraints using SqlConnection GetSchema() method.[/B] thanks

Member Avatar for waleed_cs2000
0
88
Member Avatar for headedtomexico

i'm a little back wards with my c++ knowledge. I kinda got thrown into a maintenance project on an existing project so I know how most of the software works, but I find myself lost on some simple entry level things sometimes. That was my disclaimer for not feeling foolish …

Member Avatar for Hiroshe
0
157
Member Avatar for GWalk612

I am getting the error "error C2228: left of '.push' must have class/struct/union" when I try to push a random double onto the stack. Here's my driver... [CODE]#include <iostream> #include <string> #include <stdio.h> #include <stdlib.h> #include <time.h> #include "DynStack.h" using namespace std; int main() { double dblCatch; //holds values popped …

Member Avatar for Tom Gunn
0
126
Member Avatar for drake2212

So this is my first time on here asking for help but I do visit this forum every now and again when I am taking a programming class. I am trying to get my doubly linked list to work correctly. Also I am having issues with parsing an input file. …

Member Avatar for drake2212
0
111
Member Avatar for bubbafunk1

Hi, Does anyone know of any simple to use software for bulk uploading products to an ecommerce website database? I dont know enough PHP or MYSQL to write my own scripts, so I was hoping there is a program to do it for me. I will have to use a …

Member Avatar for bubbafunk1
0
105
Member Avatar for urs.karuna1218

Hi Folks, Can anyone explain me whether we can use multiple predicates in the path expression. In the below path, // indicates searching for the node in XML document irrespective of its position, but I didn't understand why 'starts-with' function is placed in [] brackets. Even though it's working fine, …

Member Avatar for urs.karuna1218
0
147
Member Avatar for nccsbim071

Hi, Recently i have been creating a Generator. That extracts all the names of the tables from the database tables and generates the class file for each of the tables in the database. I have successfully extracted the names of database tables and their corresponding column names with thier data …

Member Avatar for sknake
0
405
Member Avatar for kimbula...

I want to validate a textbox so that only numeric values can be inserted in to it. This validation should done while user enters the values. For example. Consider following keys had been pressed in a sequence 12345abcd678 only numeric values should appear in the textbox so value which should …

Member Avatar for kimbula...
0
144
Member Avatar for sridarravi

I have a small question. I am using a JFileChooser in one of my projects and I want to make it so that I cannot edit the file name. Is there any way to do this?

Member Avatar for JamesCherrill
0
102
Member Avatar for SubProf

Hello Everyone, I have a timer that starts when a button is clicked on Form1. When the time elapses Form2 appears. On Form2 I want to stop the timer and restart it from a button on Form2 however the timer does not stop. Here is my code for Form1: [code] …

Member Avatar for SubProf
0
126
Member Avatar for vytla

I have created web page that retrives data from SQL database and display it to the user in well formatted manner. Data retrieved depend upon criterias selected by the user. But sometimes data retrieved is very large. I want to display records to the user page wise, i.e. 100 records …

Member Avatar for rafaelbelliard
0
107
Member Avatar for miry

Hi, looking for help and need pointing in the right direction, can anyone assist? Have a data file (txt) that contains 10000 numbers/data points. Storing the data file as varbinary(MAX) in an SQL table. My goal is to retrieve the file on user request and plot/chart the numbers as a …

Member Avatar for miry
0
166
Member Avatar for sravan953

[CODE]import time import subprocess #TweetDeck a=15 print "Opening TweetDeck...\n" while a>=0: print (str(a)+" seconds remaining...") time.sleep(5) a-=5 subprocess.call("C:\Program Files\TweetDeck\TweetDeck.exe") #Rest period print ("\nWaiting...") time.sleep(5) #Firefox a=15 print "\nOpening Mozilla Firefox...\n" while a>=0: print (str(a)+" seconds remaining...") time.sleep(5) a-=5 subprocess.call("C:\Program Files\Mozilla Firefox\firefox.exe") [/CODE] Hey guys, I used the above code to …

Member Avatar for zachabesh
0
298
Member Avatar for nrbsneil

Hi guys, This may seem a little simple, but I'm new to html/php programming so here goes I have a listbox with six items on my page. I would like to call a different php file depending on what option was selected psudo code would be if selection = 1 …

Member Avatar for nrbsneil
0
175
Member Avatar for daviddoria

The problem is on the "MyIter = " line: [code] class OrientedPoint { .... class variables ... std::map<std::string, double> DoubleValues; ..... bool OrientedPoint::getDoubleValue(const std::string &ValueName, double &Value) const { std::map<std::string, double>::iterator MyIter; MyIter = DoubleValues.find(ValueName); [/code] The error produced is: [code] In member function 'bool OrientedPoint::getDoubleValue(const std::string&, double&) const': error: …

Member Avatar for daviddoria
0
6K
Member Avatar for emint

Helo every one i m trying to update record to ms database using vb.net. but i m getting error message. pls help me where i made mistake. here is my code. [code] Dim da As New OleDb.OleDbDataAdapter("SELECT * From tblCustomer", strPath) Dim cb As New OleDb.OleDbCommandBuilder(da) Dim ds As New …

Member Avatar for kvprajapati
0
89
Member Avatar for kireol

Pardon this post here as I didn't see any Postgres forum. I have a table with a 16 length bit value. Can someone please help me how I do the where clause on my select? example data for that field 0000000000000001 0000000000000011 0000000000000010 how would I select one of the …

Member Avatar for kireol
0
97
Member Avatar for daviddoria

Is there a way (without overloading) to call a function like this [code=cplusplus] GetValue("one"); //AND std::string test("one"); GetValue(test); [/code] The function is simply: [code=cplusplus] int GetValue(const std::string &MyString) { return MyMap[MyString]; } [/code] This overload does the job: [code=cplusplus] int GetValue(const char* MyString) { return MyMap[MyString]; } [/code] But that …

Member Avatar for daviddoria
0
114
Member Avatar for krokodajl

Hi, how can I create using asp.net simple xml file which looks like following: [code=xml]<?xml version="1.0" encoding="UTF-8" ?> <my:myFields xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD/2009-07-13T10:21:01"> <my:field1>FirstName</my:pole1> <my:field2>SecondName</my:pole2> <my:field3 /> <my:field4 /> <my:field xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" /> </my:myFields>[/code] How can I write prefix [B]my[/B] on beggining of tag?

Member Avatar for krokodajl
0
163
Member Avatar for bungeeboy

hi, i'm new to c# after some time in assembly, and a bit of c++. i'm trying to examine 2 cells and report back depending on their contents. i want to test A11 - if it is empty - exit - else test B11 - if thats empty then return …

Member Avatar for bungeeboy
0
110
Member Avatar for zeus1216gw

I'm trying to get a GCD of 2 numbers. which I can do and it works fine. however I want to return one of the values based on the function I wrote. however it returns both. I know why because I wrote it that way just to get something down. …

Member Avatar for zeus1216gw
0
111
Member Avatar for kakakon

Hello, I have a Tree that consists of TreeNodes, where TreeNode is public class TreeNode { private String label = null; private String data = null; private TreeNode parent = null; private Vector <TreeNode> children = null; } I also have a HashMap <String, TreeNode> that keeps the label of …

Member Avatar for JamesCherrill
0
2K
Member Avatar for SreekanthVenkat

Hi Sir/Madam, Iam new to ASP.NET. I want to add Vertical menu to the left of Master Page. Please help me. Regards, Sreekanth Kumar.

Member Avatar for Ramesh S
0
95
Member Avatar for jeff_00789

Hi, i want to know how to extract values from drop down box for processing in next field. In my file first drop down has list of countries taken from a database. I want to show location of that particular country in the other dropdown. The list of all locations …

Member Avatar for manfosys
0
183
Member Avatar for khotso

at school,I was given the class aName and asked to overload the input operator.the class has declared surname as type of char* and the surname is input from the keyboard and it must not be empty.please help me with the code.the class has declared the operator as its friend

Member Avatar for Ancient Dragon
0
92
Member Avatar for NoID

Hello Guys, I would like to know if its possible or not, where i can have a text box which when i enter the ID and press submit it gets the email matching that ID. and sends an email, please note that i know how to send email, i just …

Member Avatar for sikka_varun
0
128

The End.