I've spotted this question:
http://stackoverflow.com/questions/307696/does-microsoft-skydrive-have-an-api
But not having an API doesn't mean there isn't some way of uploading files to the SkyDrive!
...
Although not strictly programming related, this is something I believe us web developers think about a lot more than most people, so I wanted to ask this community.
When trying to find domains to launch my projects on I'm still convinced that I must find an available .COM and that perfectname.net is not as good as almostperfectname.com....
I want to build a list containing every possible permutation of capitalization of a word. so it would be
List<string> permutate(string word)
{
List<string> ret = new List<string>();
MAGIC HAPPENS HERE
return ret;
}
So say I put in "happy" I should get an array back of
{happy, Happy, hAppy, HAppy, haPpy, HaPpy ... haPPY, H...
I'm testing my application under the user Guest. It crashes with the following error.
'UnauthorizedAccessException' - 'Global.net clr networking'
Now, I know I can edit the security policy on the machine to allow CLR code running under guest to be trusted, but what should one do on a commercial app?
(Sign, and add CAS attributes?)
I'm...
Hi folks,
i've got the following code which runs a bat file. the bat file then runs some .exe .. which does some stuff. The stuff takes aroun 5-10 seconds.
ProcessStartInfo start = new ProcessStartInfo
{
Arguments = "\"" + newTargetFile + "\"" +
" " +
"\"" + originalFile.FullName + "\"",
FileName...
This is a multipart question:
First, what is your personal opinion of WF?
Second, are there any other good .net-based workflow engines? Some information about my usage:
Using both static and dynamic workflows
Integrate with Castle (monorail and windsor)
Utilizing queuing via MSMQ
We want a simple, clean, non-leviathan framework.
GUI ...
I have a ModelView with multiple ObservableCollection. Is this the right approach and also when ever view calls the view modle, all the ObservableCollection needs to be re-populated with data and then binding takes place again for all the CollectionViewSource.
Also how do I call CollectionViewSource.GetDefaultView outside the construct...
Hi guys,
I had posted a question a few days ago and thanks a lot to those who already responded. I am reposting the question because it seemed like I needed to clarify our requirements. So here it goes in more detail.
I am trying to get a very small desktop app built - something that can be downloaded by people very quickly. I am tryin...
I am using a listbox in my C#2.0 windows forms application. The method to populate the list box is
private void PopulateListBox(ListBox lb, ReportColumnList reportColumnList)
{
lb.DataSource = reportColumnList.ReportColumns;
lb.DisplayMember = "ColumnName";
lb.ValueMember = "ColumnName";
}
However...
Possible Duplicates:
When do you use reflection? Patterns/anti-patterns
What exactly is Reflection and when is it a good approach?
What is the need for reflection in .NET? What are the situations where it comes in handy?
...
How can I check a word template file. It can be checked using the extension .dot or .dotx.
But if the user changed a .txt to .dot. How could it identified??
...
Sometimes application can't exit when I called Application.Shutdown, the UI was closed, but the process is still running. how to shutdown application with close all threads? does the Environment.Exit() could close all thread? or we should call Win32 API TerminateThread to do it?
...
Hi,
We have a WinForms application running on .net framework 2.0 runtime. The application works absolutely fine on winXP. When we tried testing this app. on windows 2003 it throws a very unique clueless error. Here's the test case under which this error is produced.
1.) Application is started and user is using the app.
2.) The app. is...
Hi all,
As I know, in HashTable the key string's hash value is unique because if there are two same strings, the GetHashCode() function will overwrite the first one with the second.
This will ensure that there's no identical hash values generated by the different strings with same values.
But when it comes to generic dictionary class...
Hi
I want to create a usercontrol in WPF through which i want to expose a collection property. I want to change the UI of the usercontrol based on the changes in collection.
For example lets say i have a collection of strings which is binded to my usercontrol. Based on that collection i want to create buttons on the usercontrol contain...
I want to read PDF files from my .net application. Are there any free libraries available to do this?
...
Guys,
I am writing a program and I want the program to support plugins. I created an interface that the program must implement. I am using the following code from my main program to call the plugin:
Dim asm As Assembly = Assembly.LoadFrom(ff.FullName)
' Get the type
Dim myType As System.Type = asm.GetType(asm.GetName.Name + "." + asm.G...
I have an existing domain layer. I want to develop the persistence layer using Linq to SQL. I am currently using an external map file. I am trying to use lazy loading for my child collections but am unsuccessful. Is there a way to implement lazy loading using Linq to SQL but without using EntitySet or EntityRef.
...
I have two IEnumerable
IEnumerable<MyObject> allowedObjects = MyService.GetAllowedObjects();
IEnumerable<MyOBject> preferedObjects = MyService.GetPreferedObjects();
We can safely assume that preferedObjects will always be a subset of allowedObjects.
I want to create an IDictionary<MyObject, bool>. Objects where the key is the set of M...
Is there a way to control the output filename from xsd.exe?
My specific issue is that if an imported xsd is referenced this is added to the filename.
...