199,114 Archived Topics
Remove Filter ![]() | |
Hello! I have the problem with my program visualization at different computers (but the same OS). Below you may see some code pieces related to creating the user interface. Everything is ok with this code at my computer. But I cannot understand why it produces different layouts at some other … | |
hello guys...im getting this error. Looked for this but could not find some solution [CODE] error C3861: "xxxxx" identifier not found [/CODE] How can I fix this error? thnx | |
Hello all =) I am working on a Visual Basics (6) project that requires a hidden command prompt window, to which I need to pass commands. I need to: [list=1] [*]Open a hidden command prompt [*]CD to a directory [*]pass a command including several file names [*]Exit the hidden window … | |
can anyone find out what d hell is wrong with the last line of this code (c#.net): [CODE] cws = new CustomerCardService.CustomerCardWebReference_Service(); cws.UseDefaultCredentials = true; cwr = new CustomerCardService.CustomerCardWebReference(); List<CustomerCardService.CustomerCardWebReference_Filter> filterArray = new List<CustomerCardService.CustomerCardWebReference_Filter>(); CustomerCardService.CustomerCardWebReference_Filter nameFilter = new CustomerCardService.CustomerCardWebReference_Filter(); filterArray.Add(nameFilter); Customer[] custList = cws.ReadMultiple(filterArray.ToArray(), null, 100); [/CODE] here is the … | |
Currently trying to understand why this intersection method doesn't work properly, I think the problem is the if statement line but not sure if the problem solely lies there. I've included the necessary files to make my question clearer. The setIntersection method is part of the ArraySet class. The main … | |
hey guys i tried using mouseout and mouse over in full calendar .But i am able to get mouseover but then after mouseout is not working .Help me in fixing this issue Try this code in firefox For any other necessary plugins visit :[url]www.arshaw.com/fullcalendar[/url] [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 … | |
i want to make a calculator in which a user allowed to input two numbers in text fieldand on pressing the particular operation button the operation performed.but how could i restrict user to input only numbers and no strings ?? [CODE] import java.awt.*; import java.awt.event.*; import java.applet.*; public class calsc … | |
The C++ I/O system supplies an interface to the programmer that is independent of the actual device being accessed. This interface is known as stream. The I/O system contains a hierarchy of the stream classes used to define various streams to deal with the console and disk files. These classes … | |
hi guys n girls im making a list of the biggest files on my computer i have got most of the coding done but i have hit a brick wall with the sort function. i can sort the size or the file name but as they are both in the … | |
-------------------------------------------------------------------------------- I am trying to create a madlibs game .. I have a txt file with paragraphs in it .. Some of the sentences have the following tags in it <#noun>, or <#verb>, etc ... I need to parse the file in php and display the content in between the … | |
Hey guys, I'm kind off new to PHP, and I'm trying to resolve this problem. I have a form where users can register their attendance for an event. If the person himself can not come, he has to register a replacement. So when the person clicks the radiobutton 'No, but … | |
Hi there, if I call a double function like [CODE]double MyPrice( ) { return cost; }[/CODE] (value "cost" assumed to be set to 7.00 why this function returns 7 and not 7.00? thank you | |
I have some doubts and clouds. I got a project idea from one of my client. They need an application which can store the details of incoming phone calls to the their shop. ie. its a shop they have. lots of customers will call to the phone. So they need … | |
what does it mean , use printf in JNI from C ??? i searched alot and found this, [url]http://java.sun.com/docs/books/jni/html/start.html[/url] but didn't find the specific answer :( i need the answer by tomorrow !:( help! | |
Hi all, How can I execute an external program (wget) on a linux box? I assume I should be using exec() or something similar. The command I'm trying to execute is: [CODE]wget -p 'x.x.x.x/inventory.ssi?mag_0=1&mag_1=1'[/CODE] Which returns the html page of inventory. I am then parsing the file using DOMDocument to … | |
Hi, I am trying to perform a few basic operations on MySql database through my delphi application. I am using MySql server 5.1 with Delphi 7 Here is what I have done( please correct me if I am wrong with the approach) - Created DataSource with MYSQL ODBC 5.1 driver … | |
what's wrong with this? >.< [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <style type="text/css"> body { margin-left: 25%; margin-right: 25%; } h1 { font-family: jokerman; text-align: center; } td { border-style: outset; border-width: 5px; border-color: gray; font-family: courier new; } </style> </head> <body> <h1>Multiplication Table</h1> <br … | |
I hate having the password for my database out in the open. Anyone who gets a look at my code has access to the password. What can I do to secure it so my PHP scripts can access it but it's harder to find? I thought about storing it in … | |
I am trying to send mail using php. But it shows error as failed to connect with mailserver 'localhost'. Then i use smtp.bizmail.yahoo.com as SMTP mail server, then it shows SMTP error 530, Authentication required.. I don't know how to pass smtp username and password through php.ini file.. If anybody … | |
Hello ,I want to implement a client server program,but I wish to use more OOP into the design(inheritance,virtual....),I only come up with this design and I nedd some pointers what can I do better,any sugestions will be welcome,Thanx [code] class TCPSocket { public: virtual void send(std::string buffer_m) throw(Error); virtual void … | |
D is a list containing some words. D=[word1,word2,word3......] E is a list containing combinations of any two words in D ... E=[(word1,word2),(word7,word1)....] How can I implement the following in python: [CODE]A0[x]=1 for all x in D # This is actually Ai. when i=0, it becomes A0 B0[x]=1 for all x … | |
[CODE]else if(choice == 3){ System.out.println("what is your name? "); String name = kb.nextLine(); boolean x = Member.checkMember(name); System.out.println(x); } [/CODE] when i run this, it prints "what is your name?" and instead of waiting for me type in something, it just skips that part and go ahead and prints x. … | |
Hi there, Im new with PHP/MYSQL and really need help from u guys. I want to find a code on how to select date range from MYSQL using PHP. Example I want to find a data with the date range is between 12-10-2010 until 15-12-2010. Im using this format date … | |
hello..... i am using this function to create a folder in images folder. all uploaded images are store in newly created folder.it is working fine when run the code..it is creating images/newfoldername/uploadedimages.jpg in localhost. but in server same code is not working. it is creating images/uploadedimages.jpg and also creating null … | |
Hi, I need some help with this MySQL Update I've got three tables as below. tbl1 id eid quantity 1 3 2 2 4 3 tbl2 tid eid qnty status type 1 3 1 1 1 2 3 0 1 0 3 4 1 1 1 4 4 0 1 … | |
Hi All, I am using a msflexgrid to display my access database (not editing it in run time). But, I have one column which is a boolean. When I display it, that boolean column doesn't show as "True/ False" or "Yes/ No". It is shown as " -1 / 0 … | |
Hello. I'm relatively new to Visual Basic 6, but I've been getting around pretty good. But there's one thing I need help with. You know how when your texting someone on your phone and you have to press the same button multiple times to get the letter(s) you want? Well … | |
hello can you help me please, how can i remove lots of spaces in a string for example: The space space space space quick space space space brown fox. the output should like this. Thequickbrownfox can you help on this...thank you in advance and I'm hoping for your positive response... | |
Hello, I am a newbie on PHP and mySQL. I am trying to create a simple balance sheet using both. table will show me (account.php) DATE - NOTE - INCOME - EXPENSE so, i have created mysql table for this. It has accid, acctype, accnote, accinc, accexp, accudate. and to … | |
I am configuring Struts2 HelloWorld application in standalone TOMCAT.But when i run tomcat i am getting this error. Nov 25, 2010 11:17:11 AM org.apache.catalina.core.StandardContext start SEVERE: Error filterStart Nov 25, 2010 11:17:11 AM org.apache.catalina.core.StandardContext start SEVERE: Context [/struts2example] startup failed due to previous errors plz help | |
Hi! Have some problems with my code again... I have a list "playerCardList" containing six elements where you pick out three of these. The three elements you pick should be removed from the bigger list "cardList" containing 81 elements. And after that three new elements from "cardList" would be put … | |
Hi I am creating an program for my degree, it’s a program that logs call times, days, gives total cost and discounts depending on days of the week, at the end of the program it out puts all results then give an option to start over again or exit. So … | |
The error i get is: 'user:input' undeclared[first use this function] [CODE]#include <iostream> #include <cmath> using namespace std; int main() { // declaring variables \\ string user_input; // end of declaring variables \\ cout <<"Hello and welcome to Mr. Nightwish's lab of crazy!" <<endl <<endl <<"Please choose one of the following … | |
Hi guys, Basically Im working on a project using an ARM STM32 processor on a Keil eval board. Attached to it is a UC1601 GLCD screen. The problem that im having I want to be able to increase the size of the font, but im not sure how im to … | |
![]() | Hi, I am working on a script that populates a table with a user's news entries. First I get the username from the URL, then go to the database and get the user_id. From the user_id, I query the news table for the user's news entries. [CODE] $idgrabber = "select … |
i have been using the microsoft visual basic 2005 express edition beta which is my first attempt at doing anything with visual basic so it has been taking me a long time to learn myself how to do things - mainly by using google and also reading through all the … | |
[code] using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class TeleCare : System.Web.UI.MasterPage { protected void Page_Load(object sender, EventArgs e) { } protected void Menu1_MenuItemDataBound(object sender, MenuEventArgs e) { //if (HttpContext.Current.User.Identity.IsAuthenticated) //{ // Users user; // if (Session["Users"] == null) // { // Session["Users"] … | |
I created a C program that will make a connection to a website. I can compile it with no errors at all but when I run it, I still can't create a connection to my specified website. The errors that are shown in the terminal are: client: connect: Connection timed … | |
i am trying to draw a line between two points like this: [CODE=syntax]private void Form1_Paint(object sender, System.Windows.Forms.PaintEventArgs e) { Graphics MyGraphics = e.Graphics; Pen NewPen = new Pen(Color.Red,5); MyGraphics.DrawLine(NewPen,StartDraw,EndDraw); }[/CODE] it gives me an error: Object reference not set to an instance of an object. what have i done wrong … | |
hey guys , i had a problem with classes and objects , i need to get the class name form a text file for example and open an object from that class , is that possible if so how can i do it . the object parameters i can send … | |
![]() | Alright this is a little hard to explain, but I have two tables of very different data. Both tables have a date timestamp. The timestamps are not going to match, but I need to join table2 on to table1 via the next date equal to or less than. So.. Table1 … |
Hi Guys, I have php mysql code which display data by date. if date is similar to the another it will display as one. When i implement an accordion it does not work. But if i will get the accordion it really works. And I am kinda stack of it. … ![]() | |
Hi Guys, I'm currently underway developing an in-house 3D game engine for my studio here in Australia. I'm new to the gaming industry and obviously still an indie developer, though I've modded games for a couple of years now. However, I have quite a few years experience (4-5) in software … | |
i need some help see i have to write code for an array of 20 strings and i have to modify the binary search function im using to accomodate for strings instead of ints i know i still have to sort it so that binary search will work but my … | |
[CODE]<?php require_once('upper.php'); // Connects to your Database require_once('database.php'); //This checks to see if there is a page number. If not, it will set it to page 1 if (!(isset($pagenum))) { $pagenum = 1; } //Here we count the number of results //Edit $data to be your query $query = "SELECT … | |
I am trying to compile a program using make on Mac OS X with gcc4.2. But I'm getting this error: fpu_control.h: No such file or directory I have never had a problem with an include file before and I'm rather confused! I have googled fpu_control.h, but I can't find anywhere … | |
(defun pCount (number) (let (ans 0) (do ((iterator 1 (+ iterator 2))) ((equal iterator number)) (if (equal (0) (rem iterator 3))) (+ ans iterator) (if (equal (0) (rem iterator 5))) (+ ans iterator) (+ ans 0)))) The object is to find the sum of all numbers divisible by 3 or … | |
Could anyone please show me how to display data in a datagrid when I log in as a user into my application?? The after a successful login a form opens. That form displays data and then there's an option where the user can open a form called "Time Management". In … | |
Hi All I have just one question.. I have an application, at the login screen I have a check box where the user can select if he/she is the default user on the computer he/she is using. What I would like to do is create a text file with the … | |
Hello: I have a table where a column called [I]ActiveStatus[/I] (of datatype 'bit') I am trying to run a query on may contain values Boolean values or NULL. Which means, if there are 10 rows in the table, a likely scenario would have 5 NULLs, 2 FALSEs, and 3 TRUEs. … |
The End.