help

change file extention?

What the best way is change file extention of Java? ...

Java - Problem with filtering on a JTable

Well guys, here i am. In three days i couldn't resolve this problem. (I'm italian, sorry for my english). Shortly. I have a panel on which there is a JTable that show a mp3 list. Then another panel whith a JComboBox (with it i can choose the type of filter), a JTextField (where i write what i want to search/filter), and a JButton that ...

C# Problem with ProcessStartInfo

Hi. I am using a ProcessStartInfo to patch a file with a text file like this (through cmd.exe): app.exe temp.txt patch.ips I wrote this code: ProcessStartInfo P = new ProcessStartInfo("app.exe"); P.Arguments = "temp.txt " + _patchpath; P.CreateNoWindow = true; P.UseShellExecute = false; P.RedirectStandardOutput = true; Proce...

Detecting when the ball hits the paddle in pong?

I have been reading through this tutorial. I am in a chapter where you can build a pong game. However I am having trouble trying to make a function that can detect when the ball hits the paddle? It says I should do this: Make a boolean function hit(bx, by, r, px, py, h) that returns True when the vertical coordinate of the ball (by)...

Grid from text to 2d array

import java.io.*; import java.util.*; import java.awt.*; public class FileInputExample2 { static public void main(String[] args) throws IOException { int t; BufferedReader filein; filein = new BufferedReader (new FileReader("GridDATA.txt")); int intGrid [] [] = new int [10] [10]; String inputLine = filein.read...

How do I access data from a docked form?

I'm using http://sourceforge.net/projects/dockpanelsuite/ as a docking control in my application and I have added a form as a docking container, and from it I need to access a string from the main form. I was just messing around to see if I could load it using (Owner as MainWindow), but it did not work. for (int i = 0; i < (Owne...

Troubles installing OMNet++ Couldn't reserve space for cygwin's heap win32 error 6

How can I solve this? I'm reading the installtion guide at http://omnetpp.org/doc/omnetpp41/InstallGuide.pdf I'm working on Windows XP m.AllocationBase 0x0, m.BaseAddress 0x715A0000, m.RegionSize 0x480000, m.State 0 x10000 C:\omnetpp\msys\bin\sh.exe: *** Couldn't reserve space for cygwin's heap (0x715A 0000 <0xC90000>) in child, Win32 ...

Cisco 7940 Dial from PC

I have been @ this for hours and keep comming around to dead ends. There as another article here and it was some help but no real answer that could help me out in my particular application given the depth of the answer. I want to use the "Trick" method that the above post (VIEW POST) but I am always getting the unauthorized error. Throug...

Python Tkinter Help Menu

I have a paragraph of help information that I would like to display in a window with an "ok" button at the bottom. My issue is formatting...I want to be able to simply set the paragraph equal to a variable and then send that variable to a message box widget. By default, it formats laterally and in a very ugly manner. Any advice? def abo...

Add ASDoc documentation to Flex Builder help

Is there any way to add my project documentation, generated with ASDoc, to the Flex Builder dynamic help? Or not necessarily to the dynamic help, but somewhere so that Flex Builder searches it when I press F1. I'm using Flex Builder 3 with SDK 3.2.0. Thanks. ...

How to hook up chm help file to custom Ribbon buttons in Excel Add-In (RibbonX)

VS2008, Excel 2007, RibbonX, Excel Shared Add-In, Not VSTO There is no property in RibbonXML that I can set help to a ribbon button I can't get hold of reference to any particular ribbon button, I only can get a reference to IRibbonUI in RibbonLoaded call back Anyone know how to accomplish this? thanks ...

Need some help for c++ !!

Can you tell me what does .time do ? I supose that time is something like a function ,but what does the . operand do ?? Thank you ! :) ...

Undo community wiki?

Hi! I didn't understand the community wiki at first. So I checked it for all my answers. Is there any way to undo it? And there should be an explanation (tooltip?) under it. Please let me know fast if you know. See you ...

How do you integrate cocoslive into a cocos2d game?

Hello, I have searched online for how to do this but I don't understand. The only thing that I find is people telling each other to look at the example that came with cocos2d. What example is that? Where is it located? All I can find are class files. And I do not know how to link UIKit and Cocos2d together which makes it even harde...

Chrome and Firefox will not work after putting computer in standby ?

Howdy, This is not a programming question; but I am at my wits end and was hoping people wouldn't mind me asking for help here, sorry if this is a problem! I just found the people on this website are generally so helpful and knowledgable that I was hoping that somebody would be able to help. I have a quite peculiar problem that I canno...

What web apps can be made (or are made) with OpenGL?

I need to do something with OpenGL for a project. I want to make a web app. Ideas? ...