132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Bibin20082008

can anyone send me the code for auto generation of an student ID.Pls need in proj urgrnt

Software Development vb.net
Member Avatar for selvaganapathy
0
238
Member Avatar for n321

Hello, I am new to this community but you seemed to be knowlegable with this error so I thought you could help me. I am more of a hobbiest programmer. I get by with doing as little as possible to accent my graphic design abilities. I am currently working on …

Member Avatar for n321
0
165
Member Avatar for bharanidharanit

I am designing one application in which i would like to add messanger. I will distribute my application setup to my friends. what i want is to chat with my friends through this application. Is it possible? (I am not having any website)

Software Development vb.net
Member Avatar for poguemahone
0
117
Member Avatar for mr_scooby

Hi, I am trying to add a timer countdown of 30 secs to a form I have made. Here is the code inside the start button [code] timer1.Interval = 1000; timer1.Enabled = true; [/code] here is the code inside the timer_Tick [code] timerlbl.Text = timer1.ToString(); [/code] what happens tho is …

Software Development
Member Avatar for mr_scooby
0
151
Member Avatar for wmuldoon

hello all, I work at a newspaper, and we use QuarkXPress for Desktop publishing...and we have a pretty unfortunate glitch, when Quark crashes, it seems to untick the backup option in the pref's... so I was thinking this would be a good place for a small recursive script, that would …

Software Development publishing shell-scripting
Member Avatar for wmuldoon
0
254
Member Avatar for mujaqo

Hi, I’m new to VB and I use the below code to collect local disk drive info, is there a way to store the collected information in a single text box instead of having tables and DataGridView. [CODE] Public Function getLogicalDriveStructure() As DataTable Dim dt As New DataTable dt.Columns.Add(New DataColumn("Description")) …

Software Development vb.net
Member Avatar for poguemahone
0
128
Member Avatar for woah

when every i save some thing the box comes up then closes it self

Software Development python
Member Avatar for mn_kthompson
0
108
Member Avatar for bharanidharanit

Hello sir, I am having one tabcontrol and many tabpages in it. I want to activate it with the button control. so when i click button1, tabpage2 must be shown. and so for button 2 etc. so i used the code below, but not working. [CODE] Tabpage2.show() [/CODE]

Software Development vb.net
Member Avatar for Teme64
0
77
Member Avatar for madrikh

I'm just tarting with wxPythjon. I wrote this simple program to get some experience with panels.. It wants to open a frame and add a number of euivalent panels, each with an inactive button. And it does seem to do tht (the sizing is fixed because it's only a toy). …

Software Development python
Member Avatar for madrikh
0
158
Member Avatar for CPPRULZ

Hi, I was making a pogram to demostrate static variables and I don't know why my compiler (VS 2005) is giving me these crazy errors that my book im using said I shouldn't be getting. Here is my program, please help: header: [code=C++] class number{ private: static int num; public: …

Software Development c++
Member Avatar for grumpier
0
158
Member Avatar for Joaoalex7

Hello I'm having some trouble writing to text and object files in java. Basically i need to delete the contents of the file before i write the new information on it...which i'm not being able to do. well this is what i have in terms of code for the text …

Software Development file-system java os-x
Member Avatar for BestJewSinceJC
0
708
Member Avatar for BobTheFish

My applet runs fine when it's in the same directory as the html, but when I put it in another directory, Java console says it can't find the file. When I copy-paste into my browser the address I'm specifying for 'code' in my applet tag, it finds the file without …

Software Development java
Member Avatar for BobTheFish
0
81
Member Avatar for athar89

I have written this parsing algorithm in c++ and compiled in visual studio.On runtime after giving the value it gives an assertion error. The logic is correct bcuz ive dry runned it but i think there's a problem with memory allocation.I need urgent help.Please. // sas.cpp : Defines the entry …

Software Development algorithm c++ visual-studio
Member Avatar for Murtan
0
185
Member Avatar for AnilKumar_502

Hi All, I am new to .Net. I am converting a source which is in .net 1.1 to .net3.5. In 1.1 those people had used scritps for calendar popup. Let me show the sample code first In JSCalendar.aspx ---------------------------------- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="JSCalendar.aspx.cs" Inherits="JSCalendar" %> <!DOCTYPE html PUBLIC "-//W3C//DTD …

Member Avatar for Ramy Mahrous
0
142
Member Avatar for ddanbe

This is a nice site I found! [url]http://www.digilife.be/quickreferences/QRC/Core%20CSharp%20and%20.NET%20Quick%20Reference.pdf[/url] If you are coding and forgot the syntax of a switch statement or need some special format for a Console.WriteLine, you can find it here in a compact easy to overlook form. I have mine printed doubleside on an A4 and let …

Software Development pdf
Member Avatar for Ramy Mahrous
0
143
Member Avatar for wallish

Hi. I'm currently messing around with C# and decided to write a small game. One of the first things I am doing is setting up the game's GUI, which I am designing myself with help from XNA (but not Windows Forms). I've already made proof-of-concept buttons that can be placed, …

Software Development c c# c++ gui
Member Avatar for Ramy Mahrous
0
212
Member Avatar for Stefano Mtangoo

I was thinking of Separating functions from GUI. I want when have different classes of GUIs that share functions, then I will have one class full of function/methods on need. However I failed to separate them, for I could not make instance of Functions class in the gui class in …

Software Development gui python
Member Avatar for Stefano Mtangoo
0
114
Member Avatar for manzoor

How to find the top n elements without sorting the array? Is this possible??? Well I don't want to sort the array because the order is mandatory? After I have found the top n elements I want to modify them? Is there any certain algorithM?? Help ??? this is no …

Software Development algorithm c++
Member Avatar for Salem
0
202
Member Avatar for danibootstrap

I have a C code and I when I compiled it as just a single file it did .But now I want to make a project and when I created the main.c with the same code I am getting the following error. Makefile.win:29: *** multiple target patterns Build error. Can …

Software Development c
Member Avatar for sanmay
0
184
Member Avatar for sheff21

My friend and I are working on a school project and our hope was to have a Java program take a zip code from the user and then connect to weather.com (or any other web site) and look up the local weather. I assume this is possible but I cannot …

Software Development java
Member Avatar for ~s.o.s~
0
159
Member Avatar for mostermand

Hi i am trying to make a notepad like program. The problem is that when i try to display some text nothing happens. If someone could help me i would really appreciate it. The function call: [code=c++] ... SetWindowText(edit, "TEST"); ... [/code] Creation of edit: [code=c++] ... HMENU Menu, SubMenu; …

Software Development c++
Member Avatar for mostermand
0
4K
Member Avatar for berting

i need to write a program which inputs an integer value, checks that it is possitive, and outputs its factorial,using formulas factorial(0)=1 factorial(n)=n*factorial(n-1) sample output: input possitive number: 6 factoral of 6is: 720

Software Development c++
Member Avatar for ajay.krish123
0
96
Member Avatar for confusedGirl

Hi all I have a [COLOR="Red"]miniproject [/COLOR]I need to submit tomorrow ,but I didn't finish it.. Please if any member have a time to check it for me,,tell me so I can send my whole work... I really will appreciate your help Please help me ....Iam so sad its 50% …

Software Development java
Member Avatar for BestJewSinceJC
0
202
Member Avatar for Clockowl

Hey guys, This program gives me a nice segfault (on line 27 and if it's removed on the realloc() below that) and I can't seem to figure out why. Any help is greatly appreciated. [code=c] #include <stdio.h> #include <stdlib.h> #include <string.h> /* Parses parse_this for tokens using strtok() with seperators …

Software Development c
Member Avatar for Salem
0
113
Member Avatar for Alishaikh

Hello everyone, I am AP COMPSCI A for my school and I trouble with this program. In the program you have to enter numbers from 1-100. And print a chart of how many numbers were between 1-10, 11-20 and so on. Like this: 1 - 10 |* 11- 20 |**** …

Software Development java
Member Avatar for ~s.o.s~
0
117
Member Avatar for serkan sendur

hi all, i want to associate some files with some programs like we do in windows platform. for example on the shell prompt if i type a file name(i am in that directory) i want it to be opened by gvim editor. how can i do that?

Software Development shell-scripting
Member Avatar for eggi
0
304
Member Avatar for nmakkena

How can I add items programatically into combo box control during runtime? I am trying like this. [B]expcombo.Items.Add(expcombo.Text); [/B] But given item is not saved. when I close the form and run the form again.. combo box is not showing that given item. I changed above statement like this [B]Messagebox.show(expcombo.Items.Add(expcombo.Text));[/B] …

Software Development
Member Avatar for ddanbe
0
135
Member Avatar for chound

In Borland C++ Builder 6, I used forms. I created a button and clicked on it. It went to the editor. I typed "form1. " waiting for autocomplete to work. But I got "error in source code". The source code was generated by the BDE. Why doesnt it work. I …

Software Development c++
Member Avatar for spiriad
0
169
Member Avatar for orwell84

There was no forum for just general programming, so I decided to put this here. Just out of curiosity, does anyone know how you get from your programs running in terminal or command prompt to having them opening in their own window, with their own GUI? If anyone could shed …

Software Development c++ gui
Member Avatar for orwell84
0
207
Member Avatar for bugmenot

Hy, I am trying to encode an X509 certificate into base64, and since the encoder I'm using takes only char*, and typecasting doesn't work, i find a different way to do this. I'm sure there is a simpler way, but i just can't find it. Here is the code: [CODE]BUF_MEM …

Software Development c++
Member Avatar for bugmenot
0
381
Member Avatar for lllllIllIlllI

Hi I have been using classes for quite a while but there is still one concept yet that i havent ever quite understood and that is decorators. I have noticed Gribouillis uses them a lot so in some ways this question is directed at him. I would like to know …

Software Development python
Member Avatar for lllllIllIlllI
0
115
Member Avatar for amit.turkaspa

hallo i wrote a program with 3 different functions. something wrong with her and i cant see it. [code=c] #include<stdio.h> int devide9(int num); int decimal_binar(int num); int binar_decimal(int num); int main() { int menu, num9, numd1, numb1, numd2, numb2, numfinal1; printf("\nHallo these are your options:\n"); printf("1. Check if your number …

Software Development c
Member Avatar for ajay.krish123
0
423
Member Avatar for NewtoC++

Okay I am writing a database type of program, which will store data about people. I want to create a class: class Person { public: int age; int weight; int height; }; Okay now I want to do something like this: cout << " Enter name of person.\n"; cin >> …

Software Development c++
Member Avatar for NewtoC++
0
18K
Member Avatar for Paryushan

Hi, I am trying to write the output generated by a simple command "dir" to a file. Can you please help me do that? Here is what I am doing -- system ("dir"); this will run dir command on my D: drive now, I want to write this ouput (in …

Software Development perl
Member Avatar for KevinADC
0
119
Member Avatar for reallm

All hi, Is it possible to send messages (SENDMESSAGE/PostMessage...) to HTML controls such as Input Type Text or lists? I am able to get/set the url,title but I can't get to the document. Can it be done? Would you show me how? Your help would be appreciated. reallm,

Software Development c c# c++ html-css
Member Avatar for Crisboot
0
311
Member Avatar for aminit

Hello All: I made a simple form in VC#, inside it there is textBox I want when I write the value inside this textBox it's must check it with one rows of the table inside dataBase if it's exist it print a message box else exit.....Any one can help ??? …

Software Development
Member Avatar for AnilKumar_502
0
77
Member Avatar for Anamika1

Hello, Is anybody know who is the father of the C language . Please tell me hurry its urgent . I am waiting for your reply. Thanks

Software Development c
Member Avatar for galaxyweblinks
0
155
Member Avatar for oky20

can anyone help me? I've made an address book. But I don't understand how to sort the information in alphabetic order. And also the information which is written in information.txt is not neat. Does anyone know how to fix it ? here is my code.. [code=C]#include <stdio.h> #include <stdlib.h> #include …

Software Development c++
Member Avatar for oky20
0
107
Member Avatar for changdeoJ

Can anybody tell me hw to communicate with devices in c++

Software Development c++
Member Avatar for Ancient Dragon
0
55
Member Avatar for nymph

i am doing some network programming: i want to be able to switch lights in my house either on or off through the network,WAN.The lights are connected to a computer through the paralel port.i.e the computer is at home.i have achieved the control of the lights at LAN level. my …

Software Development java lan-wan
Member Avatar for nymph
0
126
Member Avatar for scrypter

Hi there, I hope this is not a major repeat question. I have a big class and inside it has smaller classes. What I am trying to do is call a function of the outer class from the inner nested class, such as: [CODE]class BigClass : public evenBiggerClass { int …

Software Development c++
Member Avatar for ArkM
0
166
Member Avatar for mrnutty

Can i call a class on another class. ex. class a { public: void add (int,int) ... //maybe call class b here.../// }; class b{ public : void mult(int,int)... };

Software Development c++
Member Avatar for ArkM
0
89
Member Avatar for adily

can u help me how to write the programing for this output?

Software Development c c# c++
Member Avatar for Salem
0
99
Member Avatar for robertmacedonia

Hi to all, I am stuck with these problem, so I must ask for a little help. I have this "postfix notation" expression " 5 9 + 2 * 6 5 * + " ,written in a file "izrazi.txt". So , I am supposed to read it from the file, …

Software Development java
Member Avatar for robertmacedonia
0
431
Member Avatar for Emmily

Hello everybody. I'm new in C++ Builder and I have problem with my application. I have some files on input and first I add files in ListBox1. I try to sort them by 3 conditions (firts is date, second is some secc. number and thirt is const. number) for example …

Software Development c++
Member Avatar for Emmily
0
213
Member Avatar for Manutebecker

I must say I always love a program where I can use #include<vector> vectors are like the peanut butter to my chocolate!

Software Development c++
Member Avatar for Manutebecker
0
129
Member Avatar for rkumaram

Following program gives me output 556 , I cant understand why ? [code] #include<stdio.h> main(){ int i =300; char*ptr =(char*)&i; *++ptr = 2 ; printf("\n%d",i); } [/code]

Software Development c++
Member Avatar for rkumaram
0
93
Member Avatar for nathanpacker

Hey everyone. I have an interesting perl idea, and am wondering if it's been done. I would like to have a page on my website, where someone could go in and chat with me. I wouldl like it so that, a person (that I have given a user name and …

Software Development email perl
Member Avatar for verruckt24
0
189
Member Avatar for srs_grp

I have a string as follows: 'mnp1011000jie' I want to retrieve contents of the string as follows: 1st field: mnp 2nd field: 101 (which signifies the binary representation of 5) 3rd field: 1000 (which signifies the binary representation of 8) 4th field: jie I know that binary integer requires 4 …

Software Development java storage
Member Avatar for verruckt24
0
174
Member Avatar for m24r

I am a novice in C. I am trying to assign a value from a file to a pointer as below. However I am gettign a seg fault. Can somebody explain ? int i1; char *glblclrtab; ... for (int i=0; i<20; i++) { while ( (i1= fgetc(ipFile))==NULL); *(glblclrtab+i)= char (i1); …

Software Development c
Member Avatar for death_oclock
0
169

The End.