199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ret801

I am not sure if this is the right place to post. But I am creating a website that is similar to sourceforge with project hosting and such, I need the requirements for the site. I know how to program JS and html and such as well as software languages, …

Member Avatar for peter_budo
0
135
Member Avatar for bonett09

Hi guys, I have a problem with this question, where the amount is constantly $0 and at the end if the user enters Y/N it just closes without saying "Transaction Completed/Cancelled". Any tips on how to fix it? Thanks [CODE]#include<stdio.h> #include <iostream> #include<math.h> int main() { int numofbees; float price …

Member Avatar for WaltP
0
139
Member Avatar for am_dumb

hy.... how to get year now and 10 year before with query result is 2009,2008,2007,2006,...... thanx..

Member Avatar for baki100
0
128
Member Avatar for Andy90

There is DateDiff() function in VB.NET but which function is equivalent to it in c#? I m facing problem in converting this vb.net code to c# [CODE] Private LastPointWhenClicked As Point Private Sub Timer1_Tick(ByVal sender As Object, ByVal e As System.EventArgs) Handles Timer1.Tick If LastPoint = Cursor.Position AndAlso LastPointWhenClicked <> …

Member Avatar for Andy90
0
831
Member Avatar for Zssffssz

What would happen if I (somehow) made an enum bigger than unsigned int? Each item in one is assigned a numerical value, I'm guessing that is unsigned int. Would it be boring like an error message or fun? Knowing what's allowed with naming the values there is more than enough …

Member Avatar for vijayan121
0
147
Member Avatar for opticaltim

Hi, I'm making a login application but i have the following problem. When an user clicks the button "Login" it is allways correct. I would like to check in my sql database if the user and password match. Does anyone have an idea? [B]Database.cs[/B] [CODE]using System; using System.Collections.Generic; using System.Linq; …

Member Avatar for opticaltim
0
222
Member Avatar for Meesho

Hello ppl, Please i have been dying to get this to work but no help what so ever, i tried so many ways and so many searches but i always reached a dead end.. I have a ReportWizard that i created, an .rdlc file, and i have a report Viewer …

Member Avatar for jacob21
0
95
Member Avatar for ztdep

Dear friends: I am using " Seldon c++ libary for linear algebra, http://seldon.sourceforge.net/" in my heat transfer code. the paltform is vs2010. I use the Seldon::Vector<double> in my class mesh to store the x y coordinates. I include the "Mesh.h" in my main.cpp.but it gave me some error about seldon …

Member Avatar for ztdep
0
272
Member Avatar for PrimePackster

Well I just want to know, how to give variable size for an array(Particularly, second subscript). For example, like this [CODE]#include<iostream> using namespace std; int main() { int a,b; cout<<"Enter the size for the 2D array"<<endl; cin>>a>>b; int*A=new int[a][b];[/CODE] for a its ok, But how to make it work for …

Member Avatar for PrimePackster
0
316
Member Avatar for sugumarclick

Hi all, I came across a new issue in curl request with php. I need to fetch a document from other host [url]http://xyz.com/content.html[/url]. I cannot view that page without login credentials. So I have given [url]http://user:pwd@xyz.com/content.html?get1=x&get2=y[/url]. I can send a successfull curl request to that page in a command line …

Member Avatar for sugumarclick
0
5K
Member Avatar for TheQuad

got a problem with a login page, my code doesn't seem to seperate each users details from the database. Here is my code: any suggestions? [CODE]<%@page import="java.sql.*"%> <%@page contentType="text/html"%> <% String loginMessage = ""; String un = ""; String pw = ""; Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection cn = DriverManager.getConnection("jdbc:odbc:RentalDB", "", ""); Statement …

Member Avatar for jaikiran_cool
0
291
Member Avatar for jim_underpants

Design and analyze an algorithm that searchs for an element x in a sorted table A(with n elements), so that its complexity is O(logD). D stands for distance, counting the amount of elements between the first element and the element x in table A. Simpler, D is the position of …

Member Avatar for mrnutty
0
126
Member Avatar for Violet_82

Hi there, quick question. I am reading a book about javascript and the author doesn't seem to like quotes ("") at all, but he loves angled brackets (<<>>). what really strikes me is that it looks like he uses them instead of quotes. FOr example I would say: [ICODE]alert("Hello WOrld!");[/ICODE] …

Member Avatar for Fest3er
0
163
Member Avatar for iPanda

Let's say I've the following drawing: Is it more likely to use an Array or a List? (The max of Px (p1,p2...) is 10) If it's possible to do in an Array can you please give me a quick explanation how?

Member Avatar for thines01
0
103
Member Avatar for owaisbashir

hi here new to asp.net.cn any body help me realted to asp how can i learn asp.net.some toturails etc.

Member Avatar for naveedqadri
0
354
Member Avatar for gman1991

[CODE]int main(void) { int operations, i, operands; char *string_dig1, *string_dig2; // OPEN THE FILE FILE *ifp; ifp = fopen("bigint.txt", "r"); fscanf (ifp, "%d", &operations); printf("%d\n", operations); // MAKE MEMORY TO READ THE STRING DIGITS INTO THE ARRAY string_dig1 = (char *)malloc(sizeof(char)); string_dig2 = (char *)malloc(sizeof(char)); for(i = 0; i <= …

Member Avatar for gman1991
0
238
Member Avatar for kutuup

Hello, I am putting together a shoddy game for a 48 hour game contest and I have a problem. When I run the program from within VS2008 (by clicking the start debugging button) the program runs fine. I'm doing this in release mode btw. However, If I try and run …

Member Avatar for kutuup
0
143
Member Avatar for ng5

I am trying to make a program that randomly selects a name. i have a prompt that allows me to enter the number of names and the names themselves. but i dont know how to save or open the information into an array... can anyone help me with this?

Member Avatar for codeorder
0
247
Member Avatar for esesili

Hello All, I have been using c++ console applications for a while. I need to develop some graphical user interfaces. Even though there are many ways of developing a gui, I am not sure what is the most easy to learn and use. There is a library called Q4 library, …

Member Avatar for LdaXy
0
330
Member Avatar for vehpurple

i am doing a project for a mobile apps class and i am about 80% done. all the UI is complete, but i need to have a filled out form stored into a db. i used the core data model to set up all the entities/attributes, i just cannot figure …

Member Avatar for ChrisPadgham
0
165
Member Avatar for rraviraj

hi,, i m now working on some basics of phonegap for iphone . can somebody let to know how to create database for iphone apps development? and how to connect this database with the iphone? any suggestion are highly appreciated..thank you

Member Avatar for ChrisPadgham
0
118
Member Avatar for sha11e

1. Now with ARC, how would a simple little program like this look like with ARC?: [CODE] #import <Foundation/Foundation.h> #import "FakeClass.h" int main(int argc, const char* argv[]) { NSAutoreleasePool *pool = [ [NSAutoreleasePool alloc] init]; FakeClass *object = [ [FakeClass alloc] init]; //do some stuff [object release]; [pool drain]; return …

Member Avatar for ChrisPadgham
0
108
Member Avatar for Mayank23

I want to make a rating system that uses ajax for the rating. i use php and call all of the images, then i want to use ajax to post all the votes to a php script. However, i dont know how to get the elements. I want to be …

0
108
Member Avatar for Griff0527

I am working on a project of converting VB code to C# code and I am lost as to how to read data from a prompt in C#. Here is the snippet I am concerned with fixing, but below I will post the entire code. [CODE] private void Button1_Click(System.Object sender, …

Member Avatar for Griff0527
0
2K
Member Avatar for OASys1

Greetings, I have just went from Access 2003 to 2007.... I have a project requiremtn to output some reports to PDF file format... Don't know how to do it.... I tried doing a little research but.... :-( I am open to ideas... I would like to automate the process so …

Member Avatar for ChrisPadgham
0
250
Member Avatar for OASys1

Hello! Now I am trying to make selection of Customers easier for my user. My user's business involves making deliveries on [B][I]routes[/I][/B]. Every customer is assigned a route number, which references the route in the route table. In my form I want to have [B][I]two list boxes[/I][/B], side by side. …

Member Avatar for ChrisPadgham
0
560
Member Avatar for PF2G

Hi, DaniWeb I'm doing a website for a music school and i have a table with all the instruments: [img]http://img195.imageshack.us/img195/427/50490685.jpg[/img] And i want to click in one image and it goes to other page where's the instrument program. I mean, each image has 1 page with its own program.

Member Avatar for diafol
0
120
Member Avatar for jeevsmyd

I'm using turbo C++. For my SIC assembler I need to read user the input assembly language program from a text file.Each line of the program contains a maximum of 3 words , LABEL OPCODE and OPERAND. LABEL or OPERAND or both can be absent by OPCODE is a must. …

Member Avatar for Schol-R-LEA
0
2K
Member Avatar for ben25x

Hello, I've been having a lot of trouble with a variable type called "float64". I'm trying to create a do{}while loop to make the number count up each time. data is also defined as an array. [CODE]float64 data[1]; int i; do{ for(i=0;i<1;i++) { data[i]=data[i]+.01; if(data[i]>9.99) data[i]=-9.99; } }while('0'=='0');[/CODE] Any guidance …

Member Avatar for ben25x
0
129
Member Avatar for @theDatagame

[B]Hello DaniWeb[/B], [I]C#/ASP.Net[/I] I have a user and a server. The server has an intranet page/site I need the user(off-site) to be able to see if they are a part of a user group(domain\CN) on the server. Using ASP.Net, and Active Directory search classes(Directory Services, etc) is there a way …

Member Avatar for |-|x
0
395
Member Avatar for CoderNH

I am new to Vb.net so I will need some handholding. I have been searching everywhere but can't find what I need. I'm creating an app that has two forms. Each form has two comboboxes. The comboboxes are populated via a list and the list is populated by reading a …

Member Avatar for Unhnd_Exception
0
229
Member Avatar for misalazeem

Hello Everyone, I am writing chess code in C++ using a main cpp file and functions only.. SO basically am done with everything except the checkmate condition... the only conditions for checkmate i have checked are the movements that king can make.. but there might be other possibilities of saving …

Member Avatar for arkoenig
0
2K
Member Avatar for naz1234

Hello there,ihave given the assigment to make the c program to print the asterisks to represent the grades.. My question is , why the asteriks does not appear ? I think i got problem at the looping for asterisk.. actually my output should be like this : the graph such …

Member Avatar for naz1234
0
173
Member Avatar for IceyRed

Hello everyone, I'm trying to get some text via a C# console app from a web page. The text I'm trying to get is the current players from our Battlefield 3 server we are renting. The url is: [url]http://battlelog.battlefield.com/bf3/servers/show/bcc85e8a-c2fd-41a4-98f4-21548297a9b1/[/url] Obvious, the text I need is this: [url]http://prntscr.com/4qbiz[/url] I have some …

Member Avatar for IceyRed
0
190
Member Avatar for sacarias40

Hey guys, im working on a website and i need to design the database so that a user can follow another user and it will be easy to figure out the number of people i follow and the number of followers i have. I'm using mongoDb btw. [URL="http://www.mongodb.org/"]http://www.mongodb.org/[/URL] can someone …

Member Avatar for diafol
0
1K
Member Avatar for toldav

Any help will appreciated. I'm trying to analyze the number of a, b, c, d and e after applying the curve percentage selected by the user. Here is what I have so far. I'm using for loop and its adding the curves to the grade distribution. [CODE]Public Class frmHW13 'Variables …

Member Avatar for Reverend Jim
0
287
Member Avatar for DavidKroukamp

For now the code isn't to complex. Built in Netbeans 7 java 6.... just the basis for now but its very safe connection so thought i'd post it for anyone who needs it. A quit command may be sent to any client by specifying its ID and then press enter …

0
433
Member Avatar for H_o_p.e

plz help me How to link Access data base with java code. [CODE] public class DataBaseCon { public static void main(String a[]) throws Exception{ Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection con=DriverManager.getConnection("jdbc:odbc:DataBase"); System.out.println("Sucessfully Connected "); Statement st= con.createStatement(); ResultSet rs= st.executeQuery("Select empid,ename from emp"); while(rs.next()){ System.out.print(rs.getString(1)); System.out.println(rs.getString(2)); } st.close(); con.close(); } } [/CODE] Exception in …

Member Avatar for DavidKroukamp
0
466
Member Avatar for M.Waqas Aslam

Hello Every One ! i was using my code [CODE]textbox1.bgcolor = ___colorname___[/CODE] on the gotfoucs event of my textbox , but if i have 34 textboxes then i have to write this line 34 times , which cost lots of time , can any one help me to make any …

Member Avatar for Reverend Jim
0
199
Member Avatar for Raisefamous

[QUOTE]Write a program which finds the factorial of a number entered by the user. (check for all conditions) (Beginner).[/QUOTE] Hi, My knowledge about C++ and programming so far is 27 youtube videos. It took me 1,5 hours to figure out and write this :) [code]int main() { int x = …

Member Avatar for WaltP
0
260
Member Avatar for The 42nd

Hello. The title pretty much says it all. I would like to know if and how you can print a number (type is double) with the same amount of decimal spaces as the one you entered. If I enter 12.34 I would like the output to be 12.34 and not …

Member Avatar for Narue
0
243
Member Avatar for Stickie

Hi, My name is stefan and I've been trying to develop a php/mysql based CRM for private use. I've stumbled upon a problem a few days ago and I just can't figure it out, so if you could help me, I'd really appreciate it. The problem is the following: I …

Member Avatar for PsychicTide
0
185
Member Avatar for cambraydesign

I need to create a form where you have two possible finishing pages dependent on the answers you give in the form. For instance if you have the question: Do you like sweets? And have the two possible outcomes Yes or No The answer yes takes you to a yesilikesweets.php …

Member Avatar for cambraydesign
0
195
Member Avatar for dancks

I have a larger program that I want to write, but I can't complete it unless I get this down. I have an array, need to put in a string value to be read out. the program generates characters of data at a time, not as a whole string so …

Member Avatar for dancks
0
171
Member Avatar for KazenoZ

Hello, I've come across [URL="http://www.daniweb.com/software-development/csharp/code/258293"]this thread[/URL] while trying to embed a mp3 file in my .NET project, but am having some problem, despite how simple this tutorial is, and just about every other thread on the internet say the same thing. After adding my file to the solution explorer, I …

Member Avatar for thines01
0
93
Member Avatar for denmarkstan

i have set background image on the body of my master page. i have link css file. in my css, i set the image like this and the result was repeated images on the master page body: [ICODE]body { background-image:url('/Styles/bg.jpg'); font-size: .80em; font-family: "Helvetica Neue", "Lucida Grande", "Segoe UI", Arial, …

Member Avatar for sufyan2011
0
357
Member Avatar for Goshutu

Hi, i am doing a multiple-file project and i come across a difficult obstacles. I want your help, DaniWeb readers on this problem, which i find very strange: [CODE] #include "stdafx.h"//i have included vector header here #include "globals.h" #include "functions.h" using namespace std; #ifndef CPIECE #define CPIECE class CPiece { …

Member Avatar for Goshutu
0
347
Member Avatar for crazymidget01

I am new to using swing. I am trying to get a picture to be displayed in a Jframe when a button is pressed. I cannot figure out how to make this work. This is what I have so far: [CODE] import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.awt.image.BufferedImage; import …

Member Avatar for mKorbel
0
1K
Member Avatar for deeksha923

Hey ppl im a student and i just started studying robot framework using python.Can anyone pls help me out with the submissions. It is really important for me. I just cant get the whole thing how much ever i try.I have come up with the following code for fibonacci series(given …

0
101
Member Avatar for as3g

I'm learning JavaScript, and want to know how I can run / test code on windows? I also want to download the library. Can anyone assist me? Thanks

Member Avatar for as3g
0
120

The End.