132,726 Archived Topics
Remove Filter ![]() | |
Hi, i am having a bit of trouble condensing some basic drag and drop code and i am hoping that someone can help me. to reduce code i have created a subroutine to handle the proces, however i still have a large number of event handlers calling this process. I … Software Development vb.net | |
Hi there! I've developed a program in C# that calls a stored procedure in SQL server. Is it possible for a stored procedure to pass back a result set with multiple rows? If so how do I access these values in my application. Many Thanks! | |
Hi: Hello everyone. At first you may be thinking so what is the big deal in implementing paging. But actually its not that simple. Here is what i have to implement. The main parent window where the user gets the records in a datagrid based on dates params in the … Software Development | |
Hello All, I am developing one software in which i am reading from CSV file, And I am able to see that data in DataGridView and now i want to copy that data into a table Name customer from database name MainData.mdb. While I wanna check that the CustomerCode already … Software Development vb.net | |
Hello Daniweb community, I am and probably will always be amazed at Java. I was just wondering where did people learn Java... I was thinking about taking it up in my spare time to learn Java, and as a college student its not like I dont have plenty of spare … Software Development java | |
hi friends! I need to know how to create a graph in vbasic. please send the syntax.possible with eg. I also need to know how to link one form with another. Thanks in advance. elanch Software Development visual-basic | |
So i did my code, he asks for the string then i put it, then he tells me what string i put in but for some reason i dont understand he doesnt show the capitalized first letter for each word coverted string. Here is my code: import java.io.*; public class … Software Development java | |
I need help on these errors I get, I don't know how to fix them. Can someone help me please. [B]errors:[/B] theiving.java:6: <identifier> expected public void theiving(playerId) { ^ theiving.java:8: illegal start of expression public int stealtimer; ^ theiving.java:143: illegal start of type if ((c.objectID == 4462)) ^ theiving.java:143: <identifier> … Software Development client-server java | |
Suppose I have a function like that [CODE]char OnRelease() { int i,j,k; int row[4]={PIN_A0,PIN_A1,PIN_A2,PIN_A3}; int col[4]={PIN_D3,PIN_D2,PIN_D1,PIN_D0}; char array[16]={'1','4','7','<','2','5','8','0','3','6','9','>','C','&','E','M'}; set_tris_a(0xff); set_tris_d(0x00); k=0; for(i=0;i<4;i++) { output_d(0xff); output_low(col[i]); for(j=0;j<4;j++) { if(input(row[j])==0) { do { } while(input(row[j])==0); return array[k]; [B][COLOR="Red"]//// will jump out of this function with the value I got ??? [/COLOR][/B] } … Software Development c | |
Hello All I have two classes 1. Employee 2. Project both classes have a create function create function of Employee class creates a new Employee it takes object of Employee class as input parameter and return bool create function of Project class creates a new Project it takes object of … Software Development | |
Hi Friends, I am new to this forum as well as new to shell scripting. I have a problem here and i need someone to solve this. Let us consider there are two processes(abc & def).There is a script which kills these two processes(i.e killtheprocess abc). Here abc is the … Software Development shell-scripting | |
I want to write a string named output to the console screen. How do i do that? string output= "hello world" How can I write the output to the screen? | |
Hello friends my program (.exe file) is running cool in my machine but when i try to run it on other machines it does't work ................ i made it in VC#.......................can anybody tell me how to make an exe compatible with all the machines ..................... Reply is Must Thankyou Software Development | |
I am having a problem with nested loops. When I run the program it gives me the first 16 results want then it prints out more values than I require. I want it to print out 16 values then stop. I also do not know how to change the foreground … Software Development assembly | |
Hello, I'm new to these forums. So I know how to program from I/O operations to making your own headers files and.. i was wondering if anyone could point me in the direction of beginner programming tutorials for windows applications? i want to implement the stuff i know to actual … Software Development c++ | |
i have a group header on a data report(Section6), ill use this section to view the Comp. Name, Ip Add.. etc... while the detail section(Section1) will be used to view the applications used by each comp. obviously, each has thier own tables. my question is, How am i going to … Software Development flash visual-basic | |
Back to where I was, now I'm learning how to use fgetc properly. Does fgetc read in a character? If so I can't find my error in my code and I'm getting a a segfault. Can you help fix it and explain why it doesn't work? Thanks [code]#include<stdio.h> //declare variables … Software Development c file-stream | |
Hello DaniWeb users, I hope one of you can assist me. I did search and found nothing to help me. So below is my code and I am hoping that someone can please tell me what on earth I am forgetting. I have been playing with this for quite some … | |
I am a begginer at python and only know the very basics. I was wondereing if anyone was experienced at Python and had any time to help a begginer. As far as first projects go I wanna make a program that can generate random numbers, letters, or words (in 3 … Software Development python | |
I have a program which uses the SDL library. Here is my function which updates the input state: [code] int SDL_UpdateControls () { int qevent = 0; while(SDL_PollEvent(&event)) { qevent = 1; switch(event.type) { case SDL_KEYDOWN: SDL_keydown = event.key.keysym.sym; break; case SDL_KEYUP: SDL_keyup = event.key.keysym.sym; break; case SDL_MOUSEBUTTONDOWN: SDL_mousedown = … Software Development c | |
I have a homework assignment to create a program to calculate the full date of Easter Sunday between the years 1900 and 2600. The following is the error I receive: error C2784: 'std::basic_ostream<_Elem,_Traits> &std::operator <<(std::basic_ostream<_Elem,_Traits> &,const std::basic_string<_Elem,_Traits,_Alloc> &)' : could not deduce template argument for 'std::basic_ostream<_Elem,_Traits> &' from 'std::basic_istream<_Elem,_Traits>' My … Software Development c++ | |
heyy everione this is ma first post here ive been readin sum posts here for i guess for a month, i want u guys to suggest some codes or features in vb to make the layout of the forms attractive thx in advance... Software Development visual-basic | |
I have just started using python and am stuck on a particular project. I have been stuck staring at my computer not knowing what to do. I will post details below. What I am trying to do is use a CSV file named country.csv in which information about countries is … Software Development file-system python | |
I am new to python. Infact started yesterday and feeling out of place. I need to write a program which would transfer files under one folder structure (there are sub folders) to a single folder. I was going through COPYTREE in shutil. But some how I am not able to … Software Development file-system python | |
Hello all, this tools is used to load CSV files to SQL server table. all the tools that i found on the internet are not free, i have developed this tool so it can help you. regards download link here: [url]http://www12.sendthisfile.com/d.jsp?t=J8hEGXcRYqej3qrjku3N63Eh[/url] | |
I thought I knew what I was doing but I obviously don't. I have to make a file that takes numbers that the user inputs and converts them into fractions. I have most of the work done. I have constructors and return methods that create fractions and change some numbers … Software Development java | |
I'm getting an error message below and can't figure out why. The message is as follows: Exception in thread "Thread-3" java.lang.StackOverflowError at java.awt.geom.Ellipse2D$Float.getX(Ellipse2D.java:92) at java.awt.geom.EllipseIterator.<init>(EllipseIterator.java:25) at java.awt.geom.Ellipse2D.getPathIterator(Ellipse2D.java:405) at java.awt.geom.Path2D$Float.<init>(Path2D.java:215) at java.awt.geom.Path2D$Float.<init>(Path2D.java:190) at sun.java2d.pipe.LoopPipe.fill(LoopPipe.java:249) at sun.java2d.pipe.LoopPipe.fillOval(LoopPipe.java:123) at sun.java2d.SunGraphics2D.fillOval(SunGraphics2D.java:2158) I'm getting this on the specified line of the code below (`explosion[i].paintSprite(g);`). If … Software Development java | |
I'm trying to write a solution to the 8 queens problem. I am trying to start with a empty board. I keep getting the following error "error C2664: 'SetQueen' : cannot convert parameter 1 from 'int' to 'int [][8]' Conversion from integral type to pointer type requires reinterpret_cast, C-style cast … Software Development c++ | |
Develop a C++ program to determine a student’s letter grade based on a given integer test score. If the test score is 90 or more, the grade is ‘A’. If the score is between 80 and 89, the grade is ‘B’. If the score is between 70 and 79 the … Software Development c++ | |
Hi there. I'm pretty new to the C++ language (came from Python :lol: ) and I was wondering how to create a library. In Python I used to create files with functions that can be used in other programs, and I want to know how to do that in C++. … | |
I have been trying to work on this calculator for a while and I need help. I'm getting "12" errors. I'm very new at this and I really need the help of someone that can please take the time to explain what I'm doing wrong. I would really appreciated. [CODE]/* … Software Development java java-swing user-interface | |
Using the code below, I tried to implement a second line of code to delete another file in the same folder. I got an error message as a result. I'm using messenger as an example: I tried to replecate this line: const char * pFileToDelete = "h:\\MSN Messenger\\myfile.txt"; into something … Software Development c++ file-system | |
I keep getting operand size conflict errors when I run this program I cant seem to get it right! Write an assembly language program that will use multiple precision arithmetic to add the following defined word (dw) numbers in defined 16-bit registers (like ax, bx, cx and dx). (hint: use … Software Development assembly | |
I have a .csv file of data which has the following format: int,string,float,float,float,float, where the string is always 3 characters. I want to read the file in and sort column 5 relative to column 1. i.e. 1,b,1.11,2.22,3.33,200.00 3,c,1.11,2.22,3.33,100.00 becomes 3,c,1.11,2.22,3.33,100.00 1,b,1.11,2.22,3.33,200.00 etc. I'm a novice programmer and I don't quite … Software Development c++ data-structure | |
I have a JSP which inserts date into a MS Access database. But I keep receiving the error: 24: statement.executeUpdate("INSERT INTO Questions WHERE ID ='"+ID+"'(\"Question\", \"Answer\", \"Timestamp\", \"Author\", \"Customer_Useful\", \"Customer_NotUseful\") VALUES ('"+Question+"','"+Answer+"','this has been updated','"+Author+"','0','0')"); I have checked and checked all the values are there and correct and that the … Software Development java | |
Getting an Unhandled Exception: Here's a screen shot: [IMG]http://i25.tinypic.com/344d28l.jpg[/IMG] [code=c#] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace Chapter2Program3 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { while (Visible) … Software Development | |
Basically is this my test file for some reason is just giving me problems and so I'm currently in the moment trying to correct the problem. I'm also trying to beat a deadline tonight that would give me 20% EC on this assignment. What I need is for someone to … Software Development java programming-construct | |
Hi when I look at this website [url]http://www.parashift.com/c++-faq-lite/operator-overloading.html[/url], I don't quite understand for the section 13.14 about prefix++ and postfix++. Number x = /* ... */; ++x; // calls Number::operator++(), i.e., calls x.operator++() x++; // calls Number::operator++(int), i.e., calls x.operator++(0) why ++x is calling x.operator++() while x++ is calling calls … Software Development c++ | |
this would be my first time with arrays so i still have no idea how to use it i'm thinking on using it on this program [code=c++]#include <iostream> #include <conio.h> #include <string.h> using namespace std; int main() { char main_menu; char parts; char items[]; //here's the part i don't know … Software Development c++ | |
I am trying to use an overloaded + operator to find the total balance for two values. I am messing up with the way to set them up, or forgetting something. I am getting values such as -9.543e2433 The code I am using for the operator is [code] Account operator+(Account … Software Development c++ | |
OK, i found this site because I did a yahoo search to calculate the parking charges and print the total, Well someone else had it already posted but once I registered I lost it. I am not even supposed to be in this class but I have to take it … | |
Hello. I've been doing some programming recently that is supposed to delete files from a specified pathway [code=cpp] #include <iostream> #include <cstdlib> #include <windows.h> using namespace std; int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow); int main() { cout <<"Deleting file..."; // ??? What to do here? MessageBox(NULL, … Software Development c++ | |
Hi All, I am in a real confused state. I am graduating next month and my masters was mostly concentrated on theoretical concepts of software engineering. So I didnt get much chance to hone my programming skills. I have done java for few months back in india.. now I dont … Software Development engineering java | |
Hi All, I am trying to understand whatever problems reported by static analysis tools for a codebase , can they always be caught by some dynamic analysis tool like purify (other than coding style issues) , what I meant is if you discard coding style issue, is running static analysis … Software Development c++ | |
i hav write a coding regarding to lists topic. and i had found about 3 error which i cant solve. any1 here who can help me wif dis error? i m very appreciate 4 all of ur help..TQ..dis is my coding and the error..TQ [code=c++] List.h #ifndef LIST_H #define LIST_H … Software Development c++ | |
Ok, i see anagram solvers all over the internet, but what i dont understand is where they get a list of words from. Does C# have a library that has a list of words in it that you can select from for this situation? Software Development | |
im doin my final year project nw..its abt map...how i want to calculate distence between 2 points by clicking on that point1 and drag until another point2. i realy dun hv idea to do..realy need help from your guyz..thank you Software Development visual-basic | |
pls help..im working on my inventory for my thesis.. pls help me about the database, i need to save the transaction on the databse and then whenver i saved the data on it, i need to delete it on the other... the first datatbase is for sold products and the … Software Development visual-basic |
The End.