Hello.
I am making my own crude MP3 player, and I now have a JList with which I have populated a number of files in the form of MP3 objects (displayed on frame using DefaultListModel).
I would now like to have the oppurtunity to save this JList to a file on disk. How would I go about doing this?
I'm very new with programming and Java, so help is greatly appreciated.
Hello,
I am looking for a way to import BRE generated policy with its' vocabularies into BizTalk application from a command line (in order to script it) leveraging BtsTask command line tool.
I've searched around, and couldn't find a firm answer.
Thank you.
hello everyone,
We are doing project on online quiz tool for mobile devices using J2ME. We got the code for midlet interface, webserver and connections. But we need to implement timer in it. So anyone can give suggestions for that code and where can be it beneficial to implement it?
Hello, guys.
I've some problem with iframe at the WordPress admin panel. Can you tell how to remove it? and how to secure WordPress with similar problems?
Hello there,
I created a few styles into a CSSResource and it works well whether I use
GWT.<MyResources>create(MyResources.class).myStyles().ensureInjected();
or not.
Could anyone shed a light on this and explain when to use ensureInjected or not?
Thank you!
Daniel
Hello,
I want to run bmail from the command prompt to send a mail.I am using exchange sever 2003 as as the mail server,when ever i enter the script it tells me that socket closed.Plz can any one help..
Hello SO's
i am trying to create a directory in drive C: (at a win7 target machine) with Directory.CreateDirectory but so far no luck.
I believe the problem has to do something with permissions-security... So here i am..
How can i create a directory in drive C?
Hello,
Is possible to change hibernate.jdbc.batch_size programmatically? I understand
hibernate.jdbc.batch_size is a application level parameter, wanted to know if i can use it
specifically for certain HQL inserts and not others. I would change the code only for those HQL inserts
The big picture is that i need to introduce batch inserts to make the web application performant in some scenarios, but i do not want to jeopardize the normal inserts which work right now.
Any pointers would help
thanks
Sameer
hello,
i m new to sharepoint and bit confuse,
i don't understand where coding take place in sharepoint as other asp.net application.
how it work if i have to create a page for adding record to database.
Hello,
Do you know some good Open Source project written in PHP that is a finest example of MVC and is just the best example to learn how to write a state of art project?
kind regards,
Just something I'd like to play with, I would like to create a "virtual" file/directory in the File System of Linux or Mac OS X (Not sure if I can share the same code - does POSIX help?), for example /foo and then perform custom code when something is read or written to it.
Similar how /dev/null allows for stuff like
echo "Hello!" > /dev/null
I don't care if it's in /dev, /proc or anywhere else, as said it's mainly something to play with...
Hello,
I have created a program that write video stream to a named pipe on windows, using Visual Studio C++ 2008 . how to be sequre that no one exept programms on this computer can acsess this pipe?
npipe = CreateNamedPipe("\\\\.\\pipe\\TestChannel", PIPE_ACCESS_DUPLEX, PIPE_TYPE_MESSAGE | PIPE_WAIT, PIPE_UNLIMITED_INSTANCES , 1024, 1024,5000,NULL);
Hello!
Please let me know what is the best way to determine composition of young generation memory promoted to old generation, after each young GC event?
Ideally I would like to know class names which are responsible say, for 80% of heap in each "young gen - old gen" promotion chunk;
Example: I have 600M young gen, each tenure promotes 6M; I want to know which objects compose this 6M.
Thank you.
Hello,
I have a xml file with 100 records, but I want it to limit it to just 5 records
for ($i=0;$i<=5;$i++) {
foreach($xml-entry as $result){
if ($result->updated == $result->published) {
}
}
}
When I put in the above code, it display one record 5 times.
Thanks
Jean
Hello,
I'm hoping somebody knows the answer :).
Within wordpress in the users section I would like to add a new row which will data pulled in from the Register Plus plugin.
Where would I need to create a new row?
My Example:
Username Name E-mail Role **Website** Posts
Admin Admin [email protected] Administrator google.com 2
Thanks.
Hello,
When the user sets the focus to an edit control on my HTML page, I want some other text to appear "around" it, to give some hints for how to fill out the edit control, and some buttons to fill it with random data. What's the best way to do this with javascript or jquery or whatever?
Thanks.
Hello everyone
I have been coding procedural php for a while and I feel I got a pretty good hang of it.
I feel like learning something new. Any ideas on what is good/hot to know?
I have read some about zend mvc and it seems interesting, but im not sure..
I feel like procedural php is so unorganized and hard to debug when the project grows big.
help me out thanks
Hello Railers,
I have a simple yield use case and for some unknown reason the default case is never shown:
In my super_admin layout I have:
<%= yield :body_id || 'super_admin_main' %>
My controller
class Superadmin::GolfsController < ApplicationController
layout "super_admin"
def show
end
end
My show view
With or without
<% content_for(:body_id) do %sadmin_golfs<% end %
With: sadmin_golfs is shown.
without: empty string is shown instead of super_admin_main
Can anyone reproduce the same behavior ?
Rails 3
Hello,
We have a need to access a DB that only allows one connection at a time. This screams "singleton" to me. The catch of course is that the singleton connection will be exposed (either directly or indirectly) via a web-service (most probable a SOAP based web-service - located on a separate server from the calling app(s) ) - which means that there may be more than one app / instance attempting to connect to the singleton class.
In PHP, what is the best way to create a global singleton or a web-service singleton?
TIA
Hello
I have website designed in WSS 3.0 (Windows SharePoint Services 3.0). Can i re-write URLs to Google / SEO friendly URLs? If yes then please do let me know how to do it?
Thanks,
Rau.
Hello,
In my iPhone application, I need to calculate the time difference between the time a message was created on the server, and the time my phone received it.
The server (Java) puts in a number returned by System.currentTimeMillis() as metadata along with the message.
How do I compare this number with the current time on the device? Could not find a suitable NSDate method to do this comparison.
Thanks in advance!
Hello everyone,
I'm trying to pass an SQL query string from a Java Applet to Servlet as a parameter.
Problem is that in Applet I have something say: sql=select * from p where(+p=1)
The resulting sql parameter in the Servlet is sql=select * from p where(+p=1).
So anyone knows how to prevent the browser from removing the + character from parameters?
Is there a escape character?
Thank you.
Hello,
old problem now getting new. Anyone has a good idea for storing currency values in a sharepoint list? Problem is - there is a currency field, but it is not multi-currency enabled.
I could obviously store the value in two fields (currency lookup from a list, value in second field), but I take it as wondering whether there is a more viable approach that.