199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jmensah

below is a code which new password entered and compare with the confirmed password. At run time, it doesn't show error but when input password diferent that of the confirmation, it doesn't give any matching error. please below why the system allow me to move to the next. [code] Private …

Member Avatar for Mr.M
0
5K
Member Avatar for Admin_2

Excuse me how to make progress Scan the files in a folder like in this video youtu.be/K6yqoVeNPAk thanks

Member Avatar for Mr.M
0
337
Member Avatar for laguardian

Hello guys! I'm trying to call a method in main called "buyProduct" which displays all products to the user. I' a getting a NullPointerException though. Here's what I have: public static void main(String[] args) { OnlineShopping shop = new OnlineShopping(); ArrayList<Cart> carts = new ArrayList<Cart>(); ArrayList<Order> orders = new ArrayList<Order>(); …

Member Avatar for laguardian
0
378
Member Avatar for Sayam_1

i did a simple interface programme where one interface extends two interface.so,no error is showing,but no output is showing..here is the code.. interface a { int add(int x,int y); } interface b { int mul(int x,int y); } interface c extends a,b { int div(int x,int y); } class d …

Member Avatar for Sayam_1
0
96
Member Avatar for vivekH

I have a arraylist which i want to store in database.I am using preparedStatement so how can i pass my arraylist as parameter to store it in database. my code is: public void insertEnquiryRecord(StudentEnquiryEntity enquiryEntity) { // TODO Auto-generated method stub System.out.println(" hi from vivek.."); ConnectionFactory connectionFactory = null; connection=connectionFactory.getConnection(); …

Member Avatar for jwenting
0
239
Member Avatar for Marco_3

0ello I'm trying creating a triangular mesh from png. How can I extract the basic information from a image contour to create a mesh? I used opencv module in order to extract the contours . On xyContour variable I have essentially a path, but with a path I think that …

0
756
Member Avatar for ogsirus

Hi guys, I have written a program which currently accumalates different pairs and their frequency from an excel spreadsheet. (1280 pairs) Want I want to achieve is from the top 20/30 pairs, if I can find pairs that link e.g. Pair 1 [1,33] and Pair 100 [1,232] so i would …

Member Avatar for ogsirus
0
262
Member Avatar for Simon180

Can anyone help me out with abit of code that will detect the location of any exe file on a hard drive / cd? am trying to build a simple exe launcher thanks.

Member Avatar for Simon180
0
231
Member Avatar for UK-1991

Hello, I created a login script in which I set a condition of 2 authentication user and other one is admin but the redirection is not working properly it check if user type is admin it logsin but not redirect it moves all the way downword to else condition let …

Member Avatar for pritaeas
0
257
Member Avatar for isaac.iji.5

hi i used multer to create an upload script now i would like to display the photos uploaded by eacch user on diff pages with diff adrees i.e exprome.come/photos/234 and also every photo would have its comment. any ideas? i think every comment should be saved with the photo id …

Member Avatar for isaac.iji.5
0
209
Member Avatar for hwoarang69

I need some help created a google weather api using vb .net. I found the code online and there are no errors. Problem is that I can't seem to display wether information. Nothing shows up on screen and I am not sure what I did wrong. any ideas? Imports System.Net …

Member Avatar for tinstaafl
0
534
Member Avatar for Ventech_IT

Hi all okay so when i click on my home page on my login button it takes me to my login screen that all works well but when i submit the form it just reloads the page and does not redirect to the page specified in my controller. Also the …

Member Avatar for diafol
0
295
Member Avatar for praba_web

How to unlink multiple files in codeigniter? I have to delete records from database. delete records works . what i want, after deleting records also files should get delete form directory(/uploads/deals/) My scripts is below: public function delete($merchant_deals_id) { $deal = $this->admin_deal_model->get_single_deal($merchant_deals_id); $path = './uploads/deals/'; $image1 = $path.$deal['deal_images1']; $image2 = …

Member Avatar for cereal
0
2K
Member Avatar for Elizabeth_6

I hope you can help me with the below exercise. I am trying to get through a programming class and it is getting tough,can you help? The Daily Trumpet newspaper accepts classified advertisements in 15 categories such as Apartments for Rent and Pets for Sale. Develop the logic for a …

Member Avatar for vegaseat
0
189
Member Avatar for <M/>

I am working on adding security onto my contact form and I can't seem to find the reason as to why I get errors. Currently, when I test the php form, I get this error: Parse error: syntax error, unexpected T_IF in /home/content/86/5284386/html/websitenamewashere/contact.php on line 16 Here is my php: …

Member Avatar for <M/>
0
517
Member Avatar for Chris920

I wasnt sure exactly what forum to put this in so i choose PHP since WordPress is made with PHP. I'm looking to have a video player on my website. Playlist so to speak but I also want "speed control" of the videos like youtube has. When the "speed" of …

Member Avatar for Chris920
0
576
Member Avatar for SpeakerKeyboard

I'm currently have and excel speadsheet that has 3 rows. What I would like to do is create a macro that reads the last populated row, usually will be column A1, and then created a new column listing the current date and time. So for example, I have ColA ColB …

Member Avatar for SpeakerKeyboard
0
208
Member Avatar for preethi_1
Member Avatar for JOSheaIV
0
274
Member Avatar for Puru_1

I am getting below errors while compiling on V2013. I have benn struggling it for last 5 days. Any help much appreciated. ------------------------------------ error LNK2001: unresolved external symbol "double pnl::global_fakedummy" (?global_fakedummy@pnl@@3NA) 1>snpgm.obj : error LNK2001: unresolved external symbol "private: static class pnl::LogMultiplexor * pnl::LogMultiplexor::s_pStdMultiplexor" (?s_pStdMultiplexor@LogMultiplexor@pnl@@0PAV12@A) ------------------------------------------------------------------------------------------------ pnlFakeptr.hpp #ifndef __PNLFAKEPTR_HPP__ #define …

0
95
Member Avatar for kukuruku

I do have a dataset with id date code 1 02/02/2012 A 1 02/07/2012 B 1 02/21/2012 A 2 02/02/2012 C 2 02/09/2012 A and I have to create a grid with the days in february and insert the code in the coresponding days id 1 2 3 4 5 …

Member Avatar for tinstaafl
0
144
Member Avatar for Samyx

My code is working for the Agents, Labs and Investigator's grid, but when I add the last grid 'Vaccines', the grid does not display. According to firebug there is a "TypeError:W.localdata is undefined" It seems to be a problem with my orders3 data, but I can't figure out what. Can …

0
145
Member Avatar for davy_yg

How to change the format of: --> var enterDate = '2016-01-15'; // to 2016-01-15T00:00:00.0000000+08:00 with JS syntax? // I try these and none of these works out: 1) enterDate.format("yyyy-mm-ddT00:00:00.0000000+08:00"); console.log(enterDate); 2) enterDate.toLocaleFormat("%B %e, %Y %M:%S"); Thanks in advance.

Member Avatar for diafol
0
380
Member Avatar for laguardian

Hello guys! I'm working a project and it seems that there's something wrong with my switch-case. For example, in the user menu, the user can input the number 2 then it would allow them to deposit, but somehow, it keeps displaying the first switch-case. switch(resp){ case 1: users.get(0).displayProfile(); users.get(0).editProfile(); break; …

Member Avatar for stultuske
0
213
Member Avatar for Lethugs

Hi My vs stopped working everytime i click datagridview Probelem Signature: Problem Event Name: CLR20r3 PS 01:devenv.exe PS 02:10.0.30319.1 PS 03:4ba1fab3 PS 04:System.Drawing PS 05:4.0.0.0 PS 06:4ba1e086 PS 07:49 PS 08:1f PS 09:System.InvalidOperationException Locale ID:1033 Additional information about the problem: LCID:1033 Please Help, Thanks

Member Avatar for Reverend Jim
0
406
Member Avatar for BenWard

Hello, I'm having some trouble with CURL. I'm trying to use a web service to get a customer's name and address but it fails to send my post data when I use NTLM proxy authentication. $xmlToSend = "<?xml version=\"1.0\" ?> <soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:dat=\"$this->service\"> <soapenv:Header /> <soapenv:Body> <dat:CustomerDataRequest> <dat:SystemAuthentication> <dat:username>$this->user</dat:username> <dat:password>$this->pass</dat:password> …

Member Avatar for BenWard
0
1K
Member Avatar for WebMedia_1

Hi everybody, pls i need help here. i ve a video player and i want to populate video on it from mysql database, here is my code. <ul id="playlist1" style="display:none;"> <li data-thumb-source="assets/img/ddd.jpg" data-video-source="assets/video/ddd.mp4" data-poster-source="assets/img/ddd.jpg" data-downloadable="yes"> <div data-video-short-description=""> <div> <p class="minimalDarkThumbnailTitle">ddd</p> <p class="minimalDarkThumbnailDesc">dddd.</p> </div> </div> <div data-video-long-description=""> <div> <p class="minimalDarkVideoTitleDesc">dddd</p> <p …

Member Avatar for WebMedia_1
0
7K
Member Avatar for ddanbe

Sometimes, when I have really, really nothing else to do, I start doodling with some code. Wanted to display the coordinates of the mouse pointer. Thought it was complicated, but it was rather easy. Look, starting at line 94. Then: why not explore a [Bezier curve](https://en.wikipedia.org/wiki/B%C3%A9zier_curve), and what if I …

0
262
Member Avatar for Hilal2009

This is my code <?php session_start(); require_once("facebook-sdk/autoload.php"); require_once("facebook-sdk/src/Facebook/FacebookSession.php"); require_once("facebook-sdk/src/Facebook/FacebookRequest.php"); require_once("facebook-sdk/src/Facebook/FacebookResponse.php"); require_once("facebook-sdk/src/Facebook/FacebookSDKException.php"); require_once("facebook-sdk/src/Facebook/FacebookRequestException.php"); require_once("facebook-sdk/src/Facebook/FacebookRedirectLoginHelper.php"); require_once("facebook-sdk/src/Facebook/FacebookAuthorizationException.php"); require_once("facebook-sdk/src/Facebook/GraphObject.php"); require_once("facebook-sdk/src/Facebook/GraphSessionInfo.php"); require_once("facebook-sdk/src/Facebook/GraphUser.php"); require_once("facebook-sdk/src/Facebook/Entities/AccessToken.php"); require_once("facebook-sdk/src/Facebook/HttpClients/FacebookCurl.php"); require_once("facebook-sdk/src/Facebook/HttpClients/FacebookHttpable.php"); require_once("facebook-sdk/src/Facebook/HttpClients/FacebookCurlHttpClient.php"); use Facebook\FacebookSession; use Facebook\FacebookRequest; use Facebook\FacebookResponse; use Facebook\FacebookSDKException; use Facebook\FacebookRequestException; use Facebook\FacebookRedirectLoginHelper; use Facebook\FacebookAuthorizationException; use Facebook\GraphObject; use Facebook\GraphSessionInfo; use Facebook\GraphUser; use Facebook\HttpClients\FacebookCurl; use Facebook\Entities\AccessToken; use Facebook\HttpClients\FacebookHttpable; use Facebook\HttpClients\FacebookCurlHttpClient; $api_id="452545828240757"; …

Member Avatar for Hilal2009
0
3K
Member Avatar for Siberian

I want to style only a span using javascript; I'm using: variable name.className=""; Everythihing in the Div is whatever color I set for the style, instead of strictly the span ?

Member Avatar for diafol
0
190
Member Avatar for praba_web

Hi there , How to retain value file upload input in codeigniter? Please give me an idea? i am using below one: but not working.. <input type="file" name="image1" value="<?php echo set_value('image1')?>" class="form-control" style="width:300px;" id="dealImg">

Member Avatar for praba_web
0
11K
Member Avatar for Khaldoun Latif

hello everyone, i have a little problem in ASP with my friend's master project, there is a database which saved images paths in it; when she want to preview an image in an image control the path is readed correctly (she previewed the path in a textbox to check) but …

Member Avatar for zinist
0
177
Member Avatar for chaitu11

I need After-ship API integration for e-commerce website. https://www.aftership.com/docs/api/4 which will be useful in tracking the order status. I have downloaded sdk from https://github.com/abishekrsrikaanth/aftership-php-sdk I have given the api key in AfterShip/Core/request.php. But its not working can anyone suggest me steps to integrate it.

Member Avatar for pritaeas
0
530
Member Avatar for jay.perez.167189

Sample code: Try Dim constr As String = ConfigurationManager.ConnectionStrings("FileDBConnectionString").ConnectionString Using con As New SqlConnection(constr) Using cmd As New SqlCommand() 'cmd.CommandText = "SELECT fldControlno, fldRecno, fldFileName ,fldDate FROM tblPDSTrainzATemp where fldRecno= ('" & txtrecordno.Text & "')" Convert(varchar, fldDate, 101) ' cmd.CommandText = "SELECT fldcontrolno,fldEmpID,Convert(varchar, fldDate, 101) as [Date],fldPosition, fldSalary, fldAttachType, fldfilename,fldfiletype,fldfiledata …

Member Avatar for zinist
0
126
Member Avatar for manoj_18

I am not able to make a connection with database in gridview, please give me suggestion on reply

Member Avatar for zinist
0
112
Member Avatar for Ritesh_4

Hello Is it possible to use SQL queries in a JS file? Example I have the following code, and would like for each input[type='text'] encountered, to save its value to a sql table in a column: jQuery("input[type='text']").blur(function(){ var id = jQuery(this).attr('id'); var inputVal = jQuery(this).val(); });

Member Avatar for Lau_1
0
300
Member Avatar for cagrifromearth

hello guys, i am creating a web site with webform. First i created a login page when i click button i go homepage.And i added logout button in homepage, when i click going login page but if i click internet back button(arrow <-) i go homepage again. I didnt solve …

Member Avatar for Lau_1
0
120
Member Avatar for Aeonix

Imagine this, (names made up or/and don't apply to current situation, names used/imagined only for purposes of explaination) There's server called `daniweb.com`, it's an API server. You can get quite chunk of data out of it. But for some reason, the one who orders the project, demands that we request …

0
118
Member Avatar for UK-1991

Hello, I am developing and developed couple of websites in php succeccfully but many times I have seen a query a default function of php which i see in many tutorials it has been used but I am confused about it. The function is mysqli_inser_id() I mean can anyone explain …

Member Avatar for UK-1991
0
200
Member Avatar for btissam

hi everyone ! I'm working on a network strategy game with 3 components one reffere will define the mission and 2 players will make moves and attacks in a turn based way . in the end of each turn , the reffere will generate a rapport of each player action …

Member Avatar for btissam
0
256
Member Avatar for wilsonchama

Hi guys, Am trying to print datagridview contents to pdf. I have tried to use the code below I learned from the net, bu it is giving an error message "Object reference not set to an instance of an object." Private Sub bntToPDF_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) …

Member Avatar for zinist
0
4K
Member Avatar for Mike Askew

I've inherited some code utilising the bootstrap framework. I'm currently seeing some odd behaviour where no matter what date was last picked, the date picker always seems to open showing the month of July. Is there any particular places in the code I should be looking to see if anything …

Member Avatar for Mike Askew
0
965
Member Avatar for Christina_4

I am working on an 8 queens problem, I am to place all 8 queens on the board before figuring out if they will attack one another. I am attempting to do this using a 2d array. How do I create random queens (1's) for each row, but making sure …

Member Avatar for JamesCherrill
0
375
Member Avatar for bhaskerlee

I want to show my custom control(eg: `monthcalendar`) as a drop-down (popup) window. One option is to use `ToolStripDropDown` and `ToolStripControlHost` as the second example in [msdn sample](https://msdn.microsoft.com/en-us/library/system.windows.forms.toolstripdropdown(v=vs.110).aspx). Is it recommended to use ToolStripDropDown for controls other than the ToolStrip items ?

Member Avatar for bhaskerlee
0
191
Member Avatar for shashigowda

what is the html code for **if we move our cursor on the image, the image name should appear**?? please help me urgent

Member Avatar for Dianne Watts
0
160
Member Avatar for Sophia_1

Hi everyone, i have this form with 2 divisions. I wanted to retain the current tab after saving records for example, after saving records in tab-2, the tab-2 suppose to appear/retain as current tab. Currently, after clicking submit button the tab will go back to tab-1. Please advise. Thanks. <form …

Member Avatar for andrevanzuydam
0
398
Member Avatar for nataraja833

Hello , Can anyone give me an efficient way to do Rect/Polygon filling as below/Attachment . ![Patterns.png](/attachments/small/3/13ab1a68a958648cc9313476241adfb2.png "align-left") ![Patterns.png](/attachments/large/3/13ab1a68a958648cc9313476241adfb2.png "align-center") as of now I'm drawing lines & single pixel rectangles to do this and my application has slowed down so I'm looking for an alternative . This is an extension …

Member Avatar for nataraja833
0
489
Member Avatar for cambalinho

(i'm using win7) i can use the Region functions for get the transparent control. but, in some cases, i can get bad resoltes(. i have read that i can use brushes for get the transparent control. can anyone explain better?

Member Avatar for triumphost
0
956
Member Avatar for iansane

Hi, I am writing a program to read from a file. I want to ask the user for the file name to open. I have tried to use the basic open file code from cplusplus.com and it won't work unless I specify the file name in the code. If I …

Member Avatar for Jaja19
0
17K
Member Avatar for Nithin_1

Hi all, I'm new to this forum. I'm learning C and embedded SQL. I have a question. In one of the project am doing, i want to check whether any records with a particular local_id and global_id is there in the database with in the last 90 days. If it …

Member Avatar for Frederick2
0
200
Member Avatar for Ahmed_62

i have this code to make sodoko board with 9*9 cells(button cells ) but i cannot made all Jpanels contain my buttons i made the first Jpanel only import java.awt.Color; import java.awt.GridLayout; import java.lang.reflect.Field; import javax.swing.BorderFactory; import javax.swing.JFrame; import javax.swing.JButton; import javax.swing.JPanel; public class Sodoko extends JFrame { private Sodoko() …

Member Avatar for JamesCherrill
0
231

The End.