|
SAS
|
|
|
|
|
What i need to be able to do is Convert a Colour to something - eg a Int or String and then store it in a XML file. I then get a Xml file back and need to convert that value back to a Colour but im unsure as to how to do this. Any help would be grateful.
Regards,
Gareth.
|
|
|
|
|
You can use the ToArgb and FromArgb methods to convert a color to and from an int.
---
It's amazing to see how much work some people will go through just to avoid a little bit of work.
|
|
|
|
|
How would i store an image?, i had thought of storing the image name and then getting that, but if its possiable to just simply store an image in byte form maybe that would be easier.
|
|
|
|
|
Hi,
How is it possible to increase the width of a column header in datagridview?
At present all the column headers are the same width but would like to increase the width of one of the column headers.
Thanks
|
|
|
|
|
This is off the top of my head but I think it should work:
myDataGridViewCtrl.Columns[columnIndex].Width = ...;
/ravi
|
|
|
|
|
Is it possible to programmatically delete cookies? can anyone help me with this please.
cellardoor
|
|
|
|
|
You may be able to do this by deleting files in the directory returned by
Environment.GetFolderPath (Environment.SpecialFolder.Cookies)
/ravi
|
|
|
|
|
Just Curious does that work for all browsers or only IE? That would be sweet because I run 5 or 6 browsers and would love to be able to delete all the cookies at once.
Like to clear all the caches as well...
|
|
|
|
|
I'm pretty sure that's an IE-specific (i.e. Windows) location only. Different browsers store cookies in different locations. This[^] app knows them and takes advantage of this fact.
/ravi
|
|
|
|
|
Hello,
Is there a way programmatically to set the page properties, or something to print the HTML document without header, and a footer?
Right now I am using this command to do this:
<br />
HtmlDocument document = (HtmlDocument)webBrowser.Document;<br />
document.ExecCommand("Print", true, 0);<br />
But it always prints page number, and a file name on the bottom, etc...
Thank you.
|
|
|
|
|
I'm trying to post xml data and retrieve that post data by by the post data from the url using another aspx page using c#. I found some information from http://www.codeproject.com/Purgatory/XmlPost.asp, but am unable to successfully post xml data. Does anyone have any sample code to accomplish posting and retrieve xml data? Thanks in advance.
|
|
|
|
|
theflux123 wrote: I'm trying to post xml data ... retrieve data using another aspx page
You can use the class described in this[^] article to post and retrieve your data.
/ravi
|
|
|
|
|
Hi All
the problem is this that when i add a child node to parent node the code written in the button1_click is
treeview1.SelectedNode.Nodes.Add(Child);
but it only works if u select the parent node and if u press the button without selecting parent node it hangs on i want to put a check when someone clicks the check executes first and if the parent node is not selected it displays a message box to select the node first and then add child node
Search One , Praise One , Love One
|
|
|
|
|
if(treeview1.SelectedNode != null)
{
if(treeview1.SelectedNode.Text == "ParentNodeName")
{
}
}
Tarakeshwar Reddy
MCP, CCIE Q(R&S)
Experience is like a comb that life gives you when you are bald - Navjot Singh Sidhu
|
|
|
|
|
Thanxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
|
|
|
|
|
Hi,
Really thanks for your reply.But i could not open the link which you provided.
Could you please suggest any other link?
Thanks
Regards
Anu
|
|
|
|
|
http://regularexpression.com/
|
|
|
|
|
Load the url in a webbrowser control, then use the Document property and then the Links property
|
|
|
|
|
You have forgotten the colon in some of the (?: parantheses.
---
It's amazing to see how much work some people will go through just to avoid a little bit of work.
|
|
|
|
|
I have generated a .cs file from my .xsd file using the command line program XSD.
The xml file contains many nested tables, so several of the generated classes have columns with autoincrement=true.
If I add a new child row then I would expect the autoincrement column to be set to a value after I add it. Unfortunately, it remains at DBNull.
This means it becomes a root level item rather than the child it should be.
Any ideas?
|
|
|
|
|
Please confirm that you have provided values for AutoIncrementSeed and AutoIncrementSteps
Regards,
Ritesh Mehrotra
Software Engineer
|
|
|
|
|
I create a simple form with a toolstrip and attach a ToolStripProgressBar to it.
I want my progress bar to align from right to left, so I set the RightToLeft propery of the toolstrip to "NO", and set the Alignment property of progress bar to "RIGHT". But it doesn't work.
And for whatever I change these properties, my progress bar is always align to the left.
Can you help me with that?
Thx alot.
|
|
|
|