Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
52% Quality Score
Upvotes Received
7
Posts with Upvotes
5
Upvoting Members
5
Downvotes Received
5
Posts with Downvotes
5
Downvoting Members
5
1 Commented Post
0 Endorsements
Ranked #1K
~56.9K People Reached
About Me

“For a long time it puzzled me how something so expensive, so leading edge, could be so useless. And then it occurred to me that a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people…

Favorite Tags

78 Posted Topics

Member Avatar for chathuD

it's wrong because you when calling File.Move() procedure, it's input parameters should be [B]the paths[/B] to the for the first location of the file and for the location where you want to move it. This is line bellow is not correct: [CODE] File.Move(filePaths.ToString(), destFolder.ToString()); [/CODE] because your parameters are just …

Member Avatar for lucysome
-1
816
Member Avatar for Clawsy

I want to use jw player on my site but when i start it with F5 with visual studio, i can see the page but the player is a WHITE BOX and if i right-click it it says Movie not loaded. I checked all paths, and i also use Firebug …

Member Avatar for amit28it
0
240
Member Avatar for Clawsy

I develop a chat (server and client) using [I]Sockets[/I]. It's working on [B]LAN[/B] but when I try to connect the client to the server using my public IP address it says it cannot connect to that address. My address is public - a friend pinged my address successfully. You find …

Member Avatar for Aviras
0
336
Member Avatar for azibhai4u

Hi, I think you should flush the outputstream after you have written data to it. [CODE] outstream.flush(); [/CODE]

Member Avatar for ferdousKhanom
0
662
Member Avatar for Clawsy

Hello, I have to continously update an image based on screen capture. So how can I memorize only the part of the image that changes from one picture to another (from one frame to another)(pixels?)... Think of a remote desktop. It's not a good thing to send a 200K desktop …

Member Avatar for mesho100200
0
2K
Member Avatar for Clawsy

Hello, I use Ruby with Sinatra in my application and I need to store a big data (exceeding 4K) in my session or somewhere secude on the server because I do some API calls and I refer to that data very often and that's why I need it stored. The …

Member Avatar for Clawsy
0
420
Member Avatar for Clawsy

Hello, I need some hints about how can I develop an remote desktop application in C#. I would have a client (Windows Forms or web) and a server that sends streaming video and audio [I]captured[/I] from the remote computer screen. Most important is to be real-time and performance rather than …

Member Avatar for Momerath
0
1K
Member Avatar for Clawsy

Hello, I manipulate XML with jQuery with no problem in all browseres but not in Internet Explorer. I serched bug-fix and I found "metadata.js" but still not working in my Internet Explorer 7 :sad: . Does anyone now a fix for this problem? It's just too nice to manipulate XML …

Member Avatar for anonymous2010
0
270
Member Avatar for Clawsy

Hi, I make an application in java ME (client) that connects to a PC application (server) using OBEX protocol. Connection goes well but I don't understand why I can use the stream to send JUST one message frmo the client and after that I must close the stream to see …

Member Avatar for kvnpk74
0
237
Member Avatar for Clawsy

I have too make an application in C that uses a dictionary. I have 54000 words in a file, on per line and I need a way to handle it. - I first wanted to keep it in an array but as it's bigger that INT (32767) I cannot do …

Member Avatar for Adak
0
150
Member Avatar for Clawsy

Hi, I just struggeled all day how can I build JavaFX Application made with visual composer plugin in Nebeans. Every other application worked but this doesn't. When I build it says can't find [I]javac[/I]. Of course, javac .exe is not located in the JRE... [CODE] Cannot run program "C:\Program Files\Java\jre6\bin\javac.exe": …

Member Avatar for iparkin
0
306
Member Avatar for Clawsy

I done an application using Power Point Interop library and it works well but if I copy it from DEBUG folder to another place, when I start it it gives me an error like: "Application has encountered a problem and needs to be close. We are sorry for the inconvenience". …

Member Avatar for Clawsy
0
203
Member Avatar for Clawsy

Hi, I have a few simple questions regarding sending SMS from my PC to my moble phone. I have two libraries which should be able to send SMS messages: [CODE] import com.simplewire.sms.*; public class send_text { public static void main(String[] args) throws Exception { SMS sms = new SMS(); // …

Member Avatar for jwenting
0
987
Member Avatar for Visslan

You must simply "walk through the listview" till you get the index of selected row and then you can do whatever you want in that row LIKE THIS: [code] for (int i = 0; i < lv.Items.Count; i++) // is i the index of the row I selected? if (lv.Items[i].Selected …

Member Avatar for kvprajapati
1
12K
Member Avatar for Diamonddrake

Hmmm, interesting, so basically you need that beat acurate in time (the metronome). -First, if the time interval of the timer can be changed (I didn't work with timers too much) then you must make a delegade from the GUI thread pointed to the procedure that sets the interval. If …

Member Avatar for Diamonddrake
1
134
Member Avatar for aravinda reddy

As adatapost pointed out, you should use Office Interop API to [I]open[/I] the document using Microsoft Word and the use [I]SaveAs()[/I] as XML and you're done. It's just couple of lines of code. Just get used with Office Interop API. It's a lot of fun to me (in the most …

Member Avatar for Clawsy
0
99
Member Avatar for nezammca

First show effort in code for the project, then ask for different issues to be solved. Building such an application really takes time. Start to code it then ask :) where you get stuck.

Member Avatar for Clawsy
0
121
Member Avatar for Clawsy

Hi, I have little experience with writing to Http socket. I am trying to send data to another computer through Http protocol, just like having a chat between two application but instead of using Socket connection I want to use Http connection. The server writes to [I]http[/I] connection data and …

Member Avatar for Clawsy
0
228
Member Avatar for Clawsy

Hello, I have a script written in Java that gets me an answer from a script containing a number of files. The problem is I don't know how to code this in javaFX script as I am very new to it. [CODE] URL url = new URL(page); URLConnection conn = …

0
140
Member Avatar for rosebabu

not necessary borderless. He has a program with .NET i think. I don't have this problem and I have .NET 3.5. It's weird that it closes. It even works simple like this: [code] private void Form1_FormClosing(object sender, FormClosingEventArgs e) { this.WindowState = FormWindowState.Minimized; e.Cancel = true; } [/code]

Member Avatar for Geekitygeek
0
2K
Member Avatar for bertyhell

Why did you wrote this: [CODE]customers.setColumnSelectionAllowed(false);[/CODE]? That wont let you select anything. Modify it and tell me the output. Delete it or set it to true.

Member Avatar for bertyhell
0
574
Member Avatar for Clawsy

Hi, I have an urgent ugly problem. I have a php file on a server that reads the name of the files of a directory from the server and POST them to my java application. When I try to read it, i get [CODE]Server returned HTTP response code: 400 for …

Member Avatar for PatrickSharp
0
913
Member Avatar for restyle

It's a little bit confuzing the code[CODE]<li><a href="<?php $check=$id; ?>"><p id='opmaak'><?php echo $title; echo $check; ?></a></p></a></li><?php[/CODE] If I will undersand what this link really has to do, maybe I'll help you.

Member Avatar for restyle
0
151
Member Avatar for darktangent

Give me some code please. I don't think it dissapeares like that. I implemented once something like that and it worked well for me. Some code should help me help you :).

Member Avatar for almostbob
0
391
Member Avatar for Clawsy

Hi I'm writing a client/server remote viewer application where screenshots of the desktop are sent across the network over a socket. I'd like to reduce the size of the transfer by getting [I]the difference between the two images and then sending the difference[/I]. The difference would be at least a …

Member Avatar for Clawsy
2
4K
Member Avatar for Clawsy

Hello, I build an applet that plays midi files from a server. The problem is when I start playing the file (MidiSystem.getSequencer()).. it gives me this error in the java console and nothing plays: [CODE]SEVERE: null javax.sound.midi.MidiUnavailableException: MIDI OUT transmitter not available at com.sun.media.sound.AbstractMidiDevice.createTransmitter(Unknown Source) at com.sun.media.sound.AbstractMidiDevice.getTransmitter(Unknown Source) at javax.sound.midi.MidiSystem.getSequencer(Unknown …

Member Avatar for Clawsy
0
374
Member Avatar for jemz

Create the image object from the file, then create an ImageIcon frmo it and the set the button's icon with that icon. [CODE] Image myImage = getToolkit().createImage("myImage.jpg"); ImageIcon myIcon = new ImageIcon(myImage); myButton.setIcon(myIcon);//here you set the icon for your button [/CODE]

Member Avatar for jemz
0
185
Member Avatar for Clawsy

Hi, I have a pixel array grabbed with [I]PixelGrabber[/I]. I done some computation with it and now I need make a BufferedImage from it. The problem is I can't make it very fast, just slow. I made an Image type object from it then I converted it to a BufferedImages …

Member Avatar for JamesCherrill
0
2K
Member Avatar for Clawsy

Hello, I'm trying to get from the screen, the region, or rectangle (the coordinated) of the part that is being painted. For example when I move some window or I have some action on the screen I want to get only that part of the screen image that is being …

Member Avatar for Clawsy
0
1K
Member Avatar for dtvonly

Very simple. Just loop through the processes list and check the name of the current process: [CODE] //don't forget: using System.Diagnostics; try { Process[] p = Process.GetProcesses();//system processes in an array for (int i = 0; i < p.Length; i++) { if (p[i].ProcessName == "calc")//checkcurrent process name { //we got …

Member Avatar for Clawsy
0
135
Member Avatar for Clawsy

Hello, I just started reading and learning DirectX SDK's tutorials in order to develop skills for game programming. I don't know COM very well (i just start learning it). I read lights, materials, mesh and BasicHLSL DirectX9 tutorials (line by line). I know C++ and math (not VERY good math …

Member Avatar for EuroK44
-1
228
Member Avatar for Clawsy

Hello, I have to update continously an image based on screen capture. So how can I memorize only the part of the image that changes (pixels)... because I don't want to take a scrrenshot every time... Think of a remote desktop. It's not good to send a 200K desktop screenshot …

0
109
Member Avatar for Clawsy

Hi, I have an application with one JFrame and two modeless JDialogs. When I mimimize the JFrame, the dialogs are still there, not minimized. So i need to hide them. I can hide them with WindowDeactivated event which runs one time when the JFrame is minimized but when I want …

Member Avatar for Clawsy
0
1K
Member Avatar for Clawsy

Hello, I desperately need a good and fast image encoder and/or compressor for files like jpeg or png. I need this for [B]internet image transfer[/B]. I have to transfer an images from server to client very fast - every second, even milisecond. I'm interested in an encorder that can [I]lower …

0
131
Member Avatar for Clawsy

Hello, I have to take a snapshot of my screen and send the image to a client using Datagrams. I think my problem is at the client part. The image is null, and I don't know why. Here is the server part. I tried to send 534 byte packets (bigger …

Member Avatar for Clawsy
0
3K
Member Avatar for Clawsy

I'm am trying to send over socket a very big array - length about 1300000 .... and I use ObjectInputStream and ObjectOutputStream. The problem is when I read the input stream... I get this exception: java.io.StreamCorruptedException: invalid type code: FF at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1356) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at objectThread.run(objectThread.java:27) [CODE] //ois is the …

Member Avatar for Clawsy
0
1K
Member Avatar for bords

So you need to use a database? Hmm... you have to play along with c# controls... take the text from the textfield and make something with it, just to be familiar with it. Then use a database like MySql if you are familiar with it. Use MySql connector to add …

Member Avatar for avirag
0
121
Member Avatar for JasonDoyle

Yes, it is possible... but not that easy. First you should learn about [URL="http://java.sun.com/javase/technologies/desktop/media/jmf/"]Java Media Framework[/URL]. After that I think you should register somehow your applet because you need permision to play that file in the browser. Applets have limited permission.

Member Avatar for JasonDoyle
0
85
Member Avatar for Clawsy

Hello, In my application I transfer a lot of images from server to client. The problem is the size of the image, so I tried to encode it using [URL="http://objectplanet.com/pngencoder/"]this encoder[/URL] - objectplanet png encoder. The problem is nothing seems to happen, image size is the same. [CODE] //img is …

Member Avatar for Clawsy
0
227
Member Avatar for Clawsy

Hello, I built a chat application that uses sockets and TCP/IP protocol. The client is an applet. The problem is I cannot connect the applet client with the desktop server application. [I]If I run the applet inside the applet viewer in NetBeans it works perfectly[/I]. I even tried the applet …

Member Avatar for Phaelax
0
157
Member Avatar for Clawsy

Hello, I build my java desktop application using NetBeans 6.7, visually. So I click on the Frame -> Events -> KeyTyped and I add a new handler. The problem is the key events are not detected! My components are Swing components. Why is this happening?? :( [CODE] private void formKeyTyped(java.awt.event.KeyEvent …

Member Avatar for Clawsy
0
441
Member Avatar for Ghost

try this instead. I had the same problem: [code] try { robot = new Robot(); robot.mouseMove(0,900); robot.mousePress(InputEvent.BUTTON1_MASK); robot.mouseRelease(InputEvent.BUTTON1_MASK); }catch(Exception e){} [/code]

Member Avatar for Clawsy
0
189
Member Avatar for Clawsy

Hi, I want to "click" with the mouse using a Robot object like this: [code] Robot bot = new Robot(); bot.mousePress(InputEvent.BUTTON1_DOWN_MASK); bot.mouseRelease(InputEvent.BUTTON1_DOWN_MASK); [/code] This results in: [B]Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: Invalid combination of button flags[/B] I even delayed the process before it starts clicking to have time to release …

Member Avatar for Clawsy
0
2K
Member Avatar for Clawsy

Hello, In my project I have to capture screen activity (including audio) to a video file. I try using JMF for this. I don't know how to use those two classes: DataSource.java and LiveStream.java. I read them line by line. I probably have to create a Processor and feed it …

Member Avatar for Clawsy
0
726
Member Avatar for Clawsy

Hi, I first convert the image on the server application in bytes: [code] //server public void sendImage(File file) throws IOException { ByteArrayOutputStream baos=new ByteArrayOutputStream(1000); BufferedImage img=ImageIO.read(new File(file.getAbsolutePath())); ImageIO.write(img, "jpg", baos); baos.flush(); os.write(baos.toByteArray());// this is a "new DataOutputStream(clientSocket.getOutputStream());" System.out.println("Done! Length is:"+baos.toByteArray().length); baos.close(); } [/code] Then my application freezes when trying to …

Member Avatar for Clawsy
0
222
Member Avatar for Clawsy

Hello, I'm working on a bluetooth chat application project called 'BlueChat'. I coded the server (BServer.java) and client (BClient.java) parts (2 separate threads). The visual part is called BlueChat.java and allowes the user to select to be the server or the client. I wrote a lot of System.out.println("")'s to check …

Member Avatar for Clawsy
0
270
Member Avatar for Clawsy

Hello, I'm trying to develop a chat application [I]over internet[/I]. First I want to send just strings... later files. I want to have a client that is a java applet that connects to the server - a java desktop application. I waould like to send files later over applet and …

Member Avatar for adams161
0
234
Member Avatar for Clawsy

Please someone help me... why image panel not showing that image in the frame: [code] //image panel class import java.awt.*; import java.awt.image.BufferedImage; import javax.swing.*; public class ImagePanel extends JPanel { private BufferedImage img; public ImagePanel(BufferedImage img) { this.img = img; Dimension size = new Dimension(500,500); setPreferredSize(size); setMinimumSize(size); setMaximumSize(size); setSize(size); setLayout(null); …

Member Avatar for Clawsy
0
204
Member Avatar for Clawsy

Hi I'm making a login panel which sends data to the same page and I use a class made by me and called 'user' that stored user information and autentification. When I refresh the page I check if any session was created before (it was created at first successfull login …

Member Avatar for darius_#2
0
238
Member Avatar for panam72

You cannot use this character: " or ' within the string unless you write it like this: \" or '. You cannot have a string within another string. Just add backslashes to all ' and " characters. That should solve it! :)

Member Avatar for Clawsy
0
221

The End.