|
do you know any free C# MD5 implementation (or I have to do it myself 
|
|
|
|
|
It is part of the .NET framework. Check for System.Security.Cryptography.MD5.
|
|
|
|
|
huh
can't be... I hope it can be used for testing data integrity
|
|
|
|
|
Where can I get a quick turtorial on the progress bar?
/\ |_ E X E GG
|
|
|
|
|
Hi,
I've been trying to get the designer in visual studio to work for a class which isn't derived from "form".. It is a class derived directly from System..
I want the designer to work for my class so I can to drag the database connection from the "server explorer". And have it add all the code automatically to my class as is done for classes derived from "form"..
How can I do this??
Your help as always would be greatly appreciated!!
|
|
|
|
|
There was a quick "tip" about just this in one of the recent MSDNTV items. (Go to www.msdn.com/msdntv[^], then look at the archive for the one by Juval Lowy.)
Anyway, you temporarily inherit your class from Control (I think), which then enables the designer to do the database work for you. Then you remove the control inheritance if needed.
John
John
"We want to be alone when we hear too many words and we feel alone when it has been a while since anyone has spoken to us." Paul David Tripp -- War of Words
|
|
|
|
|
I'm doing something similar right now actually... Working on creating a GUI library and engine using DirectX that is designable.
You have to implement IComponent in your class (deriving from Component is a quick way to do this) because the DesignerHost (service provided and used by VS.NET) utilizes sites (ISite ), which are the basis of components. Then you have to specify an IRootDesigner -implementing class in a DesignerAttribute for you IComponent class. You can try using ComponentDocumentDesigner for that if you don't need any custom designer stuff.
Also check out an article/sample named ShapeLibrary that gives a nice easy example of utilizing design-time services in .NET. You can find it here:
http://windowsforms.net/articles/shapedesigner.aspx[^]
Hope this helps...
|
|
|
|
|
Does anyone know how to locate a specific node in a treeview control? I have the full path (string) to the element, but now i want to select the given node in the treeview.
Is there any easy way to do this?
i.e i have the string "folderlevel1\folderlevel2\child1", and i want to select the node with name "child1" in the structure...
i'd really appreciate some help.
|
|
|
|
|
Use a foreach loop to loop through the Node 's within the treeview.
-Nick Parker
|
|
|
|
|
Hello Gurus,
I inherited a MS Access database. One of the columns in a table happened to name with a SPACE in the middle, "FrameMaker Location". I know, it's not a smart way to name a column.
I was trying to insert some new records into the table. It only worked when I removed the SPACE from the column name (from my code and DB), like "FrameMakerLocation". Otherwise, I got an error like this "Syntax error in INSERT INTO statement".
Do you know any tricks so that I don't have to rename the column name???
Thanks so much in advance
Have a great Thur.
Khang Nguyen;)
Here is my draft of code (roughly)
===================================================================
DataRow row = dataSet.Tables[0].NewRow();
row["FrameMaker Location"] = sFrameMakerLoc;
dataSet.Tables[0].Rows.Add(row);
iNumOfAffectedRecs = adapter.Update(dataSet);
|
|
|
|
|
I am not sure but try enclosing the name in square brackets [ ].
Paul Watson wrote:
"At the end of the day it is what you produce that counts, not how many doctorates you have on the wall."
George Carlin wrote:
"Don't sweat the petty things, and don't pet the sweaty things."
Jörgen Sigvardsson wrote:
If the physicists find a universal theory describing the laws of universe, I'm sure the a**hole constant will be an integral part of that theory.
|
|
|
|
|
Ray, I tried it but it did not work. Thanks for the suggestion.
Khang;)
|
|
|
|
|
|
I want to be ables to set int's to null but I can set Int32 to null
|
|
|
|
|
|
I am trying to write a class to draw an image and then save it to a JPEG.
The drawing is easy, but the saving part is a female dog.
Can anyone help me with ideas on how to do this ?
Johan Lombaard
Only two things are infinite, the universe and human stupidity, and I'm not sure about the former - Albert Einstein
|
|
|
|
|
|
I try to place a file into the clipboard so I can later paste them in Explorer. I can place text, bitmap etc using Clipboard.SetData, but how can I place a file into the clipboard?
Thanks
|
|
|
|
|
|
can you give more detail? I want to do the following.
If I click a button, a file (its name) is place on clipboard, then go to Explorer and hit CtrlV
thanks
|
|
|
|
|
How can I make it so that the vertical pointing icons appear in my ListView after the user has clicked on a header to sort it????? I have been trying to figure this out for a bit now and I dont have a clue.
|
|
|
|
|
Hi. I created a dataAdapter and a typed dataset, which refers to a stored procedure that takes an input value. How would I use this dataSet, or fill the dataAdapter, as I dont know how to tell it what the input value must be (which happens to be an int).
|
|
|
|
|
I am writing a function that checks whether the same program already started. In case the same program is lready started, the control will be moved to the opened program, and the program is closed.
PMN
|
|
|
|
|
|
i created a table with 9 columns using datatable and tablestyles.
Also i got a DataRelation.
How can i tell my childcolumn to change if the parentcolumn changes?
e.g. in column "number" is 10 the value,
if I change the value to 17 in parenttable,the value in childttable should also change
|
|
|
|