199,114 Archived Topics
Remove Filter ![]() | |
This loop does not show images from the database and show only one record .. where is the problem And how can i make the id changes with loop This loop to show per line two records but how the show every time a different record, such as the latest … | |
Lab Assignment 1 - A Simple UNIX Shell Objectives: The objective of this assignment is to understand the workings of a command-line interface (CLI) and to obtain a working knowledge of process forking and signalling. Assignment: In this assignment we will build a command shell in stages. Our command shell … | |
Hey guys I have some problem in my c++ program hope you guys can give a hand -------------------------------------------------------------------------------------------------------- do printf("Please key in the number of passenger >>"); scanf("%s" , &no_passenger_check); if (strlen(no_passenger_check)>3) { repeat = 1; }else { if (isdigit(no_passenger_check[0,1,2])) { repeat = 0; } else { repeat = 1; … | |
Guys how do I install WxPython in Ubuntu? I tried following the directions here: But to no avail.... [URL="http://wiki.wxpython.org/InstallingOnUbuntuOrDebian"]http://wiki.wxpython.org/InstallingOnUbuntuOrDebian[/URL] Is there an easier way to do this? | |
I wrote the code as below its extracting all tabular data by splitting. Now i want to extract the last column(Values) data by removing Text in the middle of the table. import re f_read = open('filename','r') f_write=open('filename','w') str='CEN/4' for line in f_read: m=re.search(str,line) if m: for line in f_read: # … | |
I'm looking to make a single method that takes in my object and spits out a checkbox with an item listener. Here's my relevant portion, the IDE wants me to make my argument and checkbox final prevents the listener from functioning during runtime. Any ideas or help would be appreciated, … | |
Dear friends, I need again your help for a new challenge ;) I have a number of files with 5 columns of values (comma separated). I would like to find a way to the values in the first 2 columns and compare them with the first 2 columns of the … | |
<?php // Dump the games.csv file into an array $games = fgets('file/games.csv'); // Parse the array foreach($games as $game) { echo "{$game}"; } ?> Error i get Warning: fgets() expects parameter 1 to be resource, string given in C:\wamp\www\test\peartest.php on line 3 Call Stack # Time Memory Function Location 1 … ![]() | |
I create small database and I want to show all information about the students when a techer enter Students ID I caret my database using visual studio 2008 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim constr as new OleDb.OleDbConnection constr.ConnectionString = "Provider=localhost;data source=C:\USERS\USER\DOCUMENTS\VISUAL STUDIO … | |
I have a simple data input form in which when the form is activated if sets focus on a textbox and sets the back color. I later have a datetimepicker control. The tab stops are coreectly set but when ever the users selects a a date from the datetimepicker the … | |
hii i am stuck with a problem as i am using VS 2010 and developing an app in vb.net. i require crystal report so i downloaded from SAP the exe and installed but i cannot find the crystal report menu in add new item of right click of application so … | |
How can I make parent & child form there in vb.net? I guess to make a parent form I have to activate IsMdiContainer from form`s properties. But how should I make child form? Please help me. | |
Strange little glitch in a function. I need to replace a class for an element. I can add class, but I don't want that. I need to replace the class. And it's not working. The variable passes with .addclass. and not the other way. maybe there's some syntax I'm not … | |
Hello, Currently I have a wordpress website running on a multidomain linux hosting. Now am planning to develop a new website by myself using php, But I need to include e-mail features on my website for purposes like 1. Resetting Password 2. e-mail varification of registered users etc Please help … | |
I have an array with a couple of webpages that need to be sent some information. I have a thread function that gets the link in the parameter and visits that page. I would dont want my application to wait for the page to load each time. So, would it … | |
Hi.. I want to read data from the microsoft access file(.mdb) using my servlet application . I need to read the data in .mdb file and format it to display on the web using my servlet application (or JSP)..How can i read data from .mdb file? I have never worked … | |
Friends iam using Struts1.2 and iam new to this framework. Iam stuck at one place. I have fetched the records from oracle database and set it in the arraylist of type(DTO object) which is defined in bean class. Now iam facing problem in iterating through the arraylist in the jsp … | |
Situation: A pet shop contains multiple pets, namely two cats (Fred, Tom), two dogs (Buch, Bravo) and one bird (Tweety). Each pet has a distinct price, a name, and a sound. In Addition, a pet owner can enter the shop and buy one or multiple pets. On entering the shop … | |
Hi all. I'm trying to create a server/client program in java for an assignment. I'm struggling to get the receiver thread working, which I want to do before I implement the more complex features, but I keep tripping up with the receiver. The sender will send the message, the server … | |
HEllo i want to know how to submit form to email so that one can received all form infromation in email , if u have seen Contact pages, inquiery pages in website same as i want. Either in PHP or ASP | |
Hello, I wonder how to run ASP.NET file. I created some files using asp.net then, in order to run them, do I need to publish them first so that I can use them directly for the web? Thanks. | |
Hello people, I was wondering what are the most popular email services (eg. Hotmail, yahoo, gmail...) Please help. | |
hi guys.. i need your help.. i want to display the user's login information. like, storage location..but im not sure how to do it.. this is how i try to do it.. $tenantID = $_GET['tid']; " " " $query_recTenantuser = "SELECT * FROM md_storage WHERE tenantID='".$tenantID."'"; $rs_recTenantuser = mysql_query($query_recTenantuser) or … | |
So, my assignment wants me to take an integer and print how ever many numbers until it reaches that number. So basically, if you type 5, the output would be : 1,2,3,4,5. My logic was this Define a for loop that starts at 1 and iterates until i is equal … | |
4. Write a program that reads a series of integers until the user enters 3 successive negative ones or 4 successive positive ones (Zeros should be ignored and skipped as they have no effects at all). The program then should display the number of changes (from positive to negative and … | |
i have no insert method and still its adding node in linkedlist. code below have no error so you can run to see the problem better. if u run this it will ask u to enter a command. i only have two commands exit and display. display command will print … | |
Hi, Can we get a SQL query, to display all the dates between two given dates eg. if date1=21-mar-2007 and date2=25-mar-2007 then the query should display all the dates between those two given dates i.e 22-mar-2007, 22-mar-2007, 23-mar-2007and 24-mar-2007. Query should not contain any plsql coding. Regards. | |
I'm working on a design for a calibration management system but, i'm stuck with designing a table or tables to accomodate this data as desscriped in the picture below.  all the numeric data in the picture should be entred by the user but, the correction is calsulated automatically … | |
I'm trying to get to grips with this create view thingy, but can't see it. This creats my view mysql_query("CREATE VIEW list AS SELECT AlbumId,Title FROM album, LEFT JOIN artist ON album.artistId = artist.ArtistId ORDER BY album.Title")or die ("no dice pal ".mysql_error()); that works, and creats it fine. But when … | |
hey guys ! i have a problem relating to linked lists .. Make a class called Card. Each card is represented by a suit and a rank. You can keep both as strings. Implement getters and setters for the Card class as well as a print function. A 7 of … | |
Hi everyone I am having trouble finding the nth node of a binary search tree in an inorder traversal. I am getting NullPointerExceptions for any numbers other than 2 and 3 and even those print out the wrong values. If anyone could help it would be greatly appreciated. The method … | |
Hi, I am having an issue where i want to be able to read the value of a particular cell from a selected row in telerik radgrid. I am using the following code: <%@ Page Language="C#" MasterPageFile="~/Page.master" AutoEventWireup="true" CodeFile="ProductSignup.aspx.cs" Inherits="ProductSignup" Title="Untitled Page" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"> <style type="text/css"> .style2 … ![]() | |
1.what is the Visual studio c++ run time environement that is asked to be installed when running programs? Is it the CLR? 2.Can we use the same CLR for every .NET language? 3.I get that languages are first compiled into an object file and then interpreted into machine language by … | |
Hi, Here is the File content. I want to use strtok to separate each. but the problem is if i use `strtok(string, "\",");`, the zip code (19428) of the detail is miss place and take State (PA) for the first record Because of "," in State. Although the second one … | |
Hi My error log is showing the following error every five minutes so I suspect it is related to one of my cron jobs, The error is: PHP Notice: Undefined index: HTTP_USER_AGENT in /home/myaccount/public_html/mysite.com/app/config/config.php on line 18 The relevant line 18 is: $_is_hashbang_supported_bot = (strpos($_SERVER['HTTP_USER_AGENT'], 'Googlebot') !== false); Line 19 … ![]() | |
I have a search in my drupal website which searches for users registered in my website (finder module). Upon clicking any user from the user search result, it takes to that user's profile page. At the top of that page, a text 'Relationship' is displayed. Under it, a link saying … ![]() | |
I'm trying to write a cout formatter that uses the comma operator and insertion operator. I wasn't able to get that to work so I decided to write it similar to std::boolalpha. when you use `std::boolalpha`, it is able to change 0 values to true and false and you can … | |
if(kbhit()){ getch(); if(getch() == ' '){ while(y9 < 770){ readimagefile("PIX\\thunderball\\thunderball.gif", x9+10, y9+40, x9+40, y9+70);Sleep(80); putimage(0, 0, background, COPY_PUT); readimagefile("PIX\\thunderball\\thunderball2.gif", x9+10, y9+40, x9+40, y9+70);Sleep(80); putimage(0, 0, background, COPY_PUT); readimagefile("PIX\\thunderball\\thunderball3.gif", x9+10, y9+40, x9+40, y9+70);Sleep(80); putimage(0, 0, background, COPY_PUT); y9++;}} if(y9 == 730){ readimagefile("PIX\\thunderball\\thunderball_contact.gif", x9, y9, x9+30, y9+30);Sleep(80); putimage(0, 0, background, COPY_PUT); readimagefile("PIX\\thunderball\\thunderball_contact2.gif", … | |
Hi, Currently, I have 3 listboxs' data, but I don't know how to create 3 columns and show them with datagrid control. Does anyone give me a guid line how to show listbox's data with datagrid? regards | |
I am trying to get the program below to work. I keep getting the error below, and I can't figure out why??? Derived.obj : error LNK2001: unresolved external symbol "public: virtual class Other * __thiscall Derived::add(int,int)" (?add@Derived@@UAEPAVOther@@HH@Z) #ifndef _BASE_H_ #define _BASE_H_ #include "Other.h" class Base{ public: virtual Other *add(int x, … | |
Hi, I'm trying to update the user information from textbox when the user click view my account information in the main page it will take them to another page which will display their account information they will be able to change everything excpet for the username becouse it is primary … ![]() | |
ok, I've checked the forum and I don't think this topic was touched. What I would need is an open-source or at least free static analysis tool for C++ code. Does anybody have any suggestions? I mean, searching the web C++ lacks A LOT at this chapter, compared to Java, … | |
package battleship; public class BattleShip { public static void main(String[] args) { Addons a = new Addons(); Board b = new Board(); Computer c = new Computer(); Human h = new Human(); LinkedList list = new LinkedList(); while(a.intro()) { a.sleep(1); a.countDown(5); b.prepareBoard(); do { h.play(b.getBoard()); a.checkWinner(b.getBoard()); System.out.println("How the Board stands."); … | |
Hello, As the title says: How can I put a textbox in a table grid? I am asking because when I drag a textbox from ToolBox to a table in the form, it is not displayed in the grid of the table. Instead it is being displayed outside the boundaries … | |
Hello, I'm currently working on a homework problem that requires me to create a dictionary from a .txt file that contains some of the worst cars ever made. The file looks something like this: 1958 MGA Twin Cam 1958 Zunndapp Janus 1961 Amphicar 1961 Corvair 1966 Peel Trident 1970 AMC … | |
Can there be a conflict between two different version of python ? I have a program that needs access to Python 2.6, I have a environment variable setup, so the program that needs access to a subfolder of the Python 2.6 installation is suppose to access via this environment variable; … | |
Quick question on stripping, I'm executing a simple program, but whenever I try and run it in Terminal, it strips all wrong. The error it puts out is below. It iterates [+]Trying: admin/admin for the first line, but wont repeat it for the rest of the lines, as well as … | |
Hello, I thought when creating a struct, I could call it anything I want. However, in the line: static struct usb_device_id usbtmc_devices[] = {... my compiler gives me "unable to resolve identifier 'usb_device_id'". Are struct names supposed to be defined somewhere else? | |
I am currently working on an open source dating script. But I have one bug that I just can't seem to fix. I am unable to send system generated emails to Yahoo! and gmail. I have done a lot of searching online, but can't seem to get it working. I … | |
heyyy im trying to write a code to read from a file book name#Auther#subject#year the title takes 50 char anth then wanna sorted using bucket sort and continue by ( write to the file ) i just dont know how ! could u help me ?! |
The End.