|
|
How to convert html file to xml file?
Karthick
|
|
|
|
|
Karthi_jpk wrote: How to convert html file to xml file?
Change the extension!
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
1) I think you should read the forum guidelines.
2) I doubt you will get any response based on the subject.
|
|
|
|
|
which country are you from ???
I hope not from India..There was a big issue about this in Launge.
Anyway read guidelines.And try to be polite and give a proper subject title....And then we might help you...
hv fun
|
|
|
|
|
alas the joke about changing the file extension is correct in regards to information provided in the question.
what exacting are you trying to achieve?
|
|
|
|
|
sonsam wrote: alas the joke about changing the file extension is correct in regards to information provided in the question.
you hit the jackpot.
The above was my intention.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
See, demanding something at CP does not work in your favor.
_____________________________________________
Flea Market! It's just like...it's just like...A MINI-MALL!
|
|
|
|
|
Actually, I would like to mow your lawn
Hogan
|
|
|
|
|
Hello everyone,
I am working on an Windows Application which I need to change the loaction of a TableLayoutPanel at the RunTime. I use the following code in order to do this.
this.tableLayoutPanel8.Location = new System.Drawing.Point(771, 3);
I was wondering if the specific loacation (771, 3) is refrence to the screen or the actuall Windows Application? Since the TableLayoutPanel is placed in the SplitContainer with ScrollBar to provide access to the entire Control Panel, I get the feelling that the above line of code locate the TableLayoutPanel on a different spot depending on the position of the ScrollBar.
I was wondering if it is possible to place the TableControlPanel at the same spot regardless of the ScrollBar position?
Thank you very much and have a great day.
Khoramdin
|
|
|
|
|
Hello,
The Location, means allways the Location inside the Container (SplitContainer in your case)!
All the best,
Martin
|
|
|
|
|
Hi,
my application (C#) can run with a culture set from a config file (e.g. "en-GB") that is different from the systems CurrentCulture (e.g. "sv-SE"). Is it possible to start a another process via System.Diagnostics.Process.Start with modified culture settings so that the new process has same CurrentCulture as my application?
Example:
Systems CurrentCulture = "sv-SE"
myApp CurrentCulture = "en-GB" (set from config file)
wanted: newProc CurrentCulture = "en-GB"
Thanks
Rolf
|
|
|
|
|
Hello,
I never tried it, but looks good to me.
The Process class provides a Collection of "Threads" over which the CurrentCulture of all threads from the process could be set.
foreach(Thread actThread in ProcessYouWantToStart.Threads)
{
actThread.CurrentCulture = yourCulture;
}
Please tell me if it works for you!
All the best,
Martin
|
|
|
|
|
Hello Martin,
this doesn't work. Reasons:
- Process.Threads is a collection of ProcessThread and shows the threads of a running process.
- ProcessThread has no property to set the CurrentCulture.
- CurrentCulture has to be set before starting the process because the new process configures its ressource management immediatly after starting.
Thanks,
Rolf
|
|
|
|
|
Hello,
rsperling wrote: CurrentCulture has to be set before starting the process because the new process configures its ressource management immediatly after starting.
Ahhh, thats a deadlock!
Thanks for the feedback.
All the best,
Martin
|
|
|
|
|
Hi i am trying to check whether the bitmap file is 24 bit or not.
For this i have written a below code
<br />
FileStream File<br />
byte[] buffer = new byte[2];<br />
File.Seek(28,0);<br />
File.Read(buffer,0,2);<br />
Int16 nBit = BitConverter.ToInt16(buffer, 0);<br />
The above code works fine and give me the value of nBit as 24. But i don't understand the exact working of it.
Ok first it creates 2byte array, then i have a doubt over 2nd line i.e.
File.Read(28,0); Why current position is set to 28 here....??
It gives correct value when i set that to 28 and by next line the position jumps 2 place further i.e. 30 and by then i get correct value 24.
Can any one please explain me this behaviour...?
Thanks
|
|
|
|
|
See The .bmp file format[^]. Note that this lists the fields starting from byte position 1, while the .NET Framework starts counting at 0.
|
|
|
|
|
Hi,
28 is an offset in bitmap file which store information about number of bits per pixel. For additional information about bitmaps format you can see Bitmap Image article.
|
|
|
|
|
okay thanks...
So 54 is the header size in bitmap file...
|
|
|
|
|
I have a file called sample.doc in c:. I want to save the D: by using Filestream and BinaryWriter.
pls give the code ASAP
|
|
|
|
|
|
the above post probably covers the api you need for filestream and binarywrite.
so my post is just to point out it would be easier to use
FileInfo and FileInfo.CopyTo
if your just copying the file and dont want to edit it.
FileInfo tes = new FileInfo(StrFilePath);<br />
<br />
if (!tes.Exists)<br />
return;<br />
<br />
tes.CopyTo(StrDestPath);
or some such off the top of myhead
|
|
|
|
|
hi all,
I learnt about the ListView Filter operation from Tom Mulligan's article about the same. I'm new to C#/.NET and so could not understand the coding completely. I need to implement Tab Control to the ListView Filters. So if any one among you has a good understaning of this article or windows programming do help me out with it.
http://www.codeproject.com/cs/miscctrl/listviewfilter.asp[^]
Thanks in advance
|
|
|
|
|
Can i use NetResource() in C#? if yes pls give me the syntax?
Regards,
Selva
www.selvaonline.com
|
|
|
|
|
Don't repost your question.
only two letters away from being an asset
|
|
|
|