64,152 Solved Topics
Remove Filter ![]() | |
Hi, Sorry for many questions... I need help for button sound that when i click the button sounds. Thanks | |
Hi I am trying to put up simple app, and i get an error, could you tell me what I am doing wrong please. Here is my code: [CODE] #include <afxwin.h> class myapi: public CWinApp { public: virtual BOOL InitInstance(); }; class myframe: public CFrameWnd { public: myframe(); protected: afx_msg … | |
Hi, can anybody help me with this program output. Program is based on GCC compiler standards [CODE=c]#include<stdio.h> main() { int *ptr=10,j; j=ptr+19; printf("ptr=%d\n",ptr); printf("j=%d\n",j); } [/CODE] [CODE=text]output: ptr=10 j=86[/CODE] when ptr value is 10 in statement "j=ptr+19", why the j value is 86?? | |
I wanted to know,,,clock(); functioning in C++,,,actually I am making a program based on IQ analysis and It has certain time limit in each question for answering,,,but as I don't know how to use clock(),,,,,that's why it's creating a problem for me.....plzzz help me out.....I would be very thankful... | |
Hy, I'm trying to read from a xml file and save it's data in an ArrayList then a HashMap my xml file looks like this: [code] <components> <component id="door1"> <bounds> <left>10</left> <top>5</top> <width>25</width> <height>10</height> </bounds> <properties> <propertie name="allignment" value="horizontal" /> <propertie name="orientation" value="top" /> <propertie name="isOpened" value="false" /> <propertie name="isLocked" … | |
I realize this question may be impossible, but I'm pretty confused so I'm drawing at straws. I'm trying to use a class from a big library. If I do this: [code] TheClass imageIterator(image, region); [/code] everything works fine. However, if I do this: [code] TheClass imageIterator; imageIterator = TheClass(image, region); … | |
Sorry, found the problem, sorry for wasting time :) | |
I am not sure why such question was asked to me and is it anywhere related to .NEt also. | |
Hello Guys, My problem is i don't know how to query TOP ORDER PROD using COUNT,AVG... anybody can help me please? thanks ^_^ [CODE] EXAMPLE -LIST OF ORDER'S- ITEM CODE | ITEM NAME | 4323 PROD A 4323 PROD A 4323 PROD A 4323 PROD A 4323 PROD A 2345 … | |
Hi all, 1. When I insert an icon in my VB.NET form, for example: a small shield icon, a white box appears around it and it's very annoying and ugly! I want to disappear the white box at the back of my .ico image. 2. This white backgroud not only … | |
OK so here's my problem. I am a really new programmer, and my instructor has been giving us assignments that most of us are not exactly ready for. We have this assignment, and I honestly have NO IDEA where to even begin. Bottom line, I need help. Here is the … | |
Hello all, I have a form that has a Timer and a label and a RichTextBox. What I am trying to figure out is how to get the Label to say how many more characters are left in the TextBox. Here is what I have. [CODE] Private Sub Timer1_Tick(ByVal sender … | |
Hi, I'm newbie on Jython and on this forum as well. I need to create a GUI with Swing. My original code is based on Tkinter (see below, code adapted from Tony Veijalainen's [URL="http://www.daniweb.com/code/snippet283859.html"]Tkinter Info Grid by loops and tuples[/URL]). The main point is the use of mainloop() allowing the … | |
I don't how to confirm multliple records at once by checkbox? [CODE] <?php $host="localhost"; // Host name $username="root"; // Mysql username $password=""; // Mysql password $db_name="test"; // Database name $tbl_name="test_mysql1"; // Table name // Connect to server and select databse. mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot select DB"); $sql="SELECT … | |
Dear Sir/Madam How to check execution time of a procedure with the help of Timer control? How i have tried, i am attaching herewith my test program. Please guide me. | |
[B]..hello im here again.. can someone help me about this?.. i wanted to show the name of an employee once he/she typed the correct id number and password.. and it will show the name into the name textbox... same as the the current time once the user clicked the time … | |
Hey everyone, I'm currently working on an application with the following guidelines and need some help with completing it: Create an application that allows the user to enter a password that contains five, six, or seven characters. The application should create and display a new password using the following three … | |
I'm a beginner student learning Visual Basic 2010, and im trying to create an auction countdown timer in my form but I'm not sure how to do it. The countdown timer Im interested in would be similar to the ones found in BeezID or Swoopco, where the timer continuously counts … | |
Hello Everyone; I`m Beginner Javascript Developer and I Have a small problem with parseInt method the code is below: [CODE] <script type="text/javascript"> window.onload = Rectangle; function Rectangle () { var e = document.getElementById('Rectanglee'); var w =parseInt(e.style.width); var h =parseInt(e.style.height); alert (w); alert (h); } </script>[/CODE] the code is supposed to … | |
Hello! This is my first post. :) Is it inappropriate to place many <input type="hidden".... to submit? Here's an example: [CODE]<form action="/" method="post"><input type="hidden" name="ad" value="0x2443ae42"><input type="hidden" name="ad" value="0"><input type="hidden" name="ad" value="3"><input type="hidden" name="ad" value="test"><input type="submit" value="apps"></form>[/CODE] Some browsers seem to not send back all the data. My guess is, … | |
Hello, I'm trying to make draggable a borderless form developed using Visual C++. How ever, I'm not having look with it, and I had been unable to find an example about how to do it around the web. This is the code I'm using currently, and which is not working. … | |
Is this possible to embed a console into the gui like the picture below?? If so I wanna know how. [img]http://img229.imageshack.us/img229/6995/cmdahk.jpg[/img] found it here: [url]http://www.autohotkey.com/forum/topic45935.html[/url] | |
Okay. I am creating a program for school and I am a beginner to python. Here is my code: [CODE] intro = input("Want to play a game of number guess? ") while intro == 'yes': print("\nOkay. Just guess the number I am thinking of from 1 to 10.) if intro … | |
Hi ~ My program seems to work perfectly with the exception of validating user input. I do not want someone to do the work for me, I don't learn anything that way. I need to know why it works not just what or how. I just need a push in … | |
This is confusing. I'm creating an index for a MySql table of structure "yyyymm", where "yyyy" is year (e.g. 2011) and "mm" is month (e.g. 02). I acquire them with: [CODE]$yyyy = date('Y', time()); $mm = date('m', time());[/CODE] I subsequently convert them to strings with strval and concatenate them (I've … | |
I currently use Sphinx search, and am attempting to sort my results in time segments mode, which means time segments in descending order and then relevance in descending order. Currently I use SPH_SORT_RELEVANCE, and it works fine. But every time I switch to time segments mode, it returns zero results. … | |
I have a remove button like i would like to delete just sigle selected row from both datagridview and the actual database.the problem I am having is in deleting selected row.if i dont use the parameter the contents of the table gets deleted ,i dont have any primery key just … | |
I am having problems with the code below. It is writen in C# on .Net 3.5. The actual code is much more lengthy, but I copied what should be important. The error I keep generating in VS is "An object reference is required for the non-static field, method, or property" … | |
Hello! I've got a little problem... I want to make a program which puts 10 random character, but the characters should NOT be digits. [CODE]#include <ctime> #include <stdio> #include <iostream> using namespace std; int main() { time_t t; time(&t); srand(t); int i,c; char ch; printf("Generating 10 random characters...\n"); for(i=1;i<=10;i++) { … | |
Hi, I have a project that uses 'basicplayer', a mp3 player. I can get it to work when it runs in netbeans 6.9.1, but when I build project (into jar file in dist folder), it no longer runs. I need to get the jar files that I added to project … | |
Hi I am trying to call a 3rd party method which relies on const char* I want to pass an arbitrary value. The (broken) code below should show what I'm trying to do. [CODE] #include <iostream> #define MAX 1000 // 3rd party stuff void ConstPtrMethod(const char* s) { std::cout << … | |
I'm having trouble with some basic AJAX, I'm very new to it but have found a similar chunk of javascript that I've altered to my needs (kind of). I have a <div> that I want to change upon the click of a link. It contains a list of entries, ordered … | |
i have a project, where i have a menu, in which option Customer info, where all the basic information of customer is stored...and blow there is another menu, whre Asset Servey is menu, now i have a text box in wch customer with its code is shown, now i want … | |
Hi Am working on s shape inheritance hierarchy project where we are supposed to define 2d or 3d shapes then use a few examples e.g circles or spheres to calculate areas and volumes of the 2d and 3d shapes respectively. Everything is working fine it compiles and builds successfully but … | |
Hello Guys, Im Using GridbagLayout as LayoutManager, but I am not able to place my button at top-right of my frame. I'm also attaching my current output and what i actually want to do. here's my code: [CODE]package projectilemotion; /** * * @author Taimoor */ import javax.swing.*; import java.awt.*; public … | |
Hi i am looking for a chat for my webpage, doesnt have to be anything special just a basic chat where members can talk. I need it to be secure too so only members can chat on it and not random guests. Even if you don't have a code, a … | |
I try to transmit an OpenCV IplImage from a Server (Ubuntu x64) to a Client (Win7 x64) The following code works fine if both (Client and Server) are on the same operating system. But when the server is on Ubuntu and the client on Win7 it doesn't work. The image … | |
![]() | Hi Guys, I have two forms (Main and Sub). There will only ever be one instance of Main, but can be many open windows of the Sub form. What I want to do is know which Sub form was the last form to have focus when switching to the Main … |
Hi, I want to sum up all values within a vector of doubles, let say [4.5 8 5 90 24 32 58 1.8 17 25]. The sum is 265.3 which isnt to difficult. But when using the accumulate function I get 264!? [CODE] #include <iostream> #include <math.h> #include <vector> #include … | |
Hi Guys, I am trying to create a re-sizable windows that when ever a user click a button a groupBox appear at windows ,eventually the Height of the form will increase and when the user want to hide the groupbox the windows will back t its regular size. I have … | |
I've been racking my brain over this for a few days now. I'm attempting to write a program in Python 3.1 / PyQt 4.7.5 that will open a Powerpoint, go through every shape on every slide, determine if it is a picture and then save that picture to the specified … | |
Hello all, Inverting an upper (or lower) triangular matrix is a trivial algorithm, due to the nature of the matrix. I am having an issue getting a part of my upper-triangular matrix inversion function to work, and I would like to get it working soon for a personal project. From … | |
Hello , I'm trying to set 3 different tables using url variable from a differnt page. When a certain var is selected , the page should display a certain table. each table is differed by name and im using an IF statement. My issue is that only the first echo'd … | |
This is my first post and I'm sort of new to programming and figured joining this forum to try and get some help. So please excuse me if I happen to miss something. Task: - Create a cylinder specified by my program with the radius and height - Which will … | |
![]() | Hi guys, I'm trying to do a client server socket program, where the client writes a list of numbers for the server to compute, and then finally server returns a result. I've managed to get my functions working the way I want (not in client/server) But I've problem implementing it … |
Just wondered how to /save projects and files in sml. I use sml/nj complier.. After I write some code for instance, I dont know how to save it like you do in C++ or other languages. Hope someone understands and can help me out :) | |
Hi, On my website I have a group of tables (about 40). I want visitors to be able to search all these (identical) tables at the same time. Right now I'm using MATCH and UNION to do a FULL INDEX search on all tables. The problem is that this method … | |
Hello there im new to php and for some reason im having trouble with the String variables, every time i change the $light variable it doesn't = the supposed String and just always echo's "stop". [CODE]<html> <head> <title> Conditional Statement Practice </title> </head> <body> <?php extract($_GET); /* Put your PHP … ![]() | |
I have a string such as [CODE]"this is a really long string that is completely pointless. But hey who cares![/CODE] and I was wondering if there was a way to cut the first X characters off and return the res of the string | |
I facing a problem where i cant update my mysql data with calculation and if statement i want to update my column answer column and make calculation between column one and two depending on column sign.whether to sum minus multiply or divide:S UPDATE calculation SET answer IF (sign = +) … |
The End.