43,549 Solved Topics
Remove Filter ![]() | |
Hello, Code below has requirements commented in. I don't get any errors, but when I go to run it, I immediately get a stack overflow and program closes. I don't even know where to begin to look. I am too new at this. Without a road map to errors, I … Software Development | |
Hello all, i want to make icon (shortcut to run my program) on System Tray (usually on Right bottom) with code, i'm using visual studio 2008 c#, on classlibrary project, thanks before :D Software Development visual-studio | |
Dear all I am brand new to C# and have previously only written programs in Javascript, so go easy on me ! I have written an "app launcher" program which reads a text file line by line. Each line is just a path to a program e.g. C:\Users\Matt\Desktop\Gravity.exe So far, … Software Development c# | |
Hi, I have a dilema, I have an MDI app and I open new forms as [CODE] In modBas.bas: Public frmD(50) As frmDocument MDI Form Load (frmMain): Static lDocumentCount As Long lDocumentCount = lDocumentCount + 1 Set frmD(1) = New frmDocument frmD(1).Width = 320 * Screen.TwipsPerPixelX frmD(1).Caption = "Page - … Software Development visual-basic | |
I'm am reasonably new at coding and am currently studying it at College. While in my break I found Project Euler a neat little site with problems which I have been working through for an extra challenge. This is the question that I am stuck on: [url]http://projecteuler.net/index.php?section=problems&id=8[/url] basically you are … Software Development java java-swing | |
Hi, Im undergoing a project at the moment and have stumbled onto an error which a could solve nor understand even with google help... So, the C program Im making is suppose to sort an array of surnames into alphabetical order, also the user can use the menu to pick … Software Development c | |
Hello, I got a problem, I can save my data to access database and in the access database field I set it to date/time. But problem is when I get the value out from the database.. the format is always month/day/year hour:minutes:seconds example today: 5/2/2011 12:00:00 How to get the … Software Development listview microsoft-access vb.net ![]() | |
Hey there. So i started using crystal reports, and it works great. Ive just hit a wall.. So there are branches with students in those branches. Now what i want to accomplish, is i want the user to be able to choose what branches to show in the report. I … Software Development display | |
Hi all, I am using Eclipse to create a slideshow program. Currently have anything set up and it works fine. However I would like my BufferedIamges to be made into a video with a time frame of 15seconds for each picture. I only want to have maybe up to 4-5 … | |
first my task was to write this program that checks that string t contained in string s or not and i successfully made it and now i have to change this program a little bit and now i have to use a bool function in this program any one can … Software Development c++ | |
Hello I currently have a program that collects data from a txt file and then works out the averages of each column. What I am now trying to do is use this data to draw a line Graph for each individual column contained within the txt file. This is the … Software Development | |
hello, I just signed up to ask...How would I store the information from my code(see below) into a object? I'll be naming the object employees. The code I have now executes this:(please tell me if there are any mistakes on the code I have so far) 1.Ask the user to … Software Development python | |
[code] class A { virtual void func()=0; }; class B : public A { void func (); }; class C : virtual public B { void func(); }; //I receive an A* pointer through a function in an LPARAM type argument //and i must downcast from an A* to a … Software Development c++ | |
Is it possible to communicate with java to a usb that has been converted into an antenna, that sends and recieves signals to/from a remote controlled car? Software Development java | |
Hey Everyone, I'm new to this form, and I seem to like it so far. Anyways, I have this Project that i'm nearly done with but in the sub-class I'm getting 0.0 as an output instead of the actual calculation. Below is the project and the code: You are requested … Software Development java | |
[CODE]public string bob = "hello";[/CODE] This works [CODE]public string bob; bob = "hello";[/CODE] This does not? Thank you Software Development | |
Hi, I am using HTTPRequest and HTTPResponse to get the page source of a site. and i'm getting a warning message "Enable JavaScript to view your site". Is there any request i should add to enable JavaScript Software Development java javascript | |
Hi, I am working on a project which requires to update a JEditorPane or JTextField simultaneously by multiple clients. It is something like this. [B][1]. There are several users( i.e a group) with the same application which contains a JEditorPane. [2]. There is a group leader for a group( note: … Software Development java lan-wan multithreading socket-programming | |
[CODE] #include <iostream> #include <vector> #include <algorithm> using namespace std; class A { public : void getData(vector< A > &); void putData(vector< A > &); private : int x; char name[90]; }; vector< A > v; void A :: getData(vector< A > &Aref) { cout << "id = "; cin … | |
here is my one class (controller) and the other (GUI) what is happening is inside the SearchListener inner class for the button, I am calling a method from the controller class (i have already tested the parameter sent and that part works fine) but when i click on a code … Software Development api gui java java-swing web-server | |
Hi, There are a way to separate the string by commas? Please Help. Best Regards Software Development visual-basic | |
Hey guys! I'm trying to write a program that involves a switch/case on Microsoft Visual Studion 2010. Unfortunately, some of my variables are not being initialized. I am a very novie programmer so please have mercy on me! Two of my options (1,4) are working but options (2,3) are not. … Software Development c++ | |
Consider the following two classes. [CODE]public class Dog { public void act() { System.out.print("run"); eat(); } public void eat() { System.out.print("eat"); } } public class UnderDog extends Dog { public void act() { super.act(); System.out.print("sleep"); } public void eat() { super.eat(); System.out.print("bark"); } }[/CODE] Assume that the following declaration appears … Software Development java | |
Hello, I have a line on my image and i want to find the maximim grey-level value on that line . so i need to scan the line and pick the pixel with the highest value how can I do this? should I calculat the gradient magnitude ? Thanks in … Software Development c++ | |
need some help with this lab this class is to draw a line with *'s i guess in the command prompt since it uses System.out to print i was given the function names and the comments that tells me what the function does i wrote the code in the functions … Software Development java | |
What are the most useful keyboard shortcuts for visual c++ 2008? Software Development c++ | |
Ok, So I'm amking a game and need walls so you can't walk through walls (This is a top down view game, screenshot [URL="http://turt2live.servebeer.com/game_stuff/walls.png"]here[/URL]), although, my calculation for seeing if you are going to hit a wall slows down the game with the 3 walls I have (I stopped making … | |
Hi I am new to python. I am trying to get my fraction program to work but I keep getting this error message: Any advice would be helpful! [ICODE] File "main.py", line 5, in ? from fraction import* File "/home/students/bf133052/CS4223/fraction.py", line 10 def__init__(self,numerator,denominator=1): ^ SyntaxError: invalid syntax [/ICODE] here is … Software Development python | |
hey there, I am trying to make my first connection to a mysql server with java. I took the following code from another thread: [CODE] import java.sql.Connection; import java.sql.DriverManager; public class Connect { public static Connection ConnectDB() { Connection conn = null; try { String userName = "root"; String password … | |
I am learning C/C++/oracle/Unix? I am thinking of developing some application on my own, but I have no Idea what else is required. If you take an example of C++.I have very basic knowledge of it(data types, oops concepts,vectors,file handling,exception handling etc) I am not an expert though. I have … | |
Hello. I'm learning C with "The C Programming Language" book, and I'm trying to solve exercise 1.13: "Write a program to print a histogram of the lengths of words in its input. It is easy to draw the histogram with the bars horizontal; a vertical orientation is more challenging." I … Software Development c | |
Hye dear ! please till how barcode reader read and put code in VB6 textbox.for example in the General store software.If you have any example please send me. zeb noon Software Development visual-basic | |
I am trying to move a ball using time. What do I need to know to move the ball? How can I move the ball 20 pixel per second? [CODE]#include <allegro.h> int ballx = 320; int bally = 240; void ball(){ if(key[KEY_RIGHT]){ } else if(key[KEY_LEFT]) { } acquire_screen(); circlefill(screen,ballx,bally,5,makecol(255,255,255)); release_screen(); … Software Development c++ | |
Hey I'm making a small application for my gaming buddies, and I have a picturebox that I'm drawing on. The problem is, it appears as though the Location property of the MouseEventArgs is wrong, and it becomes even more so toward the bottom + right portion of the picture, like … Software Development gaming | |
I can't make my array work. I have never encountered this error before and I am a beginner programmer, this is my homework assignment. Please help! I really don't understand/know a lot of terminology, so it would be most helpful if you showed me how to change my errors. Thank … Software Development c++ | |
I want to expand my Jtree nodes into multiple lines. Any idea for how to achieve this? Software Development java | |
I have just started looking at simple cryptography in order to learn python better. Encryptions and decryptions should be speedy and accurate so im hoping it will improve my programming skills. I recently wrote this quick script for a shift cypher but i wasnt sure how to be able to … Software Development encryption python | |
Hey, everybody, I'm a newbie at Python (2.7.1), and new to DaniWeb as well. and the apparent simplicity of Python got me interested in programming (seriously, the only thing before this was HTML). Anyway... I was taking a test and thought that after I was finished I could make an … Software Development python | |
Hi, I put 4 buttons on my form. [B]cmdFirst cmdPrevious cmdNext cmdLast [/B] How can I navigate my MS Access database using these buttons. I don't want to use .ADO instead I would like to use my own buttons with code (OLEDB). Sample code for this purpose would be highly … Software Development vb.net | |
Hey, I am new to python and was wondering how to import modules? I want to import the datetime module. Do i have to download it from a website? Thanks Software Development python | |
Hi all, I need to set some variables via Pysnmp which take 'unsigned int' only. Is python int by default a 32 bit- signed int? How do I convert it into 16 and 8 bit- unsigned ints? I need to read two registers consequently( which are of 8 bits each) … Software Development python | |
this is my program [CODE] using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { char[] d = new char[12]; string dd = "5Ed5v3a4r3d4"; for (int i = 0; i < dd.Length; i++) { d[i] = dd[i]; { if (d[i] >= … Software Development | |
Hello I have a class with an sql statement to return a list of customers from a postcode search from a database. Then on my form I am attempting to return a sorted list of these customers into a list box for selection. Could someone please tell me how to … Software Development | |
I had posted this before. But I am more on the right track. The places that I need help with have something saying like "need something here" or "need to fix the way it is displaying" I can't figure it out. I also am not sure if the multiplication portion … Software Development c++ | |
Hello, I currently have 2 JFrames for my "game" (Not really a good one), one for the actual game and one for a minimap. What I can't figure out is that when you click off the game (for example to a browser or something) the game and minimap loose focus, … Software Development java | |
how can i know what type of drivers are used..type1 type2 type3 type3 type 4 ..some guys in my class do that..by just looking at these two statements...help me ..;) [CODE]Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); conn = DriverManager.getConnection("jdbc:odbc:bike","scott","tiger");[/CODE] Software Development java | |
Hello, I currently have this code to buffer an image: [CODE] public void paintComponent(Graphics g){ Graphics2D g2 = (Graphics2D) g; ImageIcon icon = new ImageIcon("back.gif"); Image image = icon.getImage(); BufferedImage buff = new BufferedImage(image.getWidth(this), image.getHeight(this), BufferedImage.TYPE_INT_ARGB); Graphics2D b = (Graphics2D) buff.createGraphics(); b.drawImage(image,imgX,imgY,this); b.setColor(Color.BLUE); b.fillRect((window.getWidth()/2)-13, (window.getHeight()/2)-13, 26, 26); g2.drawImage(buff, 0, 0, … | |
I have two functions. One is supposed to fill in an array, and the other takes that new array, finds the lowest number in that array, and prints the subscript. int getNumAccidents(int acc[], const int size); [B]Fills array num_acc[][/B] int findLowest(int acc[], const int size); [B]Takes num_acc[], finds lowest value … Software Development c++ | |
Hi Everyone, Can you reply with a tutorial and maybe a sample project that can be downloaded that shows how to update a database such as MS Access from DataAdapter commands in which changes are made in a DataGridView? For example, the DataAdapter contains 2 tables called FirstTable and the … Software Development vb.net |
The End.