132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Ghostenshell

First time I've asked for help so please bear with me... ***Brain Freeze*** OK Supposed to open a txt file. Assuming the txt file is formated properly. The file is a what I am assuming a list of names and ages. I created my own file... kick me 989 bodybody …

Software Development python
Member Avatar for Murtan
0
105
Member Avatar for abu taher

I add some data in a form by text box. a acsess file store it.then I close this form and open another form . that data show in this from by datagird or msflexgrid. but my problem is when I add some data and close that form this data not …

Software Development visual-basic
Member Avatar for abu taher
0
287
Member Avatar for ezkonekgal

A book shop has bookshelves with adjustable dividers. When one divider becomes full, the divider could be adjusted to make space. Create a Java program that will reallocate bookshelf space using Garwick's Algorithm. Can any give me some pointers with this ? thanks.

Software Development algorithm java
Member Avatar for ezkonekgal
0
220
Member Avatar for somename

Hello. Maybe someone can help me with this, here is my code: [CODE]#include <windows.h> #include <stdio.h> #include <wininet.h> #include <shlwapi.h> #define mb(x,z) MessageBox(0,x,z,0) #define REGKEY "PATH\\to\\my\\key" #define REGNAME "zzzzzzzzzzzzz" #define EXENAME "zzzzzz.exe" void Reg() { HKEY hkey; DWORD dwDisposition; DWORD m_dwMaxFileSize = 16 * 1024; TCHAR m_szLastFileName[MAX_PATH]; DWORD dwType, dwSize; …

Software Development c
Member Avatar for somename
0
181
Member Avatar for mrnutty

how would I check how long a program takes for it to be completed. (i.e the time it takes for the program to be finished doing its calculation)) Thanks

Software Development c++
Member Avatar for stonerain
0
111
Member Avatar for massivefermion

Hey men I'm using ubuntu 8.04.1.when I wanna compile a c++ source code with gcc,it says: gcc:error trying to exec 'cc1plus':execvp:no such file or directory

Software Development c c# c++ ubuntu
Member Avatar for cam875
0
259
Member Avatar for midimatt

hey everyone. Just a quick question i hope i'm using c# with XNA and currently i have created a game which draws a spaceship on the screen and allows me to move it around using an xbox360 controller. what i'm trying to do is make the sprite of the spaceship …

Software Development
Member Avatar for ddanbe
0
134
Member Avatar for blackslither

Hi I'm looking for a "shortest path algorithm" , but with a maximum number of edges limit . So the path has to contain at most N edges . i've found shortest path algorithms but not with a number of edges limit , and i've tried to modify A* , …

Software Development algorithm c
Member Avatar for Murtan
0
1K
Member Avatar for death_oclock

My application creates a window in the main thread, but I want the message loop in a separate thread. Is there any way to catch the messages from that window while an another thread? I tried giving GetMessage that window's handle, it didn't work. I could just create the window …

Software Development c queue
Member Avatar for death_oclock
0
108
Member Avatar for edgar5

All these New Object()s are identical (and in fact, much longer!) How do I declare a single instance then reuse it in each ComboBox .Items.AddRange()? I am using Visual Studio 2008/Visual Basic. [CODE] verticalBarComboBox.Items.AddRange(New Object() {" single space", "- hyphen", " - <single space>hyphen<single space>", "` open single quote", "=", …

Software Development vb.net visual-basic visual-studio
Member Avatar for edgar5
0
193
Member Avatar for mkn07

i have a project that receives virtual directories from IIS, and show the files in directories as an windows application form. Here my problem with defining the path as [CODE]Directory.GetDirectories(dataDirectory)[/CODE] dataDirectory including the code is: //LM//W3SVC//1//Root//Data// also when i try another format as iis://localhost//w3svc//1//root//data and //localhost//W3SVC//1//Root//Data// anad also one back …

Software Development
Member Avatar for Ramy Mahrous
0
315
Member Avatar for boburob

Hey everyone, im writing a blackjack program with java swing and im having problems with setting the layout with panels and frames. I want to apply a different layout to two different panels, add them to a frame and then display the frame, heres my code: [CODE]//Blackjack //By Thomas Bean …

Software Development java java-swing
Member Avatar for BestJewSinceJC
0
185
Member Avatar for james557

Hola Happy New Year !! ~ im doing this project on C# programming and im stucked on it for many days. What i need to do is to read either '0' or '1' from a circuit ( external circuit board is connected to my laptop via serial port ), and …

Software Development open-source video
Member Avatar for ddanbe
0
143
Member Avatar for ScaryMan

I want to write some functions into LINGO software, however my knowledge about LINGO is not that "qualified". Can someone help me about this if I show the equations to you? S.

Software Development
Member Avatar for ScaryMan
0
50
Member Avatar for chrischavez

I have an application which is supposed to move the mouse based on input like that from a keyboard. the code listens for the direction keys to see if they are pressed. the code works but only in 2 direction it can only move to the right and down. is …

Software Development c++
Member Avatar for William Hemsworth
0
3K
Member Avatar for edgar5

Does this leak memory? [CODE]Dim Public strBldr As New StringBuilder("test", 5) ‘alloc a StringBuilder MsgBox(strBldr.ToString()) ‘use the StringBuilder strBldr = New StringBuilder("a", 2) ‘did the destructor of StringBuilder holding “test” 'free up its memory? [/CODE] As StringBuilder does not implement a Clear() method, and I am having timing issues with …

Software Development vb.net
Member Avatar for Comatose
0
135
Member Avatar for RahulV

Hello, Im trying to create an application, where its upto the user to create and delete the database dynamically and at runtime. But i don't know how to make it. Can anyone please help?? Whenever i tried to contact u people for help u all have always helped, hope u …

Software Development visual-basic
Member Avatar for RahulV
0
76
Member Avatar for ramesh_natesan

I have a question. is it possible to login to remote locked machine using vb script. the remote machine is in the same office network domain and it is in locked state. Any suggestions please? [URL="http://rameshnatesan.blogspot.com"]http://rameshnatesan.blogspot.com[/URL]

Software Development visual-basic
Member Avatar for Comatose
0
159
Member Avatar for Superstar288

hey can anyone help me with some work please i have been asked to: provide information about the number and total amount of purchases from each suppliers each month, the number of sales and total price for each category of animal each month. at the moment i have got the …

Software Development java
Member Avatar for Superstar288
0
149
Member Avatar for firoz.raj

I Want if my Purchase form should come at form_load the last value of req. no should come in text box . i have written a code : [B] Private Sub Form_Activate() Set rs = New adodb.Recordset rs.Open " select max(req_no) from po", con, adOpenDynamic, adLockOptimistic Text12.Text = rs!req_no End …

Software Development visual-basic
Member Avatar for firoz.raj
0
60
Member Avatar for Narayanan87

Can anybody send me the source code in JAVA platform for Networking monitoring

Software Development java
Member Avatar for verruckt24
0
139
Member Avatar for Simran1

Hello, Please tell me in Java we don't have a multiple inheritance? so,in which function we use these inheritance. Thanks

Software Development java
Member Avatar for parthiban
0
121
Member Avatar for protonix

I wrote a perl script to decode a file and it keeps giving me a weird out put. I have zipped my script and the encoded file. Can any one make any since or tell me what I am doing wrong?

Software Development perl
Member Avatar for KevinADC
0
75
Member Avatar for yuleball

hi I am designing an editor program. I am using ChrW() and AscW() functions to print the character on screen. I want to implement combining diacritical marks(or accent marks) i-e if i print a character and then i want to put diacritic on it by using specific key then i …

Software Development visual-basic
Member Avatar for yuleball
0
206
Member Avatar for tino

Hi' there... Anyone with an interest in AI ?? We have been working on an AI-system for quite some time and now invite others to participate. The basic concept in the "game" we are constructing is as follows: You have an aquarium filled with 3 types of insects. By adjusting …

Member Avatar for tino
0
254
Member Avatar for firoz.raj

Kindly find the attachment [B]17dpo.zip[/B] thatsort issue is resolved now i want when user should clickon grid1only item_code, product_name, unit should come and cursor should be at quantity column so that user put quantity on that cell for material requisition. kindly find 17dpo.zip

Software Development visual-basic
Member Avatar for Ashwani_chaudha
0
479
Member Avatar for midimatt

hello again, just tried to compile my project and i'm getting errors with a file cstdlib Error 2 error C2039: 'abort' : is not a member of '`global namespace'' c:\program files\microsoft visual studio 9.0\vc\include\cstdlib 23 Error 3 error C2873: 'abort' : symbol cannot be used in a using-declaration c:\program files\microsoft …

Software Development c++ visual-studio
Member Avatar for grumpier
0
451
Member Avatar for Thamizh Bharat

Hi. I want to implement a mouse using a webcam. I would be tracking a laser pointer dot using a webcam and converting that point to mouse coordinates. I want to develop a java application for it. I am a beginner in java so i would be very thankful if …

Software Development java video webcam
Member Avatar for PhiberOptik
0
126
Member Avatar for hctstudent

Hey everyone, heard the people here are good so I thought u were the only ones to help me in this i keep getting these runtime errors [icode] Exception in thread "AWT-EventQueue-0" java.lang.NumberFormatException: empty String at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:994) at java.lang.Double.parseDouble(Double.java:510) at MainClass.actionPerformed(MainClass.java:263) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) at …

Software Development java java-swing
Member Avatar for quuba
0
126
Member Avatar for amt_muk

Hello Friends, I am trying to porting an unix c++ program into windows using MSVC8.0 compiler. In my unix version there are some lines like [CODE] #include <sys/atomic.h> ... atomic_add_int_nv() ... [/CODE] Now, pls help me to find out the Win version of these code segments. Thanks, Amit

Software Development c++ unix
Member Avatar for cikara21
0
99
Member Avatar for caren921

I'm attempting to code the method below. The code accesses a program call bean to a COBOL program on the iseries. From what I can see, the COBOL program is accessed correctly yet nothing is returned to the method below (I have verified this by stepping thru debug). All of …

Software Development java
Member Avatar for quuba
0
109
Member Avatar for lllllIllIlllI

Hi everyone Well, python 3.0 came out just about a week and a bit ago and i though, now people have had a chance to download it and play around with it a bit, what do you think of it? Is it better? What's the best new feature? Stuff like …

Software Development python
Member Avatar for Stefano Mtangoo
0
117
Member Avatar for Mr.UNOwen

So I know how to do animation and I know to deal with components, but I don't know how to do both. How can I isolate the drawing of the components from the animation? The particular problem I'm having is when I have an opaque component over the animation? I …

Software Development java
Member Avatar for Mr.UNOwen
0
114
Member Avatar for Guigo

Hi, I would like to know how can I apply visual styles in my projects. I've tried to use System.Windows.Forms.ButtonRenderer.DrawButton, but it doesn't seem to work. I have Visual Styles enabled, so I don't know whats wrong. Thanks

Software Development vb.net visual-basic
Member Avatar for Guigo
0
155
Member Avatar for cam875

this is a really strange one since it doesn't make sense why the program just starts running then shuts down without executing the system("PAUSE") at the end. here is the source code, thanks in advance to any help. [code=cplusplus] #include <iostream> #include <fstream> #include <vector> using namespace std; int main() …

Software Development c++ open-source
Member Avatar for cikara21
0
97
Member Avatar for cam875

When i compile this code i get an error which states main.cpp|38|error: no match for call to ‘(std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >) (long int&)’| I am going to assume that this is something to do with trying to put the string in a different kind …

Software Development c++
Member Avatar for cam875
0
110
Member Avatar for Ronen444

Hi ! Thank everyone who helped me with my other question ! But i got something else to ask... Let's say that in my C++ Console, the user sets its user name, and in the next time the software runs it says : "Hello, USERNAME !" But, Problem : I …

Software Development c++
Member Avatar for twomers
0
186
Member Avatar for legilimen

Am searching for an efficient algorithm for generating solved Sudoku given the size(rows and column) of the board as input. i have written a program but its performing badly when the number of rows and column exceeds 40 (ie 40 x 40 matrix ). [CODE] import java.util.Scanner; public class Main …

Software Development algorithm java
Member Avatar for BestJewSinceJC
0
254
Member Avatar for peter_budo

I have two questions ( these may be very simple, but I'm concentrating on different things so I need somebody push me in right direction as not to waste time, bold said but that is reality) [LIST=1] [*]Passing object from top component to lower ones I have GUI where after …

Software Development gui java
Member Avatar for BestJewSinceJC
0
166
Member Avatar for midimatt

Hello everyone, got a really strange and annoying error. When i compile my program i get 2 errors and 2 warnings all 4 to do with stdlib.h error C2381: 'exit' : redefinition; __declspec(noreturn) differs c:\program files\microsoft visual studio 9.0\vc\include\stdlib.h 371 i did a little research on the problem and found …

Software Development c++ visual-studio
Member Avatar for midimatt
0
199
Member Avatar for GadiK

Hello, I'm writing a GUI using MFC. I have a number of press buttons that preform identical tasks on different members of an array. I know how to make a handler function for each button. I'm looking for a way to use the same function for all buttons and within …

Software Development c++ gui
Member Avatar for Comatose
0
117
Member Avatar for solarwarrior

i'm making my minor project in steganography. but i'm not getting any useful information about f5 algorithm of hiding data in a JPEG image.it makes some use of DCT quantized coefficients ,please help me !!

Software Development algorithm java
Member Avatar for solarwarrior
0
92
Member Avatar for Simran1

Hello, What is Abstract classes.Please tell me the definition and how to implement this also tell me please. I'm waiting for your reply. Thanks

Software Development c++
Member Avatar for Agni
0
157
Member Avatar for creativehacker

I want to do versioning for text files which are stored in folder. Each time the user opens the file from the application he edits and saves, this should become new version. later the versions should be displayed near the file name.. Anyone please give me an idea of how …

Software Development
Member Avatar for LizR
0
72
Member Avatar for rajeesh_11

Hi, I trying to run a Axis JAVA client with a GSOAP C++ server. Here in the below given code I am trying to make an asynchronous call from the JAVA client using "sendReceiveNonBlocking" API. On the GSOAP server side I am using the "soap_send_..." for the asynchronous behaviour. I …

Member Avatar for rajeesh_11
0
387
Member Avatar for Blackeagle

hello, i'm new with scripts and linux and need a little help. i made a text file called colors using a vi editor and contains as follows: red green blue gold now i want to delete the 2nd line with the word green using a script file. well i know …

Software Development shell-scripting
Member Avatar for Salem
0
123
Member Avatar for cVz

Hey there, i am trying to zip .bak files while making the backup , this application schedules backups and then backs up databases on the server , so now i want to zip or compres these files , can anyone give me some advise on how to do this ?? …

Software Development
Member Avatar for ddanbe
0
162
Member Avatar for iamstrange14

I'm trying to take a string of numbers and convert it to an actual number. I can successfully convert it if it's just one digit, but I'm unsure how to convert a number with two or more digits. [CODE=nasm] section .data str: db '3' ;string to be converted section .text …

Software Development assembly
Member Avatar for Salem
0
116
Member Avatar for andrepezzo

Hi, I have a simple class with 2 constructors.(It's very long so I won't paste it..). I assign the value of a boolean static field according to the used constructor. I also have implemented serialize/deser methods. My problem is the following : I have to perform different serialization/deserialization actions according …

Software Development java
Member Avatar for ~s.o.s~
0
1K
Member Avatar for mrnutty

[code]#include<iostream> #include<fstream> #include<cmath> #include<iomanip> using namespace std; unsigned __int64 Fact(unsigned __int64 x ); int main(){ /*n! means n (n 1) ... 3 2 1 Find the sum of the digits in the number 100!*/ cout<<Fact(100); } unsigned __int64 Fact(unsigned __int64 x ) { __int64 num(0); if(x==0) return 1; else { …

Software Development c++
Member Avatar for grumpier
0
117

The End.