43,549 Solved Topics
Remove Filter ![]() | |
I want to change the cursor in my program to a custom one that i made... Help plz?? I`ve tried all I know... Software Development pascal | |
HI, I have been wondering how to make a program with the XP style buttons, edit boxes, etc. in it. I have made a GUI, but it's ugly. How can I make the controls look like the ones on say, a windows property sheet or something like that? I have … Software Development c++ gui windows-xp | |
Hi :) I have a question, if you don't mind =] (What is the situation where quadratic probing is better than chaining?) I guess (as I'm thinking) while searching? maybe? because if the Hashtable have a lot of elements in chaining it'll take a lot of time searching the Hashtable … Software Development c++ linked-list | |
I just need some code that will return a string of the name of the current activated window title/name. I've spent almost hours looking for a simple example though... ================================================================ I've seen other people say to hook windows messages and listen for wm_activate, and others... I already have when to … Software Development python | |
Hi, I wanted to know how do I create the exact polygon(trapezium) in my main form. I've now created a class "PolygonShape" and inside there is this code(this is a shape of a trapezium): [code=c#] protected override void OnPaint(PaintEventArgs pe) { // Create pen. Pen blackPen = new Pen(Color.Black, 3); … Software Development | |
Hey all! I've been struggling with a problem for a week now, and it seems that I'm stuck. PROBLEM ONE: I'm trying to make a "Dynamic" Combobox? Well, I'm trying to read in an XML file, and based on the number of Nodes in that file, i wish to create … | |
Is it possible to send something like, a Frame or Applet to a target computer? If not, how would I set it up so that two users from two different computers could interact with the same JFrame or JApplet? Edit: No I'm not asking for code, just general advice* Software Development java | |
I am using Visual C++ version 6. I need to know how to add a .lib file to a project. I want to add it as a static lib file. Software Development c++ | |
I found: IDLE 1.2.2 >>> x = 157.73 >>> r = x * 100. >>> int(r) 15772 Can I convert more precise? Software Development python | |
Hi my friends, how do you do? I hope everything is alright.. :) Please may I have a few mins. from your time? It'll be much more appreciated :) I have this question (Write a member function to check whether two singly linked lists have the same contents.) anyone can … Software Development c++ | |
i need help..... i need to write a SHORT java program that takes two arrays a and b of length n storing int values, and returns the dot product of a and b. Software Development java | |
Hi, I have bought [U]Programming Windows Fifth Edition[/U] by Charles Petzold. I was wondering if there are any differences between the Win32 API talked about in this book and the one that applies to Vista or anything newer than Windows 2000. Also, my book didn't come with the CD (I … Software Development api c++ windows-api windows-vista | |
Hi, I have been making a macro building program. I am trying to handle mouse events right now. I have made a program that hooks the mouse, then puts information into a text file which is then read by another program. The recorder writes the delay in milliseconds, so the … Software Development c++ | |
hi, i have the following structure in the "simple application": application_folder | |--makefile | +-headers | | | +----func.h | | +src | | | +------ func.c | +------ main.c | | and here are the contents of the files: *func.h [code=c] float hey(float a, float b); [/code] *func.c [code=c] … Software Development c++ data-structure | |
So i have this app that i wrote to get the permissions on a directory and it works fine for small directories. however when i use it on a huge server it freezes when it compiles the file. i know the program is running but windows gets pissy because it … Software Development visual-basic windows-server | |
:?: can anyone tell me where the error is? [code=cpp] #include<iostream.h> #include<conio.h> void main() { clrscr(); void zero_small(int &,int &); int a,b; cout<<"\n\n\n\tEnter the first no "; cin>>a; cout<< "\n\n\n\tEnter the second no "; cin>>b; zero_small(a,b); cout<<"\n\n\n\tValue of the first no is "<<a; cout<<"\n\n\n\tValue of the second no is "<<b; … Software Development c++ | |
This is a program i made..but i wanted it to arrnge the total in decreasing order showin the highest scorer 1st....what more should i do 4 that in this program....??? [code=cplusplus] #include<iostream.h> #include<conio.h> void main() { int n; const int limit=50; int rollno[limit]; int maths[limit],english[limit],science[limit],social[limit],hindi[limit]; int Total[limit]; char Grade[limit]; int … Software Development c++ | |
I have just begun to learn python, so my question is probably silly. Just for practice I want to write a function which calculates the first n primes. prime computes some prime numbers and keeps them in a list. Then tries another number and if it's not even divisible by … Software Development python | |
This is not a problem but a question. I am new to VB and am curious as to the "Gestalt" (temper of the times) on this in terms of general practice. I come from an AS/400 (green screen) and also Clarion for Windows background. Generally, when I offer the user … | |
VB2008.I have a form which has a textbox and a button on it. the button shows another form, which has a listbox bound to a datasource on it. When the user selects a list item, i have code that sets the value of the textbox on form 1 to the … Software Development vb.net | |
I am doing some self-made exercises lately to practice my C skills. One of them is something like this: Given a file with something like: "Peter Wilson the swordsman". I want to store "Peter Wilson" in the char array "name" and "swordsman" in char array "title". So far I've tried … Software Development c | |
hi there, can someone help me how to write a recursive function that takes the number to the power. Thus, if the number is 2 and the power is 4, the function will return 16. I'm looking forward for anyone to help me with this my problem. I try to … Software Development c++ ![]() | |
help for this... want to set an attribute of file. 4 status Hidden, archive, system, read only. thank you all... Best Regards Neji Software Development visual-basic | |
Hi Guys, i need help...can any body know what component name for using table like this... thanks for help. Software Development visual-basic | |
I am wondering how one would append additional memory to the end of a pointer that already has memory allocated? For example, if I do something like this... [code=c++] int *intPtr = new int[5]; // pointer can be assigned 5 values of type int // Now I want to add … Software Development c++ | |
i want to make a hotkeys app ... i need to detect keystrokes even if the form is not active so that by pressing a button i can launh the calculator.... or games and stuff like that... any ideas ? Thank you Software Development vb.net | |
Hey, I googled it and found TONS of pages, but most are for linux/C#/VB and I can't seem to get any C++ code for this X_X. I did a search on the forum, and couldn't find anything either... Anyway, I would like to have my program "ping" a host name … Software Development c++ | |
Hello! I am trying to make a program for string compression using LZ compression techniques, but the program is at the beggining - I fail to realise what goes wrong, but I think it is a problem with string operations. [code=C] #include <stdio.h> #include <conio.h> typedef struct comp { char … Software Development c | |
[CODE] public class test { public static void main(String [] args) { Person p = new Person("ABC"); p.setName("DEF"); changePerson(p); System.out.println(p.getName()); } public static void changePerson(Person p) { p.setName("GHI"); p = new Person("JKL"); p.setName("MNO"); System.out.println(p.getName()); } } class Person { String name; Person(String name) { this.name=name; } public void setName(String n) … Software Development java | |
are there any good (comprehensive) tutorials that anyone knows of for the SAX parser? i cannot find a good one Software Development java | |
Hi, just a quick question but I couldn't find an answer to it. Say I have 3 variables, "a", "b", and "c". I want to assign each one a value of None. The only way I know of doing this is: a, b, c = None, None, None Is there … Software Development python | |
![]() | Hi i want to be able to open a python program on someone's computer but they don't have python installed and they don't have room to install it. how could i 'compile it' if that is the correct word, so that it can be opened as an exe file? Software Development python |
Hi...I'm Zozel...I am trying to make a program and to use the cleardevice() function to clear screen...but I'm not satisfied of this function...calling it, it flashes the screen...it "blinks" my whole screen.....how could I avoid this flash?...please help!...I appreciate any answer ...:) | |
When an Access database is being updated and an apostrophy ' is embedded in a user input string, (txtArray[0].Text here), the query fails. I am using OLEDB. I am hoping I do not have to parse each user input searching for single quotes and probably other naughties like ". I … Software Development | |
Attached is the vb project that I came up with last night. I made this program for a game that I am making with requires constant chat between to computers. My problem: It works for the first message but when I try to send the second message it gives me … Software Development vb.net | |
I have a Form with a Multilined textBox. With the code below that I use in a buttoncontrol, I try to select these indexes. When pressing the button, no selection can be seen but when I click on the area where it should be selected, it ´blincs´ very fast and … Software Development c++ | |
I'm getting ridiculous results in my program! Seconds work fine Decaseconds (1/10 of a second) work ok Centiseconds seem a bit off Milliseconds are completely off... Here's the code-- [code=java] import javax.swing.*; import java.awt.event.*; public class Clock{ private Timer t; private long startTime = 0, finishTime = 0; private boolean … Software Development java java-swing | |
hi friends Iam developing my appliction in vs.net2003 & ms access.I am creating reports using crystal report.I want to filter the output of report.User has to select the option which data has to be display in reports.I used the parmeter wizard to sort data.But if I add new data in … Software Development vb.net | |
I would like to have an array that is pretty huge along with being able to hold atleast a sentence in each value. I want to be able to check if a string exists inside it (hopefully fast :P). Why? I want a program to read through a tab seperated … Software Development c++ visual-studio | |
when creating jar file i use following command in DOS [CODE] jar cf UIA.jar *.class *.jpg *.html *.xml *.jhm *.jar [/CODE] then i adding manifest by typing following command in DOS [CODE] jar cvfm UIA.jar mainClass.txt [/CODE] when i double click the jar file, nothing come out, i think maybe … | |
[CODE] if [ "$1"="-s" -a -n "$2" ] # if $1 is string "-s" and $2 is not null then string="$2" # then string="$2" else echo "error" exit 1 fi echo $string [/CODE] i expect: foo -not"-s" hi return "error" however,, no matter what i type after the - , … Software Development shell-scripting | |
hi, i made a form1(FrmMain) and when i press on BtnAdvocaat form2(FrmAdvocaat) is vissable and BtnAdvocaat is disabled. now i want to make it like this: when the form2(FrmAdvocaat) is closed by BtnClose i want BtnOpen to be enabled. the code to open so far is: [code] private void button1_Click(object … Software Development delphi | |
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim i As Integer Dim lvitem As ListViewItem For i = 1 To 5 lvitem = ListView1.Items.Add("1") lvitem.SubItems.Add("sonia") Next End Sub Above code add the five items in a listview with checboxes before each item. When we run … | |
Expected Output Your goal is to be able to create a python script like example.py that will: 1. Read input.bin byte by byte 2. Convert the value of each byte in input.bin into a string 3. Save the output into a file output.txt For example, given an input.bin that contains … Software Development python | |
Try to access the environment variables of a current running proces? The following is close but no cigar. Any help to go further. I know it has to do with the PROCES_PARAMETERS contained within the Process Environment Block PEB. But I am completely lost at this point. the following returns … | |
Hi I am writing a program that will take in a CSV file and then write it to a database (MS Access). So far, i can create a table, add fields to the table and insert one record. Im inserting the pieces of data one at a time using a … | |
Hi all, I am searching and fetching the data in a form based on the name entered in the text field. When the submit button is clicked, another form is displayed containing all the fetched data.Right now the functionality works only for the name entered in the textbox. I want … Software Development open-source visual-basic | |
Could anyone tell me if there is a function like the InputBox() function in Visual basic? I have googled it and come up with nothing. Thanks. Software Development c++ visual-basic |
The End.