199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Sourav_5

Hi guys, this is my first post here. I built Fb app around 2010 and then it was much easy to get started. But after 6 years I am starting again to develop my 1st app after tha gap. But now it's been hard, as I need HTTPS for the …

0
148
Member Avatar for nadiam

Hi. I have these exercises to do, to write the output of some coding given. I can compile it in eclipse but doesn't mean i understand. can someone please explain this code to me. thank you. int[] arrayA = new int[3]; //this part i know, create array size 3 int[] …

Member Avatar for JamesCherrill
0
331
Member Avatar for RudyM

Hi all, I've been wrestling with CodeIgniter to work with MSSQL. Turned out to be a whole ordeal with changing the functions to use the newly updated sqlsrv functions. After all that, I still seem to have issues with it. While I'm working this out, I wonder if anyone has …

Member Avatar for RudyM
0
164
Member Avatar for M.Waqas Aslam

Dear All , Hope everyone is fine. I have little question. We use this query normally in MSSQL select * from emp where empid in (1,2,3,4) How to write this query in lambda expression. Is there any way to perfrom above mentioned operation ? Best Regards

Member Avatar for pritaeas
0
169
Member Avatar for Niels_1

Hello guys, I have been trying to fix these errors, but it wont work. This are the errors im getting Warning: mysqli_query() expects parameter 1 to be mysqli, object given in /home/335456/public_html/hoi/class.user.php on line 35 Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, null given in /home/335456/public_html/hoi/class.user.php on line 36 …

Member Avatar for pritaeas
0
179
Member Avatar for Jelo

I have been trying two save data into mysql database using hibernate but it have been giving me an error. Could someone give a solution to this. Following is the servlet code and hibernate configuration servlet package ac.ke.schoolsystem.controllers; import java.io.IOException; import java.util.ArrayList; import javax.servlet.RequestDispatcher; import javax.servlet.ServletContext; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; …

0
135
Member Avatar for lps

Hi, recently I am taking part in a project which using data-id and data-type to perform script selection. I had read a few articles regarding the issue 'HTML5 Custom Data Attributes ' including [http://stackoverflow.com/questions/15507354/what-are-the-differences-between-using-data-attributes-and-class-id-for-javasc](http://stackoverflow.com/questions/15507354/what-are-the-differences-between-using-data-attributes-and-class-id-for-javasc) I am here asking opinions on the usage of difference in performance, tidyness of code and …

0
218
Member Avatar for Maideen

Hi Sir I have a problem in passing value from Popop to main page I am using Master page and aspx page From main page, i can open popup windows and populate data in gridview. I am selecting date and capture the valeu in TextBox. When I click the button …

0
228
Member Avatar for slowlearner2010

Hi, I tried to change the form action based on selection option and hoping that my javascript validation function working properly too... I found out one solution and hoping this javascript can do that kind of thing. I tried so many ways and I think there's something wrong with my …

Member Avatar for hericles
0
494
Member Avatar for chrisschristou

hello, how to setup eclipse IDE to use visual c/c++ compiller. i have visual studio express on my computer i guess this include c++ compiller what probably do compile c. so i would like to know how can i use the the visual c/c++ compiller in eclipse IDE thanks you …

Programming c c++ visual-studio
Member Avatar for rproffitt
0
1K
Member Avatar for Jiby_1

Is it possible to upload a file in php without form tag browse button and upload button. if particular file exist in folder i want to upload that file to server..how it is possible

Member Avatar for jkon
0
255
Member Avatar for ajs1351

hello, im trying to do some php , and sql, to grab the next or previous record when pressed one of the buttons, and display on page. the thing is that will display the next row from the db, but then it wont execute again, when i click on next …

0
93
Member Avatar for grand_78

I need help with just one line. I need an "F" to be displayed on the same line the student with 45 points. I keep getting the "F" to display on a new line below the 45. I guess something is wrong with my if statement. I also need to …

Programming python
Member Avatar for Brandon Hatch
0
204
Member Avatar for Stefce

Here is the error it gives me Warning: mysqli::query(): Couldn't fetch mysqli in C:\xampp\htdocs\bootstrap\tickets_info.php on line 27 db problem. Warning: main(): Couldn't fetch mysqli in C:\xampp\htdocs\bootstrap\tickets_info.php on line 31 Fatal error: Wrong SQL: SELECT `Uplata`, `Dobivka`, `Date`, `sharedTime`, `match1`, `match2`, `match3`, `match4`, `match5`, `match6`, `match7`, `match8`, `match9`, `match10`, `match11`, `match12`, …

Member Avatar for Stefce
0
474
Member Avatar for kberrianjr

I have been searching all over for a way to open a text file that was created using vb.net on one form and open that same text file and place the contents into a list view. The text file will have a description, a part number, and a quantity, this …

Member Avatar for tinstaafl
0
306
Member Avatar for Haider85

I have some data in varbinary(max) from database and I have exported it to physical files. Some of these files were in jpeg so I was able to just add an extension .jpg to it and it opened. The rest are not jpeg files. **I have tried almost all the …

Programming assembly c c++
Member Avatar for rproffitt
0
441
Member Avatar for Albert Pinto

Hi People; I've got issue in uploading image in cake php. Thing is that, I have a form, where i have input type="file". I need to upload a file in a directory and save its path in database. In "view" its like... <tr><td> <?php echo $this->Form->input('field', array( 'type' => 'file', …

Member Avatar for mandeep_2
0
3K
Member Avatar for slowlearner2010

Hi guys, I need to put data that i get it from db2 and display it into each text boxes (Name, Address and Postcode). What i got now, its displayed Name's data that i got from db2 into all text boxes (Name, Address and Postcode) . All i want is …

Member Avatar for slowlearner2010
0
145
Member Avatar for LONGWAY

I cant center the logo in the middle of the page horizontaly. HEEEEEEEEELP #logo { display:inline-block; margin:10px auto 0 auto; } #logo img {max-width:330.5%; } #logo a{ display: block; margin-left: 0%; margin-right: 0%; } I ve tried many options and nothing works and this is my last1

Member Avatar for rproffitt
0
153
Member Avatar for Ayuni_1

Hai. i'm beginner in php. Can someone help me to insert the calculated value into database. I'm trying to insert calculated value into database but it doesn't work. This is my code. <?php $ic=$_SESSION['ic']; $query=" SELECT * FROM form WHERE ic='$ic'"; $result=mysql_query($query); $record=mysql_fetch_array($result); $query1=" SELECT * FROM login WHERE userIC='$ic'"; …

Member Avatar for AleMonteiro
0
323
Member Avatar for Hari_11

when i save my object in hibernate session.save(obj) getting this exception. (SqlExceptionHelper.java:127) SQL Error: 1747, SQLState: 42000 (SqlExceptionHelper.java:129) ORA-01747: invalid user.table.column, table.column, or column specification (AbstractBatchImpl.java:193) HHH000010: On release of batch it still contained JDBC statements (SessionImpl.java:2994) HHH000346: Error during managed flush [could not execute statement]

Member Avatar for AleMonteiro
0
538
Member Avatar for Big-D2xL

Hi there! I hope I'm putting this in the correct section... Recently I though of the idea of "building" something for me. As you may guess for the title, I want to create an email client and I know there are a lot nowadays but either because of limitations or …

Member Avatar for AleMonteiro
0
310
Member Avatar for mathgirlgrade6

Hi, So how exactly do we take the length of an int array? Lets say that there is an array called int nums []={2, 1, 2, 3, 4}; Is there a function that can be used to find it?

Member Avatar for Donald_6
0
19K
Member Avatar for prahesh

class Data { string name; string ID; public: Data(){cout<<"Data"<<endl;} }; class info{ string name; string ID; public: info(){cout<<"info"<<endl;} }; Two classes defined above. Now I want to create a vector of type std::vector<Data obj1, info obj2> container; further I want to use the vector features using the vector container. How …

Member Avatar for prahesh
0
306
Member Avatar for kantze

Hi there. I must create a NDFA which accepts the language ((0*|1)(1*0))*. The problem is i've done only few exercises about NDFA and i'm confused. Does this language means that: 0*1*0 [B]or[/B] 11*0 -> many times? Do you know if this one is fine?? [URL="http://img245.imageshack.us/my.php?image=helper2.jpg"][img=http://img245.imageshack.us/img245/5189/helper2.th.jpg][/URL] It's too difficult for me …

Member Avatar for adityasai79
0
802
Member Avatar for gahhon

Hello guys, Currently I am developing a simple task of my University exercise. Is using EJB to develop the webpages to allowed end-users to reset their password based on the records in database. Unfortunately, I have some issue during the development, which is whenver I press the "Submit" button, it …

Member Avatar for rproffitt
0
390
Member Avatar for spud91

Im working on a small website and im a little confused on one step. I'm following a very simple mvc pattern, ive currently got one controller that creates a session array that holds all the posted data IF the form has been submitted, This data is coming from several different …

Member Avatar for spud91
0
377
Member Avatar for prakash2813

Hi there, I have a class definition like : class Student{ String name; int sub1; int sub2; int sub3; //... } I have list of all students. I want to get count, average, min, max etc using IntSummaryStatistics. Below is the code for sub1: IntSummaryStatistics sub1Summary = students.stream().collect(Collectors.summarizingInt(s -> s.sub1)); …

Member Avatar for prakash2813
0
275
Member Avatar for kriwut.keawmit

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Data.OleDb; using MySql.Data.MySqlClient; //Add Mysql Library using System.Configuration; namespace MindLab { public partial class ImportFile : Form { MySqlConnection myConnect; MySqlCommand cmd; string strSQL = null; public ImportFile() { InitializeComponent(); //InitializeOpenFileDialog(); } private …

Member Avatar for Dawn2016
0
3K
Member Avatar for michael_51

Another common statistical measure is the standard deviation, which provides an indication of how the indivdual values in the distribution differ from the mean. to calculate the standard dev. whose element are x1, x2.....xn you need to perform the ff steps a. calculate the mean of the distribution b. go …

Member Avatar for stultuske
0
167
Member Avatar for panduranga_1

I am new to php frameworks, it is said that php frameworks provide reusable code, more than code written in flat php, but in most php frameworks we write code in 3 sections like models, views, controller etc. How that code is reusable, in another projects? In flat php, we …

Programming php
Member Avatar for vps9.net
0
218
Member Avatar for Phillip_3

HI GUYS HOW ARE YOU I WOULD LIKE TO KNOW IF YOU GUYS CAN HELP WITH A SOFTWARE SYSTEM THAT IS ABLE TO TAP INTO HUMAN ## consciousness ##

Member Avatar for Suzie999
0
172
Member Avatar for sashiksu

In few months ago I was finding a way to backup mysql database. After those time again I found some intersting code part from web. I really thanks for first owner of this amazing code. I will put it below. But first, I must said one thing I'm just unsure …

Member Avatar for hericles
0
195
Member Avatar for JermaneJermane

What I am trying to do is read the file shown below as an string array, the file is a bunch of months that are in order of the months in a year.This is done multiple times which correlate to another file that has years in. Now what i want …

Programming c c# c++
Member Avatar for Suzie999
0
507
Member Avatar for humble55

Hello Hello i have struct dynamic array (matrixCov) like this *array = (struct matrixCov*)malloc(sizeof(struct matrixCov) * counter); now i have another struct Link list with element Data type -struct matrixCov (struct matrixCov * data) now when i type this line for (k=0;k<conter;i++){ (*pointer)->data =array[k];} when k=0 copied well but from …

Programming c
Member Avatar for AssertNull
0
731
Member Avatar for spud91

SEEMS AS IF MY ARTICLE HAS BEEN SUBMITTED TWICE. I DO APOLOGISE FOR THAT Hi guys, I'm working on a small website and I'm currently stuck on a small issue. Ive got a set of dropdown boxes created and populated in HTML, for example: <select name="heatingType" id="heatingType" required> <option value="" …

Member Avatar for spud91
0
259
Member Avatar for masimies

Hello, Another issue came up, when needed to run mass-functions. archiveinv.php is generating html-file with result of query function. This part is working fine. And launched from form-link "archiveinv.php?offerid=$offerid" does it's job. But, when i need to launch many of them in same time, with array result, it's harder to …

Member Avatar for masimies
0
321
Member Avatar for Vlatko_1

Hello everyone. First of all i'm new here, and i registered particulary for this problem of mine i can't figure. In the code shown below, in the function `void printExpensiveThanT(..)` i'm supposed to print out the destination, distance and the price for the offers which are more expensive than the …

Member Avatar for AssertNull
0
250
Member Avatar for Regan_1

I am quite new to python programming and having trouble with this program. This is what my GUI looks like [Click Here](https://gyazo.com/5e45577a99ae131dfa4a1a9a42cbfb0e) . What I am trying to acomplish is by have the two comboboxes select the units and then calculate them. Code: self.measurements = StringVar() self.Combobox_Length_Left = ttk.Combobox(self.length_frame, textvariable …

Member Avatar for Regan_1
0
2K
Member Avatar for TexWiller

I have to execute a very long time script in php, during the execution the browser still waiting. There is any way to "tell" the browser to stop waiting as the page was completed ? but obviously the sript must continue

Member Avatar for TexWiller
0
248
Member Avatar for mac-mac

Can you guys help me how to make this happen? I want to have a row validation for adding of items. I have a datagridview named **datagridview1** with columns **dgvTxtItemCode, dgvTxtItemDesc** and so on. I want to add a validation wherein whenever inputted the same itemcode or item desc a …

Programming vb.net
Member Avatar for Mr.M
0
752
Member Avatar for Ghast

Hello. I wanted to remove a key in registry using only VB.NET code and i do not know how. Can you please help me ?

Member Avatar for Mr.M
0
131
Member Avatar for sureshk75

This is my 2nd question on python/tkinter... I'm experimenting on containers to maximise code reuse but I seem to be stuck at attempting to display the image for the ContainerImage section although at runtime it does set the background to black and displays the text just not the image. Would …

Member Avatar for Gribouillis
0
2K
Member Avatar for mada Al-Ahmadi

#include<iostream.h> int x,y; int sum(int a,int b) { int c; c = a+b; return (c); } Int sub (int a ,int b) { int c; c = a-b ; return (c); } int multi ( int a, int b ) { int c ; c = a*b; return (c); } …

Programming c++
Member Avatar for mada Al-Ahmadi
0
290
Member Avatar for Abdennour

hey ,i am new to the site as java bluej , i have drawn a flag using bluej using many objects like circle and rectangle ... i wanna combine the objects into one to move it together , what should i do ? the code source: /** * This class …

Member Avatar for JamesCherrill
0
232
Member Avatar for Niels_1

I'm learning the ways off writing code in OOP, but i have a file where i do not know how to change it in oop. I have written php code before, but dont know how to convert this file in OOP cant somebody help me with a example of my …

Member Avatar for rubberman
0
256
Member Avatar for FarrisFahad

I have this event handler for when the page is loading. It shows a preloader GIF image when the window start loading. $(window).load(function(){ $("#Preloader").css('display','block'); }); But I don't know how to detect if the window stops loading so I can remove the preloader. How to detect if the window stops …

Member Avatar for gentlemedia
0
227
Member Avatar for hrushi9

I'm Using **AdminLTE-2.3.0** template, **jquery.imgareaselect.js** I'm using bootstrap modal to submit form via ajax. Inside Modal I have preview of image before upload. And **imgareaselect** is not working well that I proceed further with image cropping. **ScreenShot of error is attached.** **Please help.** **Thanks.** **imgareaselect-animated.css** .imgareaselect-border1 { background: url(images/border-anim-v.gif) repeat-y …

0
218
Member Avatar for sashiksu

Hey I need help from danniweb . I try some codes according to my knowledge to make this code. I load some valuse to data grid view from mysql table. Think there are 10 records loaded to data grid view. Then just I want to make 10 records to generate …

Member Avatar for DenisOxon
0
342
Member Avatar for Marco_4

Hello, I'm having trouble uploading all the various data to the database, can you help? The code is this, I have done some testing but the original image and thumbnail are loaded properly in the directory, but all the data are not passed to the database. What is the correct …

Member Avatar for hericles
0
301

The End.