199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for UncleJoe

I hope this hasn't been beaten to death...I looked through the forums and didn't find what I needed. I have a form where an input (textbox) Change event populates several other inputs within the form via ajax...everything works famously when I comment out the Form::open('edit_product'), Form::button('submit', 'Save Product'),and Form::close() in …

Member Avatar for UncleJoe
0
215
Member Avatar for niths

hi all, i am having a upload files field with browse button...Now what i want actually is when i click the button "Browse..." the popup screen will popup, then normally it will browse all the files(doc, html,xls....) but i just want it to show the *.doc files ....so can any …

Member Avatar for mschroeder
0
66
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 MTN

I'm trying to write a code where I should have a few questions and an input for an answer. If the answer is correct, then it will tell me correct and wrong if it is wrong. I found a similar solution on this site, but the difference is that I …

Member Avatar for cghtkh
0
100
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 cowboyonamac

New here, and still pretty new to javascript. I have a page that I'm trying to run a number of different javascripts on. [LIST] [*]jquery-1.2.2.pack.js [*]overlapviewer.js [*]prototype.js [*]scriptaculous.js [*]lightbox.js and [*]vnu_datestamp.js [/LIST] I have no problem with the datestamp. It runs pretty well anywhere because it's a link/rel to the …

Member Avatar for maysoon
0
221
Member Avatar for miraj0072004

hello friends, I am making a GUI for a certain fill up form using netbeans..here I need disable a "next" button until all the text fields are filled up...I have tried writing a method that which is called during every keypress event in a text box that checks whether the …

Member Avatar for javaAddict
0
257
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 facarroll

I have the following code to upload an image using a form. I have added a button to the form to use to remove the image, but I cannot figure out how to code the button to remove the users image. (memberFiles/$id.".jpg") Here is my code to upload an image. …

Member Avatar for nonshatter
0
2K
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 pranav.falcon

[B]Hi all,[/B] Can any one tell me how to export the data from the data grid (or string grid) to powerpoint Slides. I want to export the data as it is, i have been succesful to get the data to the slides,but they are not tabulated. I want the exported …

Member Avatar for pranav.falcon
0
833
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 IT_Techno

hi ineed helpe if any one have agood Tutorial to create C# dynamic Module in DNN 4.8.2 please helpe me. May Thanks IT_Techno

Member Avatar for abdul.excel.bas
0
79
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 Dean_Grobler

Hi there, Consider the following code, this is a little 'snipet' from one of my classes: [CODE] private void jMenu1ActionPerformed(java.awt.event.ActionEvent evt) { NewContact n = new NewContact(); } [/CODE] The method is expected to open a new Frame, where the class of the new Frame is called "NewContact". I've recently …

Member Avatar for JamesCherrill
0
374
Member Avatar for caelt

I'm really frustrated right now because I've been looking all over the web on how to set up OpenGL to work with Microsoft Visual C++, but it seems like each website I find wants me to do something different. I feel like I'm missing something here...like I'm overcomplicating it. I …

Member Avatar for PsychoLogic
0
170
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 ch1zra

can I somehow extract single file from a zip archive without replicating directory structure inside zip file ? for example file I need is : archive.zip/folder1/folder2/fileIneed.doc when I use zipfile.extract I get the file, but I get it in destination folder with same directory structure. I'm at home now and …

Member Avatar for Gribouillis
0
144
Member Avatar for danholding

hey guys n girls, im using python 3.1.2 i am currently creating a process to: 1) check a directory does not exist, 2) check for illegal char's from a list i have made, 3) pass it to a program,-program creates directory, 4) and passes a value back to python 5) …

Member Avatar for Gribouillis
0
269
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 chalasesha

i am developing a social networking site as my project in college. i have a doubt on php and mysql.. """ I TWITTER OR FACEBOOK OR IN GMAIL WHEN THERE IS NO ACTION FROM USER(BROWSER) THAT IS, THE USER LOGS IN AND STAY STILL(NOT RELOADING THE PAGE). HOW CAN WE …

Member Avatar for chalasesha
0
146
Member Avatar for bgriffith

I am having troubles getting my sort function to sort properly. As written below the code functions well, but organizes all sorts in descending order. If I flip the inequality to display in ascending order, the program more or less stops working. The print function will no longer work, as …

Member Avatar for group256
0
127
Member Avatar for Claude2005

Hi there, Let's say I have this HTML code below... [CODE] <html> <head> <title>Page 1</title> </head> <body> <form method="post" action="page2.jsp> <table> <tr> <td>John Doe</td> <td><input id="name1" name="name" type="submit" value="Edit" /></td> <tr> <tr> <td>Steve Smith</td> <td><input id="name2" name="name" type="submit" value="Edit" /></td> <tr> <tr> <td>Peter Pipper</td> <td><input id="name3" name="name" type="submit" value="Edit" /></td> …

Member Avatar for javaAddict
0
118
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 prem2

Hi, I want to create a im(Instant Message ) bot for my company.So, i searched in our forum.I found the below url. [url]http://www.daniweb.com/forums/thread9761.html[/url] But, i did not get the more information in that thread and more number of links are expired .I want to send instant message to gtalk,yahoo from …

Member Avatar for abhinavsingh
0
159
Member Avatar for prem2

Hi all, I want to need the information about xmpphp .I have downloaded the code form the google.But i did not get the detailed information.So,Kindly provide the tutorial of xmpphp to send messages to gtalk. Thank you, With Regards, Premnath.M

Member Avatar for abhinavsingh
0
474
Member Avatar for serph09

Hi everyone, I just started on learning java and I have this problem I'm trying to figure out. The question is asking me to have my program read the twelve temperature values and print the month with the highest temperature. This is what I have so far: [CODE] public static …

Member Avatar for masijade
0
542
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 lewashby

I'M getting an error in the following program on line 38 to a function call. The function is in the gameobjects module and the there's an error there as well on line 21. Here's the code. Code:[CODE] background_image_filename = 'sushiplate.jpg' sprite_image_filename = 'fugu.png' import pygame from pygame.locals import * from …

Member Avatar for Gribouillis
0
192
Member Avatar for eng.amira

Hello i am working now to design a new website my problem is that i cannot insert in to my DB i use access as my Data Base when i click the update tool in the grid view an error msg appears 'No value given for one or more required …

Member Avatar for eng.amira
0
93
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 roachae

I'm using the Kohana PHP framework, not very familiar with Kohana and only a novice with PHP and javascript. I'm working on a project where I have a form::dropdown filled with a list of categories and another dropdown (second one using multiple selections) which needs to be filled dynamically based …

Member Avatar for aquilax
0
277
Member Avatar for StartOf

hi guys i new in vb.net i want to ask about checkboxlist, can i add an image to it ? if yes who can i do it ? if no why?? thanks in advance best wishs start OF FU

Member Avatar for roottybrian
0
92
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 demigodz24

hi i have a program..i can't explain this code..can you explain this??... int card[ROWS][COLUMNS] = {{rand() % 15 + 1, rand() % 15 + 16, rand() % 15 + 31, rand() % 15 + 46, rand() % 15 + 61}, {rand() % 15 + 1, rand() % 15 + 16, …

Member Avatar for dylank
0
122
Member Avatar for jems5

I would like to develop a character array output that outputs ONLY a single character in each position. While my programming appear to work fine with filling all spaces with a single character or with 2 characters one each at alternating spaces, its not the same with designated position. For …

Member Avatar for jems5
0
1K
Member Avatar for eikal

Hi, i got a program im working on. it does some calculations using quantity and price in such. heres the calculation module. [code] Private Sub calculations() If AdultsizeRadioButton1.Checked = True Then adulttotaldecimal = quantityinteger * adultpricedecimal * hoursinteger ElseIf ChildsizeRadioButton2.Checked = True Then childtotaldecimal = quantityinteger * childpricedecimal * hoursinteger …

Member Avatar for eikal
0
130
Member Avatar for abhii

i want the code for sorting tecqnics....plz let me find a simple code

Member Avatar for Ancient Dragon
0
263

The End.