199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Basicgear

Im brand spankin new to C# but did only a bit of console work with C++ in high school. I am working with the form application walk through and decided to try a few things. I want to have a check box toggle the background of the form between red …

Member Avatar for sknake
0
92
Member Avatar for osirion666

Okay i am going nuts here i have a jsp page with multiple task to complete add,delete update . in order to do so i knopw i must set vlaues of a hidden input to say add,delete or update based upon what buttom was pressed so i have made the …

Member Avatar for osirion666
0
282
Member Avatar for dhawan.surinder

Hi I've created a small game in java. Its woring in Appletviewer. But i want to run it on Explorer. Plz help.

Member Avatar for kvprajapati
0
86
Member Avatar for ishamputra

im having difficulties, pls advise... 1) filtering my FileUpload to only .txt file 2) read .txt file and bind to gridview, the text file contains e.g. 1234; 9584; 2384; i want to bind it to my gridview which have just one column Please Advise...with c# codes. thanks

Member Avatar for kvprajapati
0
311
Member Avatar for Nasa2014

[B]Hi Everybody, I'm Natheer.. Could you please help me?[/B] My question is: [code]Response.Write("Success1"); Response.Redirect("A Page.HTML"); Response.Write("Success2");//Thanx[/code] I want to see on the browser : Success1Success2 but this way showing the responding of the new redirected page. I'm using this way because I don't know if there is another way.. [B]Thank …

Member Avatar for kvprajapati
0
100
Member Avatar for skumar.snl

How to estimate file upload time in javascript ? to show progress bar with remaining time to upload ...

Member Avatar for kvprajapati
0
212
Member Avatar for K?!

Hi all I would like to start debugging and have been doing some searching on the web, but everything I find is pretty complicated. (I'm just starting to learn web developping) Does anyone know where to find good, plain, correct instructions, for setting up my environment for debugging? I'm using …

Member Avatar for K?!
0
159
Member Avatar for solano

Hi! I have som auto generated (from xsd file, xsd.exe is used) Partial classes. On of the properties is an arry, her is the code: [Code] Partial Public Class Betaleregrp4900 Private oversiktOverBetaleregrp4899Field() As OversiktOverBetaleregrp4899 Private betalingTotaldatadef21821Field As BetalingTotaldatadef21821 Private betalerAntalldatadef21822Field As BetalerAntalldatadef21822 Private gruppeidField As String Public Sub New() MyBase.New …

Member Avatar for Teme64
0
145
Member Avatar for benatschool

I have a standalone version of JFrame Interface based java application developed on eclipse platform. The tool is essentially a prototype tutor to check competence in statistics and consists of to-be-worked problems on the subject. It also keeps track of the user progress through the questions and scores their performance …

Member Avatar for kvprajapati
0
150
Member Avatar for gauravmishra

i want to know how to access virtual table for a class this is my attempt to do so ........ [code] #include<iostream> using namespace std; class sample { public: virtual void fun(int q) { cout<<"fun"<<endl; } void g() { int *p=(int *)this; p=(int *)*p; p=(int *)*p; void ( sample::*pfun)(int); pfun=(void(sample::*)(int))p; …

Member Avatar for kvprajapati
0
94
Member Avatar for Agent-of-Chaos

hi i am new to visual basic and i am using vb6, i have senior year project for invenotry managment system..my problem is that if one form is open then the user must not b able to peform other functions(open another form, close application etc) unless the current form is …

Member Avatar for Agent-of-Chaos
0
102
Member Avatar for beanryu

Hi professionals, I have a problem and it is the following: Say I have 2 HTML pages. In page A, I want to display part of page B.(content between a div tag pair with ID in B) Now I was able to use the XMLHttpRequest object to get the complete …

Member Avatar for essential
0
128
Member Avatar for charlweed

I have a member variable wchar_t * _message; This array is allocated in the constructor, _message = new wchar_t [messageLength]; But when I try to free the memory with delete in by destructor, it crashes with a a HEAP CORRUPTION error. This my class: [code=c++] class ExampleZero { public: ExampleZero( …

Member Avatar for wildgoose
0
237
Member Avatar for aulason

hi, i would like to create components at runtime. i've added a label to the form and set its properties at design time. now i want to create 8 more copies of the label when the program starts (oc with the same properties). how can i add them and refer …

Member Avatar for ddanbe
0
99
Member Avatar for 4101

Creating Superclass and subclass. Both class should have 4 methods and the subclass should have additional properties/fields and a constructor. The subclass should have at least one method that overrides a method in the superclass. On another file is creating a manipulator where you use the subclass and all of …

Member Avatar for sneaker
0
105
Member Avatar for mustafaneguib

hey all, i am now making a gpa calculator. i am using 4 classes which form into seperate linked lists. one linked list is for the custom gui, and the other linked list is for the data list. i am using custom images for this program which i import using …

Member Avatar for mustafaneguib
0
183
Member Avatar for jaaam

I am very new to c#. I would like to get into c#. Kindly give me suggestions in where to start c# with. Suggest me some books too. Is "Head First C#"book is that good for begginers Thanks, Jam [url]http://prog2impress.com/[/url]

Member Avatar for k.d.m
0
167
Member Avatar for aulason

hi there, there are 9 labels on the form with the name say [B]Label1[/B], [B]Label2[/B], [B]Label3[/B], ... now i would like to set their text to "". is there anyway to use a loop and find them just by knowing their name. any help is appreciated, Sean

Member Avatar for aulason
0
89
Member Avatar for loozax

can someone help me w/ this?! how to evaluate the EVEN or ODD..all EVEN numbers should store on arrayEven variable,while all ODD numbers store on arrayOdd variable.. [code] import java.util.Scanner; import java.util.Arrays; public class online1{ public static void main(String args[]){ int SIZE= 10; int []number = new int[SIZE]; Scanner input …

Member Avatar for loozax
0
239
Member Avatar for vinnijain

hi !!! I am making a window application in which I want tree view in left panel .For each child nodes click I want the corresponding form should be displayed in right panel . For each child node I have different - different functions and for each I have created …

Member Avatar for vinnijain
0
147
Member Avatar for iamsmooth

Hey guys, I'm stuck on an assignment for school, was wondering if you could help me out. So I have a text file similar to this: [code] Joe Jim Hello Jim, Just wanted to say hello! -Jim EOF [/code] This is supposed to be like a message system. The first …

Member Avatar for iamsmooth
0
97
Member Avatar for MonicaClare

i have a problem for this program . how can i use the program in the middle.. i tried to put it IN .. but many error exist.. please help me with my program .. thanks.. here's the output: Enter Name: Simplicio Enter Password: pOLOtAn 1 Capital constant letter/s 4 …

Member Avatar for Godstryke
0
210
Member Avatar for RobBrown

I am having a hard time writing a program to do the following: [QUOTE]Your program should create an array that contains ten (10) variables of the following type: typedef struct { char firstName[30]; char lastName[30]; char street[35]; char city[20]; char state[3]; int zip; char phone[15]; int accountId; } Customer; You …

Member Avatar for RobBrown
0
447
Member Avatar for pepe roni

[B]I'm very new to ASP and I'm trying to get a radio button group to work and it doesn't. Here's what I have:[/B] [code]If Request.Form("RadioGroup1")(1) <> "" Then messBody = messBody & "New" & vbCrLf & vbCrLf If Request.Form("RadioGroup1")(2) <> "" Then messBody = messBody & "Used" & vbCrLf & …

Member Avatar for punitdam
0
108
Member Avatar for ritu verma

I have webrowser in my project..Suppose i open google..I want to drag the google image,can somebody tell me how how to get the URL of the image,so dat i can download it from the net...

Member Avatar for sknake
0
291
Member Avatar for xfreebornx

[code=cplusplus]#include <iostream> #include <cmath> using namespace std; int main() { int a, result, factorial(a); { cout << "please enter a number "; cin >> a; cout << factorial(a); } for(a=1; a>0; a--) { factorial *=a; } return 0; }[/code]

Member Avatar for mrnutty
0
115
Member Avatar for perlfan

I am reading the book "Beginning Perl" by James Lee and have been pretty happy with the content so far. That said I am stuck on chpt 7 which deals with regular expressions - I can't get the backreferences to work even when I copy the source verbatim. source: [COLOR="Green"] …

Member Avatar for perlfan
0
123
Member Avatar for penguin22

i need help trying to open an .exe file then opening a file in said exe program i.e i wanna open a file in flash after opening flash. so far i can open the exe file with no problem but from there I'm stuck. this is what i have [code] …

Member Avatar for sravan953
0
146
Member Avatar for Evil_genius82

Guys im stuck once again. I have a JList (unsorted) and when you press 'SORT' the list sorts. The thing is i have to use bubble sort. My jlist is set to defaultListModel. My problem is i keep getting this error: xception in thread "AWT-EventQueue-0" java.lang.ClassCastException: java.lang.String cannot be cast …

Member Avatar for cgeier
0
223
Member Avatar for SusanHAllen

I have written a Windows service using FileSystemWatcher. It successfully processes one file when dropped into the target directory, but doesn't do anything when a subsequent file is dropped. Any suggestions would be welcomed.

Member Avatar for kvprajapati
0
79
Member Avatar for ryancfc

Hi everyone! I just want to have random numbers which are unique. For example I want 5 unique numbers for a lottery game I am trying to make, nothing special just a console game. I was thinking of using loops and dead long boolean algerbra lines of || (OR) and …

Member Avatar for ryancfc
0
174
Member Avatar for zachabesh

Hey all, Here's my problem: php/mysql noob here. I have an admin section on the website, and I have successfully password protected all the php pages in that directory using sessions. I have included code like this on the top of each of my pages: [code=php]<?php include('login.php'); if (checkLogin() != …

Member Avatar for zachabesh
0
149
Member Avatar for cperepelitsa

This has been the cause of a royal lot of frustration. I have two threads and a pipe between them. I want the first thread to send stdout to the second, and a pipe seemed like a convenient way to do this. [CODE]public PipedOutputStream p_stdout = new PipedOutputStream(); public PrintStream …

Member Avatar for cperepelitsa
0
363
Member Avatar for AnnA.B

Hy everyone! First I vould like to say that your great! I find lots of solutions here fom my programing problems. I would like to write a calculator in Pascal/Delphi with scietific functions. For example: if I write [1,2,3]+[3,2,1], program return [4,4,4]. Does anybody have an idea how solve this …

Member Avatar for FlamingClaw
0
998
Member Avatar for MasterGoGo

Hi, I'm trying to add windowClosing into my program, so that when ran, I can exit by clicking on the X(top right corner). The bold is what i added to try making the windowClosing work. I keep getting errors though. Anyone know what I can do to fix this? errors: …

Member Avatar for MasterGoGo
0
213
Member Avatar for shea279

Could anyone recommend some higher-level c++ programming classes that are either online, or local in Austin, TX, that a 16 year old can enroll in? All my school offers is basic java, and ive tried the University of Phoenix online, but 16 is below their enrollment age.

Member Avatar for John A
0
271
Member Avatar for Lust_for_Pain

Hello all!! Im a newbie when it comes to C++ and I am constructing a program that, a. reads a file called weatherdata.txt, that contains the type of weather, number of years, then the average data for the months(i did three years) b.The program displays the informations for the months …

Member Avatar for Lust_for_Pain
0
70
Member Avatar for Brick

After creating a datasource and generating a dataset, my database has changed. How can I "refresh" the dataset so it sees these changes. One Method I have been able to do is delete the .xsd file from soultion explorer. There go my modified queries & code. Another method tried was …

Member Avatar for sknake
0
248
Member Avatar for skipbales

I read all the thread on a similar post from 2006 but did not find an answer there. I can not redirect on my localhost (Apache) or on my hosted site (Apache). I was using a function created in a php course I took then switched to a basic piece …

Member Avatar for skipbales
0
91
Member Avatar for kylelyk

I'm trying to create a function that draws with the mouse using allegro. Here is the original code: [code=cplusplus]int SCREEN_WIDTH; int SCREEN_HEIGHT; BITMAP *buffer; int sandcol; int pthickness; int mx, my, mx2, my2; void ThickLine(BITMAP *bmp, int x, int y, int x_, int y_,int thickness, int color){ int dx = …

Member Avatar for kylelyk
0
257
Member Avatar for taikoprogrammer

Hi everyone, I could really use some help on modifying this pointer program by Here are the directions I am given: Your task is to create the special functions used by this routine, which are shown in blue in the above program. The special functions are swapArgs, divideArgs, powerArgs, and …

Member Avatar for Dave Sinkula
0
158
Member Avatar for TheWhite

I have an unsigned char (8-bits wide, naturally) that contains 8 flag bits. Example: [CODE] unsigned char flag1:1, flag2:1, flag3:1, flag4:1, flag5:1, flag6:1, flag7:1, flag8:1; [/CODE] I would like to take this unsigned char and convert it into a bit array where each bit represents a flag. Pretty much like …

Member Avatar for TheWhite
0
1K
Member Avatar for orwell84

I have been using this code: [code="perl"] while (($key, $value) = each (%hash)) [/code] To iterate through a hash. However, the order of the keys that it retrieves are exactly the same each time i run the script. I looked to google for answers and found the following [URL="http://www.nntp.perl.org/group/perl.perl5.porters/2008/06/msg137802.html"]bug report[/URL]. …

Member Avatar for KevinADC
0
461
Member Avatar for wardensmat08

Hi.. I'm a beginner and just study programming. I have to make some random number. I found many solution in this site, but does'nt seem to be like i want. Please see this [URL="http://lh6.ggpht.com/_T3iApStJb64/SnMJmXJd0WI/AAAAAAAAASM/z5jEJagUjz4/s144/sudoku.jpg"]screen shot[/URL]. I have to make some simple program like sudoku game. And must put random number …

Member Avatar for wildgoose
0
251
Member Avatar for atch

Hi, I've tried to output pointer in decimal but can't do it [code] int a = 10; int* p = &a; cout.unsetf(ios_base::hex); cout.unsetf(ios_base::oct); cout.unsetf(ios_base::dec); cout << showbase << dec << p << endl; [/code] it still shows this output in hexadecimal format. Any reason why this doesn't work. Thanks in …

Member Avatar for atch
0
83
Member Avatar for deepak_nuniwal

Hello friends, i need java source code for cross matching two large access database records (1st file is of 20000records {28 columns and 20000 rows} and 2nd file is of 39000records {30 columns and 39000 rows}).I need to compare each n every cell of 1st file to the each n …

Member Avatar for javaAddict
0
2K
Member Avatar for jarrax

My problem is this. I am making a script engine using lua 5.1.4 for a game engine. At some point I want my script to be able to create an event for example a InitializeEvent (there are other events) which will be done through calling this method: [code=cpp] int ParticleSubSystem::GetIniEvent(lua_State* …

Member Avatar for Lerner
0
92
Member Avatar for Aiban

Hello. Before i embark on the grand search for the next few days of my life (hey who needed them anyways) i wondered if this was possible cause in my head i can't imagine a program being able to do this due to a difference in email clients etc basically …

Member Avatar for Aiban
0
139
Member Avatar for onindita

hii, can anyone give me any suggestion about how i can make the program below? [B]Question:[/B] You are to write a program that will take in an arbitrary number of lines of text and output it in Pig Latin. Each line of text will contain one or more words. A …

Member Avatar for KirkPatrick
0
153
Member Avatar for StMark

Hi My "callable" function doesn't work. Who knows why? [CODE]>>> callable(print) Traceback (most recent call last): File "<pyshell#0>", line 1, in <module> callable(print) NameError: name 'callable' is not defined >>> [/CODE] Regards, Mark

Member Avatar for StMark
0
215

The End.