132,726 Archived Topics
Remove Filter ![]() | |
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++ | |
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 | |
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 | |
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 | |
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++ | |
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 ![]() | |
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 … | |
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 … | |
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++ | |
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++ | |
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: … | |
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 | |
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 … | |
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++ | |
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++ | |
What does it mean ** before the function and what should return | |
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 | |
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) … | |
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 | |
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 | |
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 | |
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 … | |
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++ | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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 | |
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++ | |
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 | |
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 | |
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 = … | |
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 … | |
![]() | [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 ![]() |
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 | |
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 … Software Development c# database-design user-interface visual-basic | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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> … | |
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 |
The End.