473,774 Members | 2,147 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# / C Sharp Forum

6
4,156
thread by: | last post Jun 27 '08 by: Ben Voigt [C++ MVP]
Hi, How do I convert a byte to an object? I am trying to use IADs PutEx and the last parameter required a variant array. Thanks, Alex
3
1,839
thread by: Coaster | last post Jun 27 '08 by: Peter Duniho
I want to create a "thread manager" class to manage an array of backgroundworkers. I'd like this thread manager class to live in a class library and I wasn't sure if it was possible to make the thread manager a subclass of the backgroundworker so that I could start it up and still do other things on the client. Essentially a thread that spins...
7
2,317
thread by: Random.Coder | last post Jun 27 '08 by: Jon Skeet [C# MVP]
The output of this simple program below differs if it's compiled in Visual Studio 2005 and 2008. Is one the correct output, and if so, why? using System; namespace DerivedTestApp { class BaseClass {
4
5,514
thread by: matthew-andrews | last post Jun 27 '08 by: sloan
Hi, I'm new to this WCF world, and have attempted to create a WCF service which takes a typed dataset as its data contract. I know this isn't always put forward for interopability, but I'm working in a pure .Net environment (.Net 3.0) and VS2005. However, how do I get the client to populate this data object to send into the WCF service? ...
1
924
thread by: Ryan Liu | last post Jun 27 '08 by: Ryan Liu
Hi, What is the relationship between WPF and ASP.NET ? Is that WPF going to replace WinForm based desktop applications? But for web application, it is a different story? I am going to develop a web project, ocz I'd like it to be supported by most web brewers. I know asp.net render basic html of client side, so it is not a
1
1,183
thread by: xzzy | last post Jun 27 '08 by: xzzy
1 - namespace myNS 2 - {internal class clsClass 3 - { 4 - SortedList mySL1 = new SortedList(); 5 - SortedList mySL = SortedList.Synchronized( mySL1 );
3
5,571
thread by: parez | last post Jun 27 '08 by: Tigger
Hi, What is a good alternative to clickonce that allows partial or delta updates to the application. ie if only one dll changes, then the update should only download that particular dll. Is this possible in clickonce? TIA
3
1,171
thread by: =?Utf-8?B?cm9kY2hhcg==?= | last post Jun 27 '08 by: Scott M.
hey all, in vb you have overloads Public Overloads Sub how would you say that in csharp? thanks, rodchar
0
774
thread by: MadMax | last post Jun 27 '08 by: MadMax
This robust video converter ably packs a number of file formats into the Flash video format and is stylish to boot. Riva FLV Encoder works well with the usual suspects: AVI, WMV, MPEG, and MOV files. Riva is a great freeware application for a reliable (and inexpensive) way to convert video files to the Web. Download from here:...
0
844
thread by: Martin Honnen | last post Jun 27 '08 by: Martin Honnen
Kumar wrote: Please provide details on the transformation result you expect and of the transformation result you get and how it deviates. --
2
1,358
thread by: Steve | last post Jun 27 '08 by: =?ISO-8859-1?Q?Arne_Vajh=F8j?=
Hi guys, I was wondering what tools people are using to generate code from UML models in .NET? I know that there is a class designer in VS which is great (since it is effectively another view of the code, so always remains in synch with the code), but often the people doing designs don't use VS. I know that Borland Together 2007 can be...
2
2,700
thread by: ludwig_stuyck | last post Jun 27 '08 by: ludwig_stuyck
Hi, I'm trying to run a simple WCF demo app that uses netMsmqBinding. When starting the host, I get the exception: 'Unable to load DLL 'mqrt.dll': A dynamic link library (DLL) initialization routine failed' Any ideas? (it's on windows server 2003)
1
1,107
thread by: =?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?= | last post Jun 27 '08 by: Frank Rizzo
Well -- I generally use the web-base Microsoft newsgroup app, and all I see is the text of your message. I don't remember ever seeing a "handled" property of the exception dialog, at least not in C#, which is where you are posting. Can you be a bit more specific? -- Peter To be a success, arm yourself with the tools you need and learn how to...
6
1,541
thread by: Tem | last post Jun 27 '08 by: Jeff Louie
I've read every example i could find on the subject and still couldn't figure out its proper usage. What's the point of delegates, why can't I just invoke the method directly??? Can someone please help? Tem
3
1,214
thread by: simonl | last post Jun 27 '08 by: not_a_commie
I wanted to have a go at following a directx / csharp tutorial (msdn blogs - http://blogs.msdn.com/coding4fun/archive/2006/11/02/938703.aspx) I got the latest SDK, March 2008. It has no C# sources at all. What's the deal there? Do I have to go back in time to get the ones referenced (Feb - October 2005)?
2
2,785
thread by: brains4math | last post Jun 27 '08 by: parez
Hi, is there a method in C# that calculates the number of business days between given dates, like networkdays in Excel? Thank you!
1
1,689
thread by: =?Utf-8?B?RGF2ZQ==?= | last post Jun 27 '08 by: =?Utf-8?B?RGF2ZQ==?=
I have a class that Form1 calls to do some work. I would like to report back progress from the class to a richtextbox, will call it m_report, on the form. Like in the class, Form1.m_report.Text= "Calculating variable 10"; How would I do that.
3
3,571
thread by: | last post Jun 27 '08 by: Willy Denoyette [MVP]
Hi All, Have anyone tried to remove sidHistory using C#? I keep getting the following error when I use the PutEx method. System.Runtime.InteropServices.COMException was unhandled Message="Unspecified error\r\n" Source="Active Directory" ErrorCode=-2147467259
4
1,199
thread by: parez | last post Jun 27 '08 by: Brian Gideon
Hi, GetNextSequenceNumber2 worked for me in a different class.. but now it does not work.. it does not increment.. will it not get incremented after the return?
1
2,727
thread by: =?Utf-8?B?ZGpjYXNlbGV5?= | last post Jun 27 '08 by: amdrit
I'm trying to write a service that will sit on the domain controller (or, if this proves to be impossible, to be rolled to all connecting Windows machines). It needs to get notification of each logon and logoff, capturing username & IP address. I've currently got a test application to check the inputs & outputs and the business logic is...
0
1,546
thread by: Peter Morris | last post Jun 27 '08 by: Peter Morris
A while ago I asked how to replace an image with a solid black colour whilst preserving the alpha mask/channel, this was so that I could automatically create a drop shadow. For future reference of anyone seeking the answer here it is: private static void MakeShadow(Bitmap dest) { BitmapData bits = dest.LockBits(new Rectangle(0, 0,...
4
1,418
thread by: Will | last post Jun 27 '08 by: Chris Shepherd
Hi Everyone, I have been having a bizarre problem when I do Run Without Debugging (I have been doing this do to the intensity of some code which runs slow when Debugging). When I run without debugging, the application appears hangs on this code: private static CCPix ClusterListHasPoint(Point ring, List<CCPixtileList)
2
3,431
thread by: =?Utf-8?B?QXJtaW4gR2FsbGlrZXI=?= | last post Jun 27 '08 by: =?Utf-8?B?QXJtaW4gR2FsbGlrZXI=?=
Hi I've got an unexpected error in a unit test. I want to test a activity from Windows Workflow Foundation (WF). First, I executed the test outside of the activity just in the test-init method. In this case all works fine: public void TestInitialize() {
1
2,742
thread by: =?Utf-8?B?VmlqYXkgQ2hpa3Rl?= | last post Jun 27 '08 by: Marc Gravell
Hi Experts, With Session Affinity and Web Server Farm on ISA Server 2006 accessing 2 backend IIS servers, I’m getting error “Validation of ViewState MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKeyconfiguration specifies the same validationKey and validation algorithm. AutoGenerate cannot be...
3
1,342
thread by: =?Utf-8?B?THVib21pcg==?= | last post Jun 27 '08 by: =?Utf-8?B?Q2lhcmFuIE8nJ0Rvbm5lbGw=?=
Hi, I have the folloving code: Public class MyForm : Form { …… void SomeMethod() { a = new Obj1(this);

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.