132,726 Archived Topics
Remove Filter ![]() | |
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 | |
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 | |
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. | |
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 | |
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++ | |
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 | |
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* , … | |
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 … | |
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 | |
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 | |
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 | |
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 | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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 | |
Can anybody send me the source code in JAVA platform for Networking monitoring Software Development java | |
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 | |
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 | |
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 | |
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 … Software Development c++ first-post open-source operating-system | |
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 | |
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 | |
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 … | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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++ | |
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++ | |
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 … | |
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 … | |
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 | |
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 … | |
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 !! | |
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++ | |
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 | |
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 … Software Development apache api c++ client-server file-stream java web-server xml | |
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 | |
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 | |
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 | |
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 | |
[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++ |
The End.