948 Posted Topics

Member Avatar for TIM_M_91

UserControls don't contain a definition for `CloseModalPanel`, this method is contained within the `MetroAppForm` class. Also, for anyone wondering, this is DotNetPanel for WindowsForms by DevComponents. This isn't built into Visual Studio.

Member Avatar for Ketsuekiame
0
454
Member Avatar for ade.julianto

`select * from YOURTABLE where YOURDATECOLUMN like '%/07/____'` I'd suggest including the year too though...

Member Avatar for Ketsuekiame
0
611
Member Avatar for munir.ashley

Use the [MessageDialog](http://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.popups.messagedialog.aspx) object.

Member Avatar for MarkAMalo
0
371
Member Avatar for hxn xfir
Member Avatar for KushMishra

What exactly is not happening? I understand the part about not be able to pass events, but I'm not sure where *from* and where *to*. I can't particularly see anything wrong with what you've done. The only thing that stands out is that you've not provided any callback information, essentially …

Member Avatar for KushMishra
1
4K
Member Avatar for Mike Askew

Dani's JSON makes more sense in my opinion. Not everyone who is qualified has a degree. However, based on that, it's the UI that's incorrect ;)

Member Avatar for diafol
1
372
Member Avatar for JOSheaIV

It depends how you use the data. If you want to do index and searching, the database is going to be far better at it. This comes at the expense that your data is (marginally) harder to read and edit. If your objects are going to be loaded and cached, …

Member Avatar for JOSheaIV
0
730
Member Avatar for KushMishra
Member Avatar for mr_scooby

Essentially yes, break down your code into tasks that you can run in a method. You can give the background worker a method to execute (that's all a delegate is) and run it that way. Be careful about altering UI components. That has to be done on the Main thread …

Member Avatar for JOSheaIV
0
394
Member Avatar for lavanya.lakh

Put some effort in of your own first. The problem itself is very simple. You can work this out with some basic logic.

Member Avatar for Ketsuekiame
0
116
Member Avatar for Rod53718

If EnumerateDirectories ends after trying to access a directory it cannot then you're going to need to create your own search function. EnumerateDirectories will give you all the directory names for the folder it is currently searching. With the AllDirectories flag it will search all sub directories as well. Your …

Member Avatar for Rod53718
0
229
Member Avatar for pathum_1

Well it's exactly what it says. You're trying to open a connection that's already open. Remove line 48 and you'll be fine.

Member Avatar for Ketsuekiame
0
188
Member Avatar for pritaeas

A general, generic system would have you define a table to store your groups, a table to store what permissions that group has and a table to assign users to groups. I would then translate that into C# and assign roles to your screens. The other option is to be …

Member Avatar for pritaeas
0
240
Member Avatar for overwraith

Firstly, although `MyClass` inherits `IComparable` the compiler doesn't know that it can be converted (sometimes the compiler is dumb). If you change your original definition from `MyClass[] mine = new MyClass[5]` to `IComparible[] mine = new MyClass[5]` that will be fine. Finally, you can only pass an assignable value with …

Member Avatar for overwraith
0
173
Member Avatar for ddanbe

Yes, for the simple reason that I'm always curious about "tomorrow" or "the future" I want to know how the species is doing 1000 years from now, I want to see the new technologies and sciences. What discoveries have we made, have we finally conquered the oceans, the stars etc. …

Member Avatar for Ancient Dragon
2
2K
Member Avatar for VasquezPL

You can use `img` tags fine in Outlook but remember a couple of things: 1. You can't direct it to something on your local drive/network. Outlook doesn't make a copy of your picture, the `img` tag is simply a reference to where it is. If the target machine can't find …

Member Avatar for VasquezPL
0
356
Member Avatar for Warrens80

Because it's the unofficial global calendar and not using it would just make things unnecessarily complicated. Just because someone of faith does something, does not mean an Atheist *must not* do that something. Additionally, the Chinese use a lunisolar calendar in a civil capacity (for special social events) as I …

Member Avatar for Reverend Jim
0
1K
Member Avatar for KushMishra

What do you mean by a generic syntax for it? ICommand and Delegate Command are pretty generic already. The intention is that you pass delegates or lambda functions in. As you already define what goes in/out of the method (by factor of delegates) I'm not sure what you stand to …

Member Avatar for KushMishra
0
1K
Member Avatar for MRAR

> because the 2012 express edition has 1gb limitation I do hope you meant 10Gb, as per the [Microsoft Comparison Chart](http://msdn.microsoft.com/en-us/library/cc645993(v=SQL.110).aspx) I personally can't see what you would need more than 10Gb for on a personal/small commercial level. MSSQL is no longer the behemoth it used to be and is …

Member Avatar for KushMishra
0
275
Member Avatar for smartidiot

I'm not sure I understand what you mean. As a web client, you would need to call a web service (which is code) that then interacts with your database. So if you had a User table, at the very least you'd need `CreateUser`, `UpdateUser`, `DeleteUser` and have those service methods …

Member Avatar for fastrecruitment
0
207
Member Avatar for TJuly

The quickest solution is to add the `<machineKey>` setting into your App.Config. The actual (best) solution will entirely depend on how the error is ocurring, which I'm afraid is going to be a debugging task for yourself. This error can be caused by the machine key being different on the …

Member Avatar for KushMishra
0
160
Member Avatar for JOSheaIV

How are you writing the file? If you're using `File.OpenOrCreate` this *won't* truncate the file. If your new file size is smaller (I don't know what you're doing to the bitmap even though your header is larger) then you'll get junk at the end of the file that was there …

Member Avatar for JOSheaIV
0
209
Member Avatar for ~s.o.s~

Based on reviews by friends and what you've said here, I think the only one that I'll be picking up is Log Horizon. IS2 is...abysmal. I might pick up SxS and/or Magi (Starting with S1), not sure yet...

Member Avatar for ~s.o.s~
1
365
Member Avatar for cambalinho

What type is `clrBackColor`? Is the window that you're trying to make transparent a top level window?

Member Avatar for cambalinho
0
188
Member Avatar for rohit b k
Re: wpf

A basic version would be to have a list of classes that represent each control. In your toolbox, set a property such as a `Type` to say what the class it represents is. When you perform your drag drop operation, look at the class it represents, instantiate a new version …

Member Avatar for KushMishra
0
303
Member Avatar for NAWIN_1
Member Avatar for deceptikon

Nice template :) The only thing I noticed (mine is almost identicial to yours barring interfaces) wihch I would do differently, is that the Service is responsible for the logging configuration. Personally, I would have made a configuration object, or, had the log manager attempt to read the logging configuration …

Member Avatar for deceptikon
4
414
Member Avatar for Dani
Member Avatar for stultuske
2
380
Member Avatar for Warrens80

You can have a fillet steak for dessert, right? ... Right?? :S On a serious note, warm chocolate cake, with chocolate sauce inside with cornish ice cream on the side *drools*

Member Avatar for ddanbe
0
176
Member Avatar for nitin1

jwenting, I've heard from a few people I know that play guitar that the amp makes more of a difference to the sound than the guitar itself. Obviously if you're talking about the difference between a $150 guitar and a $2000 guitar, there's going to be some difference in quality, …

Member Avatar for nitin1
0
189
Member Avatar for karnan.yuvan

As a junior, I had 6 interviews before I got my first offer and it was *low*. **Ridiculously low**, but I took it. Why? Because all those boxes you need to tick to get the big money? Well you can get that when you're in work. Believe me, once you …

Member Avatar for happygeek
0
265
Member Avatar for HiHe

Working in healthcare IT myself, I find it absolutely unbelievable that a single system, even with the "state exchange" system everyone is ranting on about, cost $634M. That is a *staggering* amount of cash! (Even if they built their own datacenters)

Member Avatar for mike_2000_17
1
858
Member Avatar for overwraith

It depends how much data you're copying really. It's nearly always cheaper to pass a class by reference. Reference types are created on the heap, so there is no penalty of passing a reference type by reference (classes are reference types). However, to pass a value type (such as a …

Member Avatar for overwraith
0
265
Member Avatar for babbu

To include the MSADB in your setup file is just a case of including it as a seperate file. The other questions are solely up to you....

Member Avatar for Ketsuekiame
0
228
Member Avatar for Wael1988

There's so much that I learned and have forgotten from when I used to do Games Programming, simply because I haven't done it for a long time. It's a bit like any other skill, unless you practice and keep practicing you soon forget. But, by the same fact, it's easier …

Member Avatar for Wael1988
0
202
Member Avatar for 73formula

I doubt the fan is causing the issue. The four pin fan leads allow you to use PWM to regulate the fan speed. You could always unplug it completely, if it's the CPU fan the CMOS will beep to tell you the CPU fan is unplugged, it shouldn't shut down. …

Member Avatar for 73formula
0
235
Member Avatar for eriekasato

What are you lost with? Sorry but we need you to be a bit more specific.

Member Avatar for tinstaafl
0
419
Member Avatar for mcoliver88

You'll need three at the minimum, five seems like a decent basic design. **CustomerDetails** - Store the basic customer details. **Jobs** - A record of each and every job undertaken. **CustomerJobs** - A link between a customer and any job undertaken for that customer. *Optional*: **JobStatus** - Small definition table …

Member Avatar for Ketsuekiame
0
204
Member Avatar for mohamedrani

Probably better to use an enum and to mark the tag with the enum, that way you can use a single method to find and activate the correct tab. Less messy than using a switch statement.

Member Avatar for Mike Askew
0
181
Member Avatar for saad749

I don't use Neo4j but it looks like a relational Entity style database. So, I would go with the idea that each table in the database should be modelled on your class. This would be a fairly standard way of modelling your database for this kind of work, in my …

Member Avatar for saad749
0
319
Member Avatar for JOSheaIV

Because a library only needs to link what it uses. So if you have a library which uses another library.... Library 1: namespace MyNamespace.People { public class Person { String Name {get;set;} Int32 Age {get;set;} } } Library 2: using MyNamespace.People; namespace MyNamespace.DataModification { public interface IPersonModifier { Boolean SetAge(String …

Member Avatar for Ketsuekiame
0
384
Member Avatar for meja

The hint here is that you need to draw a flow chart. Rather than thinking of a straight line, you will need to break off and create two parallel flows. Imagine you're standing in line at the coffee shop, the first thing the cashier asks is "What would you like?" …

Member Avatar for Ketsuekiame
0
229
Member Avatar for josberty

The most striking problem I find with your question is that it *tells you how to answer it*. It even gives you instructions... There's is *nothing* here that is difficult. Even for a beginner, it's simple maths (addition) and method calls (three of them). I'm guessing you haven't bothered to …

Member Avatar for josberty
0
186
Member Avatar for castajiz_2

If you apply standard graphics programming concepts in things like OpenGL and DirectX you have a concept of matrices which control the location and rotation of your objects. (Sure you've heard of things like WorldSpace, CameraSpace and ModelSpace) This involves pushing and popping matrixes to apply the transforms correctly. This …

Member Avatar for castajiz_2
0
270
Member Avatar for venkates.99

I'm with ddanbe on this one, sounds like whatever runs your network is picking up "suspcious activity" and disconnecting you. Unless you can get us a clear error code or stack trace that's about as much as I'd be willing to guess.

Member Avatar for Ketsuekiame
0
334
Member Avatar for kal_crazy

Agree with most here. First, you need to start small. *Very* small. Space invaders is a good example. Build it, learn from it, go back and continually improve it. Gradually increase the difficulty of what you're developing. Be aware though, that "increasing the difficulty" doesn't mean "improving the graphics". So …

Member Avatar for HoverportMedia
0
208
Member Avatar for ddanbe

> I use no queries here list.GroupBy(x => x).Where(x => x.Count() > multipleNr).SelectMany(x => x).Distinct(); That's a LINQ statement ;)

Member Avatar for kplcjl
0
396
Member Avatar for Vigenere

I took your code and translated it into C#. The only problem I had was with your white spacing... Once I deleted your string literals and re-wrote them, the program produced the same output as your capitalised version except in lowercase. Here is the code I used in C#: class …

Member Avatar for tinstaafl
0
569
Member Avatar for pritaeas

I imagine this goes off and hits DirectX/OpenGL underneath. If the control itself doesn't have a property to set the background control it might be more of a "hack" than a correct way to do it.

Member Avatar for pritaeas
0
389
Member Avatar for Krefie

You need to bypass the event listener and construct your own loop code that reads from the port. The problem is that the event you have won't fire fast enough. Essentially you just need a tight `while` loop and check for data coming in.

Member Avatar for Ketsuekiame
0
111

The End.