132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for triumphost

I have the following code to take a bitmap of a portion of the screen specified by the Box Area. Area is just a struct that holds Width, Height, X1, Y1, X2, Y2 and represents a box. Basically a RECT with additional features. For some reason, if Box is (0, …

Software Development c++
0
88
Member Avatar for mnewsome

Novice working with C#. Opened a project file to commence lessons with the Head First C# programming eBook. When reopened errors were found. Images are uploaded to a microsoft skydrive folder: https://skydrive.live.com/redir?resid=52B21D2F3F75A51A!1427 Hoping that someone experienced can stay with me until I can grasp each error and know precisely where …

Software Development ide visual-studio
Member Avatar for Momerath
0
167
Member Avatar for Webbsta

Hello everybody, I was wondering if anybody knows whether or not it is possible to send data too fast over a NetworkStream? I have an issue with my client/server program, where I am sending large files over normal IP address (Not Local) where everything used to work fine. It would …

Software Development c c# c++ client-server gui
Member Avatar for Momerath
0
342
Member Avatar for Krokcy

So i have a working network file transfer program now (if you want to see some of the code look at my other '[article](http://www.daniweb.com/software-development/java/threads/426357/networking-in-java-not-doing-it-right)'). But now that im trying larger files, im running into a problem where i run out of memory (which is understandable when the array is 1 …

Software Development file-system java
Member Avatar for Krokcy
0
4K
Member Avatar for naief

Hi all I need to put a program on the server that frequently get data from the web and update the database with these data and this program should do this automatically. Can anyone put me on the Beginning of the road. I read in some websites about servlet context …

Software Development java
Member Avatar for naief
0
102
Member Avatar for #include <lou>

Hi everyone, I am trying to pass the X and Y values that are in class Chart onto class NodeAvg, but cant come up with the code to do that.Any help appreciated: package Testing; import java.awt.Color; import java.awt.Paint; import java.io.IOException; import java.util.ArrayList; import org.jfree.chart.ChartFactory; import org.jfree.chart.ChartPanel; import org.jfree.chart.JFreeChart; import org.jfree.chart.plot.DrawingSupplier; …

Software Development java
Member Avatar for NormR1
0
211
Member Avatar for ninjatalon

I have this form that i need to save on Mysql database but i'm stuck on what I should do. This form needs to be done every 3 or 4 months. Every saved information stays saved in a row. This form has alot of radiobuttons,textboxes and comboboxes that I save …

Software Development mysql vb.net
Member Avatar for hericles
0
195
Member Avatar for iFrolox

Well i'll try to be clear as possible, i'm making like an account organizer (helper/tool) w.e you wanna call it, and for example i have 10 accounts. I want to delete account #5 (They are array), what i need it to do is move account #6, 7, 8, 9 & …

Software Development vb.net
Member Avatar for iFrolox
0
2K
Member Avatar for daydie

Hello guys here is the second program i have ever made from the help of daniweb. [url]http://www.youtube.com/watch?v=MQ0PvjJTnqI[/url] i just want to thank all of daniweb staff and members. i wouldnt of been able to create this otherwise. Also its something i learned for life now :)

Software Development vb.net
Member Avatar for Begginnerdev
0
172
Member Avatar for loserspearl

I've been working on a math tutoring program that generates unique math problems pertaining to differing types of math (decimals, variables, exponents, fractions, etc) and nearly any combination of each type of math. I have my class file generate and random amount of operands and populate those with values(decimal or …

Software Development
Member Avatar for loserspearl
0
178
Member Avatar for bettybarnes

Hello guys I'm new to C# programming. I'd like to know what's the equivalent of this Java static to C#? class NMM { public static void main(String []args) { System.out.println("java"); } static { System.out.println("great"); NMM.main(null); System.out.println("programmer"); System.exit(0); } } Any help would be appreciated.

Software Development c#
Member Avatar for bettybarnes
0
475
Member Avatar for XodoX

The input looks like this: Start 0 Run 40 Disk 0 Run 20 End Each word and number means something. The number is the time and the word a command. What's the best way to loop through it and evaluate it? So it's 2 different elements per line that should …

Software Development c++
Member Avatar for XodoX
0
139
Member Avatar for fatalaccidents

Hey guys, I am a non-root user on a linux machine and I'm working with mpi4py. I have an alias set to my python-2.7 that has all of the modules that I loaded into it. So if I type 'python' and then 'from mpi4py import MPI' everything is fine. The …

Software Development python
Member Avatar for TrustyTony
0
189
Member Avatar for Nole_diver

I am trying to created a comparison script to compare 2 dynamic arrays and then input a into a cell. So i would pull from column D and E and put information from Column F with a number added onto it. So the example of my process is: Load column …

Software Development visual-basic
Member Avatar for Stuugie
0
154
Member Avatar for mohan_m01

Generate XML from DataTable, along with count Hi, I have an sql result set assigned to a datatable. The result set is of the form ManagerId | VendorId | Count ------------------------------ M1 V1 10 M1 V2 5 M2 V1 10 M2 V2 5 M3 V1 10 M3 V2 5 I …

Software Development xml
Member Avatar for Mike Askew
0
145
Member Avatar for arvin2006

I have created installer from Visual Studio Package and Deployment, but after successful installation, the installer files (like dlls, images and all supporting files) modified date or even creation date has been changed and all have the same date depends on the date of installation. Is there a way I …

Software Development vb.net visual-studio
Member Avatar for Begginnerdev
0
156
Member Avatar for Mikey12345

Hi Im trying to achieve something which seems simple but is proving difficult. I have listview1 which will display the values of two textbox's when a button is clicked. I have listview2 which will make a calculation based on the two values in listview1 when a button is clicked. What …

Software Development listview vb.net
Member Avatar for Reverend Jim
0
166
Member Avatar for minsu44

Hello i am really just a begginner in assembly (TASM). anyway, my program is quite simple it is tasked to just ask the user's name and ID number. after which i have to print "hello <name> your ID is <number>" but I cant seem to print both of them at …

Software Development assembly
Member Avatar for TigerBoyPH
0
4K
Member Avatar for Suzie999

I'm currently concantenating an array like so... int _tmain(int argc, _TCHAR* argv[]) { //create buffer to receive path WCHAR pathbuf[MAX_PATH]; //get path into buffer DWORD pathlen = GetCurrentDirectoryW(MAX_PATH,pathbuf); //append file name to buffer pathbuf[pathlen++] = '\'; pathbuf[pathlen++] = 'f'; pathbuf[pathlen++] = 'i'; pathbuf[pathlen++] = 'l'; pathbuf[pathlen++] = 'e'; pathbuf[pathlen++] = …

Software Development c++
Member Avatar for Suzie999
0
213
Member Avatar for Lius

This same code run good on windows 7 32 bit Problem happen when i run it on windows 7 64 bit error : database is locked... public void genTablehadir() { tblKehadiran.setAutoCreateColumnsFromModel(false); m_data = new Kehadirantable(this); tblKehadiran.setModel(m_data); tblKehadiran.setRowHeight(23); //inisialisasi int m_Jalokasi=0,m_kode=0; Boolean m_alokasi=false; String[] parsePeriode; String m_npk="null",m_nama="null",m_ket="null",m_id="null",m_flagE="null",m_flagP="null",m_cekhk="null",m_ceksts="null"; try { db.createMasterConn(); rs1 …

Software Development java sqlite
Member Avatar for Lius
0
346
Member Avatar for UsSy

I have a Storyboard which targets an Ellipse. How do I make the Storyboard target an image which I have in a List<>? This is the code: <Storyboard x:Name="sbMoveImages"> <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateX)" Storyboard.TargetName="ellipse"> <EasingDoubleKeyFrame KeyTime="0" Value="-1"/> <EasingDoubleKeyFrame KeyTime="0:0:3" Value="641"/> <EasingDoubleKeyFrame KeyTime="0:0:5" Value="640"/> </DoubleAnimationUsingKeyFrames> <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateY)" Storyboard.TargetName="ellipse"> <EasingDoubleKeyFrame KeyTime="0" Value="1"/> <EasingDoubleKeyFrame KeyTime="0:0:3" …

Software Development c# smartphone
Member Avatar for nmaillet
0
176
Member Avatar for hszforu

I know how the ++ operator and -- operator works.This is my code to count the no of digit in an integer and it works perfectly. import java.util.Scanner; public class modified_sepadigit { public static void main(String args[]) { Scanner input=new Scanner(System.in); System.out.println("Enter a number"); int no=input.nextInt(); int noOfDigit=0; int tempNo=no; …

Software Development java
Member Avatar for hszforu
0
123
Member Avatar for mahela007

Is it possible to keep writing the output of a program on the same line instead of moving to a new line every time? The output should be written over the preceding output. An example would be a kind of counter... say a number that counts from 1 to 10 …

Software Development python
Member Avatar for Lucaci Andrew
0
11K
Member Avatar for jesskavidja

Hey there, I'm having issues with a custom string tokenizer I'm using for an assignment. I've looked around and haven't managed to find anything that really answers my question, so here goes nothing. Whenever I run the program and it runs the tokenizer, I get a seg fault. I'm fairly …

Software Development c
Member Avatar for Sokurenko
0
291
Member Avatar for Baduizm

I have a written code on a simple address book which allows addnew,view single entry and view all names. I have added the delete functionality to allow one to enter name to delete its entry but I get Error: [B]cannot find symbol return addressBookEntry.delete(); symbol:method delete() location:variable addressBookEntry of type …

Software Development gui java
Member Avatar for Mutucks
0
474
Member Avatar for rajesh_tawari

hello friends.. i want your hep.. i m searching for a mini project in java.. so please suggest some project titles to me..waiting for your reply.. thanks take care rajesh

Software Development java
Member Avatar for stultuske
0
364
Member Avatar for vaironl

I'm trying to learn exactly what is MVC or MVC patterns in code. I have done some research to a point where I believe I understand the meaning and use of this idea... But I do not entirely understand the concept. Is MVC( Model View Controller) pretty much, trying to …

Software Development javascript software-architecture
Member Avatar for Dean_williams
0
182
Member Avatar for i08000934

as mention in the title, im currently developing a system which can 1. Scan the LAN and list out all the active nodes. 2. Server able to manage the network access of client PCs.

Software Development client-server socket-programming
Member Avatar for i08000934
0
121
Member Avatar for triumphost

I've just read a tutorial on Classes Under the hood/behind the scenes. It says that: Foo* A = new Foo(); // Is different from: Foo* B = new Foo; What in the world? I never put the brackets for my classes like that. Why does the first initialize variables and …

Software Development c++
Member Avatar for mike_2000_17
0
271
Member Avatar for C:\>

If i create an object in Class1 and save some data in that object in Class1, how can i access that same data in Class2? Here's a code sample that should clarify my situation: Class1.java: public class Class1 implements Runnable { public ClientArray ca; public Class1(int port) throws IOException { …

Software Development java
Member Avatar for delta_frost
0
245
Member Avatar for excitedreams

I am opening a website in a web browser control in vb.net 2008 . I want to programatically fill a form which is on the 3rd page of the website . But my code is unable to fill it . Can u plz guide me . I am using the …

Software Development vb.net web-browser
Member Avatar for iFrolox
0
138
Member Avatar for arizan

hiiiiii i have some problem for developing the code for addtion of 3x3 matrix class the code which i have develop is given below. but this class is not executed in vb.net code. dont know whats getting wrong in it as m nt getting the required result. please help me …

Software Development vb.net
Member Avatar for TnTinMN
0
1K
Member Avatar for KY_Fan

This class just keeps getting worse. My next lab he had us do is this, **"Write a program that computes the intersection of a circle with a horizontal line and displays the information textually and graphically".** He gave us absolutely no help or anything to do this. He just said …

Software Development python
Member Avatar for KY_Fan
0
425
Member Avatar for codercpp1

I'm not sure how to do this, but i'm making a small shell in C++ in command line, with a few external scripts and executables being called. What I want to do is either make a simple web browser or a way to show web pages in C++, or if …

Software Development c c# c++ web-browser
Member Avatar for c++Fun
0
2K
Member Avatar for poloblue

Good Afternoon, I'm having difficulties with a program that deal getting the letters frequencies from an input text file. So far I have this code. Cpp file: #include <iostream> #include <fstream> #include <string> #include <cstring> #include <cmath> #include <cstdlib> #include <iomanip> #include "lab_19_head.h" using namespace std; int main( ) { …

Software Development c++
Member Avatar for Ancient Dragon
0
98
Member Avatar for nikolaos

In a previous thread i had described a problem i had to transfer a frame or panel and all it's components as an image into a buffered image. I thought i had found the solution but it seems i am doing something wrong. In line 162 i call the method …

Software Development image java java-swing
Member Avatar for NormR1
0
487
Member Avatar for hughesadam_87

Hi, If I have a list of strings, it's easy to output them using .join(). For example: mylist=['hi', 'there', 'girls'] myout='\t'.join(mylist) What I want to know is if there is a builtin python method that acts like join, except it automatically converts ints and floats to strings without giving a …

Software Development python
Member Avatar for TrustyTony
0
124
Member Avatar for XodoX

I have a linked list where the input is read into. The 2 types of input have to go into a queue. 1 queue for each type. I suppose that the output line of the linked list can be used to read it into the queue ? I know it …

Software Development c++ linked-list queue
Member Avatar for XodoX
0
161
Member Avatar for Cap'nKirk

Hi all, for a while now I have been trying to figure out how to output a complete list of RGB color values to a combobox but am really stuck as to how to start. The values need to be sequential starting at (0,0,0) right the way up to (25,255,255) …

Software Development
Member Avatar for Cap'nKirk
0
125
Member Avatar for Lucaci Andrew

Hi. So I get this weird error message out from a QT application that i'm creating: 0xc0000005: read access violation at: 0x0, flags=0x0 Basically what I'm trying to do is to set in a QT List Widget an item of type QList Widget Item in which I store two things: …

Software Development c++ microsoft-access qt
Member Avatar for Lucaci Andrew
0
3K
Member Avatar for sparsh610

hello friends... **1**. struct node *p; p=malloc(sizeof(struct node)); **2**. struct node *p; p=malloc(sizeof(struct node *)); what is the difference between 1 and 2 code :) pls help

Software Development c
Member Avatar for mike_2000_17
0
84
Member Avatar for sparsh610

hello friends, i have some problem with the concept of singly link list,,, don't know how to read it backward pls help

Software Development c
Member Avatar for mike_2000_17
0
852
Member Avatar for Remy the cook

I have to write a program that finds a pattern in a text using Brute-force method. I have made functions to read the text file, pattern file and to execute the brute force algorithm(called match). These are called in main(). i need to store the index (at which the pattern …

Software Development algorithm c++
Member Avatar for Remy the cook
0
235
Member Avatar for Psyho

Hello I am in need of information. I have the following: xx.func(1).func(2).func(3) how should the func be written for it to work? Thanks

Software Development c++
Member Avatar for mike_2000_17
0
254
Member Avatar for JESIA72

hey all iv have an assignment(wrtie an employee payroll program) which iv seen alot of other people have posted about so sorry for bringing it up again but im stuck. Iv made the program and it runs fine but it always calculates grosspay and netpay as 0.0 everything else (firstname …

Software Development business-entrepreneurship java
Member Avatar for jLocke
0
566
Member Avatar for Ruan10

The menu strip must be created programmatically (ie NOT dragged and dropped onto the form). The exit option added to the menu strip must exit the application (This works) A structure must be created to encapsulate all the questions and suggested answers. The structure must contain: 1.Question String 2.Answers Collection …

Software Development vb.net
Member Avatar for Ruan10
0
168
Member Avatar for IT_Techno

hi ineed a help in C# programming language i want to know how to a ccount how many Fridays and Saturdays in specific month can i do it in C# With Regards,

Software Development
Member Avatar for Momerath
0
556
Member Avatar for 4evrmrepylrning

I have this: import re subs = [] def subcons(data): match = re.search(r'(<[a-z]{3})', data) if match: subs.append(match.group(0)) data = data.replace(match.group(0), '') subcons(data) else: print data return data, subs input = 'ABC <uvw <xyz some random data' e, f = subcons(input) print e print f The print statement in the else …

Software Development python
Member Avatar for TrustyTony
0
212
Member Avatar for wallet123

> Hey guys! good evening! > hope you can help me with this one. > this is the thing that i want to do!: > > -Input 2 values : 1 string, and 1 int > -the string should have only letters (cant contain numbers!) > -encrypt the string using …

Software Development encryption java
Member Avatar for wallet123
0
192
Member Avatar for me_coolvibes

Hi, I have just started learning VB.NET and recently tried to write my first piece of code. I am getting an error message that says: ******Statement cannot appear within a method body.End of method assumed. ****** Here's my piece of code: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As …

Software Development vb.net
Member Avatar for me_coolvibes
0
191

The End.