199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for munna_001

i am writing parameterized insert query uisng asp but get the following error --------------//error Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.line 34 -------------------- i have table in MSSQL column name (item_name nvarchar 20) asp code ---------- itemname=request.form("itemname") cm.commandtext="insert into …

Member Avatar for BandiRanjith
0
4K
Member Avatar for Cyber-SEO

I've been working with an older programmer who's coding an IVR solution. It's running on Windows 2000 and is connected to a T1 (we have internet access) through the machine his code is running on. I've been trying to get him to request information from our main web server via …

Member Avatar for vasava
0
831
Member Avatar for Siimont

Hello! I'm doing a calculator in c# and I have one problem. I can't get the "%" button to work. I want it to work just like microsofts calculator and it would be great if annyone could help me! :) Its the code for how to calculate it I need!

Member Avatar for aadisabri
0
2K
Member Avatar for jesz

Write a program that computes XN where X is a floating point number and N is a positive integer. The program informs the user that N must be positive if the user enters a negative value. Of course, XN = X * X * X * ... * X -------------------- …

Member Avatar for Moschops
0
115
Member Avatar for aanders5

Ok, so basically I made a little image of what is supposed to happen. The goal is that there is a JComboBox, and below it is a Jpanel that updates when different options are selected from the JComboBox, there are about 6-7 different forms/options that each appear when a different …

Member Avatar for mKorbel
0
113
Member Avatar for bhagawatshinde

Hey hi all, I have an problem to assign a startup form in vb.net . I have three forms 1) Registration Form 2) Login Form 3) Main Form Firstly i have set set startup form as registration in properties =>Application after registartion completed or saved i am displaying the Login …

Member Avatar for bhagawatshinde
0
288
Member Avatar for Azurit

Hi. In my bash script I have a loop which downloads a few files in the background with 'wget'. How can I make my script wait until all downloads are complete before it goes on? I guess I have to use the 'wait' command after the loop in some way? …

Member Avatar for ennoil
0
2K
Member Avatar for GottaLove

Hi , Assuming I have a text file containing numbers , exp : 1_234 And i want to store 1 as int ID1, 234 as ID2. How can I skip underscore "_" ? ifstream infile; infile >> ID1 >> ID2 , ??? I'm still not sure Thanks .

Member Avatar for WaltP
0
163
Member Avatar for silvercats
Member Avatar for Dexxta27

This program is supposed to output some shapes using the GUI. I can't get it to actually output the shapes, but the panel shows up fine. Could someone show me what I am doing wrong? This one does the Panel and all that other stuff. [CODE]package pregui; import java.awt.Color; import …

Member Avatar for JamesCherrill
0
136
Member Avatar for eagles39

I have written a function to place mines. I need 'X' to be in array position [0][0] I cannot randomize so it does not overlap the mines b/c I can have only four mines in a [4][5] array. The problem I am having so that it checks to see if …

Member Avatar for WaltP
0
423
Member Avatar for kuldeep04

Hi All I have one .pdf file and I want to read with this file using PHP. and I know that i need pdf library for do that but i haven't any information about that so, please give me detail info for that library also...! Thanks in advance.

Member Avatar for sdjewani
0
1K
Member Avatar for pradeep_java

If EOF (End of File)flag in Java like there is in .NET. If yes in which class is it present. The problem I am facing is that i cannot edit the input file and the values are present in very alternate line. Therefore I cannot ensure whether the entire file …

Member Avatar for pradeep_java
0
589
Member Avatar for vuyiswamb

Good Day All I have a Dynaically created a Textbox and i have a Dynamically created DIV. So what i want to do is to Find the Position of the Textbox and and Dynamically when this textbox is created , please a Div just next to this textbox. So my …

Member Avatar for vuyiswamb
0
262
Member Avatar for lolwaht
Member Avatar for johnt68

Hello, I am trying to use a TryParse as a validation for a float in a windows form temperature converter web app. I am getting the error [COLOR="Red"]No overload for method 'TryParse' takes 1 arguments.[/COLOR] The error shows here (float.TryParse(txtInitialTemp.Text)) and I am guessing this means that I am missing …

Member Avatar for arunkumars
0
2K
Member Avatar for wimmer

This is the first time I have ever tried to use mod_rewrite and have been stuck for a couple days. I am trying to change [url]www.mysite.com/example6.php?id=games[/url] to [url]www.mysite.com/example6/games[/url] Is this even achievable? Any advice will be very much appreciated!

Member Avatar for somedude3488
0
224
Member Avatar for ceyezumma

Hello. Is there someone with experience using One Jar or any other technique to create an exe. file from a Netbeans project with a lib full of .jar dependencies. I am useing the One Jar technique and I am not having an success creating the manifest. Thanks Steve

Member Avatar for peter_budo
0
168
Member Avatar for cigoL..:)

HI , I'm currently creating a system for medical record for our school project i was wondering , if someone could help me.. i always get this error " Couldn't find 'C:/User/...' " i coudnt retrieve the filename of the picture so that i can store it in my database …

Member Avatar for Pgmer
0
122
Member Avatar for emiola

Hello, I need my web users to send an uploaded file along with their registration data. The form will be sent via email while at the same time, the uploaded file will be stored in a folder on my server. Take a look at the code please: [CODE] <?php if(isset($_POST['email'])) …

Member Avatar for somedude3488
0
271
Member Avatar for hujiba

[CODE]#include <iostream> #include <iomanip> #include <cmath> #include <fstream> #include <string> #include <vector> #include <cstdlib> using namespace std; /** Test case 1: test words that start with a vowel. When inputting the words air and ear, then outputs are airay and earay. Test case 2: test words that start with a …

Member Avatar for hujiba
0
121
Member Avatar for trantran

This is a frustating problem likely experienced by everyone and therefore there (might) be now a "perfect" solution, but my limited skills have impeded me from finding it. 1) I created a plain vanilla text_class that automatically relocates itself when needed. 2) I want to use my text_class with Win32 …

Member Avatar for mike_2000_17
0
101
Member Avatar for cijeh90

Purpose: To practice writing a simple well-documented (lots of comments) C++ program using repetition structures (loops). Assignment: The power of a repetition structure lies in the fact that a section of code can be executed several times (often using different data) in the same program run. Modify, Laboratory Assignment # …

Member Avatar for azwan91
0
313
Member Avatar for Tom_Weston

I was just wondering, how to check how many 't's there are in the sentence? [CODE] #include <iostream> #include <string> using namespace std; int main() { string test = "The man played with the ball in his backyard."; return 0; } [/CODE]

Member Avatar for mrnutty
0
104
Member Avatar for trantran

It seems easy to make sure that an object can only be created on the stack and not on the heap (by simply marking private operator new), but is it possible to do the opposite: only permitting the creation of an object on the heap (with operator new) and *not* …

Member Avatar for mike_2000_17
0
166
Member Avatar for Zssffssz

I am MAD. Google was useless in this sense. I want to make a header file/ external reusable .cpp. AND I WANT EVERY LITTLE DETAIL. I just can't find anything. I just want to put a few functions I use all the time in it. PLEASE... Great now I'm sad. …

Member Avatar for Zssffssz
0
139
Member Avatar for LevyDee

Ive been trying to understand this subject for two days now, but can't seem to get it working. My setup is two consoles, a Server console, and a server message board console. The Server message board is a child process of my Server console. The Server will send messages to …

Member Avatar for LevyDee
0
205
Member Avatar for jonjacob_33_0

[CODE]def toNumbers(strList): for char in strList: return strList[0:len(char)] def main(): sttr = ['120','125'] print(toNumbers(sttr)) main() [/CODE] The output is: ['120','125'] I want the output to read: 120 125 <-- without the brackets and quotes I'm supposed to take a list of numbers (as strings) and simply return the same numbers …

Member Avatar for JoshuaBurleson
0
822
Member Avatar for BobTheLob

Hey, so I'm having some difficulty getting my make file to work. When I try to make, I get this: [CODE]andrew@Samantha ~/Documents/OS_Projects/Chapter 6 $ ls Makefile Makefile_old semaphore.c andrew@Samantha ~/Documents/OS_Projects/Chapter 6 $ make make -C /lib/modules/2.6.38-8-generic/build SUBDIRS=/home/andrew/Documents/OS_Projects/Chapter 6 modules make[1]: Entering directory `/usr/src/linux-headers-2.6.38-8-generic' make[1]: *** No rule to make target …

Member Avatar for BobTheLob
0
173
Member Avatar for infantheartlyje

Hi folks, [CODE] int a=10,b=5,tmp; tmp=a; a=b; b=tmp; [/CODE] This is ordinary swap. I want to do this swap to the structure variables. And how to free the memory of tmp structure variable after swapping.

Member Avatar for WaltP
0
226
Member Avatar for totalanonymity

Goals of exercise are: [LIST=1] [*]Output the value of PI (3.1419, as per exercise). [*]Prompt user to enter radius, r, and store it. [*]Calculate surface area of sphere: 4 * PI * r ^ 2 [*]Calculate volume of sphere: (4/3) * PI * r ^ 3 [*]Output the surface area …

Member Avatar for WaltP
0
3K
Member Avatar for sofia85

Hi, I'm a beginner at python and I'm trying to extract a specific column from a txt file. In the file I want to extract the entire column pph2_prob (i.e. column 16). But I want to get all the values from that column without the headline pph2_prob. How do I …

Member Avatar for JoshuaBurleson
0
4K
Member Avatar for Buppy

Hi, I have a web page where users can log in and then in various sections the page shows some data about the user - like email address, phone number, name, last name, etc (about 30 values in total). In your opinion, what's better - saving the data into session …

Member Avatar for somedude3488
0
133
Member Avatar for BleepyE

Ive just started working with Java at Uni and im doing a little project including floating, double, and integer numbers. Ive simplified the project just so you can see what the basics are. [LIST] [*]The bottom 3 print lines show how many of a single type of coin are required …

Member Avatar for BleepyE
0
127
Member Avatar for Dmennite

Using: MS Access 2010 Visual Studio 2010 with Provider=Microsoft.ACE.OLEDB.12.0 Connection I have tried multiple ways to do this fought through Concurrency issues current code gives no errors however when I re Fill DataSet nothing has been removed from database... Current code for Button1(reload data), Button2(delete row): [CODE] Private Sub Button1_Click(ByVal …

Member Avatar for Dmennite
0
1K
Member Avatar for sirlink99

If I have a himachi server running is there a way to send a file into a specific folder on a different computer without them having the client? For a file transfer like program that the recipient does not need to download?

Member Avatar for sirlink99
0
47
Member Avatar for Y DIY

I would like to know how to use a list contain with file names returned from a function to search a directory based on that list then copy the matching files to another directory. Following is what I would like to accomplish in logical order. 1. Existing Function getPromptList() return …

Member Avatar for Y DIY
0
3K
Member Avatar for Tank50

HI Guys These days I am checking whether amount is correctly upload into one of our table its located in oracle database below query used to check this . Select * from Amount_Paiad where CusID IN ('34343','34343','090094') There is no issue in query.Problem is how many values I can enter …

Member Avatar for Prateek nandan
0
511
Member Avatar for Nollyvenon

Can someone help please i have a code and want the quantity to be retrieved from the database and loaded to each textfield row.can someone help debug. thanks. <SCRIPT LANGUAGE="JavaScript"> function getValues(objName,objName2,objName3) { var var3 = ""; var arr = new Array(); arr = document.getElementsByName(objName); arr2 = document.getElementsByName(objName2); arr3 = …

Member Avatar for stbuchok
0
193
Member Avatar for cppgangster

hi, I am trying to establish a connection between two laptops, as a beginner encountered a problems that are still to be learnt, but still I would like to know. I have two app, first is server on win wista: [CODE] #include "stdafx.h" #include "winsock2.h" #include <string> #include <iostream> //using …

0
136
Member Avatar for 54uydf

Hello, I think I made a mistake while connecting my tables with foreign keys :S here's the DB- table 1: [U]Id[/U],[U] year[/U],..... (2 Primary keys) table 2: [U]tbl2Id[/U], ... now the table that connects tbl1 and 2 with m..m relation- table 3: [U]Id[/U],[U] year[/U],[U]tbl2Id[/U] I set the foregn keys for …

Member Avatar for smantscheff
0
144
Member Avatar for phorce

Hello, I am working on a chat application in jQuery and I have used the function setInterval(), however, it doesn't seem to refresh the div element.. Or load it for that matter.. Here is the code: [code] <!DOCTYPE html> <html> <head> <style> #shoutbox { width: 400px; height: 400px; border-style:solid; border-width:5px; …

Member Avatar for stbuchok
0
275
Member Avatar for AJN25

Having a problem with my sql, I am creating program for my ALevel and when I go to create a logins page I wish to have a button that will allow me to create a new login and save it to my database. when I click the button I keep …

Member Avatar for Netcode
0
142
Member Avatar for Onlineshade

I have installed JDK 7. Is it possible to write code in JDK without Netbean IDE ?

Member Avatar for Onlineshade
0
291
Member Avatar for davy_yg

product_category.php I am writting the following codes. I would like in the input name Kategori value <?php $kategori; ?> to pull data from nama_kategori in kategori table (in phpmyadmin) whenever I press EDIT. But this is not the case, whenever I press Edit the Kategori box value remains empty. Why …

Member Avatar for davy_yg
0
100
Member Avatar for guidely

Hi, I just wondering how to Passing structures of array to functions Here is my code [CODE] #include <stdio.h> struct harbour { int harbourId; int maxCap; int timeUpload; double amount; }; struct ship { int number; int shipId; int sMaxCap; int sActCap; int aTime; }; void readHarbour() { int i=0, …

Member Avatar for thines01
0
221
Member Avatar for felix001

What is the best way to invoke the os.system command and assign it to a variable without printing the output ? Example : [CODE]ifName = os.system('snmpwalk -v 1 -c <community> %s ifName.%s' % (switch,port))[/CODE] Also with the output of the snmpwalk I will be wanting to only assign the last …

Member Avatar for felix001
0
391
Member Avatar for dineshz

I have a problem with this code. Why this shows random symbols when i give view data ! ?[CODE]#include<iostream> #include<conio.h> #include<windows.h> #include "gotoxy.h" #include<cstdio> #include<cstring> #include<cstdlib> #include<fstream.h> using namespace std; //function declarations void out(char *); void matrix(int,int); class student { public: //class variable declaration in public part int roll,fee,ht,wt; char …

Member Avatar for VernonDozier
0
603
Member Avatar for johnnyboyslim

Why is my program failing to close? These names and phone numbers are what I am trying to load into the array and display. Yaztremski 592-48-1003 Tilden 355-71-8210 Charles 290-65-8817 Balboa 458-12-9834 Watterson 234-98-0023 Jefferson 303-41-5692 Carmichael 392-60-0932 Martin 418-77-0974 Davila 339-89-4475 Jacobs 228-42-0547 Dobbs 219-52-4058 Nastromo 628-79-2516 Rivers 611-69-7045 …

Member Avatar for johnnyboyslim
0
93
Member Avatar for jpknoob

Hello, i am trying to write a bit of script that will add a delivery cost based on the country code which is provided from a form. Everything works, except my last else statement. As an example, i am trying to make the delivery 1.15 if the country code is …

Member Avatar for jpknoob
0
153

The End.