|
Xenocode[^] and Remotesoft[^] have applications that will allow an application to be written in .NET without needing the framework installed. The main differences are that salamander will precompile your app into native code, xenocode will just stuff the .net executable inside a wrapper, and that xenocode will combine all the .net dlls in as well while salamander will leave them separate.
IIRC one of the virtualization companies sells a similar service for ~$5k but I never investigated it in detail because of the price differential.
It is a truth universally acknowledged that a zombie in possession of brains must be in want of more brains.
-- Pride and Prejudice and Zombies
|
|
|
|
|
Hi,
I devloped one web application which gives diffrent resolution on diffrent versions of internet explorer as well as on diffrent resolution. so how should i standarize it?
|
|
|
|
|
hi,
How can i remove borders of Radio Buttons through code or property or CSS.
Please do replay
Thanks
|
|
|
|
|
Could you post the snippet of your code where you create the radiobuttons? That will help to get an idea of the problem.
Normally you can remove borders by setting the "border: 0px" in css...
|
|
|
|
|
Hi all,
How can I convert a HTML file to .Doc file in C#.net? Currently i am using ghtmldoc.exe with arguments "--webpage -f " + DocFile + " " + html file". However the conversion is successful but the resulting Doc file is missing images in it. Can somebody help me out or knows some other workaround to convert HTML to DOC.
Happy Coding,
Vivek Rathore
|
|
|
|
|
The easiest way is to write HTML in your .doc file, because .doc files support HTML
|
|
|
|
|
But how can i write images of html to doc. This is what i need to do?
Happy Coding,
Vivek Rathore
|
|
|
|
|
I'd like to add to above post that you can embed pictures using the MIME libraries that come with .NET. Research the "webarchive" format, create an *.MHT file with pictures and rename to *.DOC
I are troll
|
|
|
|
|
The problem is when an sql query is executed with more 2100 parameters it shows an error during ExecuteNonQuery() call
|
|
|
|
|
Any sql query with more then 2100 parameters should be looked at. the design for this must need reworking!
|
|
|
|
|
I think this one qualifies as a coding horror and a WTF!
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn) Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia) Why are you using VB6? Do you hate yourself? (Christian Graus)
|
|
|
|
|
What's the error? BloodyStupidSQLStatementException?
|
|
|
|
|
I never thought I'd say anything good about MS access, but depending on the query type it limits you to either 127 or 255 parameters per query. (Don't ask how I know this. )
It is a truth universally acknowledged that a zombie in possession of brains must be in want of more brains.
-- Pride and Prejudice and Zombies
|
|
|
|
|
Holy what?!!!!! Surely, you cannot be serious. 2100 parameters? Dude, you must be doing something extremely bad to get into that situation...
Regards,
Rob Philpott.
|
|
|
|
|
What database system? What ADO.net connector? Is the database local or on a remote server? What Exception is thrown? Does it succeed with 2100 parameters? Why would you try anyway?
|
|
|
|
|
shine_paravur wrote: with more 2100 parameters
Dude, you need Code Consultation Officer. Please go to your nearest Emergency Code Consultation Office Immediately. This could be life career threatening issue.
|
|
|
|
|
Hi,
Can we find on which platform the dll/.Net assembly has been build? Either on x64 or x86.
I want to find this through C# code.
I tried this through reflection but not able to find correct property.
Thanks in Advance.
|
|
|
|
|
From memory, the Environment class has members to discover the system processor.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Thanks for reponse.
From that i will get the current CPU bits, but what i want to find is that,
I will get a dll as input and from that i need to find on which platform it has been
builted. Does it support x86 or x64 or both.
Thanks
|
|
|
|
|
Well, if built with X64 it won't run on 32 bit Windows, not sure about the other way round though.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
I wouldn't like to say for sure that you can't but I'd expect not. Assemblies are after all a load of metadata tables and MSIL instructions. The very essence of it all is that MSIL isn't linked to one particular processor - the JIT compiler does that at runtime.
Why do you need to know this?
Regards,
Rob Philpott.
|
|
|
|
|
Do you mean you want to find out whether it has been build for "x86" or "x64" or "I64" or "Any CPU"?
If you just need to distinguish between 64/32bit at runtime you can look at the size of IntPtr.
|
|
|
|
|
If it's built for x64, the .exe/.dll file will use PE32+.
For x86 or AnyCPU assemblies, it'll use PE32.
If you need to find the difference between AnyCPU and x86-only assemblies, you'll need to look at the 32-bit flag in the CLR Runtime Header.
You can find the documentation of the .dll/.exe file format on http://www.microsoft.com/whdc/system/platform/firmware/PECOFF.mspx[^].
|
|
|
|
|
Is there any built in method that create a boolean array from a byte or int - basically a bit array indicating whether each element (bit) is set or not?
I've easily created my own function to do this but wondered if there was already an in built method?
[Edit] Jst found the BitArray class that will take a byte[] parameter and set the bits accordingly [/Edit]
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn) Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia) Why are you using VB6? Do you hate yourself? (Christian Graus)
|
|
|
|
|
I dont think there is the way you describe. But depending on your needs for it you could use an enum with the 'Flags' attribute. This can be set as a whole be passing it a byte or int...
[Flags]
public enum MyFlags{
Flag1,
Flag2,
Flag3,
Flag4
}
public MyFlags myFlags = 4;//set with int or byte value
this will result in Flag3 being set and the others not set... likewise, assigning a value of '6' would set both Flag2 and Flag3.
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|