RussellReed's Q&A profile
Windows Forms What is the best UI library to get for .NET windows forms development?
Hi I am look at the various libraries/controls/... available, and am wondering which is the best option, based on experience Thanks Thanks for the response, I have downloaded his set and will give them a try. ...Show All
Visual Studio 2008 (Pre-release) What's a good way to Render to a bitmap that is a different size to the Visual?
I've got a fancy looking chart control I've written, and people will use it to generate plots for Powerpoint presentations, so I need to be able to copy the plots to some fixed size like say 1024x768. Say I have a button "Copy Plot To Bitmap". Ok my code will look like this: private BitmapSource RenderToBitmap( double width, double height) { double baseHeight = this .ActualHeight; double baseWidth = this .Ac ...Show All
Windows Forms Why is SplitContainer a sealed class?
Hi, I just tried to derive from SplitContainer but had to notice that it's a sealed class. Why is that Probably a little late, but FYI: It's no longer sealed in Beta 2. ...Show All
Visual Studio Express Editions long interval between StreamReader/StreamWriter processes
Hello, in my program I am using StreamReaders and StreamWriters, and they work, but if I use the StreamReader or StreamWriter process, it takes long before I can use them again, so now my question is: can I make the process-intervals(sorry if this name doesn't exist) shorter Or should I use an other way to read and write files, and who can be used in faster time-intervals Grtz, Tom. What do you mean by "it takes long before I can u ...Show All
.NET Development Problem when sending email by System.Net.Mail
Hi everybody, I'm learning C#. Just try to create a very simple app to send out email. However i encounter a problem //created a mail msg from given info MailMessage mailMsg = new MailMessage (from,to,subject,body); string server = "myMailServer" ; SmtpClient emailClient = new SmtpClient (server); // i encounter problem here emailClient.Send(mailMsg); The exception is: Request for the permission of ty ...Show All
.NET Development Basic TCP/IP
I am making a two programs, a server which will be ran on my computer and a client, which will be distrubuted around so multiple people can communicate with the server. I was hoping someone could show me the code to just connect the two programs using tcp then send a simple string from the client to the server then the server to the client, nothing fancy like encryption or any sort of error checking because i want to be able to learn from it wit ...Show All
Visual Basic Problem with DLL in Windows 2003
Hi, I have a component(dll) that calls another component(dll), but i am getting the error "429 - cannot create object" when i call a method. For Example: In the DLL that calls another DLL visual basic code: Roberto Caetano Junior wrote: SynchroBusiness.dll is installed in COM+ Is the synchrobusiness dll compatible with 03 Have you created project level references to the Dll ...Show All
Visual Studio Signing a delay-signed assembly
In our current build process, assemblies are delay-signed during the initial build. All developers have the public keyfile (via source control) in order to make this possible. This results in partially signed assemblies whenever a compile is done on a developer's workstation (which is ok because developer machines also bypass strong name validation for our public key). On the build server, an additional task is performed (we current ...Show All
Windows Forms Databindings and BackgroundWorker component
I am having an issue whereby the controls that I have bound to my custom business object are not reflecting changes to the source object after it has been persisted to the database. The business object is declared as a private member in the Form instance, and after InitializeComponent runs I call a method that creates all the necessary bindings and adds them to the appropriate controls. When the Save button is clicked, the BackgroundWorker is in ...Show All
Visual Studio Tools for Office Scaling a VSTO Excel document
It seems it is not allowed to scale a VSTO excel document. All controls will be disabled. what can be done Lets say i want to see the excel document at 75% of its original size Hello, Windows Forms controls that you add to a VSTO document are temporarily disabled while you view the document at any resolution other than 100%. This limitation is described in the topic "Limitations of Windows Forms Co ...Show All
Windows Forms Setting the ScrollableControl.AutoScrollPosition property
Every time I set the AutoScrollPosition of a Form (or Panel) I get a {0, 0} value. Is this a bug Related info: http://dotnet247.com/247reference/msgs/4/22432.aspx For those who are interested, here is what I found in MSDN: AutoScrollPosition represe ...Show All
Visual Basic Clipboard.SetImage Method
Hi I want to copy a picture to Clipboard and paste to Word as EnhancedMetafile. The problem is that the SetImage method does not give a choice what format to set in the Clipboard. My question is: Is there a method to set a WdPasteDataType for Clipboard in Vb2005 Thanks. ...Show All
Visual Studio 2008 (Pre-release) XOML only Sequential Diagram fails to deserialize. Error loading workflow. Could not deserialize object.
Tom, I am unable to view the graphical xoml for an XOML only sequential workflow. I recieve the following error when trying to view the XOML in the designer. Any suggestions Error loading workflow. Could not deserialize object. The type 'WorkflowActivityLibrary1.Activity1' could not be resolved. Thanks in advance, John Portnov Workflow question should be posted to the Workflow forum: http://forums.microsoft.com/MSDN/Sho ...Show All
Windows Forms How to use "NetMessageBufferSend" in C#
System.Text.ASCIIEncoding ae= new System.Text.ASCIIEncoding(); byte[] msg= ae.GetBytes("hello"); NetMessageBufferSend(null,"192.168.2.227",null,msg,msg.Length) ; ...Show All
.NET Development access permission probelms. HELP ME!!!
I have two computers, a desktop and a laptop, both running win xp home. Both are wirlessly enabled and connect wirelessly to the internet through a belkin router. The desktop will happily see the laptop and share files, and everything seems to work just fine. The laptop, however, refuses to see the desktop. I have shared all folders properly, both are part of the same workgroup, and I have run the network set up wizard, and tried to connec ...Show All
