132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for alone882

Hi, I`m new here and, of course, have a small problem. I need to create a program with VC++ 6 Builder where: Press ENTER once - open picture, Press ENTER Twice - start a music. I can`t figure out how to check if user press ENTER twice, can anybody help …

Software Development c++
Member Avatar for jeff.reith
0
331
Member Avatar for plasticfood

this program just prints out prime number within the range of the for loop. however it doesn't print anything. [CODE] boolean prime; for(int i = 11; i < 100; i++){ prime = isPrime(i); //this method works as i tested it before if(prime){ System.out.println(i); } } [/CODE] everytime i run this …

Software Development java
Member Avatar for plasticfood
0
118
Member Avatar for privatestatic

hey guys im kinda new to java n want ur help in solvin this problem : post: all of the "letter" characters in the entered string will have been switched (lowercase to uppercase, vice versa) i can only use for loops, character class methods, string methods heres my code but …

Software Development java
Member Avatar for pbl
0
108
Member Avatar for newtechie

hi i have a doubt i did this coding and when i complied it and tried to run the program evenupon giving the correct answer("ritchie") the output i got says answer is wrong. can anyone tell me what is wrong with the coding [code=java]import java.io.*; class Invent { public static …

Software Development java
Member Avatar for Apache1
0
96
Member Avatar for gilly231

Hi, i wish to store a mix of derived classes in one array. so i make the array from the base class i.e. Base* array[11]; and fill it with my classes. The base class has a method. Base::print(); this is overridden in all the child classes and used as follows, …

Software Development c++
Member Avatar for gilly231
0
151
Member Avatar for bhagawatshinde

Hi, I am using vb.net framework 3.5. I want to lock input devices like keyboard and mouse from my application. Is their is anyway using sendkeys or any method to lock Thanks in advance.............

Software Development vb.net
Member Avatar for Unhnd_Exception
0
1K
Member Avatar for CLina

Hi profissionals! Happy new year : ) .... I have a binary tree project and I need to convert a fully parenthesized arithmetic expression to a binary tree. I was thinking of this algorithm: 1. input a string of expression. 2. breakdown the string and creat new node for each …

Software Development algorithm java
Member Avatar for CLina
0
695
Member Avatar for florisvd

Hello, The following exercise I have to make, but I've got no idea how to do it. Can anyone help me? Write a program in assembly in the ATmega32 AVR Studio which both following issue as a choice of the following commands worked out and resolved. Make sure there in …

Software Development assembly flash
Member Avatar for Kioulis
0
117
Member Avatar for Elgan

Hello, I am trying to read some words from section in an INI file. Then putt hem into a vector of a section vector, This is the struct and class def [code] struct elgbotsections_t { char name[30]; vector <string> phrase; }; class ElgbotManager { private: char * filename; public: ElgbotManager( …

Software Development c++
Member Avatar for Elgan
0
222
Member Avatar for kotddanny

Fellow C++ citizens, I am very new to C++ and am trying to do the following: I want to transform a chart into code. Basically, the chart serves as a diagnostic reference. For an example, if a certain condition is below a certain value, there would be a few issues …

Software Development c++
Member Avatar for kotddanny
0
134
Member Avatar for gilly231

I need help with an assignment for my programming course. I have three classes A,B,C. all stored in one array. (These are not my real classes there are just a guide) [CODE=c] Class A{ char name; public: virtual print(){ printf("%s",name); } } Class B : public A{ char middleName; public: …

Software Development c++ oop
Member Avatar for gilly231
0
195
Member Avatar for akirson

In the following code snippet, I am using the same two expressions in two places. In the first everything runs fine, but the second generates a run-time error '424' Object required. I have tried retyping the code in case there is a hidden character somewhere, I have rebooted, cleaned the …

Software Development visual-basic
Member Avatar for AndreRet
0
234
Member Avatar for JJHT7439

Alright, I have a problem with a program that I am trying to write. The purpose of the program is to solve 1 specific algorithm. That algorithm is send + more = money. The program is supposed to find the value of each letter and return them to you. I …

Software Development algorithm python
Member Avatar for TrustyTony
0
336
Member Avatar for Freude

Hello, I have a problem using the member function attach several times. Compiler does not find error, however only one curve appear that does not satisfy me. Is it possible to attach several curves to QwtPlot object?

Software Development c++
Member Avatar for Freude
0
1K
Member Avatar for tshepomaz

I need projects to start a portfolio In C++ and Java programming. need to get experience and get a portfolio that will get me hired got the qualification but no experience. PLEASE HELP

Software Development c++
Member Avatar for tkud
0
91
Member Avatar for Eddiebauer

What does it mean ** before the function and what should return

Software Development c c# c++
Member Avatar for Eddiebauer
0
194
Member Avatar for tim8w

I have a RichTextBox. I process all the formatting and everything works fine. There is an exception. When I have selected text that have two states of formatting in it, the SelectionFont member is set to Nothing. I notice that WordPad recognizes this condition and kindof greys out the affected …

Software Development vb.net
Member Avatar for ShahanDev
0
163
Member Avatar for bob24bob

this is the therapist code- [CODE]import string import regex import whrandom #---------------------------------------------------------------------- # translate: take a string, replace any words found in dict.keys() # with the corresponding dict.values() #---------------------------------------------------------------------- def translate(str,dict): words = string.split(string.lower(str)) keys = dict.keys(); for i in range(0,len(words)): if words[i] in keys: words[i] = dict[words[i]] return string.join(words) …

Software Development python regex
Member Avatar for TrustyTony
0
187
Member Avatar for adams161

Hi, I have a frame and it contains some different JInternal frames. I have a request that some people want some of these frames to be free floating, and not confined within a desktop. Is there any way to do this with JInternal frames? Or is there any way to …

Software Development java
Member Avatar for adams161
0
230
Member Avatar for Newbi1984

Hi Daniweb members, I have two files that are not of equal dimensions and I need to match them on a unique key much like an SQL natural join. The files are space delimited and contain no headings. File 1 rs121 10001 A G rs125 10002 C T rs126 10003 …

Software Development shell-scripting
Member Avatar for nezachem
0
928
Member Avatar for ibdatx

Hi All, I have a small problem that I am trying to solve...It regards storing string values in an array and outputting them to a .csv file. As you know the .csv file accepts inputs delimeted by commas ",", however the arrayed values are also delimeted by commas therefore $arr[$i]="1,2,3"; …

Software Development microsoft-office office-suite perl
Member Avatar for fredfletcher
0
818
Member Avatar for TheSassyDragon

Im trying to make a blackjack game that uses a graphical interface, it executes just fine and my IDE isn't giving any error reports which is making it really difficult to finish it. I posted some of my worries about why it won't operate. Any help, general comments, or wise …

Software Development ide python
Member Avatar for Gribouillis
0
115
Member Avatar for petmol

Hi everyone, I can't get this program to compile. It has something to do with brackets in the wrong place(s), but I just can't find what's wrong. Help, anyone? [CODE]#include <iostream> #include <string> #include <sstream> #include <conio.h> #include <ctime> #include <iomanip> #include "iodos.h" using namespace std; // Funktionsprototyper -------------------------------------------------------------------------- void …

Software Development c++
Member Avatar for VernonDozier
0
209
Member Avatar for ninikobb

Hello everybody! Im a new to this site. I wonder how can I get the row dimension of a matrix. For example i have a matrix double[n,m] and i want to get n provided m is unknown. So what property of method should i use??? Thank you

Software Development mathematics matrix-multiplication
Member Avatar for ddanbe
0
121
Member Avatar for G_Waddell

Hi All, I have an application written in VB.net for batch print jobs. As part of the application, the user selects two printer trays to use to print the batch to (one plain paper the other coloured for coversheets and batch seperators) I had this working until we upgraded our …

Software Development office-suite printer vb.net
Member Avatar for G_Waddell
0
231
Member Avatar for murderotica

Hello there, I've been having a hard time lately with implementing the drag and drop functionality outside the windows forms. I have no problem doing drag and drop within and between windows forms and from the desktop to the windows form. I have created an application where you can drag …

Software Development
Member Avatar for dbirdz
0
3K
Member Avatar for moroccanplaya

i get a undefined reference to get_menu_choice error message but i dont know why ? [CODE] int get_menu_choice( void); int main() { //code// while (choice != QUIT) { choice = get_menu_choice(); if (choice == 1) //code// } else if (choice == 2) //code// } if (choice == 3){ puts("you chose …

Software Development c c# c++
Member Avatar for gerard4143
0
165
Member Avatar for nesrine18

hi everyone, i'm a new member of this forum..i'm trying to retrieve the video stream from my Axis camera..i don't know what's exactly the problem:when i run the project there's no errors but i get no video on my jFrame.. this is my code,can you please help me to know …

Software Development java java-swing video
Member Avatar for kashif_pucitian
0
429
Member Avatar for jay200032

Hello guys, I'm quite new to C++, I'm trying to achieve a task whereby i could read from a csv file and write to that same file and vice versa depending on the user's selection. This is what i did: [B]Here's the data already on file[/B] 1,Mickey,23,090,Girne,TRNC,465 2,Charles,23,090,Girne,TRNC,465 3,Species,23,090,Girne,TRNC,465 4,Moody,23,090,Girne,TRNC,465 …

Software Development c++ file-system
Member Avatar for Ancient Dragon
0
307
Member Avatar for SDH1

I revised a code i found on the net. It doesn't print/output "0 1 2 3" when running it?. any potential bad errors?. [CODE]#include <iostream> #include <windows.h> class Thread { public: Thread(); static void * EntryPoint(void*); int Start(); int Run(int arg); void Execute(int); int Arg() const {return Arg_;} void Arg(int …

Software Development c++
Member Avatar for Narue
0
104
Member Avatar for deb081900

Hi all I have 4 jRadioButton in a buttonGroup1 now I want to know how to determine which radio button is selected within these 4 radio button on Button Click event.. I tried to but failed.. here is my code [CODE] private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) { str1=buttonGroup1.getSelection().getActionCommand(); System.out.println(str1); } [/CODE] …

Software Development java
Member Avatar for JamesCherrill
0
647
Member Avatar for Alex_

Hello. I'm trying to serialize a class that implements Serializable and a Runnable. My class has a transient Thread object as a field that is created and started after the restoration of my class(object). This is proven possibile by a tutorial from Oracle, [URL="http://java.sun.com/developer/technicalArticles/Programming/serialization/"]here[/URL]. But i fail to compile my …

Software Development developer-tools java open-source oracle
Member Avatar for Alex_
0
2K
Member Avatar for WHchaz1027

Hi geeks, I really need your help. I want to query in a table in MS SQL using a data in another table. This might give you an idea on what I am talking about. This is the query I've constructed : "SELECT TABLE1.FIELD1,TABLE1.FIELD2 FROM TABLE1, TABLE2 WHERE TABLE1.FIELD3 = …

Software Development sql vb.net
Member Avatar for jbisono
0
124
Member Avatar for RenanLazarotto

hey guys! how can I read strings from a file? Like... They will compose part of the interface... something like, read a string from a file, then this string points to a image that will be used in a picture box, as same as a label that will be shown …

Software Development vb.net xml
Member Avatar for RenanLazarotto
0
132
Member Avatar for draven07

[COLOR="Green"]..im just wondering...If I have entered a sentence in a InputDialog box, using JOptionPane, how can I get the middle character per word and put it at the beginning of each word then add a "java" word at the end of each word..?..[/COLOR] [B]for example:[/B] [I]The girl jumped[/I] [B]The result …

Software Development java
Member Avatar for draven07
0
96
Member Avatar for luke1705

I'm working on a program to score a bowling game. Right now, my terminal says that my program has a seg fault, but I can't tell where. Any other insight on how to help my program do what it's supposed to do would be helpful. I'm still not sure how …

Software Development c
Member Avatar for mfaisalm
0
96
Member Avatar for raja289

hi same week and am here again with another problem lol and yeah its my homework and am stuck somewhere as 95 % has been finished. Windows Form Application--- using C sharp and SQL server 2008 i made database in SQL server 2008 and using visual basic 2008 C sharp …

Member Avatar for tom_289
0
213
Member Avatar for ampo

Hi. Strange thing: When I change the clock of the PC (XP SP2), something link current time is 12:03:34 to 12:05:34, my application crash. nothing in application log, though every method has try-catch. nothing in event log... Can anyone help? Thanks.

Software Development
Member Avatar for ampo
0
126
Member Avatar for ayan2587

Hi all, I am trying to understand as to how this InputStream.read(byte[] b) function actually works. I have a doubt regarding the InputStream.read(byte[] b) function. The code is as follows:- [CODE] import java.io.*; public class SpeedReading { public static int count(String filename) throws IOException { InputStream is = new BufferedInputStream(new …

Software Development java
Member Avatar for ayan2587
0
104
Member Avatar for abelingaw

Ok, my code for my Backup module works well via Copyfile. Here's what it can do (current): [COLOR="Red"]Backup my Database but using the date function as its filename Restore my backup file only if the filename is Database.mdb[/COLOR] Here's a screenshot of the prog: [URL="http://img262.imageshack.us/i/restore.png/"]http://img262.imageshack.us/i/restore.png/[/URL] and the backup files: [URL="http://img152.imageshack.us/i/backups.png/"]http://img152.imageshack.us/i/backups.png/[/URL] …

Software Development file-system visual-basic
Member Avatar for AndreRet
0
270
Member Avatar for abelingaw

Having trouble with my code. You can see the values of the list in the code. Here's my code: [CODE] If cboGender.Text <> "Male" Or "Female" Then MsgBox "Please select from the list provided.", vbExclamation, "Error": cboGender.SetFocus: cboGender.Text = "Male": Exit Sub If cboGender.Text = vbNullString Then MsgBox "Please select …

Software Development visual-basic
Member Avatar for AndreRet
0
674
Member Avatar for exception

how to email using vb? how to find SMTP?

Software Development email visual-basic
Member Avatar for AndreRet
0
107
Member Avatar for 4ukh

Dear Experts please help and support: Scenario: 1. 4 excel sheet (same structure) stored on 4 different computers attached to a network… 2. 1 master sheet (same structure) as other 4 sheets stored in my PC... Objectives: 1. Want to consolidate into one master sheet that is stored in my …

Software Development visual-basic
Member Avatar for AndreRet
0
162
Member Avatar for BhuviRajen

How to view the Caption Value of Form1 in Form2

Software Development visual-basic
Member Avatar for AndreRet
0
77
Member Avatar for a1a4a

Hello all I am on a windows application form where people can log in and add status ... and it's all online via sql database. What i am looking for is a sql query that Insert into the table the current time. Not the user time because he might be …

Software Development sql visual-basic
Member Avatar for AndreRet
0
193
Member Avatar for undersurvival

Hi, cancan someone help me with my problem? I am using vb 6.0 and MS Access 2003. I have a form where all the data in the database should display. The problem is, I don't know why my code is not working. here it is: [ICODE] Private Sub Form_Load() Dim …

Software Development display listview visual-basic
Member Avatar for AndreRet
0
1K
Member Avatar for undersurvival

hi can someone tell me how can I search the database using dtpicker. I am usinf vb6 and ms 2003 and I need to display the date of birth of a on 3 textboxes,namely the firstname, lastname and middlename and also in a listview. please help me. this is my …

Software Development listview visual-basic
Member Avatar for AndreRet
0
302
Member Avatar for serolfaceh

Please help me, am new to VB6.0 im doing database wherein in my ms access i have 12 tables, and i have to connect it to vb6.0 and display its contents... is it possible to connect 2 to more than two tables in vb6.0? please show me how to do …

Software Development visual-basic
Member Avatar for AndreRet
0
101
Member Avatar for sahil1991

I was implementing this algorithm of parsing a mathematical expression....but dint meet the required result........i have restricted the string to take one digit numeral only i think i am suffering because of this type conversions between int and char...but don't know what to do... here's the code.. //parsing.cpp #include<iostream> #include<conio.h> …

Software Development algorithm c++
Member Avatar for vinayakgarg
0
108
Member Avatar for GROUP1STI

Can you help us for our project in creating a daily record transaction? Do you have any codes out there or samples, and help us in connecting it to the database thru Microsoft Access. Your feedbacks are highly appreciated ASAP.

Software Development microsoft microsoft-access visual-basic
Member Avatar for AndreRet
0
104

The End.