199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for zero_sequence

Hi all, i made a cfchart from an example and worked perfect. afterwards i tried to bind a new cfm page containing only the cfchart so the use will see a loading message in the index page until cfchart is loaded within cfdiv... worked fine but i cant see any …

Member Avatar for cfwebdeveloper
0
84
Member Avatar for real thinkers

I want to make a program that find the alphabets present in the string using java language. e-g i hava a string " Hello World " It display me that charactes present in it are H e l 0 w r d It count a character only once.

Member Avatar for Ezzaral
0
228
Member Avatar for reza.adinata

Hi all, I have a simple code below [CODE]#include <stdio.h> #include <string.h> typedef struct { int apn_in_use; } bts_pdn_con_t; typedef struct _bts_pdn_con_list_t_slot { bts_pdn_con_t conn; struct _bts_pdn_con_list_t_slot *next, *prev; } bts_pdn_con_list_t_slot; typedef struct { bts_pdn_con_list_t_slot *head, *tail; } bts_pdn_con_list_t; typedef struct { int umsi; bts_pdn_con_list_t connections; } bts_ue_t; int funct(bts_ue_t …

Member Avatar for Narue
0
229
Member Avatar for tonyl09

I have a PHP/mysql form that occasionally fails. The particular piece that fails is: [CODE]// Existing email address - update record with latest info and save prior data in history field. $result = mysql_query("REPLACE INTO $userstable VALUES('$ID','$cur_date','$download','$email','$assist','$emailcontactname','$emailcontactphone','$group_size','$zipcode','$how_find', '$specialty','$comments','$userinfo','$history', '$countdownload', '$countday', '$autocountemail')",$db) or die ("<center><h3>Unable to update the data in row. …

Member Avatar for tonyl09
0
106
Member Avatar for jepapel

I was wondering if there is a library or smt that can allow a programmer to use other foreign languages in C++. For instance i want my c++ program to display some Greek messages that i will define, but instead i get some garbage. Is there anyway to call unicodes …

Member Avatar for Plato_1981
0
3K
Member Avatar for mrnobody

Hi, How do I correctly call a function which expect BSTR* as a parameter? eg: [CODE]void FunctionA(BSTR* b) { // Do something }[/CODE] Currently, my code is as follow: [CODE]void Caller() { BSTR* pbstr; FunctionA(pbstr); }[/CODE] However, during compilation, I get warning "local variable pbstr' used without having been initialized". …

Member Avatar for Ancient Dragon
0
214
Member Avatar for RAIMI

hi i compile this code but it works but i have as result the error message "Memory is insufficient! " [CODE] #include <iostream> #include <iomanip> #include <fstream> #include <string> #include <math.h> #include <nurbsS.h> #include <nurbsSub.h> using namespace std; int i ,j , l , k ,x,y ; float b; const …

Member Avatar for RAIMI
0
113
Member Avatar for Jessurider

i've created a database project in java in which a jtable is used to display the contents of the database.......i've also created an option for insertion of values through a textfield by button actionperformed into the database ......and now when i inserts a particular values through the textfield and when …

Member Avatar for murali_quest
0
201
Member Avatar for s†ig†rex

[CODE]Private Sub Command1_Click() Frame1.Caption = Text1.Text Frame2.Caption = Text2.Text Text3.Text = "" Text4.Text = "" End Sub Private Sub Command2_Click() Unload Me End Sub Private Sub Command3_Click(Index As Integer) Text3.Text = Val(Text3.Text) + 1 End Sub Private Sub Command4_Click(Index As Integer) Text4.Text = Val(Text4.Text) + 1 End Sub Public Sub …

Member Avatar for s†ig†rex
0
143
Member Avatar for c# seeker

What really is the difference between the two? and when should each of them be used? Can we use Response.Redirect in place of PostBackURL? Thanks in advance.

Member Avatar for ghazanfar381
0
3K
Member Avatar for john0563

I know by default you can not use an absolute path when using fopen and mkdir, but in my case I really need to specify the exact location of the files/directories. I KNOW there must be some workaround way to do this... does anyone know how? For example, here is …

Member Avatar for ghazanfar381
0
2K
Member Avatar for DeathEater

:confused: I'm trying to select multiple rows in a DGV and then do something with them(delete them for example) and then apply these changes to DB. and I'm using sql server express. the problem is when i load data from a table that is bound to the DGV and then …

Member Avatar for DeathEater
0
125
Member Avatar for M.S.

Hello All This is my first post in this forum, despite my long visiting hours as a guest:D I don't have any background in programming and I'm a newbie in python too. But Learning python for S60(Python distro for Symbian Phones. anyway, I have a problem with printing from two …

Member Avatar for M.S.
0
538
Member Avatar for pivotcity

I am new to this forum and also programming only in my second week at uni so thanks in advance for your help and pateince It is only a simple program and i am trying to confirm the reason for this error ( pasted at the bottom) I assume it …

Member Avatar for pivotcity
0
164
Member Avatar for loumbut

I wrote the following code to create a wav file which generates varying frequencies based on the Hebrew Gematria pattern. It compiles great but does not write the wav file. What am I not understanding about this code? [CODE] #include <iostream> #include <math.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include …

Member Avatar for ivanx_wu
0
2K
Member Avatar for Espenij

Hi, I am upgrading from php4 to php5 and get this error message when i go live : "Notice: Undefined variable: eff in /home/test5/www/includes/lanekalkulator.php on line 226 %) " Code: [CODE]<br /> <div style='margin-top: 5px;'>= <span style='font-weight:bold;font-size:18px;'><?php echo ceil($resultat2); ?></span> kr,- pr. måned <em><span style='font-size: 11px'>(nom. rente 11.9% og eff. …

Member Avatar for Espenij
0
141
Member Avatar for kumarmpk4u

Hi All, When my code tries to free the memory allocated by the new operator it throws a debug error while using the delete operator... [CODE] CDocum* pDocum = new CDocum(); int nResult = pDocum -> QuoteDocProd(); delete pDocum; [/CODE] Error Am getting is Debug Error! Damage after Normal Block(#298753) …

Member Avatar for kumarmpk4u
0
411
Member Avatar for RAIMI

Hi! I try to compile this code [CODE] while( file >> word) { word.size(); T[i]= new string[word.size()]; *(T[i])= word; i=i+1; } for (j=0;j<i;j++) { Bt[j] = new float [100]; *Bt[j] = *atof(*(T[j]).c_str()); } [/CODE] but i have this problem [CODE] error C2228: left of '.c_str' must have class/struct/union [/CODE] where …

Member Avatar for RAIMI
0
807
Member Avatar for saadi06

Hi, I am having a problem in paypal integration.I have integrated the paypal payment method successfully but the values are inserted in the database when the user returns from the paypal back to the website.I need to make a script that when the payment occurs the values are returned to …

Member Avatar for saadi06
0
161
Member Avatar for Ritesh_4

hello, anyone can pls help on how to solve this issue, which is occurring when trying to load an aspx page (NOTE: The page or site in question was not dev. by me) [CODE]<!-- Web.Config Configuration File --> <configuration> <system.web> <customErrors mode="Off"/> </system.web> </configuration>[/CODE] [CODE]<!-- Web.Config Configuration File --> <configuration> …

Member Avatar for Ritesh_4
0
263
Member Avatar for decade

Hello guys, I'm new to programming especially in php. i would like to know how to use the substr() in this kind of problem. problem: I have this string. $stringA = "Hello to all of you!" output should be this: "Hello to ..." I try to use the substr how …

Member Avatar for tnjiric
0
138
Member Avatar for venomxxl

Ok, first of all, I'm not sure if this belongs to C section. Since WinAPI is written in C, I'll post here. I'm using OpenGL with Win32 windows (not sure how to call that). I can't switch to fullscreen mode after creating the window. I'm using Windows 7 (64-bits) and …

Member Avatar for venomxxl
0
540
Member Avatar for michael.pilapil

Greetings! Hi guys, Im mike, i am new in using Sybase central using sql anywhere 9, i've got a big problem, on how am i to connect my Sybase database to Visual Basic 6.0. Guys.. i badly want to know this, because i am new to my work. I hope …

Member Avatar for debasisdas
0
1K
Member Avatar for conanzz

I want to update 0X0 when I press of the "AC Milan" to be "1X0" and the last scorer also to be updated with the winner; Also, how to fix the alligenment to the center >>! [CODE]import java.awt.*; import java.awt.event.*; import javax.swing.*; public class TestSwingListeners1 { public static void main(String[] …

Member Avatar for mKorbel
0
299
Member Avatar for anoopvadi

hi, am a novice in programming. i am facing some difficulty in C++ programming, actually i want to read a column of numbers from a text file or an excel sheet and store that in an array so that i can use it for further processing.Plz help me to solve …

Member Avatar for tikoti
0
3K
Member Avatar for kalingaRHASTA
Member Avatar for prateekpk5

[CODE] objEffort.IssueDate = string.IsNullOrEmpty(txtDate.Text) ? (DateTime?)null : DateTime.ParseExact(txtDate.Text.Trim(), "dd/MM/yyyy", null); [/CODE] I want to pass "07/20/2011 12:10 PM" this format to database . Please Reply me how can i do this. It's bit urgent

0
69
Member Avatar for DaniwebOS

What am I missing... I have looked and searched. Any help / direction? [CODE]-- DANIWEBOS DROP TABLE ENROLLMENT CASCADE CONSTRAINTS PURGE; DROP TABLE COURSE_SECTION CASCADE CONSTRAINTS PURGE; DROP TABLE COURSE CASCADE CONSTRAINTS PURGE; DROP TABLE TERM CASCADE CONSTRAINTS PURGE; DROP TABLE STUDENT CASCADE CONSTRAINTS PURGE; DROP TABLE FACULTY CASCADE CONSTRAINTS …

Member Avatar for debasisdas
0
299
Member Avatar for lloydsbackyard

in my address bar...i have this... [url]http://localhost/studentaccount/subject_infos/edit.php?subj_id=CS106[/url] the next step is to click update button...for update of records... how do i change it to, [url]http://localhost/studentaccount/subject_infos/edit.php?update=true[/url] or simple remove the subj_id=CS106 to come up with [url]http://localhost/studentaccount/subject_infos/edit.php?[/url] my part of my code is: if (isset($_POST['update'])) { echo "successfully updated!"; //code for removing …

Member Avatar for lloydsbackyard
0
125
Member Avatar for mohanraj.m

char=l; string='hello'; This is my input,The particular character present in the string to change lower letter to upper letter. Output: heLLo Please anybody help me;

Member Avatar for WaltP
0
155
Member Avatar for wfray

I've developed a few systems in a PHP-5.3.3 development environment. I'm now implementing them on an iPage host site. Their PHP level is 5.2.12. Two problems occur on their site. (1) when my code [code=php]if (session_id() == "") session_start;[/code] executes on their site it fails. It works fine on my …

Member Avatar for Shanti C
0
89
Member Avatar for sherinpoulose

I have sql table with 3 columns id, parentid and name.I have attached the table i have . Also i have attched the table output i want. In the name column ,there are so may values out which yes and no are two values which occur more than once. I …

Member Avatar for sherinpoulose
0
105
Member Avatar for MrCapuchino

Hello, I cannot find the problem with my code to be able to populate a dropdownlist based upon a previous dropdownlist selection. Here is all the necessary code HTML [CODE] <div class="control"> <asp:DropDownList ID="ddlEstado" CssClass="ui-state-default ui-corner-all filterDropDown" runat="server" DataSourceID="sdsEstadoDDL" DataTextField="nombre" DataValueField="nombre"> </asp:DropDownList> <asp:SqlDataSource ID="sdsEstadoDDL" runat="server" ConnectionString="<%$ ConnectionStrings:QMPConnectionString %>" SelectCommand="EXEC Catalogs.sp_ObtenerEstado"></asp:SqlDataSource> …

Member Avatar for MrCapuchino
0
152
Member Avatar for L0s3r

Code 1: [code]#include<iostream> using namespace std; int& func() { int a=6; return a; } int main(void) { int a = func(); cout<<a; cin.get(); return 0; } [/code] According to my thought , first of all func() will create a temporary reference to a (as it is returning by reference) , …

Member Avatar for arkoenig
0
92
Member Avatar for L3gacy

Hello everyone, I have a small question about the code below, I understand just about every part of it. Except for this small snippet, could someone explain how the loop works? [CODE] while(begin != end ) //<-- I believe the stream iterator is getting input here words[*begin++]++; // <-- I …

Member Avatar for mrnutty
0
324
Member Avatar for cuonic

Hello there, Htaccess stuff not being one of my strong points, I'm asking if anyone knows about how to use the rewrite engine to provide the following : I currently have : [code]http://www.example.com/?page=home[/code] I would like to have : [code]http://www.example.com/home[/code] I think this is possible, because it used by Joomla …

Member Avatar for arosemena
0
122
Member Avatar for Barnifericus

Whenever I try to compile my code for this function my compiler keeps throwing projectB.c:31:15: error: conflicting types for ‘returnDegree’ projectB.c:19:17: note: previous implicit declaration of ‘returnDegree’ was here [CODE] #include <stdio.h> #include<math.h> int main(){ double sanantonioLat; sanantonioLat = returnDegree(29.0,25.0,51.0); printf("blah %f\n" , sanantonioLat); return 0; } static double returnDegree(double …

Member Avatar for Barnifericus
0
140
Member Avatar for rscoville

I am trying to read through a table and for each row execute a few lines of code. (The lines of code are taking an data type integer column which contains a time HHMM and a data type datetime column which contains a date. The code combines the time into …

Member Avatar for rscoville
0
151
Member Avatar for agaba

Create a script named *just_lee_trg.sql* that contains the PL/SQL code to create a trigger named *books_qty_on_hand_trg*. The trigger should be set up to fire whenever the quantity on hand for a book has been updated. When the quantity on hand becomes zero, it should call the *insert_reorder* procedure and pass …

Member Avatar for hfx642
0
172
Member Avatar for bimoweemo

I keep getting errors and i dont know what im doing wrong.I've included just pieces of these three files. The compiler is giving me errors and i dont know what's wrong. this is my header file List.h not all but some of it. [CODE]#include <iostream> using namespace std; #ifndef INTEGERLIST_H …

Member Avatar for NathanOliver
0
207
Member Avatar for rEhSi_123

Hi Guys need a bit of help! Basically I have a parent table called users which stores all the user info with a prime key field called ID. Now in the child table which has a seperate foreign key associated with the ID field in the parent table. What I …

Member Avatar for adam_k
0
2K
Member Avatar for Hani1991

Hello everybody I want to avoid the errors that occur when I post a text that contain the ' sign and put it in a mysql query someone told me that theres a function in php to do that but I want to use it manually because he told me …

Member Avatar for Pro2000
0
111
Member Avatar for nsyncpilu

Hy again , I have another problem now , I have an application with a jTabel , you can double click a cell and you can change the value that is inside it , after you changed the value inside the cell and hit enter the value i enterd remains …

Member Avatar for nsyncpilu
0
1K
Member Avatar for xxlt3xx

Hi, I'm stuck... I'm writing a program that creates a data file then populates the file with 500 random integers both positive and negative. The problem I'm having is reading the integers from the file and storing them into three arrays for processing neg[],posEven[],and posOdd[]. I really just need a …

Member Avatar for xxlt3xx
0
172
Member Avatar for jrotunda85

I'm trying to figure out the best way to accomplish the computation of weighted averages for my site. Here's the PHP that pulls down the results -- [CODE]$SQL = "SELECT a.*, b.CName, c.Description FROM humidor a LEFT JOIN cigar b on a.CigarID = b.CigarID LEFT JOIN cd_manufacturer c on b.Manufacturer …

Member Avatar for jrotunda85
0
117
Member Avatar for SandraM

Hi! I´m newbie in C++ Code and JNI, so i have a big problem and i can´t found a solution. My question is: Is possible to call a Jni method in a normal ,method, so: I have in my c++ class, two method: void CVentanasDlg::OnButtonStart(){ printf("OnButtonStart"); } JNIEXPORT void JNICALL …

Member Avatar for SandraM
0
108
Member Avatar for bribissell

I am making a page which pulls from the user's browser their preferred language, via the Request.UserLanguages....which returns a two letter code (ex. "en") or detailed code (ex. "en-GB"). I basically get the string of user languages (they are in order of preference) and store them in a string array. …

Member Avatar for bribissell
0
325
Member Avatar for MareoRaft

What happens when you set an int or double value to less than the minimum? I need my program to recognize when a number is smaller then the minimum, and then set the value to equal the minimum instead. This behavior is not the default... [CODE]#include <iostream> using namespace std; …

Member Avatar for mrnutty
0
136
Member Avatar for stroganoff23

Hi , how can I use the at command to find me in a specific point of time upon logging in? which it will display on screen a txt file at the same time. Thanks in advance

Member Avatar for IIM
0
100
Member Avatar for jsook724

Hi everyone. I am trying to make a batting average calculator, but i am pretty new to java. I want to make it look like this: [url]http://www.kll.org/batting-average.htm[/url] All i have right now is JOptionPanes, and it works, but it doesnt look very nice. So i know i need to put …

Member Avatar for NormR1
0
307

The End.