Software Development Network Logo
  • Visual C++
  • Architecture
  • Windows Live
  • Windows Vista
  • SQL Server
  • VS Express Editions
  • Visual FoxPro
  • Game Technologies
  • Windows Forms
  • Visual Basic
  • Smart Device
  • VS Team System
  • Visual C#
  • .NET Development
  • Visual Studio

Software Development Network >> hyofun's Q&A profile

hyofun

Member List

just Do It
sjb
Master_MFB
mcpunjabi
CodeTyro
marcinEc
dwight silverman
MochaJunkie
Ken Burch
Mark Lacey
yda
Ifeanyi Echeruo
mracuraintegra
Mandar Y
Devendersys
JM32714
Elfmanne
Anand Menon
Roil_O
soundboy72
Only Title

hyofun's Q&A profile

  • SQL Server Decimal formatting

    Hi, we have a decimal data field and we want to format it in the correct langauge specific formatting (decimal point is a "comma" in Germany...). We tried different format strings but we always get a decimal point (really a point). Is there any way to format a decimal the way it's defined in the Windows language settings Always with 2 digits after the point (so exactly like the currency without the currency symbol) Thanks, Thomas The "Report" element has a Language property. Make sure the Language property is set to "DE-de" or e.g. to =User!Language (to run the report with the language set ...Show All

  • .NET Development How to Define sealed class using CodeDOM?

    Hai .....,          I 'm using VS.NET 2005 Beta 2. How can I generate a sealed class using CodeDOM. I tried the following method, but its not generating the sealed class; CodeTypeDeclaration theClass = new CodeTypeDeclaration (table.Name); theClass .IsClass = true ; theClass .Attributes = MemberAttributes . Public | MemberAttributes . Final ;   Then be sure to add in the public flag as well: theClass.TypeAttributes = TypeAttributes.Sealed | MemberAttributes.Public; David ...Show All

  • Visual C++ Getting Error - Regarding stdafx.h

    I'm trying to fool around with the new Visual studio version (2005 Beta 2) and for some reason it keeps telling me: \Practice.cpp(1) : fatal error C1083: Cannot open include file: 'stdafx.h': No such file or directory A long time ago someone told me to go into the properties of the project and change the default to CLR support. I did this time but it doesn't seem to build.  Can someone tell me what to do   Here is my code: #include "stdafx.h" #using <mscorlib.dll> using namespace System;   int _tmain() { int Number = 5, Number2 = 0, Number3 = 7; int sum = 0; Console::WriteLine( "hello world." ...Show All

  • Visual Studio Express Editions Problem executing general C++ code samples

    Hi, I've installed Visual C++ Express Edition and PSDK and I'm able to build and execute simple Windows Forms Applications. But when I try to build the sample codes I've found at "http://msdn2.microsoft.com/en-us/library/ms236269.aspx" I always have the same problem, e.g. when I open the CPUID.sln from the CPUID sample program and try to choose "Properties" from the menu, I only get the error message "The operation could not be completed". When I try to build this sample following message appears: "Build: 0 succeeded or up-to-date, 0 failed, 1 skipped". Rebuilding and Debugging is also not possible. This happens with all the sample codes I'v ...Show All

  • Visual Studio 2008 (Pre-release) MSB3061

    I'm running the Feb CTP, including Orcas. Nearly any time I try to rebuild an application I receive the warning in the subject and the message "Cannot delete the project output: is the file read-only " This is, despite the warning, a build failure. The file that can't be deleted is MyApp.vshost.exe. You know what, I just figured out what it is. Orcas locks this file if you have any XAML files open (assuming for the designer ). Is this a known bug Is there a workaround other than closing XAML files I'm sorry for the delayed response. This is a known limitation in the current state of the produc ...Show All

  • Software Development for Windows Vista Workflow Persistence

    I need to store about 10 000 000 workflows in a database. With standart serialization one workflow takes 25 kb. Every instance has the same schema. Is there a way to minimalize the required db space My idea is to save the schema somewhere and then during the deserialization recreate the activity tree ( not deserialize workflow instance ). However, there're problems with activities' internal state. Does anybody know how to do it Thanks in advance, Michael Michael - if you call Activity.Save with your own initialized BinaryFormatter with your own SurrogoteSelector for Activity you can re ...Show All

  • Visual Studio Express Editions Transfering Data Between Forms

    Hello everyone. To give you a clear picture, I have 2 forms; Form 1: Main Page Form 2: MonthCalendar I want to get the start date of MonthCalendar1 of Form 2 into Label25 of Form 1. I already have the following in Form 2: PBStartDate.Text = MonthCalendar1.SelectionRange.Start.ToShortDateString What is the code needed in form 1 Thanks All hi, to pass variables between forms you have many choices 1) make a shared class to declair your variables and it will be visible to all your forms and classes 2) make a shared field in form1 that you can read from form2 3) have a properties ...Show All

  • .NET Development creating texture Visual Studio .Net not working anymore!?

    Few days ago, I reinstalled Windows XP and installed MS VS .Net but in my C# programs texture creating no longer works and reports an undefined error! No metter if I load my code or sample code that goes with my Tom Miller's DirectX 9 book, it does not work! In my previous instalation of VS .Net it all worked perfectly and I did not configure anything, so what could it be now Please help! Then either you did install the wrong version (I am not sure if the latest DXRT installs previous MDX helpers) or the setup did not install the MDX assemblies at all. I don't know how to solve the first case (I assume ...Show All

  • Microsoft ISV Community Center Forums Problem with RecordCount by CrossTab

    Hi, i'm getting a problem with a CrossTab in Access 97. When I open the query by clicking twice it returns 4 records. Thats OK and correct. The problem is when I open the query with VBA code, it returns 1 record (property recordCont = 1) I'm opening the query this way: Dim DB As Database Dim MyQuery As Recordset Set DB = CurrentDb Set MyQuery = DB.OpenRecordset("CrossTAB_Compras") Anyone can help Thanks, Felipe Before you get the record count use the following statement Rs.MoveLast (If Rs is initialized as a record set) This will get you the correct record count Hope it works out Shasur ...Show All

  • Visual Studio How to format e-mail address in the report RDLC file as a clickable mailto link?

    My report file has a table. One of the table columns is the customer e-mail address. How can I format the e-mail address value as a mailto link I tried "<a href=mailto:" & Fields!ContacteMail.value & ">" & Fields!ContacteMail.value & "</a>" in the textbox and that is displayed as coded instead of a mailto link. Thanks! You need to make the distinction between the value (i.e. text) of the textbox and action associated with the value. The value should be the text you want displayed. To set a an action like mailto, set the "jump to url&quo ...Show All

  • Visual Studio Express Editions Platform SDK samples

    I just installed Express C++ and thought I would start by compiling a Directshow sample. I had all kinds of problems when I found out there are newer versions of the samples in the Platform SDK. The new samples have been converted to nmake builds with no VC project files. Is there an easy way to make a project I tried the new->makefile template, but that did not copy any source files. Anyone able to build Platgorm SDK samples AFAIK nmake is part of the installation. Start a command line and run name from the command line. The samples are not intendet to be build from within an IDE. ...Show All

  • Windows Forms Enable Typing of ComboBox in DGV

    Hi all, I read the FAQ doc but the suggested solution doesn't work for my case. I have a "data-bounded" combobox inside a DGV, and now I want to enable users to 'edit' the items of this combobox. Basically, the suggested solution is to: 1. change the DropDownStyle at run time 2. add a new item to the Items collection if the formatted value is not exist. However, my ComboBoxColumn is bounded by a DataSet (containing mutliple dataTable), so is there any workaround for this situation Thanks Hello Anyone know how to enable typing in ComboBoxColumn in DGV Am I hitting the blind spot of DGV :) ...Show All

  • .NET Development My Application works in Debug mode only

    Hi all, My .NET application works in debug mode only. If I build my application without the "Generate Debugging Information" equal true, the application start properly, looks like everything is just fine, I can use several commands of the same type, but it stops working, I mean it goes in a loop or something. If I run the same application with debug option equal true and I do the same test everything work just fine. This is a problem because a cannot debug the issue using VS. About the application: Language is C# IDE is Visual Studio .NET 2003 Type is a Windows Forms graphical application to draw vectorial persistent ...Show All

  • Visual Studio Team System Change priority from integers to strings

    I've been customizing the Work Item template in the MSF Agile template. So far I've made good progress in implementing the states (Active, Closed etc) that we currenlty use. For Priority, we currently have High, Medium, Low, Memo but when I change the Microsoft.VSTS.Common.Priority type from Integer to string and added these values, it throws the following error when I import the template: Exception Type: Microsoft.TeamFoundation.WorkItemTracking.Client.Provision.ProvisionValidationException Exception Message: TF26038: Field type for Microsoft.VSTS.Common.Priority does not match the existing type. It was Integer, but now is String. ...Show All

  • .NET Development MSDiscoCodeGenerator Failed?

    Suddenly, I'm unable to create web references. I get the following error: The custom tool 'MSDiscoCodeGenerator' failed. Unable to import binding 'MyServiceSoap' from namespace 'http://tempuri.org/'. Both web service and C# winforms client were created in VS.NET 2005. The web service is the default, wizard generated service. Interestingly, I create apps that did hook up to web services nicely earlier and, if I run those apps now, they work fine...until I attempt to refresh the web reference, in which case I get the error above. I'm sure there are a variety of possible reasons this would be occurring, but I'm wondering if anyone has any quick ...Show All

©2008 Software Development Network