199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for muneersial

This code is not display data and not show any error.so reply me what is error. <html> <head> <title>insert new post</title> </head> <body> <form method="post" action="insert_post.php" enctype="multipart/form-data"> <table align="center" border="10" width="600"> <tr> <td align="center" colspan="5" bgcolor="yellow"> <h1>insert new post here</h1></td> </tr> <tr> <td align="right">post title</td> <td><input type="text" name="title" size="40"></td> </tr> …

Member Avatar for almostbob
0
252
Member Avatar for obinaysamanoden
Member Avatar for LATCH808

so this is a checkout program. Hers my problem: the user enters 1 to enter checkout and then enters the PLU code followed by the weight of it or unit, then they have to choice to enter another PLU code or 0 to exit. Once the user enters 0 it …

Member Avatar for bernardo.mclobo
0
140
Member Avatar for Spark_2

I'm making a fairly simple inventory program, and I'm stuck as to how I can add data to the original main form. On the main form, I have a button to add an item and it's details (additem). Once the user clicks the "Add" button, it should put the entered …

Member Avatar for cgeier
0
293
Member Avatar for jjones0150

Hello guys. Im having trouble figuring out why I keep getting an error saying the compier cant find my class. its all the way down at the end of the code called circle class. Any suggestions? package circle.pkg7.pkg2.app; import java.util.Scanner; /** * * @author Jay */ public class Circle { …

Member Avatar for stultuske
0
312
Member Avatar for sameer.a.awan1

import java.util.ArrayList; import java.util.Collections; public class PersonMaker { public static void main(String[] args) { ArrayList<Person> personAL = new ArrayList<Person>(); ArrayList<Address> addressList = new ArrayList<Address>(); Address c0 = new Address("2100 Pleasant Hill road", "duluth", "GA", "30096"); Address c1 = new Address("3392 fairway oaks", "lawrenceville", "Georgia", "30044"); Address c2 = new Address("4493 …

Member Avatar for stultuske
0
194
Member Avatar for mpc123

Hi I need to look in a field to find the text same as another field I have this at the moment but it does not work, hoep you can help update TAB1, TAB2 set `field3` =`field4` where FIND_IN_SET('`FIELD1`', '`FIELD2`') I feel FIND_IN_SET is not the right thing as the …

Member Avatar for mpc123
0
123
Member Avatar for cambalinho

how send a message with WM_DRAWITEM message? heres my actual code on parent window: case WM_DRAWITEM: { DRAWITEMSTRUCT *test=(DRAWITEMSTRUCT*) lParam; /*if(test->CtlType==ODT_MENU) { MENUITEMINFO menuInfo; menuInfo.cbSize = sizeof(MENUITEMINFO); menuInfo.fMask=MIIM_DATA; if(GetMenuItemInfo((HMENU)test->hwndItem,(UINT) test->itemID, TRUE, &menuInfo )!=0) { Menu *mMenu = (Menu *) menuInfo.dwItemData; if(mMenu!=NULL) if(mMenu->DrawItem!=NULL) //mMenu->DrawItem(); else { } } } else { …

Member Avatar for cambalinho
0
412
Member Avatar for coolbeanbob

I've spent hours, an embarrasing number of HOURS on how to read a text file into a program. The requirements have shifted, but still. I hate you C. You and all your pointers. The text file is a matrix, but with the first line being the number of rows. See …

Member Avatar for deceptikon
0
172
Member Avatar for Edward_6

#Template for Program 6 #Complete the code in each module as discussed in #the Program 6 Instructions def main(): #initialize variables so incomplete code won't cause errors #can be deleted once code is finished totalRainfall = 0 minRainfall = 0 maxRainfall = 0 #prints the progam title and a blank …

Member Avatar for vegaseat
0
1K
Member Avatar for fantyfiz

Hi. I am working on vb.net and i want ot link a form with a button so when i click on button the form show but it contain error kindly guide code is this: Dim myform As New Form1 myform.Show() and the compiler show error on myform.show()

Member Avatar for fantyfiz
0
152
Member Avatar for Praveen_10

import java.util.ArrayList; import java.util.List; public class Task7 { static int count=0; String arr[]=new String[40]; /** * * @param list * @return an array consisting of vowels from the passed character array, * in the order they appear. for example, if list = {'t','h','e','s','a','u','r','u','s'}, * the method returns {'e','a','u','u'} */ public …

Member Avatar for JamesCherrill
0
149
Member Avatar for uri3000

Hi all, Does anybody know how can i convert from **Html to PDF in ASP.NET** ? I need a componnent which does it for *under 200$*. I've tested out a few dll's but they all seem to *cost 1000$+* !!! Thanks!

Member Avatar for jmind123
0
542
Member Avatar for bolfescu

hy i'm using this search, but unfort not working if i will search by both f.name l.name... this is the code if (Input::has('name')) { $name = Input::get('name'); $name = T_entity_details::where('First_Name','LIKE','%'.$name.'%') ->where('Last_Name','LIKE','%'.$name.'%','or') ->where('Entity_Id','!=',$this->userId) ->get(array('Entity_Id')) ->toArray(); $array1 = []; foreach ($name as $value) { array_push($array1, $value['Entity_Id']); } }else{ $name = T_entity_details::where('Entity_Id','!=',$this->userId) ->get(array('Entity_Id')) …

Member Avatar for bolfescu
0
102
Member Avatar for diafol

Anybody using L5 yet? Just got to grips with 4.2 and thought I had it cracked. L5 was a shock. The "simplicity" of 4.2 has disappeared IMO. The documentation sucks too. But I don't want to be a hater. Am I missing out on rolling back to 4.2? I've read …

Member Avatar for matrixdevuk
0
277
Member Avatar for pdk123

Hello, I have a basic c++ STL question. I have an octet array class (legacy). Now lets say the octet array has the following contents: array[0]=00 array[1]=01 array[2]=30 array[3]=01 array[4]=114 The key we need to generate from the above array should match ["00130-1-114"] Whats the best way to get this …

Member Avatar for L7Sqr
0
257
Member Avatar for Jazmine_1

Hey everyone! Thanks for all the help before and now I have another problem. So I'm doing a clock program with three "invalid" attached files. There are zero errors but still won't run the program, any advice out there?

Member Avatar for Jazmine_1
0
310
Member Avatar for Edward_6

#Template for Program 4 #Note: This program does not require the use modules (Ch 3) #Remember to indent code that is within the for loop (4 spaces or 1 tab) #print the progam title and a blank line #get input for number of months and store as integer #for loop …

Member Avatar for Edward_6
0
174
Member Avatar for davidbr

Hello, I have this code which is working import Tkinter as tk from Tkinter import * LARGE_FONT= ("Verdana", 12) class ChangePages(tk.Tk): def __init__(self, *args, **kwargs): tk.Tk.__init__(self, *args, **kwargs) container = tk.Frame(self) container.pack() container.grid_rowconfigure(0, weight=1) container.grid_columnconfigure(0, weight=1) self.frames = {} for F in (MainPage, Page01, Page02): frame = F(container, self) self.frames[F] …

Member Avatar for davidbr
0
4K
Member Avatar for titas.datta

Hi, I am trying to add some values retrieved from database, into a HTML table which I've already created using jQuery & AJAX. My data is getting retrieved properly, but its not getting displayed when I am loading the HTML page. Could anybody help ASAP?? Here's the code I'm using …

Member Avatar for titas.datta
0
14K
Member Avatar for michael.james.90475

import java.awt.Frame; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import javax.media.opengl.*; import javax.media.opengl.awt.GLCanvas; import javax.media.opengl.glu.*; import com.sun.opengl.util.Animator; import com.sun.opengl.util.FPSAnimator; public class Object3D implements GLEventListener, KeyListener { GLProfile glp; GLCapabilities caps; GLCanvas canvas; GLU glu; float rotX = 0.0f; // Rotate screen on x axis float rotY = 0.0f; // …

0
138
Member Avatar for Lorraine_1

I'm completely new to VB.net and have been given a homework assignment. I need to be able to read certain lines and display them in a DataGridView. I have been able to link my .txt file to the DGV however **it reads the whole file** as opposed to the specific …

Member Avatar for Reverend Jim
0
855
Member Avatar for jez9

Good Day Everyone!. Now im trying to know more about masterkey. Ive heard that if my database[ms-access(i use oledb)] accidentally deleted or someone hack it and delete my database, they said that i should make a master key where even though my database got deleted i still can LogIn or …

Member Avatar for jez9
0
243
Member Avatar for Joemeister

I am quite new to SQL but I was wondering how to achieve the following. How do I get specific values that fall in the year 2013 when the date format in the table is looking something like this: 1 94 pH 02-02-2012 11:48 AM 1200001 2 103 pH 09-06-2012 …

Member Avatar for Reverend Jim
0
174
Member Avatar for SeanKann

I'm not sure what the issue is. I've checked all my encodings and they are all set to UTF-8 and no matter what the emails come in weird text. Not everything just throws in a weird letter at the end of words for some reason. Example of email The Server …

Member Avatar for SeanKann
0
162
Member Avatar for Wei_3

My build.xml can run junitTest well but when I tried to build with cobertura instrument, JunitTest failed, Why? <target name="instrument" depends="compile"> <echo> ====== run target instrument ==== </echo> <!-- Remove the coverage data file and any old instrumentation. --> <delete file="${junit.dir}/cobertura.ser" /> <delete dir="${instrumented.dir}" /> <!-- Instrument the application classes, …

Member Avatar for Wei_3
0
944
Member Avatar for Emma Etigu

hello, am fairly new to VB. Net and am trying to develop an application. I want to implement auto complete function in one of my text boxes. I want my text box to show a list of items that are stored in my database when a user enters a particular …

Member Avatar for Reverend Jim
0
213
Member Avatar for fonzali

@Niloofar24 was looking for an Iranian datetime package and last night I found one in the internet so I wrote a simple code which counts the days and hours and seconds to Iranian new year

Member Avatar for fonzali
0
531
Member Avatar for Tinnin

Hi All, I'm trying to unlink a file. I start with a form and submit it using javascript's submit() (out of necessity). Eventually the php code arrives at a function and unlinks the file (or rather doesn't). Now, the files unlinks when I use die() to exit out of script …

Member Avatar for Tinnin
0
1K
Member Avatar for PixelandtheWolf

Perhaps this isn't a mystery, because I don't have access to older browser windows, like Internet Explorer 9 or below. But this does bring a rather interesting question to the table. While attempting to use programs like Browserstack and Sauce Labs, my Internet Explorer 8, 7 and 6 tests fail …

Member Avatar for gentlemedia
0
157
Member Avatar for patelsachin444

Hi, I have created dynamic dropdown list called technologies from table "technology". I have used it on another form called 'add_project'. In this form, there are 2 fields project name and technology which is dynamic dropdown list. I am getting all the values in dropdown.Now I want to save those …

Member Avatar for rpv_sen
0
7K
Member Avatar for utsavjoshi95

problem with this code is, it is printing only first element,how can i print all elements which are added using addrow() <script language="javascript"> function addRow(tableID) {var table=document.getElementById(tableID); var rowCount=table.rows.length; var row=table.insertRow(rowCount); var cell1=row.insertCell(0); var element1=document.createElement("input"); element1.type="checkbox";element1.name="chkbox[]"; cell1.appendChild(element1); var cell2=row.insertCell(1); cell2.innerHTML=rowCount+1; var cell3=row.insertCell(2); var element2=document.createElement("input"); element2.type="text"; element2.name="txtbox[]"; cell3.appendChild(element2); } function deleteRow(tableID){ …

Member Avatar for rpv_sen
0
158
Member Avatar for Tuấn_2

i coding a small app with some funtion: can add text to textbox of community(Gplus) and submit my post, but i get fist problem! ![G+.png](/attachments/large/4/aaebf2c0042b977627d29165b22890fb.png "align-center") my code: int num = 0; HtmlElementCollection elementsByTagName = this.webBrowser1.Document.Body.GetElementsByTagName("div"); for (num = 0; num < elementsByTagName.Count; num++) { if (elementsByTagName[num].OuterHtml.Contains("URaP8 Kf Pf b-K …

Member Avatar for Teme64
0
302
Member Avatar for obinaysamanoden

Average #include <iostream> #include <cstdlib> using namespace std; bool check(double element[], int count); int main() Average #include <iostream> #include <cstdlib> using namespace std; bool check(double element[], int count); int main() { char redo; do { system ("cls"); double elements = 0, i = 0, j = 0, average_elements = 0; …

Member Avatar for David W
0
280
Member Avatar for Habib_7

hi.I need 8 search engine for my school.can you give me just the name of those algorithm (except binary search and linear search).

Member Avatar for deceptikon
0
109
Member Avatar for AntonyRayan

Hi, I need a php code for converting from any format to pdf by clicking a button called convert to pdf. How to do?

Member Avatar for cereal
0
136
Member Avatar for Niloofar24

Hi friends! I want to create a countdown program. Here is my code: from kivy.app import App from kivy.uix.boxlayout import BoxLayout from kivy.uix.label import Label import datetime class CountdownApp(App): def build(self): delta = datetime.datetime(2015, 3, 21, 2, 15, 11) - datetime.datetime.now() days = delta.days days = str(days) self.label_days = Label(text=days …

Member Avatar for ms95
0
3K
Member Avatar for anandhachandru

can anyone say best way to convert java class file into java file appreciate for your help thanks

Member Avatar for anandhachandru
0
626
Member Avatar for Neon_1

Hi, I am very new to CMake. In fact, I am trying this tutorial http://www.cmake.org/cmake-tutorial/. I do not understand some of the words prescribe there but I can manage. The problem I have with tutorials is the inclusion of TutorialConfig.h. I check the tutorial files and such file doesn't exist. …

Member Avatar for mike_2000_17
0
1K
Member Avatar for alemojarro

I am trying to make a code that makes a random point cloud that changes every five seconds for a minute. I have it so that it makes the inital cloud, but I am stuck on how to make it change every five seconds. private class newCloud implements ActionListener { …

Member Avatar for JamesCherrill
0
96
Member Avatar for Joemeister

I want to know how to achieve the following: I want to convert a varchar to a date format but so far I'm not very successfull... My date (varchar) looks something like this: 02-02-2012 11:48 AM And I want to convert it to the following this: dd-mm-yyyy To be able …

Member Avatar for Joemeister
0
300
Member Avatar for Papa_Don

Group, Some weeks back you helped me solve a formating issue with a text file that originates from a UNIX based program (see [https://www.daniweb.com/software-development/vbnet/threads/489626/remove-end-of-report-line-and-format-unix-text]). While reviewing this newly formated data I saw that a character was place at the beginning of each page. Thus, I assume it does set the …

Member Avatar for cgeier
0
502
Member Avatar for Sudhakar_1

<head> <!-- //In header section of the page add below url code: --> <!-- Sesion time out and session expiry url starts here --> <s:url id="sessionExpirePopUp" action="sessionOutCiscoGSS" namespace=""> </s:url> <s:set name='sessionExpirePopUpNew' value='#sessionExpirePopUp.replace("&amp;","&")' /> <!-- Sesion time out and session expiry url starts here --> <script type="text/javascript" language="javascript" src="<%=request.getContextPath() %>/jsp/js/jquery.js"></script> <script …

Member Avatar for stultuske
0
209
Member Avatar for LATCH808

can someone tell me whats wrong with it or what i should do? #include <iostream> #include <iostream> #include <string> #include <fstream> #include <vector> using namespace std; List storage[50]; int e = 50; int intro(void) { int userChoice; cout << "Enter 1 to checkout or 0 to end checkout."; cin >> …

Member Avatar for bernardo.mclobo
0
433
Member Avatar for charlie.kirk.140

Hi guys, I want to insert data(integer OR decimal) into database record. should the data structure be integer? if so how do I print the value I enter (12.75 or 3)? thanks in advance.

Member Avatar for matrixdevuk
0
100
Member Avatar for jonlloydd

I have a search box and a dropdown box. I am using these to filter data being displayed on my table from the MySQL table. I can type a county name in to the searchbox and all the records with that county name will be dsiplayed. THAT works fine, however …

Member Avatar for matrixdevuk
0
583
Member Avatar for rangers165

trying to not allow doubles if there is a double For example, if the app returns two random numbers that are the same (5 & 5), the app will recognize this and adjust one of the numbers so that it is no longer equal to the other number. The results …

Member Avatar for rangers165
0
290
Member Avatar for Fenrir370

So im doing an assignment for class and im not sure what/how to proceed, im struggling with storing randomly generated numbers in an array and then calling on them later to display how many times the random number has been called them. as you might notice i already have my …

Member Avatar for Fenrir370
0
255
Member Avatar for bythescruff

Hi folks. I'm about to evaluate an implementation of SYCL for ease of use and performance when writing parallel programs for heterogeneous environments, and I'm looking for good candidate programs to port to SYCL which will exercise its C++ features. Can anyone suggest any good examples of open source libraries …

Member Avatar for mike_2000_17
0
255
Member Avatar for jjones0150

I'm having trouble working these last few kinks out my progarm. It would be greatly appreciated if you can help me out from here. import java.util.Date; import java.util.Scanner; import java.io.FileReader; import java.io.FileNotFoundException; import java.io.PrintWriter; import javax.swing.JOptionPane; import javax.swing.text.BadLocationException; public class aCircle { public double circumference(double cRadius) { return cRadius; } …

Member Avatar for stultuske
0
230

The End.