199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for asme

Hii..! I am using C# for the first tyme and i dont have much idea of its syntax.. I hate to make an analog clock... I even dont know how to draw a circle and line in C#..I have made that all in C++...But i cant swtich that to C#.. …

Member Avatar for ddanbe
1
289
Member Avatar for chrishea

If you are still using AVG anti-virus Version 7 and you're about to install the latest version in response to the threats about end of support for Version 7, be aware that there are a couple of problems: [LIST] In Vista, the install can have a problem if User Account …

Member Avatar for cwarn23
1
122
Member Avatar for tgreer

Hi. I'm having some difficulty with a project that involves working with very large binary files. These are PCL files, where the decimal character "12" represents a Form Feed, but only if it's not embedded within a string of binary data. In other words, I'm looking for decimal "12", then …

Member Avatar for bpazhoor
1
1K
Member Avatar for mangesh5588

how to generate and email the page link to email id which is stored in database? Please help me . I have idea just about the http handler but how to use it i don't know! please help! regards mangesh5588

Member Avatar for mangesh5588
1
118
Member Avatar for JavaKiddo

This is a conceptual question... I'm planning to make a simple paint program using swing and I want to plan it in advance before I actually code it. I want to be able to draw some rectangles using fillRect, etc, and then be able to drag those rectangles around the …

Member Avatar for Ezzaral
1
123
Member Avatar for meghs007

Please help me to solv this program known circular matrix input=3 output like 1 2 3 8 9 4 7 6 5

Member Avatar for John A
1
83
Member Avatar for Elle Dee

hi guys, I was wondering if you could help me. I'm trying to create a report on my website through mysql and php. So I'm at the part where I have to pull in the parameters they want for the select statement. I'm using a dropdown box for this and …

Member Avatar for pritaeas
1
283
Member Avatar for Tejas

I got a question which i cannot do. Pls help me. (This is using Turbo C++ IDE). The questions are: Q1. WAP to print the sum of the following series: 2(square) + {2(square) + 4(square)} + {2(square) + 4(square) + 6(square)} .............. till N terms. Q2. WAP to find out …

Member Avatar for WaltP
1
238
Member Avatar for madden88chw

I have the following as my code, and i cant figure out why i am getting this error. I think it has to do with my While statement. Please help! [code] import javax.swing.*; import java.lang.String; public class FollowingDate { public static void main(String[] args) { String date, month, day, year; …

Member Avatar for verruckt24
1
158
Member Avatar for mps727

I'm having trouble compiling my servlet, because it says the servlet classes can't be found. [code] CreateAccount.java:2: package javax.servlet does not exist import javax.servlet.*; ^ [/code] I googled a bunch and most people with this problem had their CLASSPATH set incorrectly. Here is the result when I echo my classpath: …

Member Avatar for mps727
1
139
Member Avatar for fox64

I've been wracking my brain over the last week. I have project due soon, but I'm having a lot of trouble with certain aspects of pointers in class instances. My project is to re-design the String class library by remaking basic functions. I was given a header file and told …

Member Avatar for fox64
1
93
Member Avatar for davi

Hi, i was wondering is there anyone who could help me with my problem. The is i dont know how to send a z39.50 request from the client to the server. If anyone could help me with this. i would really appreicate it. Thanks

Member Avatar for stephen84s
1
358
Member Avatar for OmniX

[url]http://au2.php.net/function.mysql-query[/url] [code] mysql_query($query, $link_identifier); [/code] Which commands require $link_identifier, thought there be a list on google but to no avia. :( Thanks, Regards X PS: There not required but its good practice you use the connection string after the query string.

Member Avatar for nav33n
1
227
Member Avatar for shelly121

any1 help, basically iv wrote the code to search for a client name in a database(in access) and this is the code:[quote] Private Sub BtnSearch_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) 'search If txtSearch.Text = "" Then MsgBox("Please type Client Name", MsgBoxStyle.Critical, "Enter Text") : Exit Sub Dim MYDA …

Member Avatar for Live_eviL
1
141
Member Avatar for Acis

Im trying to create a Text Based Game and i want to have a 'Game Menu'. This is my code but i dont know exactly how to make the menu. Please Help! I also wouldnt mind if some can tell me how i would be able to integrate a cheat …

Member Avatar for siddhant3s
1
160
Member Avatar for serkan sendur

One of our new members "Gurvinder Suman" asked me how to create a custom select button for gridview in order to display details in the detailsview. Here is the answer: When you click the smart tag of the gridview and enable selection, it creates a linkbutton by default and writes …

1
241
Member Avatar for mimita

Hello, I'm really a beginner in programming, and i might need you're help. I have an array[position][3] with fixed coloumns Position is from 0 to 99 an it looks like this: array [position][0] = helpFlow; array [position][1] = i; //i=rows of a [10[10]-grid array [position][2] = j; //j=column of a …

Member Avatar for kbshibukumar
1
100
Member Avatar for fancy2

Hello, I am very very new at VB 2008 and Coding. I need to create a Basketball simulator that has two teams of five players each. Each player has an offensive, defensive and shooting percentage. whih are randomly generated and the uses can randomly generate them until he is happy …

Member Avatar for timothybard
1
136
Member Avatar for darked90

hi, i tried to create a program that takes in 8 inputs in an array, then grade the user and see if they passed or not (6 out of 8 or higher is a pass), but my program always tells me that i passed even if i get 0. other …

Member Avatar for darked90
1
329
Member Avatar for guest7

Hi, I am trying to read number from file. Following is my code. I am not able to read it correctly. When i>1 then i should read the second and third line of the file and store the values in the vector rows. But it is not reading the second …

Member Avatar for daviddoria
1
129
Member Avatar for thrasas

Hello everyone! i found some days ago a really nice algorithmic problem, and i am trying to solve it (implement it in pascal in the end). I know it is a shortest path problem, (it is obvious) but i still can't seem to find any proper approach to it! Any …

Member Avatar for jsosnowski
1
192
Member Avatar for sweetApple

I am creating a program that involves a simple agent navigating a grid world to discover food. I am having trouble creating a unique class for the agent (which contains data members that represent its perception of the world - direction of the smell of the food, a visual 5x7 …

Member Avatar for sweetApple
1
140
Member Avatar for erdomester

Hi! I want to read a table from Access to Java. This is the table: [url]http://kepfeltoltes.hu/090221/heights_www.kepfeltoltes.hu_.jpg[/url] I tried to do it with HashMap, but I have a problem, and I don't even know what im doing is right, I have no practice in this, altough I've been trying to find …

Member Avatar for erdomester
1
156
Member Avatar for jhowardsandy

Hello, I am trying to write a simple program that takes input from the fields I have created for the following UI and writes them to a command prompt. Can someone help me with the next step.... getting the input entered and writing it to the prompt? I would also …

Member Avatar for jhowardsandy
1
101
Member Avatar for gyagyus

Hi! I wrote two functions in order to access two private data members of a template class and I got the messages in the title every time I call these functions(getNcols(), getNrows()). I'd be very grateful for your help, guys... (Without the "template<class T>" before the friends, I got linker …

Member Avatar for gyagyus
1
242
Member Avatar for halfnode

hi all pretty new to programming here the idea of the code is for the function to take in an string and an int and to pad the string with space on the left with the int being the number of space to put in. am i doing something wrong? …

Member Avatar for ArkM
1
199
Member Avatar for cassie_sanford

The problem that i am working asks to calculate a customer's monthly bill. The customer has to input their name, which package they purchased, and how many hours were used. For example package a is for 9.95 a month 10 hours of access provided. Additional hours are 2.00 per hour. …

Member Avatar for dvsConcept
1
202
Member Avatar for abhi_elementx

Hello folks, I m trying to simulate the RSA algorithm. This is some of my code: [ICODE] System.out.println((int)Math.pow(6, 5) % 119); System.out.println((int)Math.pow(41, 77) % 119); [/ICODE] The first results in 41 while the second results in -9 when the expected shud be 6. Whats wrong?

Member Avatar for stephen84s
1
169
Member Avatar for shahab.burki

Hi, We no that their no support for Pointer in Java as in C and C++. So how can we print the exact location of a varaiable in java? Shahab

Member Avatar for stephen84s
1
531
Member Avatar for M3rcury

[code] #include <iostream> using namespace std; void round(); int main() { void round(); { double input; double output; double first; double second; double third; double decimal_fix; cout << "Please enter the Number and the Places to round off" << endl; cin >> input; cout << "DEcimal places to fix" <<endl; …

Member Avatar for Ancient Dragon
1
110
Member Avatar for tpetsovi

Just a note, were not using arrays or functions, other than main. We've only covered the basics and started to get into <iomanip> and the stuff thats in that liabrary. Thanks in advance. [ICODE]#include <iostream> using namespace std; void main () { const double A = 4.0; const double B …

Member Avatar for Comatose
1
128
Member Avatar for bajanpoet

I'm trying to use VB.NET to insert the data in the current row of my datagrid into a table. I wrote the following code: [CODE] Dim vCustomer, vBulkQty, vItem, vBaseUnit, vEachQty, vEachUnit As String vCustomer = dgCustomers.CurrentRow.Cells(0).Value vItem = dgItems.CurrentRow.Cells(0).Value vBulkQty = dgItems.CurrentRow.Cells(3).Value vBaseUnit = dgItems.CurrentRow.Cells(4).Value vEachQty = dgItems.CurrentRow.Cells(5).Value vEachUnit …

Member Avatar for bajanpoet
1
224
Member Avatar for anthology

#After user inputs the year they were born I want to break it down using fadic addition like below# birth_year = int(raw_input('Please enter the year you were born')) #User inputs 1953 birth_year = 1953 #What I want is to do this using Fadic addition: birth_number1 = 1 + 9 + …

Member Avatar for anthology
1
260
Member Avatar for rosenberg_a

I got a problem that is not for homework in the book. It states... "Total Template Write a template for a function called total. The function should keep a running total of values entered by the user, then return the total. The argument sent into the function should be the …

Member Avatar for rosenberg_a
1
574
Member Avatar for xtremerocker

I'm currently working on ProjectEuler.net's problem no. 39 and it states "If p is the perimeter of a right angle triangle with integral length sides, {a,b,c}, there are exactly three solutions for p = 120. {20,48,52}, {24,45,51}, {30,40,50} For which value of p <= 1000, is the number of solutions …

Member Avatar for xtremerocker
1
127
Member Avatar for almostbob

Got directed to these [url=http://www.addedbytes.com/cheat-sheets/php-cheat-sheet/]cheat sheets [/url] php css scripting regular expressions 'et al' had to pass the link on

Member Avatar for diafol
1
133
Member Avatar for agrothe

I'm in the process of building a new menu editor for someone at work. I don't know if I've been at this too long or just can't see the forest for the trees.... The database structure's menu items like id, title, parentid, listorder, link, etc I'm trying to write this …

Member Avatar for agrothe
1
279
Member Avatar for dhpatil1

I'm getting the following exception "ORA-24960: the attribute OCI_ATTR_USERNAME is greater than the maximum allowable length of 255" when using Environment:createConnection. I'm using VisualC++ 8.0 and Oracle 10g R 10.2.0. Below is the snippet of code that creates the problem:[code] #include <iostream> #include<occi.h> using namespace oracle:cci; using namespace std; try{ …

Member Avatar for Agni
1
2K
Member Avatar for rosenberg_a

I basically got all the errors out of this software program i am doing for my own study, not for school. But i keep getting an error saying that in the main program before the cout it is missing a ;. This leads to believe i am missing a ; …

Member Avatar for rosenberg_a
1
141
Member Avatar for jhonnyboy

hey guys i would like to know how it's possible to run a java project outside of it's IDE. How can i get it running on a website? I also tried running it on my computer but...navigating to the project through cmd and using the "java project" command to run …

Member Avatar for verruckt24
1
478
Member Avatar for serkan sendur

i have a problem instantiating an object, to demostrate that problem i created three files named body.cpp, head.h, head2.h the content of the files are as follows: body.cpp: [CODE]#include "head.h" class2::class2() { myClass(5); } int main() { class2 myFinalClass(); return 0; }[/CODE] head.h: [CODE]#include "head2.h" class class2 { public: class1 …

Member Avatar for Narue
1
117
Member Avatar for topgun129

Hi, I'm currently learning C# and I had a few basic questions: 1. What is and what is the difference between void and static and return? 2. What are abstract classes? How do they differ from interfaces? 3. How do you use the char variable? Thanks!

Member Avatar for ruchi18
1
133
Member Avatar for vb.babyboy

hi everyone, im very new to vb.net. i have a textbox and a save button on my form. i have already connected the database to my application... pls can any1 tell m how do i save the data in the textbox to my ms access databse when i click on …

Member Avatar for vb.babyboy
1
162
Member Avatar for FTProtocol
Member Avatar for mukesh.dagar

Dear Friends I have working knowledge of java. but when it comes to make a java projects i don't know how to proceed. will any one help by guiding me or by providing me some tutorials to make my first project in java. i am unable to visualize a solution. …

Member Avatar for verruckt24
1
108
Member Avatar for xtremerocker

I was viewing the practice problem section and decided to give a go at them, anyways, this is my Palindrome dector code. Could someone just take a look at it and explain to me if there is a better way to execute this problem? - michael [ICODE]// Palindrome check by …

Member Avatar for xtremerocker
1
115
Member Avatar for RahulV

[B]You cannot scroll by using the mouse wheel in the Microsoft Visual Basic 6.0 IDE.[/B] [B]CAUSE[/B] This problem occurs because the Visual Basic 6.0 IDE does not have built-in support for scrolling by using the mouse wheel. [B]WORK AROUND:[/B] To work around this problem, use one of the following methods: …

Member Avatar for Comatose
1
2K
Member Avatar for Mr_Grieves

Wow. Just wow. I'm working on a script that evaluates probably millions of trig functions in a given run (it's a geometric ray trace of an arbitrary surface, so the math gets nasty fast...). I've been wrapping the numpy sin, cos, etc to work with the functions I get from …

Member Avatar for Stefano Mtangoo
1
94
Member Avatar for AhmedHan

First, I prepared the class blow : [CODE]class UserDefinedWindow { public: WNDCLASSEX WindowClass; DWORD dwExStyle; LPCTSTR lpClassName; LPCTSTR lpWindowName; DWORD dwStyle; int x; int y; int nWidth; int nHeight; HWND hWndParent; HMENU hMenu; HINSTANCE hProgInst; LPVOID lpParam; char ClassName[MAX_LOADSTRING]; char Caption[MAX_LOADSTRING]; HWND hWnd; UserDefinedWindow() { dwExStyle = 0; //These are …

Member Avatar for EZO
1
371
Member Avatar for anuragkollam

please help any body knows the code in java networking..i want the code of transfer folder contents from client to server.....thread must me included so that timely back up will occur... <snip email>

Member Avatar for verruckt24
1
106

The End.