I am trying to setup up a continuous integration type environment for BizTalk. When source code is checked in, I need it to build then deploy to a build server. I have found BTSTask.exe but this seems to only be able to install an application from an existing msi.
I need a way of basically doing what visual studio does when you right c...
I created a resource file programmatically. File got created successfully. But when I tries to open it in Visual Studio or notepad it shows me some encoded characters. I was expecting to get an XML.
Here is what I was expecting and getting.
What I did in coding is
ResourceWriter rw = new ResourceWriter("Resource.en.resx");
r...
Hi all,
I'm having trouble getting a client/server implementation of Quartz.NET working.
I have a SQL Server on ServerA, a server running Quartz as a service (ServerB) and a server which hosts an ASP.NET application (ServerC).
I have followed all the tutorials and delved into the code a fair amount but I can't see what I'm doing wrong...
Hi All,
Not sure if this is the best approach but I have some string which represents the orientation of some blocks. For example '3V6V' means a row of 3 vertical blocks, and a row of 6 vertical blocks. '3V6V6V' means row of 3, 6, 6 all vertical. '4H4H4H4H' would be 4 rows of 4 horizontal blocks. i.e. every 2 characters constitutes a ro...
I'm using VB.NET with .NET 2.0.
I have two lists, and I want to compare the lists on a specific property in the object, not the object as a whole, and create a new list that contains objects that are in one list, but not the other.
myList1.Add(New Customer(1,"John","Doe")
myList1.Add(New Customer(2,"Jane","Doe")
myList2.Add(New Cust...
Say I have a method that returns a business object:
public static MyObject GetObject()
{
return Blah.Blah();
}
Now I need another method that does the same thing, but returns MyObject in an XML format:
public static string GetObject(bool returnXml)
{
return Blah.Blah.Xml();
}
I started with this approach, but soon realized tha...
Applicatins are built by using C#. one of the tasks is transfer a image file from server to client via web service (SOAP). in the client side, the image file will be saved to disk, no web page.
one of my co-workers told us, the data transferred between server and client must be under 8k, so we need to cut our image file, which is 2M, in...
I'm writing an application that catalog files and saves meta data with them through sidecar files. I'm trying to add file IO operations so the user can manipulate (copy, rename, move, delete etc..) through my application which will in turn manipulate the sidecar files as well.
However, I'm worried that in some cases the one IO operation...
I have a VB application. Clients wanted to convert that to a .net application. I would like to go ahead and convert that to C# windows application. But I am not sure on challenges that I will be facing.
One method is to just understand the VB code and rewrite all the modules in C# or VB .net
The other way that I am not aware of is the ...
Hello
It is a little hard to explain it with my poor english but i will try.
In below list sequence, if a item first field has same value with another item first field value but not same second fields. As result i want to collect items which has same first field but not second fields.
It looks quite easy but i think it is not any.Cons...
Hi,
I am currently working on this application(C#,WPF,LINQ2XML,.NET 4.0) that displays details for 'Animals'. An example of this would be the application displaying the types of Animals such as 'Birds','Mammals','Reptiles'. For each type of Animal, I will have sub-entries such as for 'Birds' I will have sub-entries like 'Sparrow','Hawk'...
Is it from a sight of resources reasonable to use a StringBuilder already to concat two strings or is there a minimum concatenation operations that makes the StringBuilder efficient?
...
Hi
Say I have this file structure
Soultion-> Folder1 -> FileIwant.html
So this could be something like C:\Soultion\Folder1\FilterIwant.html
Now I need to read this file into my application. I can't just hardcode it since when I give it to someone else they might put it on F: drive or something.
Or when I create a msi file the path m...
Hello,
I would like to know if there is an equivalent of the excellent Java JVisualVM (included with JDK, the command is "jvisualvm") on the DotNet platform ?
JVisualVM is a great tool that allows developers and admins to have really useful monitoring on any running Java application, here is some features that it has :
Graphical view...
I want to start a little pet project that will allow a user to pic an image and then hide that image within another image. Meaning that if you open the dummy-image that's all you'll see. But if you open the dummy-image with my software you'll see the actual image.
I've never done something like this so I'm pretty excited about getting a...
I have a datagridview that contains some text and a image. The image is user added so each line will probably have a different one. Im looking for a way to take the image that is placed in the datagridview and drop it back into the picturebox. I have no clue where to do with this. There is a dataset made but I am totally lost where to go...
My colleague deploy a dll and he signed with the key generated on his machine.Right now I need to use the DLL in my project, so I need to resign the DLL, I generate a key pair on my computer, then try to resign it with sn.exe -R or sn.exe -Vr , but always failed.
Is it possible to resign a signed .net dll with a different key pair?
T...
what is the c# version number that comes with .net 2.0? Any suggestion...
...
Hello,
take a look at the following code I attempted to write inside a constructor:
private Predicate<string> _isValid;
//...
Predicate<string> isValid = //...;
this._isValid = isValid ?? s => true;
The code doesn't compile - just "invalid expression term"s and so one.
In contrast that does compile and I could just use it:
this._...
How can I sure that WPF is compatible in XP or an older OS. Is the only thing is Framework version or that could be any other things that must be installed?
...