199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for gökan_1

Hi I have xmlFile like below .My problem is that I cant iterate through all nodes.I have tried something like this .But I think its to diffucult for me .I am so cunfused.How can do this without Linq To Xml protected void Page_Load(object sender, System.EventArgs e) { string xmlFile = …

Member Avatar for castajiz_2
0
1K
Member Avatar for dshivprasad

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'futurejunction'@'182.50.130.103' (using password: YES) in /home/content/90/11628090/html/phpmysqlcon.php on line 6 Unable to connect database. is showing in my website. whats the wrong happened.

Member Avatar for pritaeas
0
103
Member Avatar for emir_gradacac

Hi everyone! I'm making a chrome extension that displays current page's url once clicked. I've got this so far: //manifest.json { // Required "name": "Marker", "version": "1.0.11", "manifest_version": 2, // Recommended "description": "The ultimate bookmarking tool", "icons": { "32": "icon.png" }, // Pick one (or none) // Add any of …

Member Avatar for emir_gradacac
0
2K
Member Avatar for bob.henry.1884

//****************************// //*****DO NOT TOUCH THESE*****// //****************************// import java.util.*; import java.io.*; public class NumberGuessingGame{ public static int num; //variable to hold randomly generated number public static int guess; //variable to hold user inputs public static String ans; //variable to hold user input for y/n public static int guessnumber = 7; //variable …

Member Avatar for bob.henry.1884
0
252
Member Avatar for GlenRogers

I have a screip to resize an image, save it to a dir and store the path in mysql. This works ok. The images are gotten from a suppliers website where the filename of each is the product code. The variable $remote_file in my code looks like this ../images/products/wsx339.jpg. How …

Member Avatar for GlenRogers
0
263
Member Avatar for maggoteer

I'm currently trying to modify 2 scripts to work together. I've gotten everything working except the script isn't passing any, or the incorrect information when it's trying to create a checkbox. Here's the code I have so far: if (strlen($q)>0) { $hint=""; for($i=0; $i<($x->length); $i++) { $f=$x->item($i)->getElementsByTagName('id'); $g=$x->item($i)->getElementsByTagName('item'); $h=$x->item($i)->getElementsByTagName('price'); $y=$x->item($i)->getElementsByTagName('keyword'); …

Member Avatar for iamthwee
0
278
Member Avatar for garyjohnson

I have a database that contains multiple comments. Each comment has their own ID. I want to select 5 comments from the database, store the last comments ID into a variable and then select 5 more comments at a later time. When I collect 5 more comments at a later …

Member Avatar for pritaeas
0
139
Member Avatar for amvx86

Hey what's up everyone? I have a script here that works when i execute it from command line, and when I double-click it. Now, there is something interesting going on here. 1) When the program is executed by process.start it does not load (even when called from cmd.exe /c ...) …

0
198
Member Avatar for vaasudevi

Hi all, I am loading the webpage into my webbrowser and navigating, filling the from etc. while do so, if i fill the first textbox , based on that second text box has to come automatically. But it's not coming automatic. When viewing page source of that page came to …

Member Avatar for AleMonteiro
0
577
Member Avatar for GlenRogers

I have a page with a menu of categories and subcategories of products. Categories have a class 'category' and subcategories have a class 'subcategory'. When either is clicked some AJAX sends the category to some php to compile the html which the AJAX then sends back to the page to …

Member Avatar for GlenRogers
0
271
Member Avatar for dangeroz

Public Class Adminpage Dim result As MsgBoxResult Public Sub shw() End Sub Private Sub Adminpage_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load clr() End Sub Public Sub clr() patientno.Text = "" lasttxt.Text = "" Firsttxt.Text = "" Middletxt.Text = "" ComboBox1.Text = "" gencbad.Text = "Select..." MaskedTextBox1.Text = …

Member Avatar for JorgeM
0
293
Member Avatar for akasekaihime

Hello guys! I really need your help regarding this. I am asked to create somewhat a Gauss - Jordan Reduction Method calculator but I am having a hard time creating one. Is any one of you fammilliar with this method and can you help me??? This is the program that …

Member Avatar for knechod
0
601
Member Avatar for aarmstrong

I'm trying to create a simple menu and when customers click what they want, I want it to calculate and give a final price and display it. <!DOCTYPE html> <html> <head> <script language="javascript" type="text/javascript"> (document).ready(function() { $('#calculateTotal').click(function() { var singleTopping = 1.20, var doubleTopping = 2.20; } } </script> <title>Design …

Member Avatar for <M/>
0
914
Member Avatar for thuku

Hi Gurus, If I have an existing code, How do I make it a plug in on wordpress, and add it to the dsahboard ?

Member Avatar for <M/>
0
188
Member Avatar for Qwert_1

Here is a linked list code in C , It does not give expected output . Input NUMBER OF ELEMENTS -3 but it takes only 2 element and prints them with an extra zero. here is the output **ENTER THE NUMBER OF ELEMENTS 3 1 2 The list contains 0 …

Member Avatar for deceptikon
0
274
Member Avatar for anuran

iam trying to optimize a code i want to run code for arm_no=1000, its running for 100 arms but further increasing causes segmentation fault core dumped. to run the code use $ g++ Epsilon_greed.cpp -lm `gsl-config --libs` $ ./a.out but you'll have to install libgsl0 i.e gnu scientific library. #include<stdio.h> …

Member Avatar for anuran
0
475
Member Avatar for abhinav.gokooloopadhya.5
Member Avatar for strongpot

Hello, Self taught guy here. Thanks for reading my post. I've made a app to track the sales of floating rubber ducks for a duck race. I have a database which contains data similar to this: id soldby package ------------------------ 1 John 6 2 John 25 3 John 1 4 …

Member Avatar for strongpot
0
289
Member Avatar for Raju_3

I had uploaded the image(blob field used) in DB.i want to show that image in pdf.how to write the code, please help me

Member Avatar for broj1
0
2K
Member Avatar for Trle94

Hey guys what I'm really trying to do is that i use same button to open image, convert it and save. Example on first click our button name is "select.." you click it and filedialog opens and you choose image, when you hit okay it changes name to convert, then …

Member Avatar for ddanbe
0
203
Member Avatar for pooja.singh.3950

is this is the correct way 2 write destructor of copy constructor and parameterised constructor ~a(int x,float y) ~a(a &a1)

Member Avatar for nchy13
0
246
Member Avatar for dalawh

I want to add different Enums to a single JComboBox. Here is how the code looks like. Type contains 3 different type of Enums(Colors, Shapes, Dimensions). final JComboBox typeJComboBox = new JComboBox(Type.Colors.values()); for(Type.Shapes shape: Type.Shapes.values()) { typeJComboBox .addItem(shape); } for(Type.Dimensions dimension : Type.Dimensions.values()) { typeJComboBox .addItem(dimension ); } What generic …

Member Avatar for JamesCherrill
0
811
Member Avatar for sankubha
Member Avatar for JamesCherrill
0
397
Member Avatar for leghorn

Hi I have a linux server with mysql installed.There is some data in mysql tables. Also.I have a .csv file (not from the aforementioned database) I need to compare the data in the database nad the .csv and print out the difference. I tried writing a shell script for that …

Member Avatar for leghorn
0
285
Member Avatar for Ahmed.C

I was just wondering if there is a possible way to get the last 4 characters from a label or textbox. If someone could please provide me with an example that would be great! Thanks..

Member Avatar for ddanbe
0
142
Member Avatar for Ahmed.C

So I've been working on this FTP server client using Howard Richards FTP client library. After a while the program just stopped logging me into the FTP server and is giving me the "Object reference not set to an instance of an object." error each time i click the button …

Member Avatar for Begginnerdev
0
206
Member Avatar for suryavanshianki

**I am new in Visual C++ 2008. here is a project which is alredy developed and this time under maintence. In this project there are 5 projects which one one project is depend on another example a,b,c,d,e are 5 projects and b depends on a,c depends on b i.e --a-->b-->c-->d-->e. …

Member Avatar for deceptikon
0
308
Member Avatar for ahmed.talha.16

Im new in C# and facing a problem. I have a link label which shows the DataGridview on click. I would like to do this thing in classes. Can anybody tell me that how can I do it in a seperate class?

Member Avatar for ahmed.talha.16
0
166
Member Avatar for tyserman5674

I am getting an error with this statement and can not seem to figure out what is wrong. [code] decMortgagePayment.ToString("C") & " Monthly Payment" = Me.lblMortgagePayment.Text [/code] I am doing a calculation and want to put the results of the calculation in lblMortgagePayment. I get the error for this line, …

Member Avatar for ss125
0
401
Member Avatar for BlackJax96

Hi, I want to convert a float value to 32bit hex and the code I have right now returns 64bit hex. The float is stored in a string called value. [CODE] result = Convert.ToDouble(value); long lVal = BitConverter.DoubleToInt64Bits(result); string hex = lVal.ToString("X"); OutputBox.Text += ("\nConverted the " + value.GetType().Name + …

Member Avatar for Ketsuekiame
0
3K
Member Avatar for santhakumar

I need a Visual Basic code for printing a barcode in a normal printer. Please help me to get out of this probem

Member Avatar for Clintonzz
0
3K
Member Avatar for pittip

I have 2 classes in python and both of them extend the unittest.TestCase class. Hence I have 2 test cases. These test cases (classes) are: class Test_ID_94017(unittest.TestCase): ex = Excel() def setUp(self): self.driver = Browser().createBrowserDriver() self.driver.maximize_window() self.driver.implicitly_wait(15) self.ex.setUpASheetInExcel('Login') def test_CCPD_Regression001_PER_Custom_Check(self): ccp = CCPLogin(self.driver) loginDetails = self.ex.getLoginDetailsForATestCaseFromExcel('Login', '94017') ccp.login(loginDetails[0], loginDetails[1], loginDetails[2]) …

0
119
Member Avatar for aVar++

I am going through challanges in python and cant see why i'm not getting the correct answer... The challange is 'Find the sum of all the multiples of 3 or 5 below 1000.' Here is my code: #!/usr/local/bin/python2.7 a = 0 b = 0 eA = [] eA2 = [] …

Member Avatar for aVar++
0
133
Member Avatar for fugio

I'm implementing a function. While choosing any of datagridviewcheckboxcolumn in form1 and show form2 when click button to close, datagridviewcheckboxcolumn in the form1 will is false ? Please help on this. 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; namespace WindowsFormsApplication1 { …

Member Avatar for Ketsuekiame
0
187
Member Avatar for Fromageball

I have a Django site with a little Jquery script that changes some images when the user puts the curser over the image and then changes it back when the cursor leaves the area. This is my first time trying to deploy a Django site and I am using amazon …

Member Avatar for paulkd
0
294
Member Avatar for misd_bunder

I have developed a page which contains some controls like textboxes, dropdown,etc. I had created the **datatable** using the **sqldataadapter** and that works fine by retriving the table using the select command. I want to place the data in a **gridview** and it also works. Now I want to populate …

Member Avatar for misd_bunder
0
187
Member Avatar for davy_yg

Hello, this is php in codeigniter. I have posted the same topic in codeigniter discussion forum, but I get a really long time to get a reply and some times do not get a reply at all. So may be if there are some codeigniter experts in this forum might …

Member Avatar for paulkd
0
234
Member Avatar for vimal_3

Hello, I have created below program and program is throwing FileNotFound exception when I pressed the submit button. The problem is coming due to JSP page is not able to find complete path of image. I have debug the JSP program and found that HTML form pass only image name …

Member Avatar for Trap910
0
198
Member Avatar for lewashby

Using Linux. I'm trying to learn PHP so I'm also going to need to learn some MySQL to work with my PHP code. Do I need mysql client or mysql server? I thought it was on my system but after issuing the command 'mysql' I got the following error. garrett@bedroom …

Member Avatar for Trap910
0
282
Member Avatar for lewashby

In the following code I'm trying to figure out what InitDB is? I need to reconfigure these files for a particular website and to use SQLite. http://www.html-form-guide.com/php-form/php-registration-form.html <?PHP require_once("./include/fg_membersite.php"); $fgmembersite = new FGMembersite(); //Provide your site name here $fgmembersite->SetWebsiteName('user11.com'); //Provide the email address where you want to get notifications $fgmembersite->SetAdminEmail('user11@user11.com'); …

Member Avatar for veedeoo
0
794
Member Avatar for Bhavya_1

Hi. I want to learn penetration testing in python.but i am entirely clueless where to start. I have read about some famous tools like SCAPY and pycap.So,the thing is that i want to develop my own tools to comprimise a network.Are there any good tutorials on sapy or any other …

Member Avatar for 1baga
0
104
Member Avatar for Podouskislender

Hello guys, I need to make a C program that reads a text file for example the following sentence: 5 + 7, 10-15 ... (etc.), and show the result. I managed to make it solve part of the problem. The program is making the sum of the first line. But …

Member Avatar for Podouskislender
0
206
Member Avatar for dilita.mido

Draw an inheritance hierarchy for classes Quadrilateral, TRapezoid, Parallelogram, Rectangle and Square. Use Quadrilateral as the base class of the hierarchy. Make the hierarchy as deep as possible.

Member Avatar for james.lu.75491856
0
184
Member Avatar for manel1989

Hi everyone! I would like to know how to create a xml file and display it in a fixed location other than the console, I have successfuly create and display it in the console, what I want is to display in the following location C: \ Users \ abdelhalim \ …

Member Avatar for manel1989
0
288
Member Avatar for lewashby

Any idea why this is happening? garrett@bedroom ~ $ mysql ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

Member Avatar for lewashby
0
226
Member Avatar for Phaelax

I have a simple contact form for a restaurant that's then emailed when submitted. What are some things I can do to ensure the form isn't abused? Such as a user sending multiple emails over and over, or it being hijacked to send spam elsewhere. Here's the php script: <? …

Member Avatar for Atli
0
505
Member Avatar for billkas

Hello everyone, new user here and not a frequent user of C so please don't be harsh at me :P What I'm trying to do is read some data from a txt file, like these: > XX10X11110100X0011111XX1011101X101111XX1X1X1111X11X110111110XX11,000 > 010101100XX1110000110X00110111100010XX001101101X1011X10XX0X0XX01,001 and copy them to 2 string arrays. The first array's first …

Member Avatar for deceptikon
0
362
Member Avatar for hemanshurpatel

Hi I have a mysql table in which 3 columns are of main interest. I want to final output like, if two columns matches(of different rows) then third columns should be sum of two columns. Example column1 column2 column3 abc hiren 5 bcd host 10 cde ketan 13 abc hiren …

Member Avatar for hemanshurpatel
0
134
Member Avatar for patk570

Hey everyone, I have an array of checkboxes that hold a value from 1-30, and when I first update the database it stores these values in a comma seperated list like 1,8,9,22 in the MYSQL database. Now my question is, can I when I go to the edit page to …

Member Avatar for patk570
0
272
Member Avatar for Priti_P

I have an application (Developed in DRUPAL -> php) Here my problem is , I want to terminate the session of application as you close the browser. How to do this? because PHP sessions work exactly like ordinary cookies! The server doesn't know which instance is being using. So I …

Member Avatar for almostbob
0
151

The End.