199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for charlie81

This is the assignment-Write a C#.NET (call it Lab7) that performs the following: The program contains an array that holds 10 ZIP codes to which a company delivers. Prompt the user of the program to input a ZIP code and then display a message on screen that indicates whether the …

Member Avatar for mvkotekar
0
162
Member Avatar for rocky_kuet

#include<fstream.h> #include<iostream.h> #include<conio.h> #include<dos.h> #include<stdio.h> class ALARM { public : struct time t; int m,h,a,b; void resetalarm() { ofstream x("D:\\hour.txt"),y("D:\\minute.txt"); a=0,b=0; x<<a;y<<b; x.close();y.close(); } void setalarm() { ofstream x("D:\\hour.txt"),y("D:\\minute.txt"); cout<<"\n\n\t\t\t\tEnter hour\n"; cin>>a; cout<<"\n\n\t\t\t\tEnter minute\n"; cin>>b; x<<a;y<<b; x.close();y.close(); } void alarmmatch() { ifstream i("D:\\hour.txt"),j("D:\\minute.txt"); i>>a; j>>b; i.close();j.close(); gettime(&t); m=t.ti_min,h=t.ti_hour; if(h==a&&m==b) {cout<<"\n\n\t\t\t\tTime …

Member Avatar for nbaztec
0
2K
Member Avatar for bbman

If I do something like: [CODE] Label _label = label1; _label.Text = "123"; [/CODE] Would label1 read "123"? Does this work for int and string? If not, how would I achieve this?

Member Avatar for bbman
0
104
Member Avatar for sana_moi

hellow every body i m trying to do a graphique interface using c++ but i cant know which .dll i have to use such im using visual studio c++ 2010 express edition . when i thank to use QT with vs2010 there is a lot of problemes caus i don't …

Member Avatar for sana_moi
0
88
Member Avatar for sbrohee

Hi all, I have a more philosophical question which I think might help me to better understand the interest of pointers in C++. Indeed, my background is mainly Perl and a bit of Java. I am currently implementing (as an exercise and because I work in this field) a class …

Member Avatar for sbrohee
0
122
Member Avatar for technopup

Hi, Can someone help me with a javascript function that identifies <onmouseout> what radio button has been selected so that a message prints in a <div> further down the same page prior to submitting the page. e.g. If Radio Button value="train" is selected Print "You have chosen the image Train: …

Member Avatar for Mary 2
0
177
Member Avatar for gahhon

Hmm... can we use the continue statement in [COLOR="red"]if-else statement[/COLOR]? as i know the continue statement only can use [B][COLOR="Red"]under for loop[/COLOR][/B] right? and also is there any idea how to write [B][COLOR="Green"]pseudocode[/COLOR][/B] of for loop ? give some sample examples. thanks alot. :)

Member Avatar for ciint
0
119
Member Avatar for gunbuster363

I want to learn C# .net because .net is so popular now. and I would like to work on an interesting topic which interests me, because the tutorial is so boring........ personally I am interested to web spider/crawling using python, and the project got to be in console ( not …

Member Avatar for ezestseo
0
111
Member Avatar for Zinderin

Now before we start, please don't send me off on XML Serialization, I want binary for a reason. :) In the following code (and I don't even know if its correct ... it does compile), I'm trying to serialize and write a list of my class to a file and …

Member Avatar for nick.crane
0
170
Member Avatar for GAME

I am trying to remove all listbox items that contain all spaces(11).I am stuck. This code doesnt remove the items [code] for (int i = 0; i < tree.Items.Count; i++) { if (tree.Items[i].ToString().Contains(" ")) { tree.Items.RemoveAt(i); } } [/code]

Member Avatar for Geekitygeek
0
137
Member Avatar for camelCase

Hello Daniweb'ers, I was wondering if you could help me. I'm developing a YouTube downloader and want to be able to convert a YouTube link into a title. Such as this: textbox1.Text = " [url]http://www.youtube.com/watch?v=Bj7_W1FuO70&feature=related[/url] " label1.Text = " Fire Like This Hardknox Me Myself And Irene " In other …

Member Avatar for AndreRet
0
132
Member Avatar for ekseks

So basically, as soon as my page loads I need to have a pre-loaded date to my drop-down boxes and in my textfields that came from my database as you will see if you go over my code. My drop-down boxes are auto-filled with the months-days-years because of my javascript. …

Member Avatar for vibhaJ
0
233
Member Avatar for $harmi

Note: NotePad.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.[code][/code]

Member Avatar for JamesCherrill
0
85
Member Avatar for elsiekins

I am trying to write a named semaphore, can anyone point me in the right direction. I have tried googling it. I come from a java background so i understand the theory. Is a named semaphore created in the same way an semaphore is ?

Member Avatar for elsiekins
0
113
Member Avatar for kapsroks

Can somebody help me i want to send a mail for forget password n iwant to send a link of my reset password page in it please help me Thanks in advance

Member Avatar for kapsroks
0
744
Member Avatar for VenusCrystal

hello friends... I'm new to jquery and as well as to daniweb :P I'm learning jquery from 3 days using online tutorials... I am given a task by my guide... For which i want to know why is it that the jquery carousel on the page [B][url]http://web.enavu.com/demos/3dcarouselwip/[/url][/B] works in firefox …

Member Avatar for VenusCrystal
0
113
Member Avatar for ZER09

hello to all, by the way i'am new in visual basic. could any teach me how i should start my project. my project is that. its talk about accounting the proopsheet and the ledger. now this is the problem when a person created a proopsheet in excel, there is three …

Member Avatar for AndreRet
0
331
Member Avatar for elmoualh

Hello everybody, I have developed my software using NetBeans IDE 6.9: very simple, a db on a remote server, a JDBC:ODBC bridge connection in order to access it and everything was working fine, until I was ready to deploy it, and I fell in this problem of 32-64 bits conflict. …

Member Avatar for elmoualh
0
232
Member Avatar for PotaZinga

hi! everyone. please help i need to add a date picker to an asp page and i have been looking over the internet and i cant find anything to help me.it may be a drop down or may be like (check this page [url]http://www.asp.net/AJAX/AjaxControlToolkit/Samples/Calendar/Calendar.aspx[/url]) .it would be real nice if …

Member Avatar for localinternet
0
93
Member Avatar for Nexgr

Hello, I made a form into Visual Studio (Window forms) and i used a webbrowser from toolbox. I want to open into the webbrowser a web page from local drive. In properties, into the URL box if I write the absolute path (ex. c:\xy.htm) it works, but how i can …

Member Avatar for Nexgr
0
2K
Member Avatar for Shaswat

Can anyone tell me the upload script using mysql and php. Also can we insert images in mysql database?

Member Avatar for Shaswat
0
83
Member Avatar for Reg74

I'm using the streamreader to read in a text file and using the function EndOfStream to detect the end of the text file. The problem i facing is that i'm getting this weird error message -- > [B]System Error &H80131c25&[/B] Does anyone know what this means and how to solve …

Member Avatar for ibennz
0
805
Member Avatar for ptemedia

I have a number of text files each with 4 pieces of data on each line: name, date, time and comment. I have used $fh to open and read the data and put them in 1 long variable called $AllComments. I then need to sort them by date and time …

Member Avatar for chrishea
0
2K
Member Avatar for gauravk_bhanot

is there any layout manager or some other way to add a label or any other component starting from a specific point like we draw rectangles i need this because i want to move the label around with input.

Member Avatar for gauravk_bhanot
0
3K
Member Avatar for vineetanimu

Hi All, I have written a JSP file which will run query, get the result in a csv file and send the csv file daily to an email address. But how can I execute this JSP file daily in Linux? Can anyone help in this?

Member Avatar for masijade
0
585
Member Avatar for levsha

Let's say a user submitted some information through a form into a MySQL database. The data was timestamped. The user is given a certain number of days to submit an additional chunk of data into the database. If he doesn't submit it by the required date, an email has to …

Member Avatar for levsha
0
75
Member Avatar for sbrohee

Hi everyone, I am quite new to C++ (coming from perl). As an exercise, I am currently trying to create a class to play with graphs. I have a class Node in which I overload the == operator (to test the equality between two nodes). At the moment, I consider …

Member Avatar for sbrohee
0
271
Member Avatar for scottjo

I need help with a program. It’s suppose to keep track of motel reservations. A guest’s name is entered and then assigned to a room. The motel has three floors and 40 rooms (numbered 1 to 40). The program is suppose to reserve a room, cancel a reservation, and display …

Member Avatar for leahrose87
0
167
Member Avatar for malashukla

How to get .swf file's Height and Width in C# or VB.net Program.Because I want to Load dynamicly a .swf file in my program with Flash File current size.

Member Avatar for kmrameshkumar
0
194
Member Avatar for nocookies92

I have 3 separate questions. I'm trying to develop a program that displays several vocabulary lists and has a row of buttons at the top for selecting the lists. These buttons don't appear until I re-size the window. Does anyone know why this occurs? Second, I've extended the JPanel class …

Member Avatar for new_programmer
0
2K
Member Avatar for muppet

I am using VB to query a MySQl database and populate an Excel spreadsheet. All is working well, but now I would like to start distributing the spreadsheet shroughout the company and cannot protect it. If I protect the spreadsheet the VB cannot add the MySQL data, so I added …

Member Avatar for Oxiegen
0
213
Member Avatar for johnb08

How would I make a 3,4,5 triangle print out in a GUI. I was using the drawline function, but I can't figure out how to make it so its between two coordinate points. I have some code like this to draw a line [code] // draw line coloredPen->Color = Color::Red; …

Member Avatar for johnb08
0
126
Member Avatar for Rockyboy53

How would you split an existing string where a chararacter occurs into an array of strings, and store that character in a char? For example, inputting 123a5 would return {123,5} in an array and 'a' in a char. I've confused myself with this. I will greatly appreciate any help.

Member Avatar for Rockyboy53
0
85
Member Avatar for vibhaJ

Hi all, My site is on dedicated server by fasthosts.co.uk. i get email from host server that my site has been placed on the Spamhaus SBL. below is the content for that: [CODE] >> Web bot: port 80 >> IP address 217.174.241.205: on fasthosts.co.uk/live-servers.net >> Canadian Pharmacy spammer[s] are using …

Member Avatar for vibhaJ
0
191
Member Avatar for rahulrulez

We've to build one mini project on Vending Machine.. Our Guide have given us following topics to be covered in mini project - [LIST] [*]Normal Vending machine program working on Deposited balance - Can do it [*]Login and Password for 5 members to store their individual spares separately [*]Permanent storage …

Member Avatar for ika_rees
0
664
Member Avatar for Don_leon

I am new to c# with that in mind can some one please tell me how to call a class file that i have created in to a windows form file.for example how do i call a function that handles error logs to call and run on a form file. …

Member Avatar for saravind84
0
123
Member Avatar for wwefriend

im juz learn C++ from C++ how to program , but i not really understanding in this section ,can someone explain and describe?..thx...

Member Avatar for wwefriend
0
135
Member Avatar for janskey15
Member Avatar for shinsengumi

I'm trying to make some sort of database for cards for a cardgame similar to Final Fantasy VIII Triple Triad Card Game where each card has its name and scores on the top, bottom, left, and right sides of the card. I'm using arrays of structures. i can't compile it …

Member Avatar for Ancient Dragon
0
207
Member Avatar for fussballer

Hi, I don't know if this is the right place to post this question but here is my problem, I would like to take an audio wave file and convert it to a data file, (.csv, .txt etc). I would like to do some signal analysis on the file but …

Member Avatar for griswolf
0
191
Member Avatar for jackabascal

Say I wanted to open test.html in Firefox on the click of a button. How would i do that assuming Firefox is not my default browser?

Member Avatar for saravind84
0
154
Member Avatar for Suzie999

Hi everybody. I would like to know if its possible do dynamically manipulate the scrolling of a webpage in a WebBrowser control in my Form. Either by a page loaded event or some other event. Also if that is possible, can it be done without the control having scrollbars. I …

Member Avatar for Suzie999
0
167
Member Avatar for ticktock

Hey all, I am currently trying (desperately trying if I might add) learning how to use GLUT for school. Our professor gave us an assignment to make a 2d tube of some sort, but I only managed to make a circle. The tube will be only displayed on its front …

Member Avatar for ticktock
0
315
Member Avatar for el33t

Hi, I have a doubt regarding inheritance of base class constructor by inherited class. I was recently going through some C++ online tutorial when I came across this piece of code: [CODE=c]#include <iostream> class Foo { public: Foo() { std::cout << "Foo's constructor" << std::endl; } }; class Bar : …

Member Avatar for caut_baia
0
197
Member Avatar for PixelExchange

Hello everyone.. When working with Visual Studio 2010, the "MessageBox" function displays chinese characters, instead of english ones. Example: I attempted to prompt a message to myself using the messagebox function, saying "Success!" However, the message box pops up a message in chinese, and not in english. I am able …

Member Avatar for PixelExchange
0
175
Member Avatar for H. B. Duran

[ATTACH=RIGHT]16431[/ATTACH]Blitz Arcade, the downloadable division of Blitz Games Studios found themselves a World Record holder today, despite having accomplished this feat last year. With the creation of[I] Invincible Tiger: The Legend of Han Toa[/I] in 2009, Blitz now holds the Guiness World Record for the very first stereoscopic 3D console …

0
326
Member Avatar for jens86

I have problem with my mini blog since 2 days until now [URL="http://blog.soccerass.com/"]http://blog.soccerass.com/[/URL] Here the latest error log --> [B][Tue Aug 03 03:51:43 2010] [crit] [client 87.250.254.243] (13)Permission denied: /home/socc*****/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable [/B] I have 2 domains called soccerpropick.com and soccerass.com both …

Member Avatar for jens86
0
168
Member Avatar for jwxie

I am confused. Here is the source: [url]http://www.learncpp.com/cpp-tutorial/28-constants/[/url] [QUOTE] Literal constants Literal constants are literal numbers inserted into the code. They are constants because you can’t change their values.[/QUOTE] Why can't we change literal constant? I mean if we want to initialize something, let say [CODE]int x = 14;[/CODE] And …

Member Avatar for jwxie
0
98
Member Avatar for gonzigg

Hello, I just finished my "Who wants to be a millionaire Game", (very basic coding), but I got some issues when I click somewhere out of the Boxes range(try it), and I'd like to add some sort of points to each question, and as they go further make the question …

Member Avatar for tbone2sk
0
343
Member Avatar for Maya Pawar

Hi friends, Plz anybody can tell me, How to retrieve only date from DateTime in vb.net in dd/MM/yyyy format and I have a field in table in access 2007 which has date/time datatype. Data is stored in datetime format.(04/08/2010 12:01:07 AM) I want to retrive only dates which are in …

Member Avatar for crapulency
0
96

The End.