199,114 Archived Topics
Remove Filter ![]() | |
Hello, I have been trying to make a logical expression that would give me a certain output(Y) from the given inputs(ABCD). The directions are not specific in how I get the output just that I do not simplify the logical expression A B C D Y 0 0 0 0 … | |
A parking garage charges a $2.00 minimum fee to park for up to three hours. The garage charges an additional $.50 per hour for each hour [I]or part thereof[/I] in excess of three hours. The maximum charge for any given 24-hour period is $10. Assume that no car parks for … | |
I'm trying to zoom in on a Picturebox when scrolling the mousewheel, the code below zooms in on the image only to the center of the image, not at the current cursor position. How would I fix this? PictureBox1.Size = New System.Drawing.Size(PictureBox1.Width + e.Delta / 1, PictureBox1.Height + e.Delta / … | |
Hi Guys I have got 4 radio buttons on my form and & i am trying to match the text for these radiobuttons with a record in one of the database tables. Essentially I would like when the submit button is clicked to match if the selected or clicked radiobutton … | |
I am trying to get the seleted radioButton from a group of radio buttons. The program is supposed to check on the search form for controls that match the selected radiobuttons. The radiobuttons are named AND and OR For example Field 1 :Customer No Search String: 123353 ANDradioButton ORradiobutton Field … | |
Hi all, I have a small silly issue which i'm embarrassed I cant solve... I have a function which loops every second to see if a status has changed. When the status changes, I want it to call a phonegap 'beep' notification. The issue is it keeps calling the beep … | |
Hello, long time no ask I have this problem... seems to work fine if i put it like this function cerrarTimeout() { setTimeout("cerrar()",1400); } But i want to pass a variable to cerrar() and it wont work like this function cerrarTimeout(id) { setTimeout(cerrar(id),1400); } nor like this function cerrarTimeout(id) { … | |
Hello, i want my users to be able to create events and the event to be shown on their wall. I have this that shows a photo that they upload. <div id="imageupload" class="border"> <form id="imageform" method="post" enctype="multipart/form-data" action='message_image_ajax.php'> <div id='preview'> </div> <div id='imageloadstatus'> <img src='<?php echo $base_url;?>wall_icons/ajaxloader.gif'/> Uploading please wait … | |
Hi , I just want to know,is it possible to assign the javascript array variables to the php array variables. I am new to php ,so please can anyone explain me. ![]() | |
This the error I am getting when I install VB application which is developed in VS 2010 with Access 2010 as backend error: ACEW OLEDB 12.0 not REGISTERED on local machine This appears to be faced by many people. I faced it first time when I installed similar project in … | |
Am doing an application to allocate the seats to the students in a building with rooms. I have almost done to allocate the students appropriatly in the rooms. The problem now is convert them to a single variable. So here is the place am struck with: I have these data … | |
Hi. I have a JFrame with a JLayeredPane. On the first layer there is a table, then above it there is black transparent layer that allows me options and what-not. I animate the arrival of this transparent layer. However when I do this the panel seems to loose it's transparency, … | |
can anyone tell what did i wrong on this random number? http://pastebin.com/M3J9u5sR | |
pls i need someone here to help me with the coding trend am using. this is an example of my code inserting data in to sql server 2008 table... Public Sub insertStocks(ByVal serialNumber As TextBox, ByVal itemcategory As ComboBox, ByVal itemname As TextBox, _ ByVal dateofmanufacture As DateTimePicker, ByVal dateofexpiry … | |
hi every one. I need some ideas for the calculation. I have a table in the database with field names: Product_id,Name,Description,Quantity,Unit_price What i want to do is when customer chooses the product, as soon as he/she enters the quantity it should automatically be multiplied by the unit price of that … | |
I am trying to use Visual Studio's debugging features more effectively; I certainly do not know all its ins and outs. At the moment, I would like to quickly see the values of an array. See the attached screenshot of the Watch Window. The variable **k** is a global array … | |
hi!!m doing my college project on "online digital photo printing"where a customer can upload,edit and order photos at home the problem i am facing is:-i want to provide my users a "price list of photo type(passport size=rs XXX,stampsize=rs YYY)" and these prices should be entered by "admin"in a form..that gets … ![]() | |
I'm just starting my 2nd semester in Java. The project for the semester is: I have to create a EDUCATIONAL GAME or any SYSTEM using java. I am clueless what to decide to make. Please I need help ... I dont have enough Java knowledge and need the idea of … | |
I'm using a TableLayoutPanel which will contain a few dynamically generated LinkLabel's I get everything except the extra spaces in 1st and 2nd row. I've attached a snapshot through screecast. Can anyone tell me how to remove this extra thing? Heres the snap shot link : http://screencast.com/t/dZqRzSZU | |
I am working on a project where you must first encrypt a sentence then decrypt it. the code that is used is: `import java.io.*;` `import java.util.*;` `public class Decryption `{` `public static void main(String args[]) `{` `Scanner kbReader = new Scanner(System.in); `System.out.print("Enter a sentence that is to be encrypted: "); … | |
Hi can anyone help me i am using python 3 and i am new here. I want to know how i can make these random numbers, example: 4 11 17 21 44 - 20 show up, like the example. The problem is the last #20 shows up below the others. … | |
I am doing a programming assignment. This program asks you to collect statistics on precipitation and temperatures from the four quarters of a year and print the calculated results. It is an exercise in using enumerated types and arrays. The measurements are entered at the end of every quarter. Major … | |
Am trying to get a function call but i cant get it to print. Please help here. This is the code: def foo(): name = input ('>>').lower().split() for item in name: if name == foo: print ('foo here!') else: bar() def bar(): name = input ('>>').lower().split() for item in name: … | |
I have two tables Student S_ID PK S_NAME COURSE C_ID PK C_NAME S_ID FK I've created trigger for both S_ID and C_ID (to generate id no insert update delete before each row ) when I do this DELETE FROM STUDENT WHERE S_ID = 1 I get this ORA-04084: cannot change … | |
Not usually one to have to do this, but I cannot find the problem with my code. Yes, this is a project Euler problem. Any tips or suggestions help. My code works by getting the location of each number, excluding the first numbers as it has to be predefined, and … | |
Hi, i was wondering how is working with MVC to put my website on the webserver!! I mean, my fear is about the database... if i make some change on my code and i wnat to put the project on the server, will i lose my data on the database … | |
How do I open a Word document and feed its contents as the body of an email message using OpenXML and C#? | |
http://ibiz-arabia.com/register.php is not validating validation. I am using javascript validation but working. | |
Hi there. I was wondering if there is actual difference ' and ". I kinda thought it was like preference, some people like to put ' and others ". But I was reverse engineering some jQuery plugin and I noticed both ' and ". There was actually no reason. I … | |
Hey everyone! I am developing a database for the Attendance system in my university, I've created a blue print somehow and sketched out the entities on the paper. But still I'm a little bit confused about the tables, that might be there should be more number of tables should be … | |
`final PerspectiveCamera camera = new PerspectiveCamera(true);` The constructor PerspectiveCamera(boolean) is undefined. http://download.java.net/jdk8/jfxdocs/javafx/scene/PerspectiveCamera.html Clearly says that it can accept a boolean for "verticalFieldOfView" Why is Java giving me this error? | |
Hi Folks, I am new to java programming. I have an xml file <File> <XMLFile> <Type = "TypesFirst"> <myI>17</myInt> <myS>Type one</myS> <myD>3.14</myD> <myL>1212121</myL> <myC>D</myC> </Type> </XMLFile> <XMLFile> <Type = "TypesSecond"> <myI>17</myInt> <myS>Type two</myS> <myF>7.14</myF> <myL>121456</myL> <myC>D</myC> </Type> </XMLFile> </File> So I have to deserialize this file in such a way … | |
Using Oracle query, I need to delete records from fact table which has 0 value in qty fields for only particular Materials. Material information is available in only PART_DIM table. I have retrieved data set which has to be deleted using the below INNER JOIN query but am not able … | |
I suppose to write a Java program using array and method follows: It reads a sequence of strings, each on a separate line, and stores them in an array, let call it input1, with one string per cell, in the order they were read. The sequence ends with an empty … | |
I'm trying to implement a hangman game using linked lists but not getting anywhere. I want guessed characters to be inserted in a Linked list of chars at a position that corresponds to the character's position in the word they are trying to guess.(See example at bottom.) For some reason … | |
Hi everyone I am coming from a C background and I am finding it hard to understand wrapper classes and unwrapping them and their use. Can anyone tell me how they work in english that is easy to understand. And what is an object is it a variable, a data … | |
evenafter learning functions , i see a lot new things everyday in functions. its great because it gives the opportunity to learn new things. today , i see a function which have const keyword with function , like this : void fun_name() const{ } i couldn't understand it . would … | |
At this point I know how to utilize Google Maps within Android but it always seems to take up the full window, there is an image below which shows what I'm attempting to accomplish (having a box below the Google maps where I can store text i.e. "Hello World" **How … | |
apply css class onmouseover and remove onmouseout using javascript | |
how to make a program in c++ executive? | |
I installed WAMP server 2.4 the latest one on its website which currently support PHP 5.4 and Apache 2.4. This works successfully. When I tried to downgrade the PHP version to 5.2 or another lower version, the system rejected this downgrading saying my Apache version is not compatible. So, I … | |
Howdy-ho. I am trying to right click on my table and change the cell border color and highlight color of that cell. I have figure out how to give that particular cell focus when I right click it by using int row = fixed.rowAtPoint(evt.getPoint()); int col = fixed.columnAtPoint(evt.getPoint()); fixed.changeSelection(row, col, … | |
Dear all , i have one question how can i submit a form with multiple form in my page and i don't want to refresh page because if refresh page other form will lose data need to input again | |
hi guys, i have created a datagridview with a combobox, which pulls out info from my DB, what i am trying to do now is, populate the rest of the datagridview with the information linked to the selection. failing that i want to populate a label with the selected item. … | |
I am getting followed error while first time get report on different server afterwards i refresh web page again report appearing properly.What can be cause? *System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host … | |
class Simple { void display() { System.out.println("ant hnkg"); } class Local { void msg() { System.out.println("inner"); } } public static void main(String args[]) { Local l = new Local(); l.display(); } } | |
Hello Community, I would like to know if there is a way to get the corresponding list index of another list like below: Dim panelTitle As New List(Of String) panelTitle.Add("First Panel") panelTitle.Add("Second Panel") panelTitle.Add("Third Panel") Dim panelName As New List(Of Panel) panelName.Add(Panel1) panelName.Add(Panel2) panelName.Add(Panel3) So when I choose "Second Panel" … | |
i declared a variable string to store my query video_id value in it `Inline Code Example Here` string videoid; private void comboBox1_SelectedIndexChanged(object sender, EventArgs e) { loaddata(); string myconnection = "connection string"; MySqlConnection myConn = new MySqlConnection(myconnection); MySqlCommand SelectCommand = new MySqlCommand("select * from livestream.video where title ='" + channeltitle.Text … | |
i have a database at the links. so the problem it still insert between the time some friends suggested to loop all the data 1st then validate but im confused here. **any help would be great ** <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title></title> </head> <body> <?php mysql_connect("localhost","root",""); … | |
How to hide onmouseover status of an anchor tag When we mouseover on edit link we get some link like this index.php?editid=1; so how to hide this on mouseover |
The End.