199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for JordanHam

I am just having trouble with the beginning stages here. I am just very confused on different syntax terms. I have a book here "Microsoft Visual C++.net" with all the installation and whatnot with it. It doesnt use the normal cin and cout but used Console::WriteLine and what not. Is …

Member Avatar for JordanHam
0
133
Member Avatar for aaronmk2

Is their a way where the user could type Low to use the enum instead of typing 1? I know how to do this with strings, but am having trouble trying to figure it out using enums. [CODE] public enum Volume : byte { Low = 1, Medium, High } …

Member Avatar for aaronmk2
0
126
Member Avatar for mith_cool

I got a jsp page which forwards request of two textfields txtname and txtpass to a servlet and the servlet then inserts the data into sql db and the name of the db is online_store. The db has two columns. When i checked the values are passing to the servlet …

Member Avatar for mith_cool
0
196
Member Avatar for spitfire5295

ok so my code displays 0 every even and odd number can you explain to me how to fix this. i have a feeling it is the displayArray. This is what dispArray should do create a method called displayArray that takes an array of integers AND an integer as parameters. …

Member Avatar for spitfire5295
0
120
Member Avatar for triksterx

Hi everyone. Let me start by saying I have managed to learn quite a few things and solve pretty much any python problems using this site. So thanks to everyone who contributes to these forums. Now for my problem. I am having a hard time getting the .grid method to …

Member Avatar for woooee
0
1K
Member Avatar for atticusMom

I broke my foot and missed the first part of class where this was covered now I'm all confused. I have a password class and I must create within this class a static method of isValid that will accept a possible password value and return if it is valid. I …

Member Avatar for jon.kiparsky
0
142
Member Avatar for erioch

Hi all, I have a three fields, Age, Adults, and Children, I have been able to calculate the age from the Date of Birth input, however, what I seem not to succeed on is to have the text value "[COLOR="Red"]Adult[/COLOR]" automatically entered in to the [Adults] field if the Age …

Member Avatar for erioch
0
479
Member Avatar for dougancil

I am trying to run several stored procedures from my code and I get the error message that my sp's can't be found, but if I remove all of them but one, my code executes fine. I've tried this way to run my sp's: [code] Dim oCmd2 As System.Data.SqlClient.SqlCommand Dim …

Member Avatar for dougancil
0
129
Member Avatar for TrustyTony

I have left my source of information as docstring comment on code side. If you want to solve the problem yourself do not run the code. This code actually gives the correct answer. I have not reacted to the border case comment in my formula source as it is quite …

0
1K
Member Avatar for jsefraijeen

Hello sir's/ma'am ,i'm new to Arrays and i got an assignment to do but i'am having a problem in arrays and how to input a String... here's my code. [CODE]import java.util.Scanner; import java.io.*; class AddressBook { public static void main(String[]args) { Scanner in = new Scanner(System.in); Scanner ch = new …

Member Avatar for Lourdupinto
0
420
Member Avatar for archana amith

Hi, I want to call MySQL stored procedure in perl. I have tried like this: [code] use DBI; my $create_procedure = qq{ CREATE PROCEDURE simpleproc () BEGIN SELECT 'helloworld' As Messgae; END }; $dbh->do($create_procedure); $sql = "CALL simpleproc()"; my $sth = $dbh->prepare($sql); $sth->execute(); [/code] I am getting an error which …

Member Avatar for d5e5
0
2K
Member Avatar for bhagawatshinde

Hi, I am getting an error while fetching the records from sql server to datagridview. Ex. I have 10 rows in datagridview first five are with one table and next five for another table. When loop goes for next table it throws an error like "timeout expired. the timeout period …

Member Avatar for Pgmer
0
338
Member Avatar for tinamary

what is the use of constructors in java when we can intialize objects directly

Member Avatar for peter_budo
0
185
Member Avatar for kuink

Hi guys, I'm new in php and i'm having a problem. My problem is, how to print and save to database. here is the schema, [CODE] 1 / \ 2 3 /\ /\ 4 5 6 7[/CODE] what is php algorthym for that case?. 1 is sponsor for 2 and …

Member Avatar for manibcaa78
0
127
Member Avatar for zabra

Morse code Converter Morse code is a code where each letter of the English alphabet, each digit and various punctuation characters are represented by a series of dots and dashes. Write a program that asks the user to enter the string: “Yesterday, I slept most of the night. I saw …

Member Avatar for daviddoria
0
2K
Member Avatar for JamesWoodward

Hey guys, I have been asked to write a program in php which is to play hangman but used in messenger chat. We are using imified to create our "bot". The game to me sounds backwards to normal but here is the deign brief. . In your game of hang-man, …

Member Avatar for Alan.Smith
0
170
Member Avatar for achava

Suppose you have an xml file that has a portion that looks like: <div id="California">The cat is in the house <p>The horse is also in the house</p> <div><a href="wwww.whatever.com" /><p>Another pigeon?</p></div> </div> Since the top div here is buried somewhere within the file, I am trying to isolate it with …

Member Avatar for achava
0
110
Member Avatar for vasuv

Hi, we have pl/sql objects.for some pl/sql objects we found the object names in the scheduler list to run it.But we didn't found the some objects to run the jobs. the scheduler contains Object list. if you select one object and click on submit button then it will show u …

Member Avatar for debasisdas
0
120
Member Avatar for holden1986

How can I create a report using 5 tables of SQL Server? I've got table master that stores the data. And others child tables, where i keep the data. In the child tables I have any data to the same data in masters. So, I want to select data by …

Member Avatar for holden1986
0
97
Member Avatar for hj7

Hello, Does anyone know any code or control used to allow clients to manage their own articles/news (text + images) on their asp.net websites? I mean only text and images with exact structure, not modifying the whole layout. Thank you

Member Avatar for hj7
0
163
Member Avatar for Pekulacis

I hope that someone can help me with this problem. I need to allow only characters in input: Example I have procedure to add records to my database [CODE]procedure AddRec( var fff:Myfiletype; FileOpen: boolean); var rec:myrec; tmp:MyFileType; begin assign(tmp,'data.tmp'); reset(fff); rewrite(tmp); seek(fff,0); while not eof(fff) do begin read(fff,rec); write(tmp,rec); end; …

Member Avatar for Maggy0426
0
336
Member Avatar for vivek4020

[B]Hi Guys. I am working on my mini project(Intel 8085 Simulator) I am faced with a huge problem How do i store the instruction set?? What i am doing currently is i have made a structure[/B] [CODE]<Serializable()> _ Public Structure inTab Dim iName As String Dim iLen As Integer Dim …

Member Avatar for pr@+#!
0
124
Member Avatar for sirlink99

I am making a game, but my buttons don't seem to be working. When I click in a certain area (where the button is) a screen should pop up. It doesn't. Please help. [code] // The "VirusMania" class. import java.applet.*; import java.awt.*; import javax.swing.Timer; import java.awt.event.*; public class VirusMania extends …

Member Avatar for sirlink99
0
112
Member Avatar for Arjun_Sarankulu

I have search on google about the polling application and i have not yet got the proper solution so that i can understand. Can anyone help me where can i find this which can help me to develop this web app for my company. Thanks

Member Avatar for Ketsuekiame
0
64
Member Avatar for chipsch

I have an assignment where I have been asked to ask the user for input. What I am trying to figure out is if there is anyway to call and use methods of another class whose constructor requires parameters without passing them from the main class that will be calling …

Member Avatar for Akill10
0
220
Member Avatar for lttleastig

Hi there im making a PHP website for this game and the passwords it use are like this [CODE]0x7BF1EA5EBADD9D7DD2D43E25ABEBCD100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 which translates into "999momo999"[/CODE] any idea what sort of cryptography that might be? the pass itself is stored in a MSSQL DB and the column type is BINARY(60) thanks for any …

Member Avatar for lttleastig
0
77
Member Avatar for judithSampathwa

Hi there, I have a question in EncryptByPassPhrase. I am trying to encrypt the source column in the database table PForm. When I run the code it sasys, “Failed to convert parameter value from a String to a Byte[].” the SourcePath column in the database is varBinary(256) type. What is …

Member Avatar for judithSampathwa
0
340
Member Avatar for MasterMic

I've taken 1 course in Java and 1 in C++ and now I'm tinkering with Python (love it so far). My module I'm currently working on is designed to solve a certain puzzle. To understand the code you'll need to understand the puzzle: There is an upside down triangle with …

Member Avatar for MasterMic
0
270
Member Avatar for D33wakar

I've been trying to automate the creation of a user account with admin rights using cmd bat . [CODE] net localgroup administrators [I]account name[/I]/add [/CODE] got the following error: [CODE]There is no such global user or group:[I]account name[/I][/CODE] what's the problem?

Member Avatar for VulcanDesign
0
141
Member Avatar for anumash

The first program compiles fine and is also logically corrrect but the second program also compiles but is logically incorrect!! Why???? Is there something wrong with the methods in the class???? [CODE]import java.util.*; class CashRegister{ private int dollar=0; private int quarter=0; private int dime=0; private int nickel=0; private double pennies=0.0; …

Member Avatar for anumash
0
327
Member Avatar for krusty511

I need to print from a PHP program directly to a printer on the user's computer (if there is one). I've used JS page print, but this is somewhat clumsy.

Member Avatar for Bestwebdesign
0
96
Member Avatar for mackemforever

I've just been trying to put together a small piece of code to display the Fibonacci series up to the nth term, where n is defined by the user. I have got it working in a way, it is displaying the series up the the nth term where n is …

Member Avatar for mackemforever
0
124
Member Avatar for remuladgryta

Hi, i'm a new learner of the ways of COM and, when trying to recode a code example found in [I]Automating Office[/I] by Lori Turner from just a demo of Word interaction into a c++ class (which i will be using in my program) i come across these linker errors: …

Member Avatar for DJRoss
0
3K
Member Avatar for roottybrian

Hi guys... I am in need of urgent help here! I want to print more than one page on vb.net's printdocument whatever! I quite don't get it quite clearly when it comes to "e.hasmorepages=true" thing It keeps adding pages on and on and on... Please help me.. Thanks

Member Avatar for Luc001
0
168
Member Avatar for Dannyo329

Hi, I'm having a problem with reading from the char , coupon, and it comes up with an error saying [CODE]Exception in thread "main" java.lang.NullPointerException at input.Main.main(Main.java:27)[/CODE] At the line which I read from the char, which is that myScan.findInLine bit, I am working from a beginning java programming book, …

Member Avatar for Dannyo329
0
198
Member Avatar for iwannalearn

hey i am in a great confusion plz help me out.I have done basics of c++,and now i am in a confusion that whether i should continue c++ or to start with java???? plz suggest me

Member Avatar for Moschops
0
148
Member Avatar for youLostTheGame

in my C++ class we were given an assignment (as follows) and i only have one last objective with it. the user is given an option to be able to see the entire queue list and i don't know how to get the program to show that. does anyone know …

Member Avatar for youLostTheGame
0
147
Member Avatar for singhabsk

Hi Perl guru's My name is ABHI and i am almost new on perl i need help for below mentioned issue. Well, I have one file(xyz.txt) containing following text LT19-10-13-400922 --TID1-3039@10.100.14.163 1--RequestREGISTER LT19-10-13-405432 --TID1-3039@10.100.14.163 1--Response100 LT19-10-13-410015 --TID1-3039@10.100.14.163 1--Response401 LT19-10-13-415481 --TID1-3039@10.100.14.163 2--RequestREGISTER LT19-10-13-419800 --TID1-3039@10.100.14.163 2--Response100 LT19-10-13-426400 --TID2-3039@10.100.14.163 1--RequestREGISTER LT19-10-13-463320 --TID3-3039@10.100.14.163 1--RequestREGISTER …

Member Avatar for singhabsk
0
104
Member Avatar for yamot47

[CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <script type="text/javascript"> function buttonPress(str) { alert(str); } </script> </head> <?php session_start(); error_reporting(E_ALL ^ E_NOTICE); include "dbconfig.php"; $id=$_SESSION["valid_user"]; ?> <body> <form name="Item Search" method="post" action="search.php"> Item Search:<br> <label> <input name="swords" type="text" size="30" maxlength="30"> …

Member Avatar for yamot47
0
200
Member Avatar for lance7tour

Am trying to get this code to work where the user enters n rock,paper,or scissors and the computer randomly picks as well, it then states what each choose, once u click ok it tells who won the match but my code once it shows the 1st winner result have to …

Member Avatar for codeorder
0
653
Member Avatar for ben25x

I have searched and deleted on this code, but I am still stumped on where the "unresolved external" it's complaining about is. Here is the code:[CODE]#include <windows.h> #include <stdio.h> #include <string.h> #include <tchar.h> #include "resource.h" #define GETITEM(item) GetDlgItem(hWndDlg, item) void convert (HWND hWndDlg) { wchar_t ConvertTime[9], ETime[8], UKTime[8], HKTime[8], Hour[8], …

Member Avatar for Banfa
0
246
Member Avatar for Hakoo

Hello, I have developed application in NetBeans using VMD, which add, edit, view and delete record using RecordStore. I can successfully add and view RecordStore. I am finding difficulty to Edit/Delete Record. To Edit(Update)/Delete, I maintained new form, used ChoiceGroup.Popup, which retrieve IDs from Record-Store. Here what I am getting …

Member Avatar for Hakoo
0
149
Member Avatar for airesh
Member Avatar for sandeepparekh9
0
116
Member Avatar for accra

Hi to all, am having problem doing this. i want to show a link and not a button.when the link is clicked,then the <form></form> content is echoed for the user to make a choice,this should not open a new window,all this should take place on the same page.another problem i …

Member Avatar for accra
0
172
Member Avatar for Fadiy

Hi all... well.. the thing is that me & my team are working on our graduating project we are using MATLAB.. and we need to use a database we've tried Access.. but it seems hard as we need to store images in the database when we tried to retrieve the …

Member Avatar for Fadiy
0
110
Member Avatar for vanzhyme

im using crystal report in vb 2005. please help me on the code. how to import the data from the textbox or label on the form to the text on crystal report using a button. please badly needed..

Member Avatar for vanzhyme
0
619
Member Avatar for eltonpiko

hi im working on a project for a friend to modified an existing website with a google map api.the site has some menu that link to a specified cluster on the google map and i want to add some more menu and link it to a marker on the map …

Member Avatar for pritaeas
0
143
Member Avatar for shallug

Hi, I have created a registeration page without using login controls in asp.net (C#). I have taken label,text boxes and validation controls. Can u please help me, i dont know how to validate them or how this will work. Its very urgent Thankx

Member Avatar for umamahesh2020
0
227
Member Avatar for himanshumishra

Dear All, I wish to print my records of following code in table format echo "LOAN NO = &nbsp;$title<br>" ; echo "NAME = &nbsp;$title1 <br>" ; echo "ADDRESS = &nbsp;$title2 <br>" ; echo "AREA OFFICE CODE = &nbsp;$title3 <br>" ; echo "LINK AO = &nbsp;$title4 <br>" ; echo "APPLICATION NO. …

Member Avatar for himanshumishra
0
97
Member Avatar for umamahesh2020

[ICODE]it won't show any error but after clicking the update it show the previous data again[/ICODE] [CODE]protected void gvdatatable_RowUpdating(object sender, GridViewUpdateEventArgs e) { try { GridViewRow row = (GridViewRow)gvdatatablle.Rows[e.RowIndex]; Label lbl = (Label)row.FindControl("lblid"); TextBox txt1 = (TextBox)row.FindControl("txtpassword"); TextBox txt2 = (TextBox)row.FindControl("txtconpassword"); TextBox txt3 = (TextBox)row.FindControl("txtemail"); gvdatatablle.EditIndex = -1; SqlConnection con …

Member Avatar for umamahesh2020
0
132

The End.