199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for turbomen

Dear ALL, Could you tell me how can I do this kind of question if I do not working with the computer and please find the attached document for your reference - it is the answer of the question? [code] Complete the table below to show what each variable holds, …

Member Avatar for pritaeas
0
152
Member Avatar for scias23

WHAT i want to happen is, when i click the CALCULATOR menu item, my separate Calculator.java will run on the MenuShortCut JFrame. AGAIN, i want the separate .java file to appear on THE SAME JFrame of MenuShortCut class. here's what i've got [CODE=java] import javax.swing.*; import java.awt.event.*; public class MenuShortcut …

0
107
Member Avatar for thilinam

Hello every body. I'm trying to connect my asp.net website with SQL server 2005 database. I have two copies of my site. One in File system and other one in local IIS. When I try to connect website in file system it is OK. But I am unable to connect …

Member Avatar for thilinam
0
132
Member Avatar for karthikvcsharp

hi please anyone solve this issue, i had stored an image in binary format from a windows form picture box control using VC#.net, it is stored in a binary format . i don't how to retrieve this back from the database and display it in the picture box. please help …

Member Avatar for binta4m
0
105
Member Avatar for A.Najafi

Hi All, The problem discussed is accuracy of numeric calculation result,in vb. Namely I compare a numerical mathematic calculation, Line-Plan Intersection, in VB.Net and Matlab 2007 the intersection point result specify in below: Matlab 2007 ----> Xint=2.000000000000000 Yint=1.333333333333333 Zint=0.666666666666667 But Visual Studio 2008 ----> Xint=2.0000000596046448 Yint=1.3333333730697632 Zint=0.66666668653488159 Hand Calculated -----> …

Member Avatar for A.Najafi
0
125
Member Avatar for domenzup

Hi, I have some problems aka how to bring value of type double (or even array of double values) through socket from C++ server to Java applet client. I tried two possibilities. For example: [LIST=1] [*] Doesn't work, but I think it could be ok while working In c++ my …

Member Avatar for domenzup
0
1K
Member Avatar for karen_CSE

Hi, I'm supposed to make a program that asks the user how many integers they want to input, then prompt them to enter those integers. and then I'm supposed to put those integer into ascending order. How do I do that? this is my code so far [code] #include <iostream.h> …

Member Avatar for damz1919
0
173
Member Avatar for ShailaMohite

Hi, The database on MS-Access is kept on one machine and i have to access it from another machine.. I have given the following connection string on the client machine. But still it is not accessible. I have shared to Databse folder with full permissions... But, still it is not …

Member Avatar for sknake
0
126
Member Avatar for scwolf

Hey, Well I go this problem, I'm using ADO.NET to manage my database on a project now the problem is that I need to get the values from an external Binding source and when I click save they will be saved in the database I'm using at that moment; for …

Member Avatar for vsa000
0
95
Member Avatar for sijothomas

Hello Now I am trying to develop a project in C#.But i want to maximize my form ,when i click at the: maximize button or double click at the top of the form,But i can'nt impliment successfully , Please Healp me :)

Member Avatar for vinnijain
0
98
Member Avatar for yozo

Heya, When I run this code, it spits out the minimum value 200, when I want it to spit out the minimum value from the function. Any pointers? [CODE] #define _CRT_SECURE_NO_DEPRECATE #include <stdio.h> // You can assume no inputs will exceed these values: #define MAX_BOXES 50 #define MAX_PARCELS 50 int …

Member Avatar for dkalita
0
103
Member Avatar for laghaterohan

i have made an application in c sharp...which merges .txt file into one excel sheet...however i am facing problem when i try to merge German Data.... I have used Encoding.UTF7 /UTF8 , still some characters appear missing....how to solve this problem ?/ Which Encoding technique should i use so , …

Member Avatar for sknake
0
97
Member Avatar for archanaj39

hi, I have developed website "Job requisition and Interview System". In this website I offer products for accessing resume of Job Seeker . After buying the product they can accesses resumes by activing status.After one month validity of product get over.And status become inactive.In this I did active status but …

Member Avatar for reach_yousuf
0
121
Member Avatar for koban_alche

I am trying to make a postfix evaluation and i can't solve the problem about my program. Thanks ahead. here is the C++ Code. [code=c]#include <iostream> #include <string> #include <windows.h> using namespace std; string postfix; int Top, capacity, a; char token; void construct (); bool empty (); void push (char …

Member Avatar for dkalita
0
113
Member Avatar for ritu verma

I want to ahve td border,But there is no property border,Can somebody tell me how to set td boder?

Member Avatar for reach_yousuf
0
111
Member Avatar for ShailaMohite

Hi, I am use following code to find IP address of machine in C#.write following code in class file. when build the solution it gives following error 1.The best overloaded method match for 'string.String(char*)' has some invalid arguments 2.Argument '1':cannot convert from 'string' to 'char*' How to solve this error …

Member Avatar for ShailaMohite
0
170
Member Avatar for geoffy0404

[CODE]#define ADDITION = addition #define SUBTRACTION = subtraction #define MULTIPLICATION = multiplication #define DIVISION = division #define MODULAR = modular #endif int main() { int userInput = 0; int userInput2 = 0; int userInput3 = 'A', 'S', 'M', 'D', 'Q'; int sum = 0; // modular is q while m …

Member Avatar for Gaiety
0
216
Member Avatar for Boronia

Hi I got a online reservation website and I am having a problems with reservation forms. Forms were ok until couple of months ago. When you submit the reservation form it doesn't go to the admin e-mails but all reservation are kept in the database. it's a php/ mysql database …

Member Avatar for Boronia
0
165
Member Avatar for low1988

I wonder if i writing the correct code segment to read data from binary file.eg.the content file operation in constructor [CODE] try{ raf = new RandomAccessFile("record.dat","rw"); } catch(IOException ex) { JOptionPane.showMessageDialog(null,"Error create file"); System.exit(0); } [/CODE] write content to file [CODE] do { Name = JOptionPane.showInputDialog(null,"Please Enter The Account Holder's …

Member Avatar for low1988
0
112
Member Avatar for shilpa88

How to import any web file in to our window application on c#??? i m making prj in whiich i need to add files in my prj.. plz help me out.............

Member Avatar for avirag
0
134
Member Avatar for darkbow

Hi i have this section of code that looks for user info on another table... this code works fine querying the database locally... but i need it to work remotely can anyone see what im doing wrong... [CODE]from sqlite3 import dbapi2 as sqlite import MySQLdb as mysql from mud.common.persistent import …

Member Avatar for jice
0
126
Member Avatar for speedy94519

Hello you guys. Im doing this one homework assignment and i really need some help. My question is, How would you write an if statement that excludes the blank space and how would you write an if statement stating that its magenta when its inside the red space with the …

Member Avatar for necrolin
0
162
Member Avatar for lcyew

Hi. I'm doing exporting from .php to .pdf now and face a little problem here. I've found something like below and I think it might be helpful for me to do exporting to pdf. [CODE]<?php $mypdf = PDF_new(); PDF_open_file($mypdf, ""); PDF_begin_page($mypdf, 595, 842); $myfont = PDF_findfont($mypdf, "Times-Roman", "host", 0); PDF_setfont($mypdf, …

Member Avatar for digital-ether
0
143
Member Avatar for kingofkya

Ok trying to work with zipFile library how do you flatten the file hierarchy what works [CODE] zipFile = zipfile.ZipFile(imgSetup[0]+'/'+zipName, 'w') for picId, pathname in enumerate(pic_list): if start <= picId and picId <= end: zip.write(filedir+'/'+pathname) zip.close() [/CODE] what i am trying [CODE] zipFile = zipfile.ZipFile(imgSetup[0]+'/'+zipName, 'w') for picId, pathname in …

Member Avatar for kingofkya
0
204
Member Avatar for DCV

I have an assignment in which I am supposed to manage a linked list of "players" in a hockey "roster." That's not the issue... problem is, I'm trying to make the function in which a new player is added, and I can't even call it. It results in a LNK2019 …

Member Avatar for dkalita
0
150
Member Avatar for sanjanaa

Hi, ASP.Net does not shows Save As dialogue box while converting Datgrid into Excel/Pdf. My code has no errors. It Doesn't do anything. I am using this code: Response.ClearContent(); Response.AddHeader("content-disposition", "attachment; filename=Sample.xls"); Response.ContentType = "application/vnd.ms-excel"; System.IO.StringWriter sw = new System.IO.StringWriter(); System.Web.UI.HtmlTextWriter htw = new HtmlTextWriter(sw); dg.DataSource = dmpset; dg.DataBind(); dg.RenderControl(htw); …

Member Avatar for sanjanaa
0
317
Member Avatar for Inny

Help my blog comment form and button are not appearing. Whats wrong? [url]http://codisarc.blogspot.com/[/url] <a href="http://codisarc.blogspot.com/2009/10/finally-results-are-in.html#comments"location.href=http://codisarc.blogspot.com/2009/10/finally-results-are-in.html#comment-form;> 0</a> </style> <link rel="me" href="http://www.blogger.com/profile/11763506196893470340" /> <link rel="openid.server" href="http://www.blogger.com/openid-server.g" /> <!-- --><style type="text/css">@import url([url]http://www.blogger.com/static/v1/v-css/navbar/697174003-classic.css);[/url] div.b-mobile {display:none;} </style> P.S I get this Error... [quote]Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; …

Member Avatar for Inny
0
359
Member Avatar for nblue

Hi guys, I'm not really good in web design nor html so I try to get a book to learn more about it. I come accross a website that sell book. The weird thing about this site is that the book has different prices when using different computer to look …

Member Avatar for nblue
0
129
Member Avatar for newbie2c++

Hi all! THis is the program I am supposed to write: Modify the program so it displays a menu allowing the user to select an addition, subtraction, multiplication, or division problem. The final selection on the menu should let the user quit the program. After the user has finished the …

Member Avatar for vmanes
0
900
Member Avatar for Devendra1

I have created a simple struts application, my context name is --- > /LetStart I am using struts 1.3 When I am deploying this application to JBOSS 4.2 It is throwing deploy time exception, pls see below:-- 22:31:14,046 WARN [JAXWSDeployerHookPreJSE] Cannot load servlet class: org.apache.struts.action.ActionServlet 22:31:14,078 INFO [TomcatDeployer] deploy, ctxPath=/LetStart, …

0
114
Member Avatar for axn

getting error when compiling. "java:60: non-static variable inventory cannot be referenced from a static context for (String show : ProductDB.inventory)" the showCodes class has to public static void. Here is code [CODE]import java.util.*; import java.text.*; public class ProductApp { public static void main(String args[]) { // display a weclome message …

Member Avatar for axn
0
136
Member Avatar for Kuroshi

I was trying to make a function to take the square root of a number (which does not work completely, yet), but while I was coding it, I found an strange "error", this is the code: [CODE] #include <iostream> #include <cstdlib> using namespace std; int main() { double number; cin …

Member Avatar for WaltP
0
103
Member Avatar for Marton

Hi, I need a bit of help with this function... What I'm trying to do is call the function with a string, XOR it with value 255 and save it to the file. If I put a value of 0 to the XOR (leave as is) then it works properly, …

Member Avatar for dkalita
0
139
Member Avatar for jjepoy

can someone help me to make this program look like this. example [img]http://www.ljzsoft.com/xlcalendar/sample/calendar_one_sheet_2x6.gif[/img] because some of the year cant display. [code]#include<stdio.h> #include<conio.h> int Calendar(int daycode,int year,int leapyear); int main(void) { int year; int daycode; int leapyear; for(year=1994;year<2000;year++) { leapyear=(!(year%4)&&(year%100))||!(year%4); daycode=((year-1)*365+((year-1)/4)-((year-1)/100)+((year-1)/400)+1)%7; Calendar(daycode,year,leapyear); } } int Calendar(int daycode,int year,int leapyear) { int …

Member Avatar for WaltP
0
101
Member Avatar for hoolr

I'm trying to implement a Visitor Pattern in c++, but I'm having problems with the elements being visited in turn having their children visited. For example I have a class Element, which has a vector of Nodes (can be elements or any classes that inherit from node): [CODE] class Element …

Member Avatar for dkalita
0
108
Member Avatar for jdam7459

I'm having trouble getting my dynamic 2d array to work consistantly in my program. Here's the code: [CODE] #include <iostream> #include <string> #include "DisjSet.h" using namespace std; struct cell { bool nWall; bool sWall; bool wWall; bool eWall; }; void CreateMaze(cell** &maze, int x, int y); void LoadMaze(cell** &maze, int …

Member Avatar for dkalita
0
121
Member Avatar for DARK_BYTE

Hi wat's wrong with my "do while" loop it never allows me to enter the grade even if I enter 'A' or 'B' or 'C'..? [code] import java.util.Scanner; public class ArraysOfStudentDetails { public static void main( String [] args ) { Scanner in = new Scanner( System.in ); final int …

Member Avatar for Jocamps
0
102
Member Avatar for itzaaron

I am trying to write a program that can figure change. Something that might be used in a fast food setting. The Employee is simply prompted to enter the amount to be returned to the costumer and the program would tell how many dollars, quarters, dimes, ect. to be returned. …

Member Avatar for jbennet
0
169
Member Avatar for grr

[CODE]function fafaconnect($db_host, $db_user, $db_pass, $db_name) { @mysql_connect($db_host, $db_user, $db_pass); @mysql_select_db($db_name); } if ($link = @mysql_connect("localhost", "admin", "pass")) { echo "pass-"; } else { echo "fail-"; } if ($select = @mysql_select_db("zushee")) { echo "pass-"; } else { echo "fail-"; } if ($newlink = fafaconnect("localhost", "admin", "pass", "zushee")) { echo "pass"; } …

Member Avatar for Stefano Mtangoo
0
131
Member Avatar for DEATHMASTER

So I have a couple strings [code]first = input("Enter a starting integer: ") last = input("Enter an ending integer: ") last = last + 1 [/code] How do I make another assignment to a string "n" that I want to take the value of each individual integer in the range? …

Member Avatar for snippsat
0
123
Member Avatar for Fragmad

Hi. I have a class named Product, each object of this class holds one product in a "store". The class also has a static int member to keep track of how many products there are. iProducts is static member. Constructor: [CODE]Product::Product(std::string name, int price, std::string description) { sName = name; …

Member Avatar for vmanes
0
94
Member Avatar for shakunni

So I have to read data from a text file into a [50][50] array and Im not really sure which commands I can use to do that and to write back some data into another file. Would really appreciate some help on this.

Member Avatar for VernonDozier
0
169
Member Avatar for jaycel

write a program that uses a for statement to find the smallest of several integers. Assume that the first value read specifies the number of values remaining and the first number is not one of the intergers to compare.pls help me i need it now!

0
70
Member Avatar for gibson.nathan

im trying to get the same heat index that prints int the program to write to a file. i have copied the procedure from another program that worked correctly. any help is appreciated. import java.io.PrintWriter; import java.io.IOException; import java.util.Scanner; import java.io.File; public class HeatIndex { public static void main(String [] …

Member Avatar for gibson.nathan
0
105
Member Avatar for jjepoy

it keeps on saying '{' token error. did I put something wrong that the program keeps on saying '{' token error? [code] #include <stdio.h> #include <math.h> int Calendar(int daycode,int year,int leapyear); void dec_bin(int bin) { int x, y; x = y = 0; for(y = 7; y >= 0; y--) …

Member Avatar for jjepoy
0
103
Member Avatar for cmills83

Hi I have a page with a bunch of divs set to display:none with 70kb background images. As buttons are clicked the divs are displayed. The background images are specified in an external stylesheet, pc firefox, mac ff, mac safari and every real browser ignors them until the div is …

Member Avatar for Troy III
0
105
Member Avatar for drewj

Hi, I am not sure if what I am trying to do can be done, but basically I want to add/edit/delete information in a text area from inputs. I know how to add from inputs to text area but I am struggling with the edit and delete. [CODE] <script language="javascript" …

Member Avatar for abxyij
0
317
Member Avatar for scantraXx-

Hey guys. This is really frustrating because it seems easy but I can't seem to find the correct function to remove this element of my string. [code] void set::display() const // pre : none // post : displays the elements of this set enclosed in braces and // separated by …

Member Avatar for Poincarre
0
158
Member Avatar for amail

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in activation.php on line 11 Invalid Validation Code what is wrong here? [CODE]<?php session_start(); include "mysql.php"; $c; if(!$_GET['code'] || !$_GET['act']) { die("Invalid Use Of System."); } else { $code=$_GET['code']; $cq=mysql_query("select * from confirm where code=$code",$c); if(mysql_num_rows($cq)== 0) { die("Invalid …

Member Avatar for CFROG
0
266
Member Avatar for egturnkey

Hello friends, let us cosider [CODE]$a[1]['en'] = "ok";[/CODE] and we have a form with submit option as following [CODE] <form method=post> <tr> <td>name :</td> <td><input type=text name=PlanName></td> </tr> <tr> <td><input type=submit name=submit value="xx"></td> </tr> </form> [/CODE] and its php code [CODE] if(isset($submit) && $submit == 'xx') { $q1 = "insert …

Member Avatar for omoabobade
0
87

The End.