I'm writing a Kiosk on a Windows 7 computer. The Kiosk is on a touch screen computer, that will not have a keyboard. The application is a WPF application running the .NET Framework version 3.5.
I'm having problems with the progress bar task bar showing up (blinking) at the bottom of the screen. This unfortunately gives the user access to the…
I was wondering if you could help me find why I cannot install Ruby on Rails on my MBP with OS X Mountain Lion. It's a weird problem and I'll give you as much info as I can.
I've installed ruby and it's working at version 1.9.3
And I've installed ruby gems and it's worked for every other gem I've tried to install.
It's version is 1.8.24
When…
I already install my cform and successfully include the form in the designated area. The comments will be sent directly to my e-mail. The problem is I can't receive those comments. Help me pls.
String input = "helloj\"iojgeio\r\ngsk\\"jopri\"gj\r\negjoijisgoe\"joijsofeij\"\"\"ojgsoij\"";
This is my current code that works but iv added some code that has to run before this which makes
some '"' split onto another line thus making the code below obsolute unless under certain cirumstances
the '"' is not put onto the next line.
…
I'm trying to wrap my head around multiple inheritance in python.
Suppose I have the following base class:
class Structure(object):
def build(self, *args):
print "I am building a structure!"
self.components = args
And let's say I have two classes that inherit from it:
class House(Structure):
def build(self,…
Javascript
<script type="text/javascript">
function Edit(id)
{
if(confirm("Are you sure to edit?")==true)
{
location.href='employee_set.php&edit='+id;
}
}
</script>
PHP
<?php
if(isset($_GET["edit"])==false) {
echo "no response";
} else {
echo "link success";
}
?>
My problem is the…
Can someone teach me or give me a link for my problem?
I wanted to cutomize my form "file" -- for uploading.
How can I customize it?
.classfile {
css codes....
}
<input type="file" name="name" class="classfile" /
If I do that way the text box and button of form will be affected. What is the other way to customize that?
Hi to all!
I have a query that gets the name and an id.
The results is like this :
54 - Rian Ree Barrientos
I wanted to get the number 54.
I used echo (int)$_GET['number'];
But the result is "0". How can I get the number?
I am working on a browser plug-in for Firefox, and I would like to be able to do some automated testing to make sure that it's handling a variety of different HTML/JavaScript features correctly. Does anyone know of a good downloadable corpus of HTML and/or JavaScript pages that could be used for this type of…
How do I randomly display 3 divs out of a possible 10 in total?
This is what I have tried so far:
HTML:
<div id="1">Content 1</div>
<div id="2">Content 2</div>
<div id="3">Content 3</div>
<div id="4">Content 4</div>
<div id="5">Content 5</div>…
I am working on a program in C and using the SDCC compiler for a 8051 architecture device.
I am trying to write a function called GetName that will read 8 characters from Flash Memory and return the character array in some form. I know that it is not possible to return an array in C so I am trying to do…
I am working on the firmware for a device that uses an 8bit mcu (8051 architecture). I am using SDCC (Small Device C Compiler). I have a function that I use to set the speed of a stepper motor that my circuit is driving. The speed is set by loading a desired value into the reload register for a timer. I…
I have a jquery code, but I'm a little bit confused on how can I put a css on this:
$(document).ready(function () {
$('span.account-menu').click(function () {
$('ul.menu').slideToggle('medium');
});
});
I wanted to add this css in the click function.
border: 1px solid #999999;…
The SVN menu is disabled whenever I'm in an edit window; it's enabled when I'm in the Navigator or similar file browsing windows. I'd like to have the SVN menu enabled while the editor window is open in order so that I can set up a key binding and commit while editing the document rather than…
new to the community, but here is my first question that I am stuck on. I am new to WPF and WebClient using c# and I am attempting to make a program that access www.nba.com to populate a combobox I have with team names, and then when a user selects a team from the combobox, I wanted to…
I'm wondering if anyone has come up with a clean way to generate a breadcrumbs trail in Fusebox. Specifically, is there a way of keeping track of "where you are" and having that somehow generate the breadcrumbs for you? So, for example, if you're executing
…
<?php
$title = $_POST['title'];
$filename = $title , ".php";
$fh = fopen($filename, 'w') or die ("can't open file");
$stringData = $title;
fwrite($fh, $stringData);
$stringData = $blog;
fwrite($fh, $stringData);
fclose($fh);
?>
This is only a sample.…
I have a dictionary called number_devices I'm passing to a template, the dictionary keys are the ids of a list of objects I'm also passing to the template (called implementations). I'm iterating over the list of objects and then trying to use the object.id…
When trying to draw polygons onto a bing map, the initial marker is set differently on the map. How can I fix this?
OpenLayers Bing Example
<script src="OpenLayers.js"></script>
<script>
var map;
…
I'm trying to share a resource file (.resx file) from my web (RIA Service?Silverlight Host) to client (Silverlight) by linking the resource file into my client. When I try to access resources using the ResourceManager object I get the following error:…
I have an MVVM kiosk application that I need to restart when it has been inactive for a set amount of time. I'm using Prism and Unity to facilitate the MVVM pattern. I've got the restarting down and I even know how to handle the timer. What I want…
I am writing a rake task which, at one point, uses a custom YAML file import method to seed the database.
At one point in the import code, I have:
ActiveRecord::Base.transaction do
Trying to run the rake task throws:
You have a nil object when…
layer 1 -- an embeded video
layer 2 -- an invisible button
**Here is my code in layer 3**
stop();
var vid:Boolean = true;
function vid_event(event:MouseEvent) {
if (vid) {
stop();
event.target.gotoAndStop('pause');
…