132,726 Archived Topics
Remove Filter ![]() | |
can anyone send me the code for auto generation of an student ID.Pls need in proj urgrnt Software Development vb.net | |
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 … Software Development c++ gui open-source user-interface visual-studio | |
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 | |
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 | |
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 | |
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 | |
when every i save some thing the box comes up then closes it self Software Development python | |
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 | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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 … Software Development asp.net client-server html-css java javascript web-server | |
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 | |
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, … | |
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 … | |
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 … | |
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 | |
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 | |
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++ | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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 | |
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++ | |
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 … | |
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++ | |
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 | |
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 | |
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++ | |
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 | |
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, | |
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 | |
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 | |
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++ | |
| |
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 … | |
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++ | |
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++ | |
can u help me how to write the programing for this output? | |
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 | |
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++ | |
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++ | |
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++ | |
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 … | |
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 |
The End.