64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for xxxferraxxx

Hi, Sorry for many questions... I need help for button sound that when i click the button sounds. Thanks

Member Avatar for VBrulez
0
147
Member Avatar for cppgangster

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 …

Member Avatar for cppgangster
0
555
Member Avatar for b56r1

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??

Member Avatar for gerard4143
0
120
Member Avatar for valkyrie

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...

Member Avatar for template<>
0
203
Member Avatar for Melow

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" …

Member Avatar for peter_budo
0
299
Member Avatar for daviddoria

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); …

Member Avatar for daviddoria
0
251
Member Avatar for fpsasm
Member Avatar for jigneshdesai
Member Avatar for TIP.Synergy

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 …

Member Avatar for TIP.Synergy
0
89
Member Avatar for Mr Programmers

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 …

Member Avatar for Mr Programmers
0
361
Member Avatar for GamerDJX

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 …

Member Avatar for jonsca
0
165
Member Avatar for Joshua Kidd

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 …

Member Avatar for Joshua Kidd
0
170
Member Avatar for paul.hahn

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 …

Member Avatar for paul.hahn
0
183
Member Avatar for cliffcc

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 …

Member Avatar for cliffcc
0
232
Member Avatar for P.manidas

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.

Member Avatar for AndreRet
0
320
Member Avatar for IT_Student_604

[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 …

Member Avatar for prvnkmr194
0
119
Member Avatar for Silent Storm

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 …

Member Avatar for prvnkmr194
0
151
Member Avatar for e_ayt

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 …

Member Avatar for prvnkmr194
0
602
Member Avatar for Amr87

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 …

Member Avatar for Taywin
0
145
Member Avatar for >>> isaac = []

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, …

Member Avatar for >>> isaac = []
0
84
Member Avatar for VanHackman

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. …

Member Avatar for jonsca
0
718
Member Avatar for triumphost

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]

Member Avatar for paulmooreparks
0
208
Member Avatar for ijessiichan

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 …

Member Avatar for woooee
0
190
Member Avatar for scarlettmoon

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 …

Member Avatar for scarlettmoon
0
366
Member Avatar for wfray

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 …

Member Avatar for wfray
0
136
Member Avatar for Dani

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. …

Member Avatar for Dani
0
214
Member Avatar for Josef01

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 …

Member Avatar for Josef01
0
194
Member Avatar for hmnetonline

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" …

Member Avatar for Momerath
0
609
Member Avatar for VP2

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++) { …

Member Avatar for WaltP
0
155
Member Avatar for cms271828

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 …

Member Avatar for cms271828
0
246
Member Avatar for Forthright

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 << …

Member Avatar for Forthright
0
346
Member Avatar for Pinchanzee

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 …

Member Avatar for Pinchanzee
0
180
Member Avatar for Jaseem Ahmed

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 …

Member Avatar for AndreRet
0
82
Member Avatar for carlitosway17

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 …

Member Avatar for quuba
0
240
Member Avatar for Taimoor Rana

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 …

Member Avatar for mKorbel
0
129
Member Avatar for dyla123

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 …

Member Avatar for anilashanbhag
0
101
Member Avatar for dav555

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 …

Member Avatar for dav555
0
427
Member Avatar for micmo

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 …

Member Avatar for zachattack05
0
10K
Member Avatar for andy.apple

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 …

Member Avatar for andy.apple
0
141
Member Avatar for Behseini

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 …

Member Avatar for Behseini
0
119
Member Avatar for Vertana

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 …

Member Avatar for Vertana
0
1K
Member Avatar for se00an

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 …

Member Avatar for se00an
1
2K
Member Avatar for samsambm

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 …

Member Avatar for samsambm
0
156
Member Avatar for CanaznFTW

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 …

Member Avatar for CanaznFTW
0
4K
Member Avatar for andylbh

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 …

Member Avatar for gerard4143
0
2K
Member Avatar for flasp

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 :)

Member Avatar for flasp
-1
76
Member Avatar for FBG

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 …

Member Avatar for FBG
0
148
Member Avatar for Quintia

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 …

Member Avatar for diafol
0
94
Member Avatar for Thropian

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

Member Avatar for TrustyTony
0
118
Member Avatar for shakeit13aby

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 = +) …

Member Avatar for smantscheff
0
88

The End.