Hi all,
I am posting here because I cannot find the answers through Google, and JAR files frequently do what I need. How do you add metadata to JAR files?
The Real Issue: I have a Chrome/Opera extension which is packaged up as a renamed ZIP file (i.e. JAR/OEX/CRX). I want these archived files...
Hi all,
Please see the snippet below.
The exception is being thrown. The XML string is dead simple like <xml><tagName value="://?&"></xml>. I use VIM and I can clearly see there is not a typo in variable names. Can you please explain why I am getting the Typedef error?
It is for an Opera...
This is working in Chrome, Opera and IE.
Can you please help to fix it in FF?
var els = document.getElementsByClassName('myClass');
for (var i=0; i<els.length; ++i){
var node = els[i];
// FF falls here with TypeDefError:node is undefined
while...
window.onload = function() {
window.addEventListener('click', function() { testClick(event) }, false);
window.addEventListener('mouseover', function() { testMove(event) }, false);
}
The above works in Chrome, Opera and IE. It does not work in FF.
I think FF supports the...
Hi all,
Could you please identify below why the output from grep is not being returned in the SOAP response?
Many thanks,
[WebMethod]
public string Grep()
{
Process p = new Process();
p.StartInfo.UseShellExecute = false;
p.StartInfo.RedirectStandardOutput = true;
p.StartInfo.FileName =...
Where each small XmlDocument is..
<root>
<memberA></memberA>
<memberB></memberB>
</root>
Using the following .NET approach to copy and merge many small XmlDocuments into one new big XmlDocument..
XmlDocument big = new XmlDocument();
big.LoadXml("<example></example>");
List<XmlDocument>...
Hi,
string[,] a = new string[3,2];
string[] b = a[0]; // error, wrong number of indices (expects 2)
I don't want to retrieve the separate values.
I want to retrieve the arrays. How do you retrieve the first array (b) from the rectangular array (a)?
--Glen :)
Memoria mihi benigna erit qui...
Hi,
Another system is continuously writing new files to a shared folder on my computer. IIS is serving web applications that reads various files from that folder.
My public IIS web applications currently read data using my username/password but that won't work for viewing the files directly. I...
I just don't know.
iPhone/HTC and their ilk don't allow virtual machines. Java works only when using platform-specific libraries wrapped as an executable. But it still works, and its the only choice on some rival platforms such as RIM.
Then there's the server market - what is Oracle's big...
In Visual Studio,
I right click References and select Add Reference..
I browse list of .NET Components and..
System.Collections is not in the list!
How do I add this to the addable components?
Thanks,
--Glen :)
Memoria mihi benigna erit qui eam perscribam
Hi,
I am generating asx content on the fly from an aspx page that is served by IIS, and the video must display in FireFox without controls.
Using FireFox/WMP Plug-in
FireFox/WMP ignores the EMBED tag attributes and plays the videos - but how can I hide the controls?
For example, the...
Works in FireFox. Doesn't work in MSIE. In MSIE, the src="something" remains unchanged. Can someone please suggest the cause?
Many thanks,
<script>
function ViewAsx(videoCode) {
videoCode = 'AsxGenerator.aspx?fn=' + videoCode;
var v = document.getElementById('video');
v.innerHTML =...
I'm working in another language and drawing from textbook examples in C.
This isn't a problem, but I do have one confusing obstacle. What is a *var?
example(float *var){var += 1;}
Many thanks for your replies!
--Glen :)
Memoria mihi benigna erit qui eam perscribam
This is the same problem I had before, and only one step closer to the solution :(
d/a/ ... parent directory, where d is desktop
d/a/b/ ... script with main method
d/a/c/ ... all the required libraries
This fails: d > javac a/b/main.java
This appears to compile: d> javac a/b/main.java -cp a/...
Hi all :((
I have a classpath problem after changing computers, and the workaround must be ok on future changes too (pc & mac, without admin rights).
/desktop/a/b/*.class
/desktop/c/*.class
/desktop/d/*.class
/desktop/e/f/main.class
Tried javac from root: javac /e/f/main.class (cannot find...
Hi,
This is not meant as a stupid question. If you are intending to answer "no" please also include a "however..." ;)
Using JVM on a system other than JavaOS, is it possible to subvert the OS or add hooks?
Thanks,
--Glen :)
Memoria mihi benigna erit qui eam perscribam
Hi,
I'm using a Java library that accepts only float values. This is fine except Java defaults to doubles.
getResult(0.4); // Java assumes its a double and complains its not a float
Casting is a pain when you're doing it every line..
Is there a way to make Java default to using floats, or...
In MS Word, typing ---- and enter results in a nice thin black horizontal line.
When these lines are between text, removing them is no simple matter. Selecting the horizontal line (or surrounding blocks of text) and deleting does not remove the line.
In many cases, the more one tries to delete...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.