Answer Questions
Joel_F Having a problem w/RequiredFieldValidation component position
Hey guys, I am trying to apply RequiredFieldValidations to one of my Web application labs. When I drag this component to my .aspx Design page it lodges itself at the very top of the document Any ideas on how to move this component next to the textbox field on the form When I select the component, I get the UpDown-LeftRight arrows but I can't relocate or drag the control to a new location! Can someone give me a clue Thanks in advance . . .Tom Joh ...Show All
SYED HANIF SH windows form - zoom
Ok, i'm trying to find a way to be able to zoom in and zoom out on my picturebox object. I have a windows form with a panel in it and have my picturebox object inside my panel. I have found a solution here: http://www.codeproject.com/cs/miscctrl/zoompancontrol.asp which works pretty well with only the picturebox. My problem is I need a zoom that will not only zoom in/zoom out my picture but will zoom in and zoom out all of my drawing in ...Show All
shmp2005 Using If statement in Main
Sorry if this is a dumb question... I tried searching for the answer on MSDN and Google, but it is a little difficult to search for the word "if". I am trying to use an If...Else statement in my Main method, but it does not recognize it. I assume I need to add a using statement, but I didn't know what Any help would be appreciated. As has been said, there's no reason you can't do that. The pr ...Show All
Saibal Goswami BinaryFormatter question
Hi! I am using the BinaryFormatter to serialize an object. One of the subobjects of this object is an instance of a class that derives from System.Windows.Forms.RadioButton. I get an exception telling me, "The System.Windows.Forms.RadioButton is not marked as serializable." Is there a way around this Regards Leyan You where not fast enough. =) Solved it. I was able to extract the Radio ...Show All
aben0 How to prepare Combined Setup using VS 2005
Hello all, How to prepare a combined setup using .NET 2.0, In this I want to Execute first SQL Scripts, Web Service Setup, Web Application Setup and Windows Service Setup. Is this possible using .NET Setup . if yes, how to do this any body any sounds or any suggestions or articles plz help me. I checked VS.Net 2005 and I couldn't find a fancy stuff like DevStudio from InstallShield. Happy packaging ...Show All
eastlands Using D-link dcs-950g with c#
Hello, Has anyone used d-link dcs-950g with c# I want to get the methode "motion detection" to work in my program. I have to either communicate with d-link's webpage or the program IPVIEW. Anyone how got a gcue, regardless if it is only a hint, i would appriciate it :) LaBomba, I don't have a DCS-950g, so what follows might be a long shot. Judging from the emulator page on the D-Link site, I think there are two possible wa ...Show All
Amandeep Mann Starting a console?
Hi, I've got a console-based project, which contains a class like so: using System; using System.Collections.Generic; using System.Text; namespace vm { public class clsVirtualMachine { public void Execute( string Code) { Console .WriteLine(Code); } } } Part of the same solution I also have a testbed project, which consists of a form, a textbox and a button. Then the button is clicked the following happens: using vm; (....) ...Show All
Russk2t Is it possible to use variables to specify assembly reference paths?
I'm in a position where I can't add a particular project to my solution and use a project reference, but I would like to use an assembly reference that refers to the debug version of the assmembly when building the Debug configuration, and the release version of the assembly when... you get the idea. This sort of thing is trivial if you are explicitly invoking csc, and is easy with the C++ complier/IDE with the use of macros such as $(Configurat ...Show All
MarkMadd Embedded resource not working
I want to add a picture as embedded resource to my project. I choose Add Existing Item and browse to the picture, and then select Build Action as Embedded resource. I also select "Do not copy to output dir". Upon recompiling I get: Error 1 No destination specified for Copy. Please supply either "DestinationFiles" or "DestinationDirectory". C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets ...Show All
Saptagiri Tangudu Viewing type *.tlb file
Does any one know of an example that shows how to open and view a *.tlb file in c# I've come across serveral viewers that do this but I would like to see a source code example to know how they do it. Thanks. They use the following APIs http://msdn.microsoft.com/library/en-us/automat/html/56a7f9e1-810b-4a42-aa4d-691f4304f5ef.asp http://msdn.microsoft.com/library/en-us/automat/html/c1e5d71f-6a4e-45f ...Show All
Zealousman store image
Hi can anyone write an snippet code to store image in database with binary shape(code) not an image Amen... Thanks my dear I am asking ALLA (God) to give you what you want So, now i hope ALLA (God) gives me that 20 million is wish for string sFileName="c:\yourfilepath.txt"; int iLength = 2048; byte[] buffer = new byte[iLength]; MemoryStream stream = new MemoryStream(); using(FileStre ...Show All
skatterbrain Refactoring: Encapsulate field.
Hi All, Just started to look at VS2005 beta 2 - I don't seem to be able to use the encapsulate field refactoring function. I select a private class level variable and click encapsulate field. The IDE then prompts for the property name and displays a code preview window which has the original field renamed to that of the property (highlighted) and no get/set type code. Am I doing something wrong here Cheers, JW. ...Show All
MoJon1 C# VS C++
OK. I want to have a crack at programming - C#/C++ seems the way to go. What are the differences between the two - and which would you say was best to learn to create basic apps Hi Chris, For application development, C# with the .NET Framework would be the de facto choice on Microsoft Platform. Article below does some comparison: Sharp New Language: C# Offers the Power of C++ and Simplicity of Visual Basic ...Show All
Luuk C# Template for IFilters
Is there a c# template for building IFilters Hi AIM48. Actually, it is not recommended to create a C# IFilter since once you get into multiple CLR versions running on the system. This means the performance of the system will suffer greatly when each IFilter needs to be loaded and unloaded. It is recommended to use non-managed code for IFilters for the time being until a go ...Show All
rmmd Printing A Windows Form
I've done a bit of research and it looks like there is no real easy way to print a windows form. What I'm after if the ability to print my form, which contains only labels and one image. The main technique seems to be redrawing all of these controls to a graphic object, then sending that object to the print dialog. My question was, is there an easier way to print just a windows forms with labels, that has no buttons, or textboxes, etc on i ...Show All
