- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 12
- Posts with Upvotes
- 12
- Upvoting Members
- 11
- Downvotes Received
- 2
- Posts with Downvotes
- 1
- Downvoting Members
- 2
Re:
[ATTACH=RIGHT]16325[/ATTACH]Today, the [I]Entertainment Software Association[/I] released findings from two studies by Dr. Christopher Ferguson of Texas A&M University. In an interesting twist, Dr. Ferguson's findings suggest that not only are violent video games okay to give to children, they may actually be beneficial. Video games are often blamed for violent … |
|
I need to bind a property to a ToolStripMenuItem. I've searched around and found it imposible, the best workaround seems to be creating a BindableToolStripMenuItem class and implement it yourself. So I've taken some reasonabyl well established code from the internet: public partial class BindableToolStripMenuItem : ToolStripMenuItem,IBindableComponent { private BindingContext … |
|
A warning: I'm very new to databases! Hopefully this will be a pretty simple question. To simplfy my problem, I have a tree of 'meters' that collect data (Let's say electricity meters). I'd normally structure this with objects in a tree, each with a list or some kind of array … |
|
Re:
Hello ,,, Please I need Your Help as soon As Possible.. I have an array of integers and i need to convert it to string ... PlZ Help me as soon as Possible ... |
|
Hi, I need to be able to automatically process emails sent to an outlook account. I would use outlook, but we can't run a user logged in 24/7 on our server so I need to manage them as a service. Is this something that I could do in C#? So … |
|
Hi, I'm trying and failing to get this CSV reading library to work. I started making a question on accessing the data in CsvReader, which I could see in the debugger but couldn't work out how to access via code. However, I'm getting annother problem now which I wasn't before, … |
|
Hi, I'm trying to get a bunch of files off an ftp server. I connect fine: batch script: ftp -v -s:"C:\Documents and Settings\xxxx\Desktop\download.txt" xx.xx.xx.xx and download.txt: xxxx xxxx lcd "D:\Data\FileDump" cd "backup" mget *.* It runs fine until it gets to the mget *.* and then it just outputs all … |
|
Hi, I am trying to get a rounded-rectangle Label, this method has worked fine for my TextBox, and seems to work for my Label except the Content doesn't appear (ie, there is no text). When I remove the <Setter Property="Template"> section, the label goes square but the text is visible. … |
|
Hi, I'm not sure if this is the right place for a WPF question... but you might be able to help me! I am using Visual Studio Express 2010 (Which I didn't know had an evaluation time, going to have to change to 2008!) and I'm developing a WPF application. … |
|
Hi, I am trying to use some C# code I have written in C++ - its worked fine in the past (without inheritance) so I'm totally stumped by this problem I'm getting. I have made a really simple version, which demonstrates the problem, specifically when it goes into any COM … |
|
I have two projects in Microsoft Visual Studio 2008, but I can't access the objects/namespace from one with the other. here is an example from my GCController project: [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.InteropServices; namespace GCController { [Guid("9949f4f1-92e6-4709-85a8-12c816b6ceb4")] public interface IGCController { // ... // } … |
|
At the moment I am parsing strings to enumerations using this code: [CODE] if (Enum.IsDefined(typeof(Color), input)) { colour = (Color)Enum.Parse(typeof(Color), input); } [/CODE] which has worked fine so-far, but I would like to parse lower case/mixed case, for example someone might input Red, but the enumeration is red or RED … |
|
Re:
Sorry if this is posted in the wrong section. But I came across this question on a test: Which of the following will evaluate to true only if boolean expressions A, B, and C are all false? (a) !A && !(B && !C) (b) !A || !B || !C (c) … |
|
Re:
I know this is a very common program that has been discussed, and I have searched through all the previous posts about it but still having problems. It's a program for an airline seating reservation. Consists of 12 seats total, 1-4 is First Class, and 5-12 is Economy. I have … |
|
Re:
I get this error and i don't know what is wrong i declared a new class and initialized it yet the compiler still gives me the error above. public class Vec { private double[] v; public Vec(int length) { double[] v= new double[length]; for(int i=0;i<length;i++) { v[i] = 0.0;} } … |
|
Re:
I'm creating a silly game, and the first thing I want to make is to tell you "You Lose" if the all that you control with the mouse is not inside the frame. I created a JComponent and every 20 milliseconds it is repainted (A thread does that). Inside it, … |
|
Re:
hi, I would like to save a .bmp image using showSaveDialog and i cannot figure out what to use.. Below i have the code of open. [B]Code[/B] [CODE]protected void Open(JFileChooser chooser, JLabel lblPicture) { // TODO Auto-generated method stub if (chooser.showOpenDialog(this) == JFileChooser.APPROVE_OPTION) { File fileChoosed = chooser.getSelectedFile(); try { … |
|
Hello everyone. I'm a bit new to c++. I'm trying to write a game loop (see the code below) and I'm getting some weird behavior with the GetSystemTime(). I ran through it with the debugger and I get things like this: startTime = 452 endTime = 210 And nothing seems … |
|
Re:
Hi, I'm currently designing a software application for teaching, it will have a large backend database, short animation videos(basic 2d of people talkin). I'm just looking for some advice in what is the best language to code this type of project in. I have done several projects in both java … |
|
Hi, I'm wondering what which IDEs people use to develop C++ with. I am learning c++ from a background in Java, I am used to eclipse and recently installed Visual Studio. Now, eclipse comes with loads of auto-complete stuff. For example If i write a function and it doesn't exist … |
|
I have made a small example to illustrate my problem. I have overwritten the createToolTip method for a custom JComponent (eventually it will depend on where abouts the mouse is in the component as to what text to bring up) At first I thought it wasn't being called, but i … |
|
Re:
I got Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0 at this line.[CODE]File f1= new File(args[0]);[/CODE] I guess i have to give a command line argument. How to give a file as command line argument. Or is this someother one? |
|
Re:
In which package is Grid(in-built) class is there? I guess util. But Grid creation using create() shows error. |
|
I have a bit of a puzzle, My default buttons (for when they are only an image) have this "highlight" listener, when the mouse enters/exits it draws a border to give the user some feedback. Its worked fine untill now, where I have a "close" button that, when clicked, removes … |
|
I am writing a video program, everything works fine except I am often (ie most times, but not [I]every [/I]time) getting the following error: Unhandled exception at 0x6076fde0 (msvcr90d.dll) in javaw.exe: 0xC0000005: Access violation reading location 0x0a450020. I have tracked it down to this function: [CODE]//fill the buffer from data … |
|
Re:
Hello, here is a code for retrieving some lines from a text file. i'd like to extract data from line2 to line4 ---> this is working but in the same time i want to data from Line10 to line12 here is the code, my conditions is not working: Thank you … |
|
Re:
[B]Hi everyone I would like to take your advice about my situation This is my second year in university and my major is computer science and my programming skill is very weak:'( and I finish data structure by Miracle :icon_cry:and until now I can’t solve any assignment by myself:icon_sad:, so … |
|
Re:
So I have started learning Java for my senior project at school and I would really like to make a tower defense game as my project. I have been looking for tutorials that would help but I am having trouble finding some. I have been using [url]www.javacoffeebreak.com[/url] and I've been … |
|
Re:
Hello. I am having trouble with my menu and buttons (which are just pictures that change when you scroll over them). One of my buttons works perfectly, but when I coded the rest in the same way (at least I think so) they dont work. Sorry for the long code. … |
|
Re:
when the space key is pressed then the menu apears, but when you press the resume button (cont) then the menu should dissapear, but it doesn't. please help. Thanks [code]// The "ArrowKeys" class. import java.applet.*; import java.awt.*; import java.awt.event.*; public class ArrowKeys2 extends Applet implements KeyListener, Runnable, MouseListener, MouseMotionListener { … |