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

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

Aulphar

Member List

Benjamin Bell
David P
Eltial
Jeff Brown
ivanchain
Abandah
janderson
justncase80
Ibrahim Shareef
LTN
Netasia
RoseD
Henri Koppen
David McC
Calvin Che
Hrasheed
DSimmons
Nallasivan
Gammy Knee
odin88
Only Title

Aulphar's Q&A profile

  • .NET Development Business object design

    I have the following sample class where the property value will come from the database and in the database the value can be null. I believe this is a common problem if one wants to design bisuness objects. I have read about the concepts in many books but no one talks about to solve this problem. public class SampleClass { private string stringProp; private int intProp; private DateTime date ...Show All

  • Windows Forms Custom Control Click Event

    I Have created a custom control which has a couple of labels on it and a progress bar. When i use it on a form, i want to assign a click event to it, so that if you click anywhere on the control, its registered as a click on the control. Adding the control.click event to an eventhandler doesnt seem to work. What am i doing wrong What do i need to do to get it to do what i want Cheers When you design your control ...Show All

  • Visual Studio Team System Problems with build type configurations and 'Publish'

    If I want to build 2 solutions in one build type, each with a different configuration, I just make sure that both of the configurations are defined in tfsbuild.proj. Then the build will attempt all four permutations (sln1, config1;sln1, config2;sln2, config1;sln2, config2) but skip the ones that are not valid for each solution, is that correct   Also when I try to publish, I would expect it to do a build first, or do I have to be exp ...Show All

  • Visual Studio Express Editions Small textbox, read file error

    Hello I'm testing a code verification (people entere a code and then the code gets written to a file and read by the program to change labels and acces to certain parts of the program). This is the code I used: Dim var1 As String TextBox1.Text = var1 My .Computer.FileSystem.WriteAllText( "c:\test.txt" , var1, True ) Dim filereader As String filereader = My .Computer.FileSystem.ReadAllText( "c:\test.tx ...Show All

  • Visual C++ error C3861: 'sscanf': identifier not found, even with argument-dependent lookup

    Hi, GetLocaleInfo(LOCALE_USER_DEFAULT, LOCALE_ILANGUAGE, szMachNLCode, (sizeof(szMachNLCode)/sizeof(TCHAR))); sscanf (szMachNLCode, "%x", &langcode); on compiling i am getting following error for sscanf () line. error C3861: 'sscanf': identifier not found, even with argument-dependent lookup i tried adding following code to stdafx.h but it didnt work: #define _WIN32_WINNT 0x0500 ...Show All

  • Visual Studio Can't uninstall MSDN Library for Visual Studio 2005 Beta

    A while back I installed Visual Studio 2005 Team Suite Beta 2 Version on my laptop and used it. I now have the latest Visual Studio 2005 Professional and I want to install it but I can't. MSDN Library for Visual Studio 2005 Beta will not uninstall. I've tried just about everything but everytime it goes through the uninstall process at the last possible moment it "rolls-back" and dosn't perform the uninstall. I'm stuck. I read through m ...Show All

  • SQL Server Datatype conversion strangeness

    Hi all, After more headbanging and cursing than an entire Metallica audience, I have finally deduced how to store and calculate the values of a stack storing RPN calculations using a recursive stored procedure. But there is a new conundrum. Originally, to test the above, I was using fairly simple values -- 10, 20, +, 3, /, etc. But the real data is likely to include values with at least a couple of decimal places -- these have been configured us ...Show All

  • Visual Basic strange bracket problem

    Hi, I've been finding that randomly, after building my project, the editor will start inserting brackets as I type. For example: I type "a" - it changes to "a()" I type "try" - it changes to "t(r)y" I type "ng.Save" - "n(g).s(a)ve" I've disabled Edit and Continue, but still have the problem. The only way to get round it is to restart visual studio. I've had the problem on two computers, ...Show All

  • Visual Studio Team System How to support Code Coverage

    We want to support Code Coverage for COBOL project System. Please tell us how to support Code Coverage with VSIP SDK. Please tell the topics about Code Coverage in VSIP Documents. Best Regards. Hi Munjal. Thank you for reply. I understood how to do code coverage. Can the test project be made in COBOL And, can code coverage be done Best Regards. Shinya Watanabe ...Show All

  • Windows Forms parsing xml through classes

    Hi, I am accessing an xml document through the class, automatically created through xsd tool.  This class maintain xml document in a hierarchy of arrays, and you can access your desired xml element or attribute through indexes in the arrays. But th ...Show All

  • SQL Server Programmatically changing a DataReader's SQL statement

    Hi, I was wondering how I could dynamically change the SQL statement (ie the SQLCommand property) of a DataReader source. The source is reading an IBM AS400 file, with the SQL statement: SELECT itrloc, itrdat, itrcen, csreg#, cstrn#, csseq#, inumbr, cstime, itrqty, itrret, itrreg, itrcst, idept, isdept, iclas, isclas, csdosp, cmcust, csacct, salit, cstntp, csldgr FROM clib.scsaltrn WHERE itrdat between 50901 and 50931 I want to programmatically ...Show All

  • SQL Server Using variables of Connection Manager, Connectionstring

    Hello, I'll spare everyone my diatribe about MS and Booksonline... I considered myself pretty good at Server 2000 DTS. It certainly has it's shortcomings, but there are a couple books on the market that helped a lot. I'm now trying to learn Integration Services, and not getting very far. There are two books out so far. one is poor, the other worthless. What I want to do seems very simple. That is to loop through a series of .txt file ...Show All

  • Windows Forms role-based authorization

    Hi, I'd like to introduce role-based authorization into my windows app. After signing in to the app, the user should be able to access only functions that are enabled based on his/her role. I want to do this by disabling some menu items and toolbar buttons based on his/her role. .Net Role-based secuirty caught my eye, but I am not sure how to use it to dynamically enable/disable menu items and toolbar buttons because I don't want to har ...Show All

  • .NET Development XmlSerialization and CA1819 Warning

    When serializing a class like this using XmlSerialization public Person { [XmlArrayAttribute("addresses"), XmlArrayItem(ElementName = "address", Type = typeof(Address))] public Address[] Addresses; // property get/set not present simply to shorten code example; } How do you avoid the Code Analysis warning CA1819: Microsoft.Performance: Change Person.Addresses[] to return a collection or make it a ...Show All

  • .NET Development Loading external assemblies that are not strongly named

    Hi,   I have a project which references an assembly that is external to the application (it is not in the bin directory of the project or in a path relative to the application).     At runtime I use reflection to load the assembly from a supplied path.   The exception ‘System.IO.FileNotFoundException’ gets thrown.     The external assembly is not strongly named and so I cannot use the ‘codebase’ ...Show All

©2008 Software Development Network

powered by phorum