|
Yes, thats what i am looking for, i need to create the JVM and tu run a JAR file that has the main to run JBoss Application Server can u help me, i have already tryied JNI.NET.Bridge Project but it does not work with sub folders in jar.
Thanks in advance
|
|
|
|
|
I'm afraid I don't have experience with bridging JNI and C#. Does the article I pointed you to help at all? I see there are several articles online and on this site regarding JNI and C# interop.
|
|
|
|
|
OK, thanks I am going to continue looking for the solution of my problem thanks
|
|
|
|
|
This is a wierd problem but if I try and set a tooltip ona control with an & in it, the & character isn't displayed. Is there some reason that the character can't be displayed in a tooltip, and if so, can I fix the problem via escaping it?
--
Rules of thumb should not be taken for the whole hand.
|
|
|
|
|
|
Escaping it with an \ didn't work, and .net tooltips don't have a UseMmemonic property.
In any case, the char after the & isn't being underlined.
--
Rules of thumb should not be taken for the whole hand.
|
|
|
|
|
Why did you try to escape it with a backslash?
---
b { font-weight: normal; }
|
|
|
|
|
There's no equivilant property in the 1.1 framework, and the slash is the normal escaping character.
--
Rules of thumb should not be taken for the whole hand.
|
|
|
|
|
dan neely wrote: the slash is the normal escaping character.
No, the normal escaping character is the escape character. Hence the term "escaping".
Different environments use different escaping characters. HTML uses &, URL uses %. SQL string uses '.
---
It's amazing to see how much work some people will go through just to avoid a little bit of work.
|
|
|
|
|
Guffa wrote: Different environments use different escaping characters. HTML uses &, URL uses %. SQL string uses '.
Which SQL implementation uses the single quote as an escape character?
--EricDV Sig---------
Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them.
- Laurence J. Peters
|
|
|
|
|
EricDV wrote: Which SQL implementation uses the single quote as an escape character?
Microsoft SQL Server and Microsoft Access does. MySQL uses backslash, but also allows apostrophe as escape character for the special case of escapeing an apostrophe.
---
It's amazing to see how much work some people will go through just to avoid a little bit of work.
|
|
|
|
|
Try setting the: ToolTip.StripAmpersands Property [^]
--EricDV Sig---------
Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them.
- Laurence J. Peters
|
|
|
|
|
I'm stuck with the 1.1 framework for legacy support, and that property is only available starting with the 2.0 framework. Unless there's a way to pinvoke my way to the equivilant at the win32 level I looks like I'm going to have to do something WTFesque and convert & to ampersand in the tooltip. It's an invalid char warning, so I can't substitute an alternate character in the text.
--
Rules of thumb should not be taken for the whole hand.
|
|
|
|
|
i finsh work exe program with C# 2005 .Net 2.0
How can i make setup file to this progect
Palestine
|
|
|
|
|
Have you tried new Setup Project?
|
|
|
|
|
Hi,
I'm trying to serialize a class that has a table of items of another class. I need the output XML file to look like this:
<XmlSave name="Some name">
<Notes>Some notes</Notes>
<Items>
<Item Index="1"><elem>abc</elem></Item>
<Item Index="2"><elem>zzz</elem></Item>
</Items>
<Items>
<Item Index="100"><elem>ddd</elem></Item>
</Items>
</XmlSave>
I'm using the following classes:
public class Item
{
public Item()
{
}
[XmlAttribute("Index")]
public string index;
[XmlElement("elem")]
public string elem;
}
public class Items
{
public Item[] items;
}
public class XmlSave
{
public XmlSave()
{
}
[XmlAttribute("name")]
public string name;
[XmlElement("Notes")]
public string notes;
public Item[] items;
}
but this will generate additional nodes. I know it should be something really simple, but I just can't figure it out.. .
Anybody? pretty please?
thanks
|
|
|
|
|
hi,
you need to implement IXmlSerializable interface and handle xml writing/reading manually to override default serialization behaviour. have a look at
this msdn source
|
|
|
|
|
|
This[^] article may help.
/ravi
|
|
|
|
|
Hi guys,
Need some help with the registry please. I am saving my settings in the registry and I was wondering how I could check if the settings were saved.
i.e. If a certain string value exists and if it has any data in it.
Please help
sasa
|
|
|
|
|
What are you using to develop your app?
Programmer: A biological machine designed to convert caffeine into code.
Developer: A person who develops working systems by writing and using software.
[ ^]
|
|
|
|
|
|
What are you saving your settings in the registry for? It seems odd to me that you are saving them, but not reading them.
Start->Run->"regedit"->OK
--EricDV Sig---------
Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them.
- Laurence J. Peters
|
|
|
|
|
I am saving Database settings but when I rerun the application I want to check if the database settings are there and if not than I am trying to direct to the database settings form.....
sasa
|
|
|
|
|
using Microsoft.Win32;
...
private bool GetRegValues(string cregPath)
{
RegistryKey rkeyMachine = Registry.LocalMachine;
RegistryKey rkeySub = rkeyMachine.OpenSubKey(cregPath, RegistryKeyPermissionCheck.ReadSubTree);
if (rkeySub == null)
{
MessageBox.Show("The registry key " + cregPath + " could not be opened.", "Registry Problem");
return false;
}
else
{
string cValue = "";
try
{
foreach (string cvalueName in rkeySub.GetValueNames())
{
cValue = rkeySub.GetValue(cvalueName).ToString();
<code>
}
}
catch (Exception ex)
{
MessageBox.Show(ex.ToString(), "Error");
return false;
}
finally
{
if (rkeySub != null)
rkeySub.Close();
}
}
return true;
}
--EricDV Sig---------
Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them.
- Laurence J. Peters
|
|
|
|