199,114 Archived Topics
Remove Filter ![]() | |
Was asked this question for an interview and really wasn't sure how to answer it. Can anyone suggest examples of where a bug will only present itself when using multiple CPU/core and NEVER happen on a single CPU? The question didn't mention "threading", i.e. nothing specific about threads running within … | |
Hello There, Is it possible to put a datepicker within a datagrid?. Can somebody show me the code pls. Thanks again Newvbguy | |
Hello I am currently working on a project but I am currently stuck, what I'm trying to do is add a simple PHP site hit counter to an ajax site which counts the # of visits to an specific page, now I gotten the pages to show up and they … ![]() | |
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); … | |
I hava my program working, but it will not display in the JTextArea of the GUI. I believe that I am missing a line of code. However for the life of me I just cannot figure it out. Please Help. Here is my code: Thank you for the help!!! [code]package … | |
Can smbdy tell me that what is wrong in the [COLOR="red"]second part[/COLOR] of the form here in syntax.... ?? here i am providing the first part 2 as sm variables are from that part...however just tell me what is syntactically wrong in second part ...plz .. thanx in advance !! … | |
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.. i'm trying to send mail from my website using GMAIL account. But after i use it, my website running very slow (for about 20-30second). Do u have solution to make it faster? | |
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 … | |
Hi, I am able to create a clock in a console c++ app...like this one show UTC hours:[CODE]#include "stdafx.h" #include <iostream> #include <windows.h> #include <stdio.h> void main() { SYSTEMTIME st, lt; GetSystemTime(&st); GetLocalTime(<); std::cout << st.wHour << std::endl; std::cin.get(); }[/CODE] But I am not able to create this with the … | |
I am finding it hard to do this the in OOP/event driven environment. I am trying to make a typing tutor in Visual C#. So I've already made an array where each elemnt is a single word. Now my next steps are, parse the first word, seperating each letter. Then … | |
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 have a motion detection code that creates a processor for my webcam bu then I want to transmit this video stream also. I am trying to use the VideoTransmit code provided by sun. Can I be able to modify it to use the same processor as my Motion detection … | |
I was coding snake game. The game is working normally but I have a little problem.I can't set again commands block.For example The commands are accumulating when I have pressed the buttons,frequency. And note:My language is Turkish. If you want understand variable mean, may be want use googletranslate or boubletranslate.. … | |
Hello, I am new to Java and would like some help. I have to write a small application that converts a user inputted sentence to a string array. The string is 'cleaned' from special characters before splitted into an array (Only numbers and alphabetical characters are allowed). I have managed … | |
Hello. I've been attempting a few exercises to brush up on my ER Diagrams using UML notation. I would greatly appreciate some help regarding this particular problem: • A patient can make many appointments with one or more doctors in the clinic, and a doctor can accept appointments with many … | |
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 … | |
can i make a prototype for a class member function outside of the class declaration? i tried this: but it didnt work [CODE]class cls; void cls::dosomething(); class cls { public: void dosomething(){} };[/CODE] thanks | |
Hi All, I'm developing a new seo tool.I began my tool by converting aspx pages to html pages.I'm doing this by [code] mywebReq = WebRequest.Create(pageURL); mywebResp = mywebReq.GetResponse(); sr = new StreamReader(mywebResp.GetResponseStream(), System.Text.Encoding.UTF8); strHTML = sr.ReadToEnd(); sw = File.CreateText(filePath+"temp.html"); sw.WriteLine(strHTML); [/code] codes.But didn't get the exact page html from my … | |
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. | |
hey guys i get this error when trying to execute a stored procedure in my SQl DB [CODE] Warning: mssql_query() [function.mssql-query]: message: SELECT failed because the following SET options have incorrect settings: 'CONCAT_NULL_YIELDS_NULL, ANSI_WARNINGS, ANSI_PADDING'. Verify that SET options are correct for use with indexed views and/or indexes on computed … | |
[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 … | |
I need to make a program that outputs a name based on the users input. For the middle name I'm only supposed to show the middle initial. But the way I have my code written causes an error. [CODE]#include<iomanip> #include<iostream> #include<string> using namespace std; string firstName; string lastName; string middleName; … | |
[CODE] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSend.Click Dim strSubject As String 'subject title Dim strBody As String 'Body of message Dim strBody3 As String 'Body of message Dim strBody4 As String 'Body of message Dim strBody5 As String 'Body of message Dim strBody6 As … | |
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, I started to learn c++. i followed most of the basic things console programming of c++ like loops functions and more but where can i learn now the structure of programming and how i need to think. Are there tutorial about that. because you can not create a program … | |
Hey all! I am having trouble debugging my program, and after exhausting all of my options i decided to come to you guys. The assignment requires us to create our own custom linkedList class representing a polynomial, where each term is a link. I have most of it working, but … | |
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 … | |
Hi, I have wrote a program to do multiple linear regression (form the matrix ) and solve the relevant matrix using Gaussian Elimination,Unfortunately it is not running and once I get it to run it is gives me the error stating det=0. Please have a look and let me know … | |
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] | |
hey guys i need help with my tic tac toe program - its just the rules of the game not the graphical parts. the gameisover() method isn't working its supposed to check each row and column and diagonal to see if it has all X's or O's and it should … | |
Hi guys, Im trying to compile this class below, but its just not working, it keeps sating 'missing return statement' int the method declaration line. Can u see to check if there is anything missing in my code or if iv done something wrong?? Thanks! public class swapping { public … | |
I'm rather confused whether the application I have seen used a tool strip or a tab control for its main menu. When I tried clicking the tool strip images, the panel below changes instantly just like the behavior of a tab control, moreover, inside the panel is a tab control. … | |
I found this code and have implemented it with limited success. It's the Java bit that's baffling me. The goal is to produce a dropdown box for the first instance of the shiptogroup (there are five total) and a blank cell for all other instances. When a selection is made … | |
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, I have initialized an array like this: [CODE] int[][] my_array= new int[28][28]; my_array[-6][12]=2; [/CODE] But when i assign my_array with my_array[-6][12] it is giving me error.I know the doubt is very stupid but I am very confused. I want to store values in an array which has negative as … | |
i need to know weather or not there is a way to put the cursor below (z-index wise) a div element or make it so that you can click through the div element. | |
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 … | |
i try to make the running sum of quantity using query with a expected output [CODE]ID | Date_in | Date_out | Quantity_in | Quantity_out | Quantity_Run_Sum in01 |17/2/2011| | 300 | 0 | 300 in02 |17/2/2011| | 400 | 0 | 700 Out01 | |20/2/2011 | 0 | 100 | … | |
Hello, Although I am a student, this project is not for school. I am trying to make a program that blocks an application from running. The irritating program resists having it's process ended (it automatically restarts via another process that also cannot be terminated). However, I have found that the … | |
Hi I been trying to figure out this problem for last few days but cannot find the answer. I am trying to use nested for loops to try and create a 6 character string using letters/numbers from a array. I need it so that it starts off with one character … |
The End.