199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for rajdevsohail

Hello There ! I Am Getting An Internal Server Application Error 500.19 In My Web Application (web.config file) :( . Error Is On Line 22,23,24 . [B][COLOR="Green"]Here Is My web.config File :[/COLOR][/B] [ICODE]<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <directoryBrowse enabled="false" /> <defaultDocument> <files> <clear /> <add value="index.php" /> <add value="index.html" /> …

0
174
Member Avatar for Valiantangel

Hi, I want my output to show to two decimals.If the output is $6.075,instead of bring it to $6.08,i prefer it showed $6.07.How am i able to do this? I used the below System.Out but kept getting $6.08. [ICODE]System.out.printf("%s%.2f\n","State Withholding(9.0%):$",stateWithholding);[/ICODE] Thank You :)

Member Avatar for hfx642
0
105
Member Avatar for BlackStar0703

Ok so I've started learning Java and am half way the book 'Head First Java' (which isn't a bad book btw); but what they've failed to mention is when you know when you need to make a new class. I've learnt that each Class is for each object but how …

Member Avatar for BlackStar0703
0
517
Member Avatar for mikey1234

i want to download windows 3.1 it must be in .IMG format to dd to a usb card in linux for my pc. i want to run old software.

Member Avatar for thines01
0
75
Member Avatar for jackbauer24

Hello and again this doubt has to be explained to my ten year old. It's about JWS (Java Web Start). Could you please explain the red-circled stuff in an easy way ( for my ten year old )? He has no ( no! (or) zero (or) 0 ) knowledge about …

Member Avatar for jackbauer24
0
138
Member Avatar for maddocspace

I have written this short code [CODE] import os import os.path import string import shutil import difflib Path = 'C:/RESULT/BATCH/SimpleInputParser/' SecPoint = [] FullList = [] newFile = [] for fileName in os.listdir(Path): if fileName.endswith(".inp"): f=open(Path + fileName, 'r') files = f.readlines() f.close() fp_clean = open(Path + "tempClean.inp", "w") fp_newFile …

Member Avatar for maddocspace
0
297
Member Avatar for lowtekotc

Hi all, hope I can get some help. I am very very new to PHP so bare with me. I am doing a system that has information about cars. My drop downs are populated with MySQL data (working ok) I want to have one drop down for Make of car, …

Member Avatar for lowtekotc
0
242
Member Avatar for tontano

Hi Team; I am new to programming and C#. I am creating a calculator form, and need to ensure the user enters a numeric only value (no empty values are valid). I have 2 text boxes Value 1 & Value 2..The user must enter a numeric value only, and if …

Member Avatar for ddanbe
0
654
Member Avatar for perfectweb

[CODE] RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule (.*) index.php/$1 [/CODE] my url = localhost/mvc/ i work on windows in xampp i have a problem when i go to my url /404 i thinks i am on localhost/ so it redirects me to localhost/xampp/splash.php but it …

Member Avatar for blocblue
0
308
Member Avatar for M.Waqas Aslam

hello ! i am developing an desktop application , i want to make my menus just like in VS2008 have tool box , ,when we click on the main tab it will open and slid down , i want to make same thing , is there any one who guide …

Member Avatar for M.Waqas Aslam
0
2K
Member Avatar for themaj

Haven't been around here in a long time but have returned to hear your thoughts and suggestions regarding my problem. I had been dev'ing projects in VB6 until around 2006 when I stopped all my development. Mainly it was a change in responsibilities but it was also because I had …

Member Avatar for codeorder
0
145
Member Avatar for SoftShock

This code finds the sum & average of the range of numbers that were chosen. I have int begin = 0, end = 0,sum = 0.0, avg = 0; because I get an error saying that all of those need to be initialized, yet by doing so it gives me …

Member Avatar for SoftShock
0
277
Member Avatar for randrum1707

Hi everyone, I'm having issues incorporating something required by my assignment. I am supposed to create a class that has 2 private data members. One should be an array of 10 Database (Database being the name of the other class) objects. The other should be an integer that assigns the …

Member Avatar for randrum1707
0
157
Member Avatar for issaru07

can i check is there anything wrong with my if else, if seems like it will only go banktransfer.php instead. [CODE] if ($_POST[Payment] = "Bank Transfer") { $btpage = "banktransfer.php"; echo '<script language="javascript" type="text/javascript">window.location.href="'.$btpage.'";</script>'; } else if ($_POST[Payment] = "Credit Card") { $ccpage = "creditcard.php"; echo '<script language="javascript" type="text/javascript">window.location.href="'.$ccpage.'";</script>'; } …

Member Avatar for almostbob
0
2K
Member Avatar for nicole10hart

can anyone tell me why my code would output the string designated plus ten or more characters of non sense at the end of it? my code also has a header with #include statements and a main that calls the functions. #include "String.h" //Default constructor String::String() { Text = NULL; …

Member Avatar for zeroliken
0
201
Member Avatar for chuyauchi

I'm having an error on my displayResult function. In the line: [CODE]cout << setw(17) << static_cast<int>(exptRoll[value-1] * intRepeats);[/CODE] I have a C2109 error (subscript requires array or pointer type. Does anyone how to solve this problem? [CODE] void displayResult(const int arraySize, double frequency[], double expected[], int intRepeats, double exptRoll) { …

Member Avatar for histrungalot
0
80
Member Avatar for dwiniers

Hello C++ master out ther i need help guys this exercise is running but the desplay record is in row i want it in column. Thanks in advance! [CODE]#include <iostream> #include <fstream> #include <cstdlib> #include <string> #include <iomanip> using namespace std; char book_no[5]; char title[30]; char author[20]; char publisher[30]; char …

Member Avatar for dwiniers
0
223
Member Avatar for kspecks

So here is something I am writing just to get back into code and I can't find the flaw with it. [CODE] template<typename T> class Array { public: Array(unsigned arraySize): data(0), size(arraySize) { if(size > 0) data = new T[size]; } ~Array() { if(data) delete[] data; } void setValue(unsigned index, …

Member Avatar for VBNick
0
316
Member Avatar for juancarlos2992

Hello guys!, so this is my problem, i'm trying to make a paint-like program in C++ using the WinBGIm libraries (im using Dev-C++), so i need to program a paint brush. Here's what i've managed to code: 1)Create a canvas 2)Create a clickable button (it just returns if it is …

0
107
Member Avatar for randrum1707

Hi everyone, I'm trying to to output an entire character of arrays in my program. I am using a header file with my class, and a source code file for my method definitions. Here are the relevant parts. The method definition for getName() [CODE] char Account::getName() const { return *AccName; …

Member Avatar for WaltP
0
101
Member Avatar for Vkitor

hi, is there any way to restart Tkinter program while running. I would like to put some button that will when pressed put everything as it was in moment I started program thx

Member Avatar for woooee
0
14K
Member Avatar for TMDG

I am wondering how to read a file in c... this requires some more background information before you give me something useless What I have so far: [CODE]#include <stdio.h> int main(void) { FILE *fpr,*fpw; char C; int I; fpr = fopen("cwM.dat","r"); fpw = fopen("echocwM.dat","w"); while (C != EOF) { fscanf(fpr,"%c",&C); …

Member Avatar for WaltP
0
274
Member Avatar for Sogo7

Sometimes user interactive [B][I]web fluff[/I][/B] is useful for holding a visitors attention on a site, so here is a little HTML5 canvas demo to create random numbered lottery balls that bounce around a bit. The basic page code is below and the three external javascript files can be [URL=" http://lovelogic.net/support_articles/lottery.php …

Member Avatar for Airshow
0
550
Member Avatar for jdelgado08

Hey guys, I'm fairly new to assembly & i'm having trouble iterating through an array; i.e. increasing the index as I loop. I'm working under x86-64 in Linux using NASM. There doesn't seem to be much documentation on the 64-bit architecture. Also, the book i'm using seems to code all …

Member Avatar for jdelgado08
0
1K
Member Avatar for jonnyboy12

Hello people. Does anyone know if it is possible to post a variable to a c++ http tunnel or http connection. In php you can do this when you want to qualify someone on an email varification. People do this in a message so when someone clicks on the link …

Member Avatar for jonnyboy12
0
157
Member Avatar for madhav024

Hi iam facing the problem while compiling the below program, program.h ------------headerfile typedef struct { unsigned char c ; unsigned int i ; unsigned long l ; }data_t ; program.cc ------c++ file # include <iostream> # include <malloc.h> using namespace std ; # include "ptr.h" int main() { data_t data[] …

Member Avatar for therockon7throw
0
267
Member Avatar for KRUX17

Hello, I'm working on a project and the value of num is AdditonalAdultQty + AdultQty (AdditonalAdultQty and AdultQty will be inputted from the user) Then those two values will be stored in the text file. When the program runs again and a different user will input how many tickets he …

Member Avatar for KRUX17
0
170
Member Avatar for gzero14

I've tried using the javac command inside the command prompt but it says "javac not recognized as an internal or external command". the java command works perfectly fine. On the other hand, I can compile stuff using the Textpad program. Anyone know why this might be happening? Version of Java …

Member Avatar for zeroliken
0
650
Member Avatar for Karlwakim

Hi everybody, I need you to answer these questions please. 1- How did you learn c++ : a-books b-videos c-in school or university d- other : 2- How did you feel when learning : a- Bored b- Interested c- other : 3- Was it the first language you learn ? …

Member Avatar for therockon7throw
0
238
Member Avatar for itsmrshow

I need help, The array in Class Loto generates 6 random numbers and print them out. the Class Lotto askes the user to input 6 numbers which are stored in an array. i need code to compare the two arrays and see if they equal each other, and if they …

Member Avatar for zeroliken
0
219
Member Avatar for GeoffC

I have html as follows: [code] <input type="file" name="p_pict" /> <input type="button" value="Upload" onclick="p_Upload()"/> [/code] With the Browse button I get a full file pathname including backslashes. The javascript is: [code] function p_Upload() { alert(document.forms[0].p_pict.value); } [/code] The alert displays only the file name. Everything up to the last backslash …

Member Avatar for GeoffC
0
183
Member Avatar for IanKent

Ok. First off, here is the question I am answering Problem 3: Write a program that will read monthly sales into a dynamically allocated array. The program will input the size of the array from the user. It will call a function that will find the yearly sum (the sum …

Member Avatar for therockon7throw
0
348
Member Avatar for ErikaShanks

I have to write a program that should read test scores students received on the first quiz into an array. Assume that up to 30 students could be entered. Input will stop when the sentinel value -1 is entered. Write functions to: 1. Read the original scores into arrays 2. …

Member Avatar for therockon7throw
0
108
Member Avatar for axd107220

I am trying to develop a C# calculator that can run in the web browser. But it doesn't seem to run. The control goes inside the try function but the variables show 0 or null value. using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace CalculatorWeb …

Member Avatar for axd107220
0
175
Member Avatar for marsangel

Hi Guys! I nee d your help! I created a java program and build it and already have my jar file. What I want to know is how can I have an autorun file where the jar file automatically run. I already used this line of codes. [CODE] [autorun] open=myjava.jar …

Member Avatar for DavidKroukamp
0
1K
Member Avatar for ryklon

Hello! Is there a way to hide the password of your database inside the source code? [CODE=vb.net]"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & Application.StartupPath & "\Database.accdb; Jet OLEDB:Database Password = [B]MyPassword[/B]"[/CODE] As you can see the password is exposed, increasing the risk for the database to be compromise. Is there anything you can suggest …

Member Avatar for Reverend Jim
0
285
Member Avatar for AMeddaugh

My Java teacher hasn't been very clear, and i'm kind of flying solo here. He gave us this project, and one part of the project is throwing up a JOptionPane which allows the user to input a number which correlates to a specific car. For example [QUOTE]Choose a vehicle that …

Member Avatar for AMeddaugh
0
150
Member Avatar for ibeast

Hello, I wrote the following code to create dynamic controls-textboxes and labels. [CODE] ctlRow += 1 ctlRowLocation += 25 Dim new_ForceLabel As New Label new_ForceLabel.Text = "Force" + Convert.ToString(ctlRow - 1) new_ForceLabel.Location = New Point(txtForceLabel.Location.X + 2, ctlRowLocation) new_ForceLabel.Height = 25 new_ForceLabel.Width = 50 Dim new_ForceInput As New TextBox new_ForceInput.Name …

Member Avatar for ibeast
0
1K
Member Avatar for dsmith12

I need the program to end the loop after player1 has won but the program continues to run until the loop is done i was wondering i know i need a break statement but i do not know where to put statement at.Any help is appreciated. import javax.swing.JOptionPane; public class …

Member Avatar for DavidKroukamp
0
195
Member Avatar for ryma

I can't load data to show error at xeProduct = XElement.Load(strLoadSource) I want data to compare if username or password wrong have messagebox if true exit sub [CODE]Private Sub login() Dim postData As String Dim strLoadSource As String Dim xeProduct As XElement postData = "username=" & user & "&password=" & …

Member Avatar for hericles
0
131
Member Avatar for filipgothic

Hey I have to make statistics to call from base I have for example one line of [CODE]<p>Mesna zajednica <select name="mesto"> <option value="donji_grad">Donji Grad</option> <option value="karadjordjev_dud">Karadjordjev Dud</option> <option value="plavinac">Plavinac</option> <option value="seone">Seone</option> <option value="ladna_voda">Ladna Voda</option> <option value="lestar">Lestar</option> <option value="zlatno_brdo">Zlatno Brdo</option> <option value="slavija">Slavija</option> <option value="papazovac">Papazovac</option> <option value="carina">Carina</option> <option value="sveti_sava">Sveti Sava</option> <option value="25maj">25. …

Member Avatar for filipgothic
0
183
Member Avatar for jrcampbell

I've been working on some code for a while, and it seems that I have a problem at the moment. The code, to me, looks correct and should work, but while trying to use PEAR to send mail out, it's throwing this error: PHP Parse error: syntax error, unexpected T_STRING …

Member Avatar for jrcampbell
0
217
Member Avatar for adil_bashir

please tell me how to convert an integer type to a String. if possible, give some code?

Member Avatar for stultuske
0
171
Member Avatar for liphoso

I have three problems i would like help with. ONE: Assume a database called "vote" with table "president", the table has four tuples at the moment. I was hoping to have all the tuples printed on screen but i only get from the second tuple; the first row is not …

Member Avatar for broj1
0
121
Member Avatar for adil_bashir

please give some piece of code that will make me understand that how to pass an array to a method/function?

Member Avatar for adil_bashir
0
183
Member Avatar for adil_bashir

Since i am new to java, so please tell me that is there any way by which i can convert integer array to primitive int?? if yes, give some code.

Member Avatar for adil_bashir
0
254
Member Avatar for adil_bashir

i need to return the ASCII value of the argument passed in the StringtoIntfunc(). But i am not getting the real ASCII values and i think the problem is with the return statements? please help. public class StringIntfc { public int[] StringtoIntfunc(String s) { int j =0; int k[] = …

Member Avatar for DavidKroukamp
0
127
Member Avatar for M.Waqas Aslam

hello ! look , for example i have 2 textboxes in my vb form, i want that when i press enter key the focus move from 1st textbox to 2nd textbox , i use this code on my every control to move focus [CODE] if e.keychar = chr(keys.enter) then textbox2.focus …

Member Avatar for codeorder
0
1K
Member Avatar for Quinncunx

Hello Can anyone link me to some really good online resources/videos for realbasic. I have an application timer (which I had to make for a school project) and I would like to also be able to use it on my mac, after doing some research I found that RealBasic would …

Member Avatar for realsoftware
0
153
Member Avatar for Karlwakim

Hi, i recently found an sql injection vulnerability on a server, In the db, there's a table named users and inside there's the username: admin and password : ******* Is knowing this password enough to hack the server ? Thanks

Member Avatar for smantscheff
0
149

The End.