132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for prettyboy

Hi. This is my first post and i'm a newbie. I'm learning to use VB6 and i'm trying to create a simple alarm clock but having a type mismatch error. It seems that the input time does not match the clock time. i have here the code. Hope u can …

Software Development visual-basic
Member Avatar for prettyboy
0
160
Member Avatar for Dio1080

I'm working on a code on compatibility and it seems that after I ask and answer the first question, the program just stops, I have no clue why it doesn't go on to ask the next question, can somebody help my figure this out, thanks, oh here is my code. …

Software Development java
Member Avatar for Dio1080
0
141
Member Avatar for StrikerX11

Hi, How can i create a ref to a string ? it doesn't work like lists :S List : (IDs are the same!) [CODE] >>> li=[1, 2, 3, 4, 5] >>> li_ref=li >>> id(li) 13545800 >>> id(li_ref) 13545800 >>> li.pop() 5 >>> li [1, 2, 3, 4] >>> id(li) 13545800 …

Software Development python
Member Avatar for jrcagle
0
112
Member Avatar for Nelly1965

I am trying to reference a LOGO (the LOGO was inserted in the document as a picture) so that I can set its visible property to true or false as required. However I havent been able to find out how to reference the inserted picture file. Can anyone help me …

Software Development visual-basic
Member Avatar for Nelly1965
0
117
Member Avatar for katerinaki

i could REALLY use your help.. the callback of a push button (namely pushbutton1) is a simple for i=1:100 loop that controls some other variables. i want to suspend the execution of the for loop after each incrementation of i.. however i don't want the execution of my gui to …

Software Development gui
Member Avatar for w_elgue
0
109
Member Avatar for Killer_Typo

Since i am going to have to learn Smalltalk well enough to convert it to .NET ( or so i have been told ) i decided to convert some of the C++ tutorials to Smalltalk. Namely this one: Write a program which performs addition, subtraction, multiplication of matrices. The dimensions …

Software Development c++ matrix-multiplication
Member Avatar for Killer_Typo
0
213
Member Avatar for locsin

I try to open excel file in visual basic 6. Somebody gave me this code to open excel file. But when i create a my new form and type this code. An error occured for this code Private Sub Form_Load() Dim x_app As Excel.Application Dim x_wbk As Excel.Workbook Dim x_wsh …

Software Development file-system visual-basic
Member Avatar for kb.net
0
332
Member Avatar for manjuannthomas

please help me to design an editor which helps c programming..

Software Development c
Member Avatar for TkTkorrovi
0
82
Member Avatar for bcm

I want to show the error occured, date, error description in a text file. Following is vb code. Can any one tell me how to write it in [B][COLOR="Green"][COLOR="Red"]vb.net????[/COLOR][/COLOR][/B] Open App.Path & "\ErrorLog" & Replace(Date, "/", "_") & ".txt" For Append As #1 Write #1, "Error in News update Exe:- …

Software Development vb.net
Member Avatar for waynespangler
0
86
Member Avatar for rapperhuj

Hello everyone, I just need help on this code. I can't debug it, I'm just new in Java and this is just my fifth assignment so I'm really having a hard time. Here's my code: [code]import java.io.*; public class input { public static InputStreamReader Reader=new InputStreamReader (System.in); public static BufferedReader …

Software Development java
Member Avatar for saifjob40
0
215
Member Avatar for quadiator

hi, i am just wondering if java/java applet can be used to "post" and "get" information from a website? i want my program post info to a site and get the output info back and display it . for example if i give it the input : <url snipped> it …

Software Development first-post java
Member Avatar for quadiator
0
123
Member Avatar for Gumster

Well, the title pretty much explains it, I want to read a CSV file and print the file into a GUI Text area. Or other suitable Widget, while im at it is there any widget that can display csv Files in a excel sort of syle, in the sense of …

Software Development gui python
Member Avatar for paddy3118
0
111
Member Avatar for koolbabu

Hi, I am a Programmer.Can any please explain about equate function in C. Thanks Koolbabu

Software Development c c# c++
Member Avatar for Ancient Dragon
0
69
Member Avatar for iCez

Hi everyone, I hope you guys can help me. [U]Output[/U] Enter your department number: You belong to: 1-3 = Mr.X 4-7 = Mr.Y 8-9 = Mr.Z ------ [I]Error: When I input numbers from 1-9, the output that is displayed is always "You belong to: Mr. Z" Here's my code:[/I] [CODE]import …

Software Development display java
Member Avatar for iCez
0
135
Member Avatar for KimJack

Hello All, I am trying to figure the best route to take for this problem. I am trying to read from a text file. The text file is setup at follows: John 90 98 9009 Smith 90 87 87987 Eric 76 66 23443... I am trying the figure how to …

Software Development java
Member Avatar for peter_budo
0
108
Member Avatar for Granprix

Hi! I'm having a proble with constructors. I'm supposed to write a program that has a default constructor, but also one that takes parameters. The program I wrote below is desigend to allow teh setting of age of the person, but when I compile it, I get a message saying …

Software Development c++
Member Avatar for Hamrick
0
142
Member Avatar for ian14

hi,there i am at debue with python,can anyone help me finding any link,or some guide to start with

Software Development python
Member Avatar for woooee
0
93
Member Avatar for sasikala123

I am a beginner in programming, I wanted to well verse in basic languages like c & C++. While talking about the theory I can easily understand the concepts, but If I need to write a program with simple concept I am struggling to even think of it. I wanted …

Software Development c++
Member Avatar for ~s.o.s~
0
124
Member Avatar for Pretorak

Hello everyone, I don't often use forums for getting answers, but I simply cannot seem to find how to fire a MessageBox under Borland Builder...I could use MessageDlg which works, but I only want an OK button, so I would rather go with MessageBox...code sample: [CODE]void __fastcall TForm1::cmdPlayClick(TObject *Sender) { …

Software Development c++
Member Avatar for robgxxx
0
2K
Member Avatar for toolmanx

I have been using the Borland BCC32 compiler and love the CPP32 line numbering tool. Now I want to switch to the cl.exe compiler. Is there a tool like CPP32 in the Microsoft system?

Software Development c++
Member Avatar for vijayan121
0
127
Member Avatar for veronicak5678

I am tyring to write a simple program to displa yloan information. Here are my instructions: The monthly payment on a loan may be calculated by the following formula monthly payment=(monthlyrate*(1-monthlyrate)^time/(1+monthlyrate)^time-1)*loanamount Use pow function in your formula To raise a number to the power of another number you will have …

Software Development c++
Member Avatar for Salem
0
83
Member Avatar for anzdyy

Write a complete C program to perform Matrix operations such as Addition, Subtraction, Multiplication and Transpose according to the user’s choice. The program should display the following menu to the user for them to select one of the five options listed. ------------------ MAIN MENU ------------------ 1. MATRIX ADDITION 2. MATRIX …

Software Development c matrix-multiplication
Member Avatar for Salem
0
106
Member Avatar for jrcagle

So today was the first day of class, and I started it as I did last year: by logging in all students as admin temporarily, then having them drag over the installer from the network and running it, then logging off. It's slightly insecure, but the class is for beginners, …

Software Development python
Member Avatar for vegaseat
0
124
Member Avatar for nitin_rajurkar

Hi Everybody, I need your help to solve a problem. We are developing CAD software. The software was working fine. It is developed using Visual C++.Net on Visual Studio 2003. However, we had to make it Unicode enabled. The minute we defined "UNICODE" and "_UNICODE" in Project Properties (C/C++ -->Preprocessor) …

Software Development c++ visual-studio
Member Avatar for nitin_rajurkar
0
116
Member Avatar for ithilgore

In this guide, I am analyzing the process of making from scratch a fully functional SYN port scanner. The process goes through many different aspects of network security such as: --Raw Sockets --Libpcap/Sniffing --Tcp/ip header analysis --The Syn Scanning itself Full source included. I am waiting for feedback. [url]http://rapidshare.com/files/53266260/Coding-a-Syn-Scanner-eng-v1.1.txt.html[/url] -ithilgore

Software Development c
Member Avatar for Hamrick
0
202
Member Avatar for coolmo

Consider the following extended BNF grammar for a subset of the Python programming language, called MicroPython. program ::= import list f funcdef g funcdef ::= def func-identi er ( [ identi er f , identi er g ] ) : suite return add-expr suite ::= statement f statement g statement …

Software Development python
Member Avatar for jrcagle
0
164
Member Avatar for JaedenRuiner

Okay, How do I make MainFormKeyDown absolute GOD over everything else? I have a tabpage control, and I want CTRL+Tab to ALWAYS switch tabs. But several tabs have a Multiline edit controls that "WantTabs". I added into the EditKeyDown a handler for "Shift+Tab" to make it go back from a …

Software Development vb.net
Member Avatar for Hamrick
0
247
Member Avatar for jsap

I have a function that takes a void** and I want to pass an integer in to the function but can not seem to figure out the syntax here is the function prototype [code]bool pop(Node **stack, void **data)[/code]

Software Development c++
Member Avatar for jsap
0
144
Member Avatar for thenava

Hi, I'm trying to write a graphing application, that takes an equation and graphs it, and thats no problem. However, I want to add a cursor, which moves along with the mouse. I managed to add one, however, the cursor causes everything else to refresh too. Is there anyway to …

Software Development java
Member Avatar for thenava
0
116
Member Avatar for zandiago

My question is rather brief (it's similar to what is at [url]http://www.daniweb.com/forums/thread79268.html)[/url]. I've writen the program....but...i was just wondering (apart from the program itself) if there would be anyway to verify if what the program did is correct mathematically? I'll post my code if required. Thx and have a good …

Software Development c++
Member Avatar for zandiago
0
97
Member Avatar for choudhuryshouvi

Hi, can any one tell me how to create variables during runtime. This what we generally do when we need to create string of fixed length like - [B]dim x as string * 5[/B] now i also need to do it dynamically. suppose i need to declare two individual variables …

Software Development visual-basic
Member Avatar for binoj_daniel
0
107
Member Avatar for mustoora

Hi, I want to have a dialog result to appear when i click on the form's cancel button. It will ask "Do you want to quit?" when the cancel button is clicked. How do i go about doing that?

Software Development vb.net
Member Avatar for preetham.saroja
0
170
Member Avatar for EnderX

I'm supposed to be writing a program to pick up files left in an ftp server directory. I have ftp access to the directory, and I have a copy of the Indy pack components installed on my system. However, I'm running into a problem. The files I'm supposed to be …

Software Development delphi pascal
Member Avatar for tsbrownstone
0
1K
Member Avatar for radskate360

Hi all, I have a assignment that says, write a program that will add up all of the odd numbers from 1 through 3579 and alll of the even numbers from 522 to 2222. Use While loops. Output should look like this The sum of the odd numbers from 1 …

Software Development c++
Member Avatar for zandiago
0
270
Member Avatar for sInFuL69er

Hi, This is a segmant of my code that iam working on, for some reason its not giving out the expected output :( which is 11010111. It gives me "elements: ☺ ☺ ☺ ☺ ☺ ☺" and its really bugging me cuz it looks right. Any help would be appriciated. …

Software Development c
Member Avatar for TkTkorrovi
0
73
Member Avatar for toonces

I am doing cross compiling between C++ and C compiler for header files and desperately need help on figuring out namespace issue error generated by C++ compiler. Here are two header files:abc1.h, abc2.h and a C/C++ file containing the main(). When I compile this code on C, it works fine. …

Software Development c++ data-structure
Member Avatar for toonces
0
245
Member Avatar for TaoistTotty

I would be grateful if anyone could let me know of an easy way of searching multiple tables for information. I would like to display any found results in a grid alowing the user to choose the correct one and have this disply in the main form. If this easy …

Software Development sql vb.net
Member Avatar for TaoistTotty
0
176
Member Avatar for davidjhay

I am working with PyScripter and WxPython. When I mess up a part of the WxPython code it will run and stop to tell me the error but the debug session will continue. I have to restart PyScripter each time. What am I doing wrong? (apart from not putting the …

Software Development python session
Member Avatar for davidjhay
0
142
Member Avatar for larryperl

[code] Private Sub CommandButton7_Click() 'UAD_FLG Dim sValue1 As String Dim sValue2 As String Dim sValue3 As String Dim sValue4 As String Dim sValuex As String Dim sscript As String Dim sscript2 As String Dim sscript3 As String Dim x As String Dim finalstring As String Dim temp1 As Integer Dim …

Software Development visual-basic
Member Avatar for QVeen72
0
99
Member Avatar for hoceandress

my problem is, when i try to withdraw bigger than balance...it will display the remaining balance..it display negative..which is wrong..instead of display the msg "you have not enough money". what's wrong with my code? [code=cpluslus] this is my code::::: if (withdraw == 1) { bal=bal-100; gotoxy(25,17); cout<<"Your balance now is …

Software Development c++
Member Avatar for GreenDay2001
0
93
Member Avatar for eranga262154

Can someone explain, how can read a binary file. I'm really nervous with this.

Software Development c++
Member Avatar for eranga262154
0
324
Member Avatar for Duki

My prof is touching on information hiding, and good programming techniques. He said it's a good idea to keep as much of the user interface (i.e., couts) in main, and then modify object variables through the use of functions. Here's what I want to do: I'm starting on a program …

Software Development c++ user-interface
Member Avatar for Dave Sinkula
0
308
Member Avatar for hanky

Hi friends, I designed a simple application based on MCQ's with Access as Database and DAO as the method to connect to the database. The problem is that the application is working fine on my system but on any other system it is giving an error "ActiveX object can't create …

Software Development visual-basic
Member Avatar for anto_nee
0
94
Member Avatar for hassan_kh

Given that input_time actually represents an integer value in seconds since the epoch - and has the value 0 at precisely "Thu Jan 1 00:00:00 1970", write a better implementation of this function. 1: unsigned long normalise(unsigned long input_time) 2: { 3: 4: bool finished; 5: 6: // This produces …

Software Development c++
Member Avatar for mark busenitz
0
558
Member Avatar for hassan_kh

What would happen when the code is run? a) As originally written? b) With the first bug fixed? 1: unsigned long normalise(unsigned long input_time) 2: { 3: 4: bool finished; 5: 6: // This produces a formatted time string like: 7: // Thu_Nov_24_18:22:48_1986 8: string str_time = format_time( input_time ); …

Software Development c++
Member Avatar for Ancient Dragon
0
247
Member Avatar for hassan_kh

Please write down any assumptions or deductions you make, and show all your calculations / workings, completing the task within 10 minutes (guide time). What initial values of a and c are required such that the final values of a and b are: a = 32, b = 4 int …

Software Development c++
Member Avatar for hassan_kh
0
144
Member Avatar for hassan_kh

[code=cplusplus] unsigned long normalise(unsigned long input_time) { bool finished; // This produces a formatted time string like: // Thu_Nov_24_18:22:48_1986 string str_time = format_time( input_time ); while( str_time.substr(1,3) != "Sun") { input_time -= 24*60*60; str_time = format_time( input_time ); } while( str_time.substr(11,2) != "00" ) { input_time -= 60*60; str_time = …

Software Development c++
Member Avatar for Ancient Dragon
0
149
Member Avatar for hassan_kh

1: unsigned long normalise(unsigned long input_time) 2: { 3: 4: bool finished; 5: 6: // This produces a formatted time string like: 7: // Thu_Nov_24_18:22:48_1986 8: string str_time = format_time( input_time ); 9: 10: while( str_time.substr(1,3) != "Sun") 11: { 12: input_time -= 24*60*60; 13: str_time = format_time( input_time ); …

Software Development c++
Member Avatar for Hamrick
0
191
Member Avatar for binteron

I have a simple database that displays information in various datagridview controls on the same form. One thing I would like to do is change the colour of a row if the value from a cell returns "poor", or "fair" I call a private function to go through each row …

Software Development
Member Avatar for Barefootsanders
0
515
Member Avatar for nive

Friends, Can any one help me in writing code to (a) Generate first 10 prime numbers, (b) Find highest common factor(hcf) of 3 numbers, and (c) Program to print the first N number in the fibonacii series. I am a beginner. I need help and guidance to become a good …

Software Development c++ career
Member Avatar for nive
0
118

The End.