199,114 Archived Topics
Remove Filter ![]() | |
Hi All I can get the WindowsMediaPlayer1 to do is change it's status to ready. Can someone confirm that it is possible to play .avi and mpg files from resourses before I spend hours and hours only to discover it cannot be done or that it is far beyond my … | |
How to convert C++ code to C. Write a program in C that asks a user for the name of a file. The program should display the first 10 lines of the file on the screen (the "head" of the file). If the file has fewer than 10 lines, the … | |
Hi, this question is related to http://www.daniweb.com/web-development/javascript-dhtml-ajax/threads/189876/populate-text-field-from-drop-down-list Discussions seems to be closed. First of all, thank yor Mr Airshow for the code. With some changes, I could greatly improve my project! Still a few months old in the computer field, but with lots of energy! This question is to whoever … | |
Hello, Iv recently been having trouble with a java project im working on as i need a button to add a sentence to a Swing list box. The problem im having is it uses an observable class and an observer. Fundamentally the list adds the elements to an array in … | |
I want to learn html and other webprograming .so how can improve my self in this arena? | |
I have seen this in a few posts, but i still cant seem to find the problem. Im basically trying to log in to a chat page and don't know what I'm doing wrong. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <?php //Start a session session_start(); //Setup and use … | |
Hi everyone, I need to use integer that is typed into textbox to do some math functions. here is what i have: Private Sub btnDivide_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnExit.Click dim x as integer dim y as integer dim tbox as integer tbox = (Textbox1.Text) x … | |
hey guys ! i am working on a card game .. so far i have printed the cards and then shuffled them .. Now it says that Each player has a stack of cards. At the beginning of the game before dealing, this stack is empty. When dealing the cards, … | |
Hello, I want to delete a user from database and destroy the session after he has been idle for some time, lets say 5 mins. How can I do that ? For starters, how to check if the user is idle? I need it mainly for when a user closes … | |
Whenever I try to run this nothing happens. Does anyone know what's wrong? package hobbits; public class Hobbits { String name; public static void main(String[] args) { Hobbits []h = new Hobbits[3]; int z = 0; int x = 0; while (z < 4){ h[z] = new Hobbits(); if (z … | |
Hi guys i know that in linux you create a c file and use make or gcc or clang to compile it and then run it. My question is how do you run a c file or c++ file in vs2012 with out creating a solution. Also how do you … | |
Hi hope someone can help me with the following I am creating a webpage in different language with ip2country. i use the following code COMMON.PHP session_start(); header('Cache-control: private'); // IE 6 FIX header('Content-Type: text/html; charset=UTF-8'); if(isSet($_GET['lang'])) { $lang = $_GET['lang']; // register the session and set the cookie $_SESSION['lang'] = … | |
I want to read a datafile which consits of 5 coloums and 4 rows, which consists of numbers seperated by commas. The first line of the data file looks like this: 103343, 24, 55, 24,12. I have started my program by allowing to input the file in my program, however … | |
am looking for a php code that can link column of symptom checker like system n process data on that database....for example column one has symptom of a computer virus user selects, column two the choice he or she has selected then column three the possible attack or conddition...plis help … | |
Hi Guys, wondered if someone could help please? in my customer form i have managed to pull in the data from the table to the right txtboxes, and i can move forwards and backwards ("happy days") but now im trying to update a record, this one has seem to thrown … | |
Here's a weird one... I have a toggle for a music file that plays when the site loads. There's a stop/play button on the page as well. On every browser, things work just fine. The music plays, the text says turn off/turn on just as it should. Except Ipad. When … ![]() | |
Hi, I would like to know how to find duplicate records based on exact match on some columns and slight difference on others... for example, I have a table with the following fields 1. Name nvarchar(50) 2. City nvarchar(50) 3. State nvarchar(50) 4. Age int(10) Now, I wish to search … | |
I installed the new **pillow 2.0** on windows 7 python 3.3 using one of the installers with no problems. Apparently that installer provides the jpeg support necessary for Vegaseat's program (link below). However, I am having some kind of trouble getting the jpeg support to work on Ubuntu. After my … | |
Hello all...this is stumping me...it keeps returning a repetition of num ten times rather than multplying by 10...Which way can I fix this? def main(): num = input('Please enter a number: ') print(times_ten(num)) def times_ten(num): return 10 * num main() Thanks!!! | |
Hey guys, I'm making a hangman project just for fun, and i was wondering if you could help me. * I have 5 classes * class 1- main (basically controlls everything except recognizing where the letters are located in the word and printing the hangman picture) * class 2- char_array … | |
Hey, please how can i logically sort for numbers in a list list = [10, 5, 2, 7, 20] without the sort() using only if statements and for loops and no while loop. | |
I am trying to automatically resize the iframe to fit the content. Works great in chrome, firefox and opera. Fails in Internet Explorer. Ideas? <html xmlns="http://www.w3.org/1999/xhtml"><head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Leontinas</title> <script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript"> var framefenster = document.getElementsByTagName("iFrame"); var auto_resize_timer = window.setInterval("autoresize_frames()", 20); function autoresize_frames() { for … | |
Ok so I'm using a buffered reader to read a file and it works alright but my problem is I have integers in this file I have to find and place into an array and I don't know how to do this(feel so stupid). I'm trying to work on a … | |
Hello , the problem i'm facing is how to insert a cliquable image in a frame , i show the code : def InterfaceDeps(): global interf0 interf0 = Toplevel() interf0.geometry("500x400") interf0.title(' Test Data') f1 = Frame(interf0, bg="blue", width=500, height=500) f1.pack( fill=X, expand=0) ####### Image ############# imageinfo = Image.open("C:/Documents and Settings/Administrateur/Bureau/Python_tests/nvprojet/Info1.jpg") … | |
hi guys. i hve a database name event. i hve a studentaccount table and faculty account table. studentaccount table has id,vstudentname columns and faculty account has id,vfacultyname columns. i want to add both table ids to combobox. how can i acheive that. i hve successfully managed to do it for … | |
The programming page to view all the headlines and made the title link when pressed refer you to the details page, but unfortunately when the conversion page details are not shown to any details on the page <a style="color: red;" href="newspage.php?id=<?php echo $rows[0]?>"><?php echo $rows[1]?></a> the details page code ..... … | |
how to decrypt dll?? i have asdecr.dll file how to decrypt this dll?? please explain in detail | |
Sorry for my poor english as i'm not a native english speaker and writer, but i have written a code which calculates big numbers, adding subtracting and multiplying. when multiplying, adding and subracting numbers, it works, but when i try adding 0 to 0 or subtracting 0 to 0 or … | |
<html> <body> <input type="text" name="cname" value="" onkeyup="shownames()"> </body> </html> Finally the thing is when ever user was input the text it should display the name from database dynamically. The user Should have capable to select the name generated from database. I'm Searching for jquery plugins if any one Knows Please … | |
Hi All, I'm taking a different approach to importing the csv to access and trying to import the csv to the dataset. I've found the following code but it's giving me an error Dim fileToOpen As String Dim da As New OleDbDataAdapter() Dim ds As New DataSet() fileToOpen = ImportFiles.SelectedItem … | |
Hi Im working with the old exercise in python and I need help please. The goal of this exercise is to extract information and statistical data from a log file. You can use the logfile generated by the linux kernel. You should write a python code which gives the following … | |
Hello, I have a datagridview, where I can edit only 1 field, howerver, I cannot type "4,556" because I restricted it to only number, and if I type 0345, or "0,345" it will just save it as 345. `<asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("AMOUNT") %>' BackColor = "#FF960C" MaxLength="4" onChange="intOnly(this);" onKeyUp="intOnly(this);" … | |
Hello, hud_draw "1" hud_fastswitch "1" hud_saytext_internal "1" hud_takesshots "0" joystick "0" lookspring "0" lookstrafe "0.000000" m_filter "0" m_forward "1" m_pitch "0.022" m_side "0.8" name "name" m_yaw "0.022" model "gordon" MP3FadeTime "2.0" MP3Volume "0.620000" mp_decals "300" setinfo _bxc "whatever" net_graph "3" I need to select only `name` and `setinfo _bxc` and … | |
Hi All, I'm trying to import the contents of a csv file to an access database. I have a database named myDatabase with a table named myTable. It has columns A-E say. I have a csv file with headings in the first row which are called say S-Z. I want … | |
Hello Im trying to send a HTML email but I want to encrust into the HTML a image without it being a attachment. The content of the email is pure HTML so in order to do img src it needs to be a live link AFAIK. If it can be … | |
con1.Open() Dim com2 As New OleDb.OleDbCommand("insert into Department(DNo,DName,Manager,AddressL1,AddressL2,City,Telephone,E-mail)values('" + TextBox1.Text + "','" + TextBox2.Text + "','" + TextBox3.Text + "','" + TextBox4.Text + "','" + TextBox5.Text + "','" + TextBox6.Text + "','" + TextBox7.Text + "','" + TextBox8.Text + "')", con1) com2.ExecuteNonQuery() MessageBox.Show("Succsessfuly Inserted", "Insert", MessageBoxButtons.OK) con1.Close() Me.Hide() Form2.Show() it … | |
Hi, I'm having issues with driver class is giving me issues. The code needs 2 for loops requirement. The driver class will create an array of 3 CircusClown objects. Use a loop to get user input for your 3 objects. Use a loop to print the toString() method of your … | |
When we pass arg which is of type va_list as a parameter to a different function which calls vsprintf and vfprint giving one of the parameter as args, It gives core dump. But when we make a copy (i.e va_copy) and pass copy to one of vsprintf or vfprintf and … | |
#include "stdafx.h" #include <iostream> using namespace std; int getScore(int& score); int calculateGrade(int score); int _tmain() { int courseScore; cout << " Line 1: Based on the course score" << " this program computes the " << "course grade." << endl; getScore(courseScore); int calculateGrade(courseScore); system ("pause"); return 0; } int getScore(int& … | |
Hi all i am working on asp.net web based application in this application i have to configure one setting from `web.config` file which is path of folder and i want to create that folser on the working directory of project so any body Please tell me can i use `Environment.CurrentDirectory` … | |
Hello, It's been a long time since I've done some polymorhpic programming and nowI'm struggling to get my head round it again Here's what I've got... an interface public interface INote { string note { get; set; } } I've 2 options dervived from this public class Disclipinary : INote … | |
I need help with implementing grow and shrink Here is the actually instructions---> •grow(). This method, when called, will “grow” arrayStack by utilizing the strategy outlined in 2 above. This method will only be called by push(). Note that grow() should be private. •shrink(). This method, when called, will shrink … | |
Okey pros i have a small question.assume that below sinario where i have a Two tables called Organizatioin and Organization_Members (One organization can have many members 1 to Meny) **Organizatioin** Organization_ID - PK Organization_Name Tel **Organization_Members** Member_ID - PK Organization_ID - FK First_Name Last_Name Tel I recently developed a system … | |
Hello. Here is the problem: JS $(".spinBox").css("display","block"); //.... $(".spinBox").css("display","none"); CSS: .spinBox {display:none; z-index:6; position:absolute; top:-45px; left:0; bottom:0; right:0; background:rgba(0,0,0,0.5); } .spinBox img {position:absolute; display:block; width:50px; height:50px; margin:auto; top:0; left:0; bottom:0; right:0;} HTML: <div class="spinBox"> <img id="spinImg" src="images/bg/spinner.png" alt="spinner" /> </div> All that works fine in webview in Gingerbread and Jelly … | |
Hello, I am trying to implement the repository pattern with my tests so that I can save and review all test information at a later point. So far I have a shell of what I need to do but as of now I am stuck on where to go from … | |
I have a piece of code: // trainer query $query = "INSERT INTO ".TBL_USERS." SET username = :username, password = :password, alliance = :alliance, avatar = :avatar, gender = :gender, usersalt = :usersalt, userid = 0, userlevel = $ulevel, email = :email, timestamp = $time, actkey = :token, ip = … | |
My team has been doing Java for a long time. We are switching to Ruby. We are finding that Ruby has limitations and that we have to do certain things in Java. I'm trying to find a way to call Java code from Ruby. I'm searching Google and such, and … | |
Hello, i'm trying to add some values in the database (ms access) but i am having the following error: Error:java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified Can somebody help? Here is my code: package db_con; import java.sql.*; /* * To change this template, … | |
which is better for a noob programmer ? netbeans or jcreator? or any other ? please help me thanks in advance | |
Hi, I want to retrieve the full WSDL file content, i.e. the XML content preferably as a string. The input will be the URL of the WSDL. If anyone has got any idea then please do reply. - Thanks Ambar |
The End.