Hi,
Could I use migrator.net bare migration framework and just have a set of SQL files to do the upgrade/downgrade? i.e. just use the framework to check database version and which scripts to run etc?
thanks
...
Hi folks:
I meet following exception when I copy the whole program directoy to another machine. Which tools can I employ to debug it? Thank you.
Unhandled Exception: System.TypeInitializationException: The type initializer fo
r 'SomeClass' threw an exceptio
n. ---> System.IO.FileLoadException: Could not load file or assembly 'SomeAssem...
How do I use the TryParse method within a Predicate? TryParse requires an out parameter. In the example below, I would like to call TryParse to determine if x can be converted to an integer. I really don't care for the out parameter--I just want to get this to compile.
string[] nums = num.Split('.');
PexAssume.TrueFor...
Okay so here is the deal. As the question states, I'm trying to POST a file to a webserver and am having a few issues.
I've tried posting this same file to the same webserver using Curl.exe and have had no issues. I've posted the flags I used with curl just incase they might point out any potential reasons why I'm having trouble with ...
Coming from Java background, I am now working in a Microsoft shop where we use MS technologies only. Can you please map this architecture stack to the MS world? I am not looking for equivalents to specific layers of the stack, but a proven end-to-end stack that is known to work in the real world:
Thanks!
Architecture Stack:
Hibernate
S...
Hello all.
It's a little hard to explain what I need but i'll try:
I need to write application (winform) which will be some kind of filter to image/other forms behind it. With one exception - all behind form should looks as is except of red (for example) color, which have to be replaced to any other specified color, white for example.
...
I have an ADAM directory that our application needs to interface with.
Currently we have an abstraction such that our repository uses Sql Server instead of making hte appropriate LDAP calls. We'd like to get closer to our integration point and utilise our actual LDAP repository instead.
The problem is that this slows down our dev scenar...
Hi,
I want to restrict the mouseclick within a region and if any control are there within the region, it should allow mouseclick.
How to do that
...
I have heard about "principal based security", "role based security", "component centric security", and in .NET, I get to know that the Code Access Security (CAS) is kind of a "origin based security".
So are there any other security models? And what technically do they mean? Could someone give me some explanations, or point me to some re...
Hi,
I'm Writing a C++ Class.
I want to keep a global variable in System::Windows::Form::Control type or a .NET managed objects.
I want to process somethink on this global variable.
But Visual C++ is not allowed this.
Returning Error is:
"global or static variable may not have managed type"
May be this error interest Garbage Collector...
When I try to run the following code (two separated assemblies)
ClassLibrary.cs
public interface ITest
{
}
Program.cs
using System;
public class TestClass
{
public void Test<T>(T x) where T : ITest { }
}
static class Program
{
static void Main(string[] args)
{
new System.Xml.Serialization.XmlSerialize...
i added web service as reference to a project and gave it name "days". but i dont actually understand how to work with it. can someone show me the way how to get data from it.
in posh i get data from web service this way:
$ws= New-WebServiceProxy -uri $xmld.Root.WebService.Address -credential $cred
$xml = $ws.getdays()
$xml
...
Hi all
I want to use the C# to parse Excel file, like get data from it.
I Google it on net, find most of them use Microsoft.Jet.OLEDB.4.0. This program would run a x64 Windows 2008 server. But the Jet engine is not available for x64 and no longer used. Is there any way to do it?
Best Regards,
...
I was wondering is it possible to disable selected dates in a DateTimePicker, so that user cannot select them. i know its possible in web forms but in windows forms im unable to do this.how can i achieve this.
...
Hi We developed web service using WCF service and hosted on Windows 2003 server machine with IIS 5.1. WCF hosted on basicHttpBinding. when try to access wsdl of service "*.svc?wsdl" it generating wrong wsdl, that wsdl cannot be used java and php clients.
when I check the wsdl in
<wsdl:import namespace="xxxxx" location="http://machine ...
We are in a position to consume the Web Service hosted in JBOSS as explained above.
We tried to generate proxy classes using VS 2008, but we are not successful in calling the Web Services using WCF.
Please share your views?
...
Many GDI+ classes implement IDisposable, but I'm not sure when I should call Dispose. It's clear for instances I create with new or static methods like Graphics.CreateGraphics. But what about objects that are returned by property getters? I often write code like this:
var oldRgn = g.Clip;
using (var rectRegion = new Region(rectangle))
{...
I just started figuring out the difference between implicit and explicit interface implmentation in .Net. Since I come from a Java background the idea is still a bit confusing. I am hoping knowing which Java does will make it more obvious what the difference is. I am assuming the Java is explicit???
...
Hi,
Firebird 2.5.2 prints every SQL command (SELECT, ...) to Visual Studio's output window. This makes it hard to find my own debug strings. Is it possible to disable Firebird's output?
Thanks,
Norbert
...
Hello. I've got a real trouble now.
I've got my win Application and a lot of functionality with TbUser table.
It's simple table with ID , Username and Password , and some nullable fields
And now I need to merge it with my ASP.NET Membership table :S
__Finally I need to register users in my WinApplication !
And login into ASP.NET web ...