199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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 } … | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
what is the use of constructors in java when we can intialize objects directly | |
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 … | |
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 … | |
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, … | |
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 … | |
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 … | |
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 … | |
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 | |
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; … | |
[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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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? | |
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; … | |
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. | |
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 … | |
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: … | |
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 | |
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, … | |
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 | |
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 … | |
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 … | |
[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"> … | |
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 … | |
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], … | |
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 … | |
| |
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 … | |
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 … | |
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.. | |
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 … | |
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 | |
Dear All, I wish to print my records of following code in table format echo "LOAN NO = $title<br>" ; echo "NAME = $title1 <br>" ; echo "ADDRESS = $title2 <br>" ; echo "AREA OFFICE CODE = $title3 <br>" ; echo "LINK AO = $title4 <br>" ; echo "APPLICATION NO. … | |
[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 … |
The End.