199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for hochspeyer

All I want to do is install Python on a Windows 8.1 box. The "EXTREMELY HELPFUL" note in the reademe says goto "PCbuild". Where is this wonderous file? Bueller? I searched from the very TOP of the Python directory, and as soon as the "C" was entered, I got a …

Member Avatar for hochspeyer
0
129
Member Avatar for fheppell

I have this code for my site, the zip is generating (but corrupted because of the 0 byte files...) but the actual curled files (in the tmp/ directory) are there, just with nothing in them. if ($_GET['download']== 'true'){ $downloadarray = array(); while($row = mysql_fetch_array($res)){ $url= $row['loc']; $path = 'tmp/'; $path …

Member Avatar for fheppell
0
2K
Member Avatar for tooota

hello everyone i want to develop e-commerce website but i don't know what is the best(secure, fastest and easiest) progamming language to do so, also i've no experience at developing web-based applications. thank you very much.

Member Avatar for tooota
0
200
Member Avatar for Helpmeplease123

How do you add a membership records in java(bluej) First Name, Last Name, phone number. Please can you help me

Member Avatar for ObSys
0
259
Member Avatar for elianeasmar

Hello. I meed some help with this. I am trying to delete a record from database(SQL Server) Am i missing something? Private Sub cmdDelete_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdDelete.Click _DataSet.Tables(0).Rows(CInt(txtCurrent.Text) - 1).Delete() ' tho, it can remove the deleted rows ' we cannot call the DataSet.AcceptChanges …

Member Avatar for Begginnerdev
0
1K
Member Avatar for migu2990

Hi, I was asked to make a Phone Book thats saves entries and call them up. Then the teacher added a new task. The Program should delete entries. He gave us a methode and said we are not allowed to use ArrayList or Hashmaps, ONLY Arrays. I tried alot but …

Member Avatar for migu2990
0
409
Member Avatar for vishalonne

Hi Everybody I have to import excel data in MySQL table, I know how to do this for simple excel data to 1 MySQL table. Here also I need to import data from excel to 1 table but data is provided in 1 form which needs to be converted first …

Member Avatar for João_5
0
415
Member Avatar for <M/>

Okay, last question of the night. My program is to have a program collect a number, double it, and reverse. I am having problems with reversing it... Here is my code: import java.util.Scanner; import java.text.DecimalFormat; public class ReverseNumber { public static void main(String[] args) { Scanner s = new Scanner(System.in); …

Member Avatar for kal_crazy
0
173
Member Avatar for Violet_82

hi guys, I wonder if anybody can clarify something for me. Take these 2 fragments of code (2 constructors belonging to 2 different applications): First one: public MouseTrackerFrame() { super( "Demonstrating Mouse Events" ); mousePanel = new JPanel(); // create panel mousePanel.setBackground( Color.WHITE ); // set background color add( mousePanel, …

Member Avatar for Violet_82
0
487
Member Avatar for game4tress

I'm trying to fill a listview with the code shown bellow, but when the listview is populated, each item is shown as: ListViewItem: {The information to display1} ListViewItem: {The information to display2} ListViewItem: {The information to display3} ListViewItem: {The information to display4} My question is, how can I display only …

Member Avatar for game4tress
0
206
Member Avatar for mohamedrani

hello , i've in my system a search form which contains many tabs for each table i have in the database for example (employee tab,departments tab....) and seperated forms for the same tables to add recored from what i want is when i'm opening the employee form and press the …

Member Avatar for Mike Askew
0
182
Member Avatar for nikolaos

Testing the following code from a book public class RunTime { public static void main(String[] args) { Runtime r = Runtime.getRuntime(); //MEMORY MANAGEMENT long mem1, mem2; Integer intmatrix[] = new Integer[1000]; System.out.println("Total memory is :" + r.totalMemory()); mem1 = r.freeMemory(); System.out.println("Initial free memory is :" + mem1); r.gc(); mem1 = …

Member Avatar for mKorbel
0
777
Member Avatar for <M/>

Okay, so this is a similar error to the code before. So I created this: import java.util.Scanner; public class IntegerCount { public static void main(String[] args) { Scanner input = new Scanner(System.in); System.out.print("Enter an integer, the input ends if it is 0: "); int num = input.nextInt(); if (num == …

Member Avatar for <M/>
0
336
Member Avatar for Priti_P

Hello All, I am displying the paragraph by fetching it from DB using function `mysql_result($result1,$i,"Summary")` and here in DB database Summary field contains link (for ex: htttp://google.co.in) but on UI side, it simply shows htttp://google.co.in not a clickable link. How to do this ??? in short as my mysql_result() is …

Member Avatar for Priti_P
0
199
Member Avatar for lewashby

I'm having trouble understanding the keyword 'this' in php. When and where does it need to be used? Why can you not simply use the variable name as you would normally do when not placing a variable inside a class? In the small test case program below I can't even …

Member Avatar for minitauros
0
193
Member Avatar for Faisal_2

I have installed Rifidi edge server (open source RFID middleware provide services as osgi bundles) on windows7 and I am trying to develop a java application to connect and read data from edge server. **1)** Firstly I used Spring with following code to get JMS ConnectionFactory object which I am …

0
112
Member Avatar for tqmd1

Dear Experts, I have following codes $sql = "SELECT * from contacts order by name" ; $select = mysqli_query($con,$sql); $row=mysqli_num_rows($select); //echo ($row); while($row = mysqli_fetch_array($select)) { echo "<tr>"; echo "<td> <a href='edit.php?id=".$row['id']."'> <img border=noborder src=images/pencil.png title=Display></a></td>"; echo "<td align='left'> " . $row["name"]. "</td>"; echo "<td> " . $row["moba"]. "</td>"; echo …

Member Avatar for joshl_1995
0
318
Member Avatar for <M/>

On my code, it says that there are 2 mistakes and I can't fix them. Here is my code: import java.util.Scanner; public class Exercise4_1M { public static void main(String[] args) { int countPositive = 0; int countNegative = 0; int count = 0; int total = 0; Scanner input = …

Member Avatar for <M/>
0
448
Member Avatar for kent.johnstone_1

I'm getting compiler errors in all my function prototypes. The error is "error: expected '=', ',', ';', 'asm' or '__attribute__' before 'CALCOR". CALCOR is the name of the function and the prototype is just the first line of the function followed by a semicolon as Ancient Dragon said in another …

Member Avatar for kent.johnstone_1
0
252
Member Avatar for mahboobsrd
Member Avatar for mahboobsrd
0
184
Member Avatar for ridunneii

What I'm trying to do is initialize a vector of objects, pass the vector to a function, then initialize a new object with a constructor. After setting the object members in the function, I add that object to the vector. The problem is the member functions aren't updating outside of …

Member Avatar for tinstaafl
0
344
Member Avatar for davy_yg

Hello, I am trying to make the frontend banner works. index.php <html> <link href= "css/style.css" rel="stylesheet" type="text/css" media="screen"> <script src="js/jquery.min.js" type="text/javascript"></script> <script src="js/chili-1.7.pack.js"></script> <script src="js/jquery.cycle.all.js" type="text/javascript"></script> <script src="js/jquery.easing.1.3.js" type="text/javascript" ></script> <script type="text/javascript"> $('#slideshow').cycle({ fx: 'fade', speed: 900, timeout: 10000, pager: '#nav', pagerAnchorBuilder: function(idx, slide) { // return selector string for …

Member Avatar for davy_yg
0
193
Member Avatar for geneh23

Hey everyone, So I have an issue that I'm not sure how to solve. As for most of my posts, I'm sure it's an easy fix that I'm just not fully grasping. Anyway, I want to have a data form upload and show an image of the type of data …

Member Avatar for geneh23
0
331
Member Avatar for angel06

Hello would someone please help me with my program, I'm stuck all day with this thing. The program runs, but I think the problem is a logical error. The fraction 1/4 + 2 1/2 should be equal to 2 3/4 but the program's result is 2 3/8. Another thing is …

Member Avatar for Venjense
0
224
Member Avatar for mutago

Assuming someone is developing a site similiar to facebook in content where users are allowed to upload of heavy files, images, videos, pdf etc. what could be the php best option of coding and fast in workability 1: Is it the best to upload and retrieve the files to and …

Member Avatar for cereal
0
249
Member Avatar for VB user

I'm faceing a problem with compering the values of the Acess with the values that the user enters. The user should enter his /her username and password and choses the title of his/her job. if the user enters wrong username and wrong password and chosses the wrong job title than …

Member Avatar for Reverend Jim
0
282
Member Avatar for Jed_1

I've implimented this snippet of code dijkstra_shortest_paths( g, name2v[tempName1], get(&VertexProperty::predecessor, g), get(&VertexProperty::distance, g), get(&EdgeProperty::weight, g), boost::identity_property_map(), // index-map std::less<double>(), // compare std::plus<double>(), // combine std::numeric_limits<double>::infinity(), // infinity 0.0, // zero do_nothing_dijkstra_visitor(), get(&VertexProperty::color, g)); to use dijkstra's on a map created from a text file, but I have no idea how …

Member Avatar for Jed_1
0
846
Member Avatar for kent.johnstone_1

I'm already having problems understanding structs even with two books. Now I get one with "struct struct". What does that mean. This is actually part of a linux program I'm trying to convert to C for PIC processors. Also I'm getting errors in this code that should work like "unable …

Member Avatar for kent.johnstone_1
0
184
Member Avatar for Overtim3

I am looking to run a subprocess and not let the subprocess be seen. I have something like this: proc = subprocess.call(["some.exe", "arg1", "arg2", "argN"]) The needs to be ran in the background. I also tried something like this: info = subprocess.STARTUPINFO() info.dwFlags = 1 info.wShowWindow = 0 subprocess.Popen('some.exe arg1 …

Member Avatar for Mouche
0
323
Member Avatar for Hinata_Dev

Bonjour tout le monde , Voila ma question : je prépare un TP en c qui consiste a crée un fichier input contient la taille en premier ligne et 2 matrice d'entier dans les autres lignes ex : 4 Matrice1 1235 5456 5428 2415 matrice2 8795 2514 6524 8562 le …

Member Avatar for Mouche
0
220
Member Avatar for mythos061

Generic task: I am assigned to store student information in a binary search tree. I have a templated tree class, school class, and student class. The school class inherits from the tree class. The student class is on its own. Now, I want to encapsulate a student in a struct, …

Member Avatar for mythos061
0
204
Member Avatar for tqmd1

Sir, I am using these codes. <script type="text/javascript"> $("#moba").change(function() { var formVal = $("#moba").val(); $.get( "ajax_find.php", { id: formVal } ) .done(function( data ) { $('#my_name').val(data); $('#mobb').val(data); $('#email').val(data); }); }); </script> And ajax_find.php has these codes <?php require_once("connect.php"); if (isset($_GET['id'])) { $sno =trim($_GET['id']); $record_check ="SELECT * FROM contacts WHERE moba …

Member Avatar for diafol
0
1K
Member Avatar for tbuchli

// Create the cboSelectGroup, and add it to the navigation panel: //String[] strDefaults = {"Defaults"}; //cboSelectGroup = new JComboBox(strDefaults);Public Class Form1 cboSelectGroup.setPreferredSize(new Dimension(150, 40)); cboSelectGroup.setMinimumSize(new Dimension(150, 40)); cboSelectGroup.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { btnImagesActionPerformed(evt); } });

Member Avatar for tbuchli
0
287
Member Avatar for pfm200586

Hello everyone, I have this assignment that I dont understand. It is a very long assignment I think. I don't want any code or something like that. I need to understand what i am suppose to do then I have to start thinking about codes. Now you may say just …

Member Avatar for Ciprian_1
0
745
Member Avatar for <M/>

Hi guys, I am working on an assignment for a class of mine (Java) and I am really frustrated with it. This was my very last attempt (out of like 20)... System.out.print( "Enter temperature in Celsius to convert to Fahrenheit: " ); double c = kbinput.nextInt(); double f = ( …

Member Avatar for <M/>
0
229
Member Avatar for faris.hamarshi

hello, i am trying to store a text from file into array to do some editing on it i did this void readFile(){ FILE *fp; long lSize; char *buffer; fp = fopen ( "s.txt" , "rb" ); if( !fp ) perror("s.txt"),exit(1); fseek( fp , 0L , SEEK_END); lSize = ftell( …

Member Avatar for Mouche
0
186
Member Avatar for chrisschristou

Hello dear friends on daniweb. i have a problem i have hotst package on 1and1.com now is 9 months.... i it is 6 months i try to install latest phpmyadmin but still i can't i don't know how i had download phpMyAdmin-4.0.4-all-languages zip i unziped and i upluad on www.myadomainname.com/phpMyAdmin-4.0.4-all-languages …

Member Avatar for chrisschristou
0
455
Member Avatar for Jed_1

Okay, so as ussual I'm having a lot of problems with a code and I need a lot of help along the way, but I'm just going to break it down into simple questions as I go. I am taking data from an input file that is a .txt that …

Member Avatar for mike_2000_17
0
919
Member Avatar for Pratique

#include<stdio.h> #include<conio.h> void main() { printf("enter number:"); scanf("%d",&n); for(i=1;i<=y;i++) { x++; } t=x; for(i=1;i<=y;i++) { t--; } y=t; getch(); }

Member Avatar for Mouche
0
349
Member Avatar for jLamp

Dear Friends, Help me to write a script for create dynamic list menus in php. Simply, my need is retrieve value from URL & create list menus according to the value that we retrieved from URL. Ex : site.com/text.php?no=4 Should be displayed 4 text boxes Thank you friends.

Member Avatar for diafol
0
133
Member Avatar for Builder_1

How can i write a C++ program which prompts the user to enter names of five countries , stores them in a 2D array,sorts them alphabetical order and prints them on screen. im unable to make it..plz help #include <iostream> using namespace std; int main() cout<<"Enter tha names of five …

Member Avatar for Builder_1
0
1K
Member Avatar for spawn2004

Hi I have a little problem. I am having a project and i need to implement Dijkstra for a graph.So far it was ok but i have that problem when run it in g++ The code is where i think i have the error is here i think: if(!graph_list.at(start_Node->id)->path_list.empty()) { …

Member Avatar for samer.aboufakher.3
0
430
Member Avatar for king03

ok so here is what my code does, when you click sign up it will then open a new form wherein you can create your account by putting a username and password, after that it will save your username and password to the debug folder inside bin folder. the saved …

Member Avatar for odai.khateeb
0
3K
Member Avatar for Firozeh

hi, i need help to research about search pattern,as u know we can use some search pattern for searchoin in our codes like*.jpg"|"*.txt"|"*.asp"|"*.css"|"*.cs", I wanna know more about, how many search pattern exist? ...

Member Avatar for The Diamonds
0
154
Member Avatar for COKEDUDE

Is there a way to check the default version of C89, C90, or C99 that gcc uses to compile your programs? I tried -v and --version but they only give the actual package of gcc info.

Member Avatar for Mouche
0
431
Member Avatar for somjit{}

My assignment says : Write a program to perform following stack operations : Create a stack with item code and quantity Itemcode Quantity 111 450 112 0 113 487 114 101 115 500 116 0 117 359 and then Delete the items having quantity zero and update the stack. My …

Member Avatar for Mouche
0
294
Member Avatar for khelkely

So, this is my coding, but when i insert data, i cannot update view / print input that i had inserted. And also, i had connect the database with NOTEPAD, but it does not appear. So, what is the problem? # include <iostream.h> # include <fstream.h> # include <iomanip.h> struct …

Member Avatar for Moschops
0
176
Member Avatar for clife

Hi, How will i grep for a string which has '/' in it. I have so many script files some are having #!/bin/bash and some are having #!/bin/sh how can i find the scripts which are having #!/bin/sh. Thanks

Member Avatar for rch1231
0
120
Member Avatar for MrSheba

Hello dear, I'm playing a normal game called "Kal-Online" and am doing my own server and im looking for a coder who can help to code skills and some stuffs for me I'd like to find him/her out, King Regards, Sheba.

Member Avatar for pritaeas
0
80
Member Avatar for cb.home

Hi folks, I have a problem... Der erste Ordner `./src` mit der main hat folgendes Makefile (automatisch erzeugt) include C:/IPG/hil/win32-4.0.5/include/MakeDefs APP_VER = "Car_Generic <insert.your.version.no>" APP_NAME = CarMaker.$(ARCH)$(EXE_EXT) #OPT_CFLAGS = -g -O1 LD_LIBS = $(CAR_LIB) $(EKF_LIB) $(CARMAKER_LIB) $(DRIVER_LIB) $(ROAD_LIB) $(TAME_LIB) OBJS = CM_Main.o CM_Vehicle.o User.o OBJS_xeno = IO.o $(OBJS_CANIOGEN) $(OBJS_CANIOGEN_USER) OBJS_linux …

Member Avatar for cb.home
0
383

The End.