64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for zero_sequence

Hi to all.... i signed up in google analytics and i copied paste the javascript code in a onendrequest.cfm file. The issue is that in pages that i use cfgrid, the content of the cfgrig is not showning up at all. I have the header bar the footer bar but …

Member Avatar for arrgh
0
110
Member Avatar for gchurch

hey i have multiple sessions with aray values from DB within, now i'd like to run through a loop and have all those values which displayed... here's my code: [CODE] echo "<div id='RoomBorderPayment'>"; echo "<table border='0' width='70%' cellpadding='3' style='border-width:thin'>"; echo "<tr><th colspan='2'><p>You are booking:</p></th><th>Amount</th></tr>"; $res = mysql_query("Select * from room"); …

Member Avatar for gchurch
0
119
Member Avatar for deepak_1706

I came across these to statements and i am not sure how they are parsed and the output given is produced... [CODE] printf("%d",printf("%d %d",5,5)&printf("%d %d",7,7)); [/CODE] o/p : 5 5 7 7 3 [CODE] printf(" %d %d",printf("%d %d",7,7),printf("%d %d",5,5)); [/CODE] o/p : 5 5 7 7 3 3 Could some …

Member Avatar for hyperion
0
158
Member Avatar for XxPKMNxX

Being a noob, such a simple question i answered as soon as i posted :| - delete thread please.

Member Avatar for XxPKMNxX
0
98
Member Avatar for Steini_Ey

Hello everybody, I am new here in this community and I hope to learn a lot from you guys and then maybe later become the one to give out advices. I am also new to programing and I recently started learning C++. I am doing a program that is supposed …

Member Avatar for Steini_Ey
0
4K
Member Avatar for sixdegreesunder

Hi everyone, I'm new to java. I'm getting an error cannot find symbol m_weapon when i compare char which i assigned from math.random. Thank you, [CODE]public class RPS { public static void main (String[ ] args) { Scanner console = new Scanner(System.in); //used to gather user input System.out.println("WELCOME \n\n"+ "This …

Member Avatar for kramerd
0
217
Member Avatar for jaymozart

[CODE] import java.io.*; import java.util.*; import javax.swing.JOptionPane; public class A15 { public static void main(String[] args) { if(args.length != 1) { JOptionPane.showMessageDialog(null, "Error: Enter one command line argument."); } else { try { String[] array = LeeJungBum15.readFileReturnWords(args[0]); // read file sortAndPrintArray(array, args[0]); // sort alphabetically and print the arrays } …

Member Avatar for jaymozart
0
168
Member Avatar for JanineXD

I was browsing the web for examples on how to partition in Java. [URL="http://www.cs.princeton.edu/introcs/23recursion/Partition.java.html"]I've got to this website that has a detailed example about Partitioning[/URL] so I've tried to run it on my JCreator Pro. I've only got one error, but I've tried all I can do to fix it …

Member Avatar for javaAddict
0
354
Member Avatar for benhowdle89

i have this jquery code: [CODE] $(document).ready(function(){ //Hide the tooglebox when page load $(".visit").hide(); $("#suppliers-table td").hover(function(){ $(".visit").show(); }); }); [/CODE] for this html: [CODE] <table id="suppliers-table"> <tr> <td><p class="suppliers-name">ASD</p><a class="visit" href="#">Visit Website</a></td> <td><p class="suppliers-name">ASD</p><a class="visit" href="#">Visit Website</a></td> <td><p class="suppliers-name">ASD</p><a class="visit" href="#">Visit Website</a></td> <td><p class="suppliers-name">ASD</p><a class="visit" href="#">Visit Website</a></td> <td><p class="suppliers-name">ASD</p><a class="visit" …

Member Avatar for benhowdle89
0
81
Member Avatar for dorothy.v

error message: No value given for one or more required parameters. that falls in dr = cmd.ExecuteReader need help Imports System.Data.OleDb Public Class Form1 Dim conn As OleDbConnection Dim cmd As OleDbCommand Dim strSQL As String Dim dr As OleDbDataReader ' Dim ctr As Integer Private Sub Form1_Load(ByVal sender As …

Member Avatar for AndreRet
0
211
Member Avatar for Pundia

How can I retrieve data from a DB in Access to labels, or radiobuttons in VB.NET? I've search and to retrieve data people usually show Datagrids. I just need to know how to navigate in records, by the number of their position (?) and to place that data in labels/textbox …

Member Avatar for AndreRet
0
168
Member Avatar for ekailan

I need to convert array of char to hex one char at a time , I tried to use sprintf,but it did not work. ?

Member Avatar for ekailan
0
461
Member Avatar for Really

Hi everyone, I am trying to build a code to get the website asynchronously using webclient.downloadstringasync I want to pass the data thus retrieved from dowloadstringcompleted to another function. This is the code I am using, [CODE] dim myString as String Function GetSite(ByVal as URL as String) StartDownload(URL) WebBrowser1.DocumentText = …

Member Avatar for Really
0
1K
Member Avatar for John Linux

Hi, I have the following extract from a table called results. StudentID Course Percent 1005 MAM1 63 1006 PHY2 55 1006 MAM1 71 I need to produce a list of student ID's WHO take MAM1 AND PHY2. I first selected all rows where course is MAM1 OR PHY2, but then …

Member Avatar for John Linux
0
134
Member Avatar for newbieha

def sort(l, x) if len(l) <= 1: ### if my list is smaller than 1, simply return l return l else: ### Here is the problem i don't know how to solve - how to find smallest element within a list using recursion? I've tried to call another function in …

Member Avatar for TrustyTony
0
2K
Member Avatar for fredrickprem

i want to know about smarty please tell me the best website or tutorials for that

Member Avatar for pritaeas
0
72
Member Avatar for sundeep_g

Hello Guys....i am very happy to interact with u all. Im new to database. i want to display database names into a dropdown list box and at the same time if i select a particular DB it will display all the tablenames into another dropdown list box... Can any one …

Member Avatar for sundeep_g
0
126
Member Avatar for keedier

hi there... i am very new (and i mean VERY NEW at visual basic) programming, lets just say this is my 5th hour (and counting) learning programming, i googled since hour 1, i even read almost all i can read while im installing visual studio 2010 coz i really want …

Member Avatar for codeorder
0
239
Member Avatar for Tiny_trixer

I'm working on a program in C++ that is supposed to output som data from a couple of classes. I thought I'd let the user choose what to output (what function) through a switch in main. This is basicly how the main looks now. (Just a general overview of the …

Member Avatar for Tiny_trixer
0
118
Member Avatar for Storyahe

I'm creating a library which when everytime i add new book, i always get the [B][B]'Update or CancelUpdate without addnew or edit[/B][/B]'.The condition is when the user inputs a new ISBN that is already in the database, the message box will prompt as "That book is already listed!', else if …

Member Avatar for AndreRet
0
502
Member Avatar for elminster67

Hi, I am new to C++, for my home work for intro to C++, well it would be easier if I just copy and paste the assignment. [I]In this program, you will continuously track the minimum and maximum values of a file of integers as the file is read. Your …

Member Avatar for elminster67
0
134
Member Avatar for n0de

Hi, have tryed and everything below gives me 0 [CODE=c++] sizeof(array) / sizeof(*array); sizeof(array) / sizeof(array[0]); sizeof(array) / sizeof(array data type); //even the thing which i do not understant: template< typename T, std::size_t N > inline std::size_t size( T(&)[N] ) { return N ; } [/CODE] I need to get …

Member Avatar for n0de
0
7K
Member Avatar for VisActualyBasic

Hi everybody, I have following code: Public Class Form1 Private Sub btn1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn1.Click Dim dayChange As Date = dtp2.Value Dim answer As Date answer = dayChange.AddDays(1) dtp2.Value = answer End Sub End Class Working : each time I click btn1 datetimepicker changes …

Member Avatar for rajpu
0
180
Member Avatar for mimsc

any suggestions? <%@ page language="java" %> <%@ page import="trader.webservices.data.LeadDAO" %> <%@ page import="trader.aabacrm.LeadsList" %> <%@ page import="trader.webservices.data.*" %> <%@ page import="trader.webservices.presentation.Lead" %> <%@ page import="trader.webservices.data.UserInfoDAO" %> <%@ page import="trader.webservices.data.UserDataVO" %> <%@ page import="trader.webservices.data.ButtonDAO" %> <%@ page import="trader.webservices.constants.UserConstants" %> <%@ page import="trader.webservices.util.Utils" %> <%@ page import="java.math.*" %> <% RequestDispatcher dispatcher = …

Member Avatar for masijade
0
2K
Member Avatar for lewilaloupe

Hi, I'm sure this has been discussed here somewhere, but I can't find exactly what I want... I have a form set up that is sent to different email addresses based on field selections. Sometimes that user will need to attach a file to send too. I have found code …

Member Avatar for lewilaloupe
0
232
Member Avatar for dylank

Hey guys, quick question: I have been experementing with the _popen() function to get the stdout from programs. I'm trying to wrap it in a function for quick reuse, but the prog crashes every time! Here is the function (as well as the quick test main() function): [CODE] // crt_popen.c …

Member Avatar for NicAx64
0
687
Member Avatar for swapnaoe

Hi there, [CODE] #include<stdio.h> main() { int i; i=1,2,3; printf("Value of i with assignment as i=1,2,3 is %d\n", i); i=(1,2),3; printf("Value of i with assignment as i=(1,2),3 is %d\n", i); i=1,(2,3); printf("Value of i with assignment as i=1,(2,3)is %d\n", i); i=(1,2,3); printf("Value of i with assignment as i=(1,2,3) is %d\n", …

Member Avatar for Ancient Dragon
0
87
Member Avatar for gotjeff5

Hey I am trying to do a tic tac to game, and im getting a few errors that I don't understand, Please help me. Here is my code: [CODE] #include<iostream> using namespace std; const int num_rows = 3; const int num_colm = 3; void xPlayer(char board[][num_colm], int); void oPlayer(char board[][num_colm], …

Member Avatar for gotjeff5
0
139
Member Avatar for Klaurac

Hey Say I have a login and the main form. If the login window is closed then the other form shouldn't load. I tried using a if condition to suppress initializeComponent but it still shows the main form, but empty. How would you do that?

Member Avatar for Momerath
0
116
Member Avatar for johnt68

Hello:) I am asking the user to input a numerical grade into one textbox and then I want to show the corrosponding grade in the textbox below when they push a 'calculate' button. I have put it the code below and I am puzzled because I have listed 6 conditionals …

Member Avatar for johnt68
0
149
Member Avatar for BzzBee

hi, I have a simple website having russian content, but its not displaying right in website. I am using even following meta tags [CODE]<html lang="ru"> <meta http-equiv="content-type" content="text/html;charset=utf-8" /> <meta http-equiv="content-language" content="ru"> [/CODE] But still question marks are there. Please help me regarding this issue thanks in advance

Member Avatar for BzzBee
0
3K
Member Avatar for Mr.BunyRabit

Hey There, its Ruan. uhh, i need help, as i did indeed hit a brick wall. at the moment, i can connect to a database through textboxes, ill put the code at the bottom. What i want to do/know, is, How or What is the code or manner to read …

Member Avatar for Mr.BunyRabit
0
119
Member Avatar for ceeandcee

Good Morning, I am working on a hockey pool site and am trying to build a standings page. You can see my output here [url]http://www.cornwallfantasyhockey.com/cfhl/standings2/[/url] I would like to be able to write code that will sort the PTS column in descending order, however the PTS value in each row …

Member Avatar for ceeandcee
0
164
Member Avatar for gazza7

Hi I'm a newbie to PHP and mySQL I have the following problem. I have a database with mp3's which I query by artist name, I then print the results in a table with a maximum of 15 rows. I can then have a next, prev, last and first button …

Member Avatar for gazza7
0
197
Member Avatar for Mykal73

hopefully I can explain this well. I have an application built in vs 2008. The main form is a MDI form with a datagrid for record selection. When the user double clicks on the datagrid it opens a child form with the selected information. the problem I'm having is once …

Member Avatar for Mykal73
0
160
Member Avatar for eswar.aspire

Hello, I am wondering to implement this logic. Any suggestion or help I have two iframes 1) iframe 1 is Navigation menu(loaded with flash menu). <iframe name=”menu”/> 2) iframe 2 is load the web page. <iframe name=”page_load”/> When I click the navigation menu the corresponding web page loaded. In one …

Member Avatar for eswar.aspire
0
641
Member Avatar for TheSecOrg

How can I change the color of the font or text? I've tried area.setFontColor, area.setColor, comic.setColor. area is the JTextArea. comic is a font. arial is a font. I have a [code]final Color red = new Color(); red = Color.red;[/code] but I don't know how to set the Font or …

Member Avatar for Ranjitdani
0
146
Member Avatar for Mona..

Hi.. I want help in C++, I want to read a file reversly and write it in a new file, how can I do that? Thanks for your time..

Member Avatar for Mona..
0
132
Member Avatar for krazyito65

[code] class Node { private: int integer; Node *pointer; public: Node(int x = 0, Node *y = NULL) { integer = x; pointer = y; } int getInteger() { return integer; } Node getPointer() { return *pointer; } }; [/code] [code] private: Node *stack; Node *top; int listSize; int pushedValue; …

Member Avatar for krazyito65
0
222
Member Avatar for jim20

I need to use a rich text editor for my project, What would be the right choice to use that.and also can i get a example on that???

Member Avatar for jim20
0
134
Member Avatar for pakunoda

I tried [CODE]DBCC CHECKIDENT('Customer', RESEED, 0)[/CODE] but there's an error. Incorrect DBCC statement. Check the documentation for the correct DBCC syntax and options.

Member Avatar for Momerath
0
108
Member Avatar for MartinRinehart

Hi, all. I'm going to start posting cross-browser issues here as I run into them. If you all join in, titling posts "Cross-browser" this might become a good resource. If you supply an invalid sort routine, Opera and Safari fall back to using a default sort. They do not report …

0
88
Member Avatar for pakunoda

This is my code [CODE] string srch1; string srch2; if (cb1.SelectedItem.ToString() == "Book Title") { srch1 = "Book_Title"; } else if (cb1.SelectedItem.ToString() == "Call Number") { srch1 = "Call_Number"; } else { srch1 = "Accession_Number"; } if (cb2.SelectedItem.ToString() == "Ascending Order") { srch2 = "ASC"; } else { srch2 = …

Member Avatar for pakunoda
0
142
Member Avatar for pakunoda

I thought i already assigned it? [CODE] string srch1 = ""; string srch2 = ""; if (cb1.SelectedItem.ToString() == "Book Title") { srch1 = "Book_Title"; } else if (cb1.SelectedItem.ToString() == "Call Number") { srch1 = "Call_Number"; } else if (cb1.SelectedItem.ToString() == "Accession_Number") { srch1 = "Accession_Number"; } if (cb2.SelectedItem.ToString() == "Ascending …

Member Avatar for pakunoda
0
113
Member Avatar for kesh1000

hi can anyone tell me why doesnt my page redirect if variable $Valid is = 0 thanks also if you could correct me would be appreciated [CODE]<?php $name = $_POST['Name']; $age = $_POST['Age']; $amount = $_POST['Cover']; $plan = $_POST['Plan']; $benefit = $_POST['Benefit']; $Year = DetYear($plan); $Valid = ChkAge($age, $Year); $redirect …

Member Avatar for nonshatter
0
81
Member Avatar for john22

Hi, I am very new to Perl Scripting. I used Shell scripting before, but very little knowledge of Perl Scripting. I am given at task at my work: Here is info: I need to write a program that will listen to a port which will connect from Telnet. Also, the …

Member Avatar for richieking
0
466
Member Avatar for dschuett

Hi, I have a function that I use within my upload script that creates a thumbnail of each image that is uploaded (using php's GD library). The problem is, the thumbnails look absolutely horrible. They are not so much distorted, but just VERY blurry. Here is my function that is …

Member Avatar for dschuett
0
169
Member Avatar for jcfans

May i know how to sort a datatable?My code that show below got any problem? why the datatable cant sort by qFundCode? Firstly,my program is add sum datarow where qFundCode show below are to datatable. qFunCode WER WER WER THS THS THS AG AG AG After this,i add another datarow …

Member Avatar for lolafuertes
0
202
Member Avatar for Xufyan

In this program i have input name and code in super class and print it, it also print in sub class [iCODE]Manager[/iCODE] I created the object for super class to input name and code, and another object to input Manager's Data, but in the output the Name is showing null …

Member Avatar for JamesCherrill
0
140
Member Avatar for dschuett

Ok, so i have a form that an ADMIN uses to registers a user (adds them to a database and gives them a username and password so they can log on to view their photos) As soon as the form is submitted the admin is then directed to a page …

Member Avatar for dschuett
0
82

The End.