Hi,
I have a button in my Main window, on the click of this button the Main window should be reloaded. How to achieve this?
Please reply
Thanks
Sharath
hello Friends ,
I am getting error while developing Pdf in java
error is=
net.sf.jasperreports.engine.JRException: org.xml.sax.SAXParseException: Document root element "property", must match DOCTYPE root "jasperReport".
if you have solution then reply
vipul
Hi,
I have problem with Runtime.exec() in Java
My code:
String lol = "/home/pc/example.txt";
String[] b = {"touch", lol};
try {
Runtime.getRuntime().exec(b);
} catch(Exception ex) {
doSomething(ex);
}
It's working good but when I trying changle variable "lol" files doesn't create in hard disk
for instance:
String lol = x.getPath(); where getPath() returns String
What should I do ?
Thanks for your reply :)
Hi, I have LDAP schema where are users. I need remove one attribute named "notify" which have values: phone number or mail or remove attribute from user. I found method
LDAPConnection myCon = new LDAPConnection("localhost",389);
myCon.delete("uid=test1, ou=People, o=domain.com, o=isp");
but this remove whole user and i need remove only one attribute "notifyTo" of this user. I need remove whole attribute not only its value.
Thanks for reply
Having four columns in advance datagrid like company,contact_person,product and date. In this, first i want to sort by product followed by company and followed by date. how can i do it in Advance datagrid.
Anybody knows please reply me asap. Advance thanks to u.
Hi
I have image upload form, user attaches aimage file, and selects image size to resize the uploaded image file(200kb, 500kb, 1mb, 5mb, Original). Then my script needs to resize image file size based on user's optional size, but im not sure how to implement this feature,
For example, user uploads image with one 1mb size, and if user selects 200KB to resize, then my script should save it with 200kb size.
Does anyone know or have an experience on similar task ?
Thanks for you reply in advance.
Hi there,
how to recover Ubuntu after installing Windows Vista x64? Vista is installed on another HDD partition, however it has probably overwritten the GRUB. I don't have the Ubuntu Live CD. How to do that without the CD?
Thank you in advance for the reply!
Hello sir I am new to the jsp and ajax world. my problem is
If i select one combo option then it should change the other combo options dynamically without submit button press.
for example if i select the country then it should shows their states in other combo.
I am using servlet & JSP and MS-ACCESS as backend. please reply as soon as possible.
THANKING YOU....
When doing plug-in updates, I was able to get through my proxy with eclipse using jre 1.4.1.
jre 6.0 gives me the error
"Malformed reply from SOCKS server"
any thoughts?
Hi all,
I have to implement chat application to mywebsite using php.
Chat has the features like audio, video, and file transefer.
so please give reply for this,
Thanks,
hi.......
i have a problem.i don't know how to convert a html file to pdf file. i want the answer in c#.net,but the must be without use of any convertor. i want full code in c#.so if any body can help me please reply, it is very urgent.
Thanks in Advance
Regards
Sushant jena
hi,
How to set the selectedvalue for combobox. For example i have some values from 1-10 and i want to select the 5th value.
I tried using SelectedValue and SelectedItem, But its not working for me.
Please reply
Thanks
Sharath
How can I draw a pixel(2D view)for Android using OpenGlEs.
In Simple when we use draw(Canvas canvas){...} to draw,
so using it we draw canvas.drawPoint(i, j, paint); ..but in OpenGlEs still I haven't got any function like it.
Please reply
Thank in Advance
I am trying to achieve the following - one client-side proxy instance (kept open) accessed by multiple threads using a reliable session. What I have managed so far is to have either A) a reliable session with a client-side proxy which is created and disposed per call or B) what I aim for, but without a reliable session.
When I enable reliable sessions on my binding however, the following behaviour is exhibited:
Client-side
Upon application startup everything appears to work fine until roughly 18 messages in to the WCF session. I firstly get the proxy.InnerChannel.Faulted event raised, then an exception is caught at the point where I am calling the method on the proxy. The exception is a System.TimeoutException, with message:
"The request channel timed out while waiting for a reply after
00:00:59.9062512. Increase the timeout value passed to the call to
Request or increase the SendTimeout value on the Binding. The time
allotted to this operation may have been a portion of a longer
timeout."
The inner exception has a similar message:
"The request operation did not complete within the allotted timeout of
00:01:00. The time allotted to this operation may have been a portion
of a longer timeout."
With the method at the top of the inner stack trace being:
System.ServiceModel.Channels.ReliableRequestSessionChannel.SyncRequest.WaitForReply(TimeSpan timeout)
I then call proxy.Close followed by proxy.Abort (catching and ignoring exceptions). If I utilize the default settings (i.e. have simply <reliableSession/>), then calling proxy. Close results in another System.Timeout exception (although this time the allotted timeout is 00:00:00), however if I override the defaults as specified above no exception is thrown.
Service-side
Utilizing WCF tracing I get a System.ServiceModel.CommunicationException, with message:
"The sequence has been terminated by the remote endpoint. The session
has stopped waiting for a particular reply. Because of this the
reliable session cannot continue. The reliable session was faulted."
And a stack trace ending at:
System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult result)
When remotely attaching to the server I get the same message, which occurs when code execution steps over the return statement of my service in the service call which causes the error.
The puzzling thing to me is that the service is stable and runs with options A) or B) as decribed at the beginning of my post, and occurs after a varying number of messages (around 18). The former fact points to there being nothing wrong with the code (indeed I have checked that no exceptions are thrown), and the latter just serves to confuse me and is why I modified the settings on the reliable session binding.
I am quite stuck on this. Can anyone suggest why the reliable session would fault in such a way?
HI,
I need to create an array of images,in which, every time i tap, a new image gets placed at "view".
and at some particular duration of time, i need to clear that array of images, so that all the images gets cleared from the view.
like on button click, i want to clear all the images which are on the view, through taps,
should be clear at once.
Hope i m clear with my question.
looking for an quick reply.
regards
shishir
Hi there,
is it possible to start a new thread in a different process in Java?
I mean, I'm running a specific process and main thread, issuing ProcessBuilder for creating a new process. Before start() method is invoked, one must provide the command to be run in another process. Is it possible to start a new thread in newly created process?
Thank you in advance for the reply.
Best regards.
Hi,
I wanted to have an interface to allow the user to create animation on the browser using canvas element and then i have to save that animation and later reproduce that animation to the others users.
Can anybody How can i do this. Please reply quickly . I have my deadline.
how to delete all records from database using linq.i want to delete all records from the database using linq.i am using MVC.so please tell me the code to delete all records using repository.
reply me soon
thanks
samir
i have an application, and in my urls.py i have something like that:
urlpatterns = patterns('',
url(r'^profile_view/(?P<id>\d+)/$',
profile_view,
name='profile_view'),)
meaning that the profile_view function has id as a parameter.
Now, i want to call that function from my template, using a link like Reply
The problem is that i don't know how to use the above url as a link, meaning how can i 'pass the id parameter to a link'?
thank you
hi
In wordpress how to convert a post data into other language,i am given the xml response to mobile device.so each post is create in english but i have to response in chines and other language support,there are plugin like global translator but it use ajax,but i want the local function for translation.i am running wordpress 2.8
Please reply as soon as posssible
have dream day
Thanks in advance
hi i m finding similarity between documents ....nd to measure that i used jaccard coefficient...i did like dis
D1=(8,0,0,1) where 8,0,0,1 are the tf-idf scores of the terms t1, t2, t3 , t4
D2=(7,0,0,0)
jaccard coefficient= dotproduct(d1,d2) / |d1|+|d2|-dotproduct(d1,d2)
and the answer comes out to be " -1.367931 "...what does it signify about the similarity between the documents...pls do reply..please...thank u..
Hi,
I ask a question and receive answer. Should I thanks to mailing list (Reply-All) or just private to answer-sender?
Question: Hi. Where is problem? Thanks
Answer: Line 32. Regards.