43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Peppercat101

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
0
81
Member Avatar for TheBeast32

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
Member Avatar for TheBeast32
0
109
Member Avatar for Q8iEnG

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
Member Avatar for Q8iEnG
0
117
Member Avatar for Shadow14l

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
Member Avatar for Shadow14l
1
16K
Member Avatar for karhong

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
Member Avatar for karhong
0
93
Member Avatar for AllanJP

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 …

Software Development java xml
Member Avatar for AllanJP
0
196
Member Avatar for Alex Edwards

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
Member Avatar for Alex Edwards
0
144
Member Avatar for guy40az

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++
Member Avatar for guy40az
0
132
Member Avatar for R.V.

I found: IDLE 1.2.2 >>> x = 157.73 >>> r = x * 100. >>> int(r) 15772 Can I convert more precise?

Software Development python
Member Avatar for R.V.
0
155
Member Avatar for Nemoticchigga

In vs2005 there is a winsock component, how do you receive data using the component? I found a ->SendData(blah), but cant find a receive. Does anyone know how to receive with this component? Thanks.

Software Development c++
0
55
Member Avatar for Q8iEnG

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++
Member Avatar for Q8iEnG
0
158
Member Avatar for arLe20

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
Member Avatar for javaAddict
0
128
Member Avatar for TheBeast32

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
Member Avatar for TheBeast32
0
87
Member Avatar for TheBeast32

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++
Member Avatar for TheBeast32
0
344
Member Avatar for n.aggel

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
Member Avatar for n.aggel
0
165
Member Avatar for nschessnerd

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
Member Avatar for nschessnerd
0
89
Member Avatar for anuizath2007

:?: 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++
Member Avatar for anuizath2007
0
89
Member Avatar for anuizath2007

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++
Member Avatar for anuizath2007
0
113
Member Avatar for myle

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
Member Avatar for myle
0
141
Member Avatar for Bill Purkins

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 …

Software Development listview vb.net
0
66
Member Avatar for Bill Purkins

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
Member Avatar for Bill Purkins
0
95
Member Avatar for Crushyerbones

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
Member Avatar for Crushyerbones
0
98
Member Avatar for rahye

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++
Member Avatar for iamthwee
0
289
Member Avatar for Neji

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
Member Avatar for RockyRhodes
2
198
Member Avatar for ochien

Hi Guys, i need help...can any body know what component name for using table like this... thanks for help.

Software Development visual-basic
Member Avatar for ochien
0
121
Member Avatar for Alex Edwards

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++
Member Avatar for Narue
0
141
Member Avatar for Dell XPS

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
Member Avatar for Dell XPS
0
252
Member Avatar for fmwyso

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++
Member Avatar for Ancient Dragon
0
222
Member Avatar for soultrav

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
Member Avatar for Narue
0
149
Member Avatar for tommy1988

hi i wanna start programing with python just wondering if any one knew any sites which has python source code? would appreciate any help :)

Software Development python
Member Avatar for AKarnisky
0
216
Member Avatar for javax_

[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
Member Avatar for javax_
0
131
Member Avatar for sciwizeh

are there any good (comprehensive) tutorials that anyone knows of for the SAX parser? i cannot find a good one

Software Development java
Member Avatar for sciwizeh
0
83
Member Avatar for shadwickman

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
Member Avatar for shadwickman
0
122
Member Avatar for leegeorg07

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
Member Avatar for vegaseat
0
109
Member Avatar for Zozel

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 ...:)

Software Development c++ flash
Member Avatar for Zozel
0
3K
Member Avatar for KJBB

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
Member Avatar for KJBB
0
119
Member Avatar for shuey79

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
Member Avatar for lukabrol
1
147
Member Avatar for Jennifer84

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++
Member Avatar for mitrmkar
0
97
Member Avatar for Alex Edwards

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
Member Avatar for Alex Edwards
0
142
Member Avatar for poonams

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
Member Avatar for lukabrol
0
196
Member Avatar for fmwyso

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
Member Avatar for Narue
0
323
Member Avatar for C41R0

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 …

Software Development java xml
Member Avatar for C41R0
0
271
Member Avatar for k2k

[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
Member Avatar for k2k
0
79
Member Avatar for thijscream

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
Member Avatar for thijscream
0
2K
Member Avatar for ruchika beddy

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 …

Software Development listview vb.net
Member Avatar for ruchika beddy
0
130
Member Avatar for programmingnoob

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
Member Avatar for jlm699
0
116
Member Avatar for zzmgd6

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 …

Software Development api c c# c++
Member Avatar for vijayan121
0
2K
Member Avatar for kdw3

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 …

Software Development sql vb.net
Member Avatar for kdw3
0
97
Member Avatar for Shilpa Jain

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
Member Avatar for Shilpa Jain
0
103
Member Avatar for TheBeast32

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
Member Avatar for TheBeast32
0
222

The End.