132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for WildBamaBoy

I couldn't find anything that would do what I am trying to do with my client and server. Mainly, I want to click a button that will start downloading a file I select on the remote computer. Optionally I would also like to show the transfer rate, estimate time remaining, …

Software Development client-server
Member Avatar for agugglez
0
107
Member Avatar for markdean.expres

Guys I was just wondering if I could create a simple downloader created using VB 2008. The user will enter the complete address of a file from the internet, click the Download button then the downloading process will start. There should also be a button labeled "Paste" which will paste …

Software Development vb.net
Member Avatar for markdean.expres
0
178
Member Avatar for jenius27

Hi, Im new to the windows .NET platform and I was wondering if someone can guide me. I have a c# program that implements an interface. Inside this program, I have a method where I get an array of processes running on the workstation and I look for a specific …

Software Development c# client-server
Member Avatar for agugglez
0
184
Member Avatar for dahaker

Hi guys im making this homework on a program that the user will input the time in seconds and it will calculate the velocity and acceleration based on these formulas. Ive tried to compile the program but im getting 2 times "an illegal else without matching if" now the error …

Software Development c c# c++
Member Avatar for dahaker
0
3K
Member Avatar for lochnessmonster

if a constructor OR public member function throws an exception, will the objects destructor be called automatically?

Software Development c++
Member Avatar for mike_2000_17
0
100
Member Avatar for WolfShield

Hello everyone, I am trying to get an ActionListener to work in Java. On lines 310 and 312 it says 'cannot find symbol: variable calcDisplayF'. I am a complete noob when it comes to Event Handling so any help on this subject would be greatly appreciated. Here is the code …

Software Development gui java java-swing
Member Avatar for WolfShield
0
166
Member Avatar for waleed.makarem

Dear All , The question is simple , but may be It is very simple for me that I can not see it . I have two dataset , each with with table . each datasets is connected to a separate dataadapter to get data from sql server database file …

Member Avatar for Ranx
0
194
Member Avatar for chaosgeneration

Hey all, I'm currently working on a project that exemplifies matrix multiplication algorithms. My problem isn't working on the algorithms, but more of the structure of the classes. If any of you wouldn't mind looking over my code and helping me get a little more familiar with how things should …

Member Avatar for chaosgeneration
0
128
Member Avatar for pseudorandom21

Is there a way to store binary code in memory (as a value) then execute it? For instance if I have an array of bytes I have filled with the binary code of say, a .exe, is it possible to execute it?

Software Development c
Member Avatar for gerard4143
0
3K
Member Avatar for newbieha

Hello I want to write a loop that quit the loop if the user hits Enter or there is negative number. this is what i have so far. it only quits the loop if user enter characters. [CODE] import java.util.Scanner; import java.util.ArrayList; public class loop { public static void main(String[] …

Software Development java
Member Avatar for newbieha
0
111
Member Avatar for mitrious

I'm implementing a bi-directional iterator for a class (a simple list that holds strings) ... the book I'm using asked me to do so ... (I'll have to implement a version of the standard list class afterwards) ... but my iterators just won't work... here's what I have my iterator …

Software Development c++
Member Avatar for mitrious
0
161
Member Avatar for Cale93

Hello there, I'm struggling with my computing coursework in college and I though I'd ask here for help. My issue is simple but I can't get it right. I need to validate the text into a textbox and check that it contains ONLY alphanumeric characters, but it MUST contain both, …

Software Development vb.net visual-basic visual-studio
Member Avatar for Cale93
0
3K
Member Avatar for m1234ike

Hello, I am trying to create an application that cleans the current directory i.e Cleanup/text folder >> test.txt and 2test.txt ect... I have two problems: 1st I cannot cleanup all of the Shortcut files i.e. Adobe.lnk ect... ########################################################################### Here is what I have so far for the .lnk files: [code] …

Software Development vb.net
Member Avatar for Huntondoom
0
131
Member Avatar for desert564

Correct Sequence of brackets is always of primary importance both for written programs and mathematical expressions. By correct sequence we mean that for every opening bracket there is a closing bracket. The problem is to write a program that takes a random sized (size max 15) input of brackets from …

Software Development java
Member Avatar for jon.kiparsky
0
197
Member Avatar for bertm81

Hi, I am new to python and am wondering is it possible to name a method after a variable. I know I can name a variable after another variable using [code=python] test = "temp" vars()[test] = 123 print temp [/code] this will print 123. so I was thinking something like …

Software Development python
Member Avatar for bertm81
0
222
Member Avatar for sirko

Here's the deal. I need program to read from text txt file and then write numbers into one file and letters into the other... I figured how to read and write to file (using iterators) but I can't figure out how to make the program sort numbers from letters. #include …

Software Development c c# c++
Member Avatar for sirko
0
246
Member Avatar for mpike

ok so i've just started using visual c++ for my coding. I'd like to add a sound files to my current project. I've looked up so many ways to do this from allegro to directx and BASS but i cant seem to get anything to work. I've been looking into …

Software Development c++
Member Avatar for mpike
0
164
Member Avatar for tubesnube

Hi, myself and two of my friends are creating a game that imitates that of Whack-a-mole. I am trying to implement code so that when I click on the mole with the mouse, the image changes to a different image, eg. the image when just moving the mouse is a …

Software Development image python
Member Avatar for tubesnube
0
2K
Member Avatar for jnolan19

I have been trying to figure this out as the instructor is of no help in his teaching. Need to declare variables for the average score and the letter grade. Calculate the average, use IF/ElseIF statements to determine the letter grade, and return the letter grade. The Private Function CalculateGrade …

Software Development vb.net
Member Avatar for codeorder
0
172
Member Avatar for bpatt22

[CODE] class Player(object): def __init__(self): self.points = 0 def add_points(): plyr1.points += 1 plyr2.points += 1 plyr3.points += 1 if __name__ == '__main__': (plyr1, plyr2, plyr3 = (Player(), Player(), Player()) add_points()[/CODE] How could the 3 lines in add_points() be written better/shorter?

Software Development python
Member Avatar for Gribouillis
0
151
Member Avatar for fraijyia

Anyone, please help me to make a program that has something to do with POS in Visual Basic ... Please! Thank you . You can email it at [U][I][B]email removed[/B][/I][/U]

Software Development visual-basic
Member Avatar for WaltP
0
2K
Member Avatar for jackmaverick1

In function `_start': undefined reference to `main' what does this mean? I don't have a function _start. and my main.cpp is empty, theres just a few giant source files (500+ lines together) that are never called... Do you see any problems with this that might have something to do with …

Software Development c++
Member Avatar for jackmaverick1
0
118
Member Avatar for andimiami

I need to format my BMR output so it has a nice neat appearance with the Headings over each column. In one column it should say BMR and the other Daily Calorie Intake. This is what I have so far: [CODE]/* Program: Harris Benedict Equation * */ # include <fstream> …

Software Development c++
Member Avatar for andimiami
0
220
Member Avatar for makman99

I need to create a program that monitors incoming packets to a certain process. Each incoming packet needs to be searched for a string of hex (eg. "FF 00 00 03") and modified to be null (eg. 00 00 00 00). Or, if it's easier, to just completely block the …

Software Development c++
Member Avatar for makman99
0
112
Member Avatar for lochnessmonster

I was wanting to try a neat little project while i was bored at work and came up with a CodeInjection class. I understand this class is VERY POORLY DESIGNED. My question is how can i fix this?? what can i do differently to make this class not so tightly …

Software Development api c++ windows-api
Member Avatar for mike_2000_17
0
107
Member Avatar for m16piggy

I keep getting this error when I try to Debug my Internet radio player. I don't know why. I used absolutely no advanced settings. Just had the buttons programmed to make a Webbrowser control go to a URL that would play some music. I even tried to just compile and …

Software Development file-system vb.net
Member Avatar for Mike Askew
0
168
Member Avatar for dennysimon

hello all I try to open my datagridview's content in excell the problem is it's change the string value to numeric. so if in datagridview the content is "0001" in excell it become "1"; how to correct this problem ? any help ? thanks denny

Software Development c#
Member Avatar for ddanbe
0
95
Member Avatar for chetanbasuray

I would like to draw a curve between any two points using java...I have the points from a calculation result in the program, all I need is a function that helps me to draw a curve, can any one please help me out with dis, m kind of at a …

Software Development java
Member Avatar for chetanbasuray
0
85
Member Avatar for GrexD

I'm not entirely new to xPath. I've programmed with the TreeView control in VB.Net extensively, so I have a very good grasp of the concept of trees, nodes, parent, children, siblings, etc. I've read several tutorials on line about using the XmlDocument class in the .Net Framework. All of these …

Software Development xml
Member Avatar for GrexD
0
206
Member Avatar for AmerJamil

im totally new in object oriented progrmng in C++ course, i have to create a table in which i have to answer in yes /no that for example if class can be public so the answer is Y and if class can not be public then answer will be N. …

Software Development c++
Member Avatar for AmerJamil
0
96
Member Avatar for Mahkoe

Why use const char* instead of string? I see it all over the place. Personally, I prefer strings.

Software Development c++
Member Avatar for mike_2000_17
0
1K
Member Avatar for Na'Vi

I was writing a program and I wasn't sure sure how to do letter b. I have the methods and constructor but I'm not sure how to format the float. 2. Create a class called Item. a. Item will need instance variables itemID, itemName, inStore, and Price (of types String, …

Software Development java
Member Avatar for JamesCherrill
0
115
Member Avatar for nickliutw

I know this is probably seem to be very easy for you guys. I have been trying to figure this out for three hours. The requirement ask me to write a method determine whether an integer is even or not. If it is true, return true. If it is false, …

Software Development java
Member Avatar for nickliutw
0
137
Member Avatar for pikachoo

Hello, Is there any tool or anything that can detect errors related to the usage of not allocated memory? For example the code could look like this: [CODE]... char* myptr1; ... char* myptr2=""; ... strcpy(myptr1, "My text"); ... strcpy(myptr2, mystruct.mystring); ... [/CODE] The main problem is that there are lots …

Software Development c
Member Avatar for L7Sqr
0
79
Member Avatar for ddanbe

The next code from the book "Pro-linq language itegrated query in C# 2008" gives a casting exception error on line 29. I know ToArray returns an array of objects, which are in fact of type Employee so why it generates an error? [CODE=C#]public class Employee { public int id; public …

Software Development
Member Avatar for ddanbe
0
143
Member Avatar for srikanth2321

Hi, I was just wondering what might be the path to load jar file from c sharp project folder. Currently the path I'm using is String strJarFilePath1 = "C:\\Users\\xxxx\\Downloads\\ss\\ss.jar"; which works perfectly If I place this ss.jar in project folder by the name WindowsFormsApplication1 what might be the path? I …

Software Development
Member Avatar for srikanth2321
0
212
Member Avatar for hket89

Write a program for the following problem. An instructor needs a program that accepts a student identification number and three test scores, test1, test2, and final_test as input, and determines and outputs for each student the semester average and the final letter grade according to the following scheme: SEMESTER AVERAGE …

Software Development c
Member Avatar for dani_277
0
270
Member Avatar for lamanne

eish am strugling with this binary tree.huffman code and i ave an assignment,have a look on that You are given a text file. Any printable character, including digits and punctuation can be present in the file. Newlines and blank spaces can be present as well. Your job is to write …

Software Development algorithm java queue
Member Avatar for lamanne
0
312
Member Avatar for vb2learn

Hello Guyz Need some more help now. This is my GUI [img]http://screensnapr.com/e/AuJ8Ka.png[/img] Suppose i have this written in textbox1 [CODE] vb.net gettext leaning daniweb.com 2 learn vb2learn[/CODE] [img]http://screensnapr.com/e/sC969O.png[/img] It should show "leaning daniweb.com 2 learn" in the other textbox Like [img]http://screensnapr.com/e/3MW0jl.png[/img] So the line which should contain daniweb.com, it should …

Software Development gui vb.net
Member Avatar for vb2learn
0
107
Member Avatar for bertm81

Hey All, am looking for a way to break an xml Tag line into tag and attributes. Say I have This line [code=xml] <event time="12:30" value="This is a Sample Value" type="event"> </event> [/code] I have this so far [code=python] # Open file to read f=open("myTest2.xml") #start reading File for line …

Software Development python xml
Member Avatar for bertm81
0
204
Member Avatar for xxxferraxxx

Hi, I need help with Resource files.... That i need to do is running file that i have put in the resource files (exe file) So the idea of this when i click the button the file that i have put run so it cant be happen with shell. is …

Software Development file-system vb.net
Member Avatar for xxxferraxxx
0
2K
Member Avatar for packetpirate

I'm having trouble aligning some text with setw and the left alignment. I'm not sure if it has something to do with the fact that I'm printing from a function. The text within quotes aligns fine, but the output from the function aligns to the right and screws up the …

Software Development c++
Member Avatar for Ancient Dragon
0
100
Member Avatar for ubi_ct83

hi, i would like to ask opinion and comment about my situation.actually i dont know where to locate my thread because i dont know the specific of my question. im developing a web-base system.i use 3-tier architecture.im using html n php in gui,database mysql and for the application im using …

Software Development gui java
Member Avatar for ubi_ct83
0
166
Member Avatar for wonder_laptop

i know that i should use this to compile all the java classes . i used these and its working great. but i dont understand all of this . i did some readings and i understand now that when i use "set" , it sets the varibale name to the …

Software Development java
Member Avatar for JamesCherrill
0
165
Member Avatar for kinto

Hey, I have a function, though it's not working as it should be. My program is Dijkstra's algorithm, and I am trying to build a list of a node's nearest neighbours using info contained in a text file of the network (7 nodes in this case), in the form: 0,2,4,1,6,0,0 …

Software Development algorithm open-source perl python
Member Avatar for kinto
0
232
Member Avatar for bettybarnes

hi does anyone know how to display selected row from a datagridview to another form that records will be in textboxes..

Software Development display vb.net
Member Avatar for bettybarnes
0
130
Member Avatar for newbieha

Hi,everyone Im new to JAVA and not sure how does recursion work in JAVA I have to use JAVA Turtle to draw snowflake here is the pseudocode. procedure snowflakePart( S, N ) : if N is greater than 0: move turtle forward S units if N is greater than 1: …

Software Development java
Member Avatar for newbieha
0
569
Member Avatar for Yousha

I have a data base using access which has one column as jobno and which is empty. I want that when my form load (vb.net 2005) it generate a number which then appears in a textbox. Below are my codes please i cant complete it help me. Private Sub Form1_Load(ByVal …

Software Development microsoft-access open-source vb.net
Member Avatar for Yousha
0
181
Member Avatar for HelloMe

How can i continue a very long sentence on the second line in a JLabel? /n does not work /t does not work as well I dont want the html thing cause i have a simple application. Thank you

Software Development java
Member Avatar for HelloMe
0
150
Member Avatar for Stefano Mtangoo

Hi, please help me with error. I want to run simple project below. I have a lot of errors below and don't know how to fix it. I use GCC port (Mingw) [CODE=C++]#include "mysql/my_global.h" #include "mysql/mysql.h" #include <stdio.h> int main(int argc, char **argv) { printf("MySQL client version: %s\n", mysql_get_client_info()); } …

Software Development c
Member Avatar for Stefano Mtangoo
0
3K

The End.