http://xtreemhost.com/[^] I haven't use it, but I heard it's quite decent. PS. It's PHP/MySQL though...
A man has got to know his limitations. Harry Callahan
http://xtreemhost.com/[^] I haven't use it, but I heard it's quite decent. PS. It's PHP/MySQL though...
A man has got to know his limitations. Harry Callahan
Brady Kelly wrote:
What is Windows Web Server? 2008 without real server stuff?
Basicly yes.. details are here: compare-core-installation[^] differentiated-features[^] compare-specs[^]
A man has got to know his limitations. Harry Callahan
I've found solution thanks to .NET Reflector and reflection mechanism. Instead of using SetItems method I'm invoking private method of CollectionForm:
private void AddItems(IList instances)
, like this:
MethodInfo methodInfo = m_collectionForm.GetType().GetMethod("AddItems", BindingFlags.NonPublic | BindingFlags.Instance);
methodInfo.Invoke(m_collectionForm, new object[] { /* my items here */ });
PS. See the rest of code in previous post...
A man has got to know his limitations. Harry Callahan
Hello! I have a custom collection editor which inherits after CollectionEditor class (System.ComponentModel.Design)and I want to programmatically add items to it's collection (listbox). There is a method 'AddItems' which takes a collection object and items to add, but I cannot figure out what collection object I should pass to it.. So my question is, how I can get to CollectionEditor's inner item's list? [update] Ugh.. proper method name is 'SetItems' [/update] [update 2 - source code]
public class MyCollectionEditor : CollectionEditor
{
private Type m_itemType = null;
public MyCollectionEditor(Type type)
: base(type)
{
m\_itemType = type;
}
protected override CollectionForm CreateCollectionForm()
{
Button buttonLoadItem = new Button();
buttonLoadItem.Text = "Load from DB";
buttonLoadItem.Click += new EventHandler(ButtonLoadItem\_Click);
m\_collectionForm = base.CreateCollectionForm();
TableLayoutPanel panel1 = m\_collectionForm.Controls\[0\] as TableLayoutPanel;
TableLayoutPanel panel2 = panel1.Controls\[1\] as TableLayoutPanel;
panel2.Controls.Add(buttonLoadItem);
return m\_collectionForm;
}
private void ButtonLoadItem\_Click(object sender, EventArgs e)
{
if (m\_itemType.Equals(typeof(MyCustomCollection)))
{
MyCustomItem item = ...load from DB...
//definition: SetItems(object editValue, object\[\] value);
SetItems( -> what goes here?! <- , new object\[\] { item });
}
}
}
[/update]
A man has got to know his limitations. Harry Callahan
modified on Tuesday, July 28, 2009 6:34 AM
I'm using Free Download Manager, it has features to explore / crawl websites, besides it's quite cool piece of software..
A man has got to know his limitations. Harry Callahan
Or you could use auto implemented properties and object initializers.. saved me a lot of typing recently. Declare your class as: public class Test { public int A { get; set; } public string B { get; set; } }
And then initialize your object as: Test t = new Test() { A = 1, B = "test" };
Reference
A man has got to know his limitations. Harry Callahan
Is gmail down?[^] Those websites seems like a new internet trend ;)
A man's got to know his limitations Harry Callahan
Well.. I haven't found anything in C#, so I used Joseph O'Rourke's algorithm from "Computational Geometry in C". I was thinking about writing an article about this, but time wasn't by my side ;)
A man's got to know his limitations Harry Callahan
I think it's definitely a bug, but not a subtle one.
GDavy wrote:
the whole DB system is written in-house.
So it's you or your co-workers who forgot about time changes, did your forgot about leap years too? Did you managed to repair this, or you gonna have similar problem in about half a year? Another thing is why your are inventing wheel again, when you have ready functions to operate on date/time.. I would call it a WTF[^] I rest my case.. ;)
Communism doesn't work because people like to own stuff. Frank Zappa
bad link
Communism doesn't work because people like to own stuff. Frank Zappa
There's no fee, at least I haven't pay a dime..
Communism doesn't work because people like to own stuff. Frank Zappa
Dear kind sir yogesh from Chhattisgath (inida) I understand Your position, there I propose You a bussiness agreement. I will become Your mentor/teacher and I will provide You with great ideas to implement and to fascinate Microsoft executives. On Your part, when You will become Microsoft employee (of any kind) You will give me 25% of Your income (after taxation), however when You will become top layer Microsoft employee You will give me 50% of Your income (after taxation). Any details are negotiable. Thank You for Your consideration Sir! Cheers!
Communism doesn't work because people like to own stuff. Frank Zappa
Well, why don't you try and develope something for this experimental OS from Microsoft called Singularity[^] Your welcome kind Sir!
Communism doesn't work because people like to own stuff. Frank Zappa
Since yesterday, when I installed SP1 for Vista I had bsod 4 times; everytime for different reason :mad: So I hear you man! ;) Cheers!
Communism doesn't work because people like to own stuff. Frank Zappa
:omg: just :wtf:
Ah.. Rutger Hauer.. scary mmm.. Jennifer Jason Leigh .. sweet .. I loved her in Rush[^], but it's starting to be OT, I'll shut up ;)
Haven't seen 'Captivity' but it sounds like 'Saw' spin off ...