Software Development Network Logo
  • Visual C#
  • Microsoft ISV
  • .NET Development
  • SQL Server
  • Visual C++
  • Audio and Video
  • SharePoint Products
  • Windows Vista
  • Visual FoxPro
  • Visual Studio
  • VS Team System
  • Game Technologies
  • Windows Forms
  • Visual Basic
  • Smart Devicet

Software Development Network >> Visual C#

Visual C#

New Question

How to Exract SQL minute data to houly data in C#?
Opening and printing a word doc.
Unrecognized configuration section 'connectionStrings' on a Website
using DAAB in Enterprise Library 2.0??
Get the computer Id
Finding A Time Zone
VS.Net too slows down after first debug attempt
How to get control properties?
while (true)... need help!!
Need Help! "Paramter is invalid"

Top Answerers

Miles100
Gilles Lafreniere
TJ2007
Eduardo Coelho
doublejay
Taylor Brown
airin
leclerc9
GoDaddy
Philippe Cand
Compsys Australia
Only Title

Answer Questions

  • Broken missing app.config in vs2005

    Hi, I'm wondering how can i open (or create) an appconfig in VS2005. As I remember, in VS2003 it was created with the project, but in VS 2005 it is not (or somehow it is hidden). How can I create/access it (Or there is a new way in VS2005 to manage some settings ) Thanks Hard to say without knowing how your app.config looks like. Did you insert settings through VS designer or write them directly to app.config [in the applicationSettings section] Andrej Hi You can try to use this http://msdn2.microsoft.com/en-us/library/aa730869(vs.80).aspx . I have tried to use the alternate set of settings but it did not seem to work for me, and the idea was very vague for me. I always preferred app.c ...Show All

  • Ted. Mysterious error in DirectX sample...

    This concerns the C# version of DirectX SDK (October 2006) sampler, in particular the CaptureSound sample. It works fine as is, but when I try to deploy it (either regular or ClickOnce procedure) the resulting program bombs. The error message on debugging is LoaderLock was detected Message: DLL 'C:\WINDOWS\assembly\GAC\Microsoft.DirectX.DirectSound\1.0.2902.0__31bf3856ad364e35\Microsoft.DirectX.DirectSound.dll' is attempting managed execution inside OS Loader lock. Do not attempt to run managed code inside a DllMain or image initialization function since doing so can cause the application to hang. I thought this was precisely the kind of thing that managed code would prevent! Can anybody help ! sur ...Show All

  • Allen White documentation on objects and methods in C#

    I need to know what documentation is available (books) on the objects and methods included in C# and .NET. I would like a hardcopy book which describes all of the objects and methods in C#. Thanks Rich Get the following book: C# - The Complete Reference by Herbet Schildt perhaps take a look at this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=849534&SiteID=1 ...Show All

  • Tihomir Ignatov Problems with designer.

    Hi! When i try to open a class write by me named PuertoSerie.cs the IDE says: One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes. The class PuertoSerie can be designed, but is not the first class in the file. Visual Studio requires that designers use the first class in the file. Move the class code so that it is the first class in the file and try loading the designer again. Hide at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.EnsureDocument(IDesignerSerializationManager manager) at System.ComponentModel.Design.Serialization.CodeDomDesigne ...Show All

  • colin leversuch-roberts Retreiving richtextbox content as html

    Hello everybody any body please help me i must show text of desktop richtextbox on a webpage that is i want the contents of richtextbox as html thanks in advnce. You'll need to use an RTF-to-HTML conversion component. There are several available on the 'net, for example, this page lists several. ...Show All

  • JohnACE MDI child child interaction

    hi all i was playing around making a small image viewer app type thing (first foray into windows apps) and have run into a problem geting the child forms (or any off them for that matter) to communicate in a way I want, I'm not sure if its even possible, it should be as it seems to me to be a relatively fundamental use of them. basically I was trying to get the mouse coordinates to update another child form that iwas going to use as a control, so ...the parent form opens the two child forms, one contains a picture anmd the other is just for info (the coords), I can pass the info over if I do a MessageBox.Show("e.X.ToString()); however when I try to update, say a label it doesnt do anything. I imagine I'm doing something i ...Show All

  • JonnyDeep Why a class?

    A simple question arose while I was reading the syntax of a simple C# program. For instance, we know that this is a simple program : class something { static void Main() { System.Console.WriteLine("Hey sucker"); } } Why does a program start with a class I don't understand why is class before like all of that I thought a class was just like somewhat of a database. a class is not a database. Those are 2 different things altogether. A class is like a module in a sense or rather a "file" which holds all functions or rather all code to execute. This is what a class has. How else would you create code :-) Classes is what is used to create applications (several classes in 1 solution = a ...Show All

  • Dan Miser Using a class name as a property type

    I'm new to C# and have the following issue.. I have two classes: Employee and Address. In the Employee class I have a property named HomeAddress that I've set to a type of Address as shown below: public Address HomeAddress { get { return theHomeAddress; } set { theHomeAddress = value ; } } . When I try to set the Home Address using the following line in a form class: aNewEmployee.HomeAddress = aNewHomeAddress.WholeAddress; I get the type conversion error as shown below: Error 1 Cannot implicitly convert type 'string' to 'LabProject2.Address' I can't figure out how to get around this. So basically I'm asking how do you set a property value when the type of that property is set to a cl ...Show All

  • Amos Soma Button Madness (one of many posts to come)

    I know I should have been more descriptive in the subject, but the question is too long to fit. I'm trying to make a charicter creation application for a RPG. I want to have it so that when a person clicks the + button (button2), it will subtract one for the remaining points which is displayed in label20, add it to the Strength score (int Str) and then display the modified Strength in label11. Next, I have a subtract button (button10) that does the same but adds one to the remaining points and subtracts 1 from the Strength score (int Str) and displayes the remaining points and Strength in thier appropriate label boxes. To complicate matters worse, I have to 1: have to do this for 7 other stats, which none of them can go lower than ...Show All

  • LLiu including quotations

    Hi does "\"" + "T" + "32" + "\"" is equal to "T32". If not how to include quotations Thanks! Santhosh May be, but its not working as mentioned. when i use a string to assign the value as follows string str = "\"" + "T" + "32" + "\"" ; I can see the value for str as "\"T32\"" instead of "T32" in the immediate window. Thanks! yes this string str = "\"" + "T" + "32" + "\"" ; //string str = "\"T32\"" ; //test in debug Debug .WriteLine(str); //test in MessageWindows MessageBox .Show(str);   will&nb ...Show All

  • Bernie44601 Manually invoking a custom Build Provider?

    Hi All, I wondered if anyone had any smart ideas for manually invoking a Build Provider The outline is that we have several custom Build Providers that are defined (as you would expect) in web .config and when the associated file extensions are added/changed the builder is invoked and code generation occurs to give us design-time classes/properties (e.g. via IntelliSense - example here ). Our problem is that some of the data used by the Build Provider is external to the file and can be changed independently (outside); hence we need to force a recompile of these files when the solution is built. I have already crafted a VS.2005 add-in to detect the build/rebuild events but need some way of invoking the Build Provider against a specific fil ...Show All

  • Koray Samsun Using Calendar.SelectedDate to update Gridview

    Hi, I'm fairly new to C# and Visual Studio, so any help is much appreciated. I am attempting to create a webpage with two webzones, one containing a Calendar object and the other containing a Gridview which is (currently) linked to an Access database. I have a "Created" date field in the Gridview and I would like to filter the Gridview to show only rows in which the "Created" date equals the Calendar.SelectedDate. I've added the SQLDataSource to the page and configured the Data Source in many different ways with no success. The SELECT statement that I thought should have worked is: SELECT Created, Event, Personnel_Contacted, Remedy_Num, Created_By FROM tblOpsLog WHERE Created = wpCalendar.SelectedDate (th ...Show All

  • deepakOne Interfacings with Web Application

    Our company dial with other company via Web based application we have access to our account in there site, we enter a lot of request using simple form then we get the results in the same page in table format. What we need to interface (automate) the process between our system (C# .NET 2.0) and there site (Java Servlet JSP Secure), our system provide the information that we need to enter every day in there system and receive there response. How we can make this kind of interface Thank you. SDev SDev, Sorry for the late reply, I missed your previous post. See these articles: http://www.west-wind.com/presentations/dotnetWebRequest/dotnetWebRequest.htm http://www.developerfusion.co.uk/sh ...Show All

  • Queen of the desert program running problem

    hi, i have a problem with running my program. when i trace my codes, the program is able to run according to what i planned. but when i run without tracing, the program will skip 2 lines of codes. can anyone advise on what i can do thanx. hi, it works. thanx for your help. =;o) Hi, Try to use button1.PerformClick(); Thanks below is my codes, my codes is to include check items in a checkedListBox and give it a name, then save it. the saved name will be displayed in a list in comboBox. the problems lies with the 2 lines whereby after saving the name, it should be selected and displayed in the comboBox, but it did not refresh the name list nor select t ...Show All

  • J Russo How to display an int[] as a bitmap

    Is there a possibillity to display an array of integers as a bitmap or is it only possible to display arrays of short as bitmaps (16bpp grayscale images) Try this Bitmap m = new Bitmap ( 100, 100 ); Graphics g = Graphics .FromImage ( m ); int [] i = new int [4]; i[0]=1; i[1]=1; i[2]=1; i[3]=1; g.DrawString ( i[0].ToString (), this .Font, new SolidBrush ( Color .Red ), new PointF ( 0, 0 ) ); I've done some research on the web and it turned out that the Format16bppgrayscale is not working. So in the end I had to use Format8bppIndexed instead and then I know the drill. You should be able to display any numeric array ...Show All

272829303132333435363738394041424344

©2008 Software Development Network

powered by phorum