132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for The 42nd

Well, hello. I have a problem with reading data from binary files into arrays. For example, let's say that we have d.bin file which contains pairs of strings with max lenght of 32 chars and double values like this: string12.334343 AS34.34 something3 where the string always takes up 32 bytes. …

Software Development c
Member Avatar for asrockw7
0
2K
Member Avatar for 8367144q

I've got a worksheet which asks me to ask the user to enter a beginning and ending value. Create a for loop using these numbers. Also ask the user to enter another number. The program will search for multiples of this value. a. The total of all values in the …

Software Development c++
Member Avatar for Moschops
0
144
Member Avatar for sandeepparekh9

hi.. guys.. just joined daniweb.. and this is my first post this one's very easy... i suffered a lot to find this simple program.. i hope you guys like it.. here is a quick preview of it...[URL="http://lh4.ggpht.com/_blnOia1d0Pw/TQs3BhaCClI/AAAAAAAACco/3vPqJIlyG-M/gmail%20client.JPG"]http://lh4.ggpht.com/_blnOia1d0Pw/TQs3BhaCClI/AAAAAAAACco/3vPqJIlyG-M/gmail%20client.JPG[/URL] 1. First Of All Add the Following Line to your code: [CODE]Imports System.Net.Mail[/CODE] …

Software Development vb.net
Member Avatar for kothaisaravan
0
455
Member Avatar for Libanesaren

Hello I'm new to Java so all help appreciated I have already searched for similar threads but with no results helping me. I whant to save the data that I input in my Jtable to another Jtable. So the name address etc. that I input in the customer (kundGUI) class …

Software Development gui java java-swing tablet
Member Avatar for mKorbel
0
209
Member Avatar for jillwimmersbloo

Hi everyone, I am trying to make a program for my boyfriend to use at his business to keep track of cover charges. I am so lost as to what loop structure to put in and where to put it. If someone could take a look and please let me …

Software Development vb.net
Member Avatar for Reverend Jim
0
132
Member Avatar for Peelu pags

Can anyone help me in plotting EEG waveforms in C#??? I am a bit new.. I have got a libraray for plotting but really dont know how to plot

Software Development c#
Member Avatar for Peelu pags
0
153
Member Avatar for pororo11

Hi, Im doing a testing for taking the previous values of dbgname and export the values to the new variable (CDUMAPDBGNAME_NEW), but it doesn't output the value when i do the echo $CDUMAPDBGNAME_NEW statement. Anyone can help me on this? #include <stdio.h> #include <string.h> main (int argc, char **argv) { …

Software Development c
Member Avatar for L7Sqr
0
5K
Member Avatar for jennyb

Application coding Project Name: PhoneProblem Write a program which allows the user to input information to solve the following problem: “Sometimes it’s difficult to decide which phone to use – my mobile phone or my home phone. If I’ve got free minutes left on my mobile phone, then I use …

Software Development java
Member Avatar for stultuske
0
119
Member Avatar for naveedqadri

Dear Experts, Thanks for your time and help. I am using oracle in my application with ASP.NET and C#, My query is ok but it is going to ELSE Condition. (Goes to green line) Please Help me to solve this issu. [CODE] <%@ Page Language="C#" ContentType="text/html" ResponseEncoding="iso-8859-1" %> <%@ Import …

Software Development asp.net encryption html-css oracle
Member Avatar for naveedqadri
0
249
Member Avatar for Ashenvale

Problem: I'm having trouble in this part of my code [CODE] if (sexCode[ctr] == 'F') totalF++; else totalM++;[/CODE] I want my program to determine how many females and males in the list but whenever I execute my program I always get an output with an error that looks like this: …

Software Development java
Member Avatar for stultuske
0
136
Member Avatar for arunpawar

This is very basic issue with me right now. I don't know how to write a function or class in python. I mean i know the syntax but i don't know how to escape from the indentation while typing on IDLE. For example [CODE]def sum(): var1=10; var2=20; sum=var1+var2; #how to …

Software Development ide python
Member Avatar for arunpawar
0
362
Member Avatar for jbutardo

Need help, I need to know on how can VB.net validates the format of each cell on the excel file that it opens, for example, the first row should only be numeric, or cannot be null, is it possible that vb.net can check it before it inserts it in the …

Software Development dataset microsoft-office vb.net
Member Avatar for jbutardo
0
552
Member Avatar for moonw3ll

Just what is wrong with this simple code of mine? [CODE]#include<stdio.h> #include<string.h> #include<stdlib.h> main() { int i=0, num; char a[8]; char keyword[8]; system("cls"); while(i<8) { num = rand()%3; if ( num == 0 ) a[i] = 65 + rand()%26; /* 65 is the ascii value of A */ else if …

Software Development c
Member Avatar for moonw3ll
0
236
Member Avatar for cpole

I am stuck on a homework problem. I think I am on the right track but am getting stuck on the if/else statement. I could be totally wrong though. Here is my assignment: Write a program that reads three integer inputs into variables. Display the input values in both the …

Software Development career java
Member Avatar for JamesCherrill
0
177
Member Avatar for Cenchrus

Can someone tell me, step by step, how python interprets this code? [CODE] Numbers = [1,2,3,4,5,6,7,8,9,10] Numbers[8:3:-1] [/CODE] I know that the "-1" is the counting bit of it, and it goes in the negative direction, but I'm lost on everything else... :(

Software Development python
Member Avatar for Cenchrus
0
171
Member Avatar for kchyn

I have code that is very computationally intensive and very SSE-capable. The vs2010 compiler only supports up to SSE2 (from what I remember) So my obvious choice is to switch to a compiler that supports SSE4. I don't want to write any extra parallelizing code, (I just want to enable …

Software Development c++ visual-studio
Member Avatar for vijayan121
0
237
Member Avatar for lethal.b

I am writing a program in j2me and i want to have a thread that starts when the program launches but wll sit doing nothing until the user presses ok. The thread will then go and carry out a task and then go idle again until the user presses ok …

Software Development java
Member Avatar for stultuske
0
104
Member Avatar for DavidKroukamp

hi all, I am creating a basic threaded server and chat client... so far everything is going to plan however i am confused as to how i will make two clients(which ever they maybe) connect and send their data to each other. My idea is in the server app i …

Software Development asp.net client-server
Member Avatar for skatamatic
0
255
Member Avatar for natehome

can someone please look over this code and see if they can make it run faster. if you make any changes will you comment it so i can see what you did. this is a personal project. thanks you very much [CODE]#Image manipulation library from PIL import Image import datetime, …

Software Development os-x python
Member Avatar for TrustyTony
0
151
Member Avatar for Ararat

is it possible to make scanf not go into a newline after printf? [CODE]#include <stdio.h> #include <conio.h> int main(){ int a; scanf("%d",&a); printf ("%d",a); getch(); }[/CODE] output(suppose a is 5) :[CODE]5 5[/CODE] i want to print them in the same line like this [CODE]5 5[/CODE] how do i do that?

Software Development c
Member Avatar for DJSAN10
0
8K
Member Avatar for shanki himanshu

In a program i have to calculate pow(2,N) where 0<N<=1000. which data type is suitable for this? I have used unsigned long long int but its range is also limited.

Software Development c
Member Avatar for subith86
0
126
Member Avatar for Tester2

Found some neat graphing software for 2D and 3D applications at CodeProject. Looking forward to using with MS VC++ Express, which I just downloaded and installed. Can I do this? Is it legal? The creator offers what seem to be some options, but I'm not sure the header files are …

Software Development c++ legal
Member Avatar for Tester2
0
362
Member Avatar for mrnobody

Hi, I've been searching the net to try to find solution but i still can't find it despite searching it for hours. I've got a user control in a form. From the user control, I plan to do 2 things. 1) In the parent form, i got function example FunctionX(). …

Software Development c c# c++
Member Avatar for mrnobody
0
656
Member Avatar for vampshay

How many child command could be added to a Parent command? I already have one Parent and child relationship in my data environment but when I try to add another child, the data report will not print. My problem is that I need to incorporate three tables in that data …

Software Development visual-basic
Member Avatar for vampshay
0
467
Member Avatar for venomocity

Alright, I'm at it again, trying another version of my game. Sorry, it's been a while since I've been here and while I tried checking to see if anyone else had asked about this, I didn't see anything that was to the point. I'm trying to play an mp3 or …

Software Development audio pc-peripheral visual-basic
Member Avatar for ChrisPadgham
0
337
Member Avatar for Panathinaikos22

Hello, how i can draw text to monitor, i dont want to draw it on program form, i just want to print an text in the screen :) TextOut & DrawText i think draw text on form :/

Software Development c++
Member Avatar for dmanw100
0
187
Member Avatar for PF2G

Hi, I'm doing an app that adds info to a MySQL BD [CODE] Imports MySql.Data.MySqlClient Public Class curso_add Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click OpenFileDialog1.Filter = "Ficheiros de Imagem |*.jpg;*.bmp;*.png;*.gif" OpenFileDialog1.FilterIndex = "2" OpenFileDialog1.Title = "Escolha uma imagem..." OpenFileDialog1.InitialDirectory = "C:\" OpenFileDialog1.ShowDialog() End Sub …

Software Development mysql vb.net
Member Avatar for PF2G
0
233
Member Avatar for Ant70

Hi, I’m having difficulty with the GetForegroundWindow() API function and the .hWnd property. I want to check whether my application has the focus in the Windows environment and if it does, prevent an automatic time-out. I’m trying to do this by comparing the handle of the window that has the …

Software Development api visual-basic windows-api
Member Avatar for Ant70
0
1K
Member Avatar for agent154

I created this simple inherited class to add a function for moving a row up or down within a DataTable. Sometimes it is desired to do so, and I've seen a few people online looking for a way to do it. Would be nicer if I knew how to properly …

Software Development
0
1K
Member Avatar for kinesaren

Hello I'm new to Java so all help appreciated I have already searched for similar threads but with no results helping me I want to make the text in JTextField to search for the data in the JTable and highlight it. Here is my customer class: [CODE] public class Kund …

Software Development ide java seo
Member Avatar for kinesaren
0
247
Member Avatar for sasho648

I just start to learn it and I tried to find out what are the difference between virtual and not virtual class functions. For this a use a base class with a virtual function which Constructor made the impossible possible - here is example how you can cheat the compiler …

Software Development c++
Member Avatar for LRRR
0
160
Member Avatar for shubham.joy

Hi all Please suggest an algorithm to find square root of a big number ( 100+ digits ) in C/C++.. Thank you

Software Development algorithm c
Member Avatar for Shardendu
0
157
Member Avatar for galhajaj

Hello :) i am an aerospace engineer that has a dream to become a programmer. and after that i wanna to specialize in game development. my strategy is to learn C# in .NET by doing big projects, and i am doing it ok i guess. suddenly i saw the XNA …

Software Development
Member Avatar for thines01
0
112
Member Avatar for madhan

Hi - I am using VS2008 Pro. I am trying to create a new xml using the below FileStream statement. [CODE] FileStream stream = new FileStream(@"C:\employee11.xml", FileMode.Create);[/CODE] I am getting the error - IOException was unhandled by user code A required priviledge is not held by the client. in the …

Software Development
Member Avatar for thines01
0
132
Member Avatar for The 42nd

Here I am again... The question that I have is this: How do I sort an array of structures by two criteria? One element of the array looks like this: [CODE]struct record{ char name[32]; double value;};[/CODE] The goal would be to sort the array by name and if the name …

Software Development c
Member Avatar for Narue
0
2K
Member Avatar for Behseini

Hi guys, Having .Net Framework installed on target computer I can not run C# .exe file generated from VS 2010 express on other computer. Please find the image of error and installed .Net Framework on flowing [URL="http://behseini.persiangig.com/Exe.png"]Link[/URL] Can you please let me let me know why this is happening? Thanks …

Software Development c#
Member Avatar for skatamatic
0
335
Member Avatar for hamby

Hello daniweb, I've been having problems with a program I'm trying to make, in my function definitions, I'm trying to reference the output of one function in the other's definition, but not sure how to, I'm guessing pointers could help me but I'm not sure how to use them: These …

Software Development c++
Member Avatar for Moschops
0
169
Member Avatar for lxXTaCoXxl

I'm trying to create a custom control that has about 20 labels on it, I want to make the fore-color of these labels read-only, and make them change with the fore color of the control instead of all individually. The same with the back color. I also need to know …

Software Development
Member Avatar for skatamatic
0
77
Member Avatar for sameerge

hi guys Can anyone write a C++ program for me which convert military time to standard time without using return function. write a simple program which start from #include<iostream.h> #include<coino.h> void main() { . . . . . . . getch(); }

Software Development c c# c++
Member Avatar for Narue
0
1K
Member Avatar for judithSampathwa

hi, i have a project written in visual studio 2008. and i copied the folder to the network drive. and from another pc when i run the exe file of the application an error occurs because the connection string is different, how can i make the application which is in …

Software Development mssql visual-studio
Member Avatar for Pri Bhowmik
0
377
Member Avatar for phorce

Hello, now it looks like this is homework help, but no - it's not! I'm trying to communicate between a C# program and a webpage, I'm generating the data into C# and wanted to export it to the webpage using JSON.. However, I can't seem to find out if it's …

Software Development json
Member Avatar for gusano79
0
128
Member Avatar for Haritha91

Hey friends, I want to compile a C program using Command prompt. I have the turbo C compiler. Please show me the way with a simple example.

Software Development c
Member Avatar for Narue
0
118
Member Avatar for KrazyKitsune

Title says all. I need to make a code that gives the prime factorization of a number and put them in a (this is important) a list.

Software Development python
Member Avatar for TrustyTony
0
179
Member Avatar for cool_zephyr

could anyone please help me to create a sphere using triangles?? i've searched a lot but all of them only describe creating a sphere using some library packages

Software Development c++ image
Member Avatar for cool_zephyr
0
1K
Member Avatar for Karlwakim

Hi everybody, I wrote a game in which you have to guess a number generated randomly,but when i try to assign a random number to the variable, it just doesn't work but it compiles fine. The code : [CODE]#include <iostream> #include <cstdlib> #include <ctime> using namespace std; int main () …

Software Development c++
Member Avatar for Karlwakim
0
155
Member Avatar for bluehangook629

Im trying to put current system time in YYMMDD format but having problem with day function. is Day() which returned day of month in VB6 not available in VB.Net? If I want to get the current day of month, how would I do that? [CODE] Dim dt As Date Dim …

Software Development vb.net
Member Avatar for bluehangook629
0
117
Member Avatar for jmurph333

I am creating a simple program where a character (Picture Box) is moved using the arrow keys through adjusting the x and y. I have figured out how to detect key presses and adjust the x and y, but I cannot figure out how to redraw the picture box so …

Software Development
Member Avatar for ChrisHunter
0
103
Member Avatar for abhishek_s_n

Hey, I am kinda stuck with the way I should structure my Project. Was going well till now, but now it seems I'll have to re-structure it. My project is Peer to Peer chat and File Sharing. It performs device discovery, chat and file transfer. I plan to implement it …

Software Development java peer-to-peer
Member Avatar for JamesCherrill
0
167
Member Avatar for victabk

am having a problem, trying to upload a photo and this is the error that am getting The value for the useBean class attribute javazoom.upload.UploadBean is invalid; this is the code: JSP Syntax (Toggle Plain Text) <html> <body bgcolor="#333333"> <%@ page language="java" import="javazoom.upload.UploadBean*,java.util.*,java.io.*" %> <%@ page errorPage="ExceptionHandler.jsp" %> <% String …

Software Development html-css java java-jsp
Member Avatar for stultuske
0
199
Member Avatar for Mr.BunyRabit

Hey there I have a project im working on in netbeans6.9.1 I was having problems with all the bugs in that version so i went over to 7 But now all my generated code has a bug in wich messes up EVERYTING. is there something im missing? this is the …

Software Development java
Member Avatar for Mr.BunyRabit
0
157

The End.