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

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

nkarunatilaka

Member List

IrishAnto
GaiaGeek
JRizzle
Balaji K
Display Name*
AWC
Jason W. Martin
TDH
ShoreNuff
EMarcusSmith
nole12
Galb
Maxicus
scriptjunk3
Israel Alpert
rajiv_gadkari
Ardayon
Ludy
chuck02323
DaveNieberding
Only Title

nkarunatilaka's Q&A profile

  • Visual C++ __w64

    I am trying to port an application from 32-bit to 64-bit windows environment. There are a lot of warnings like these when i compile my code on 64-bit :- mbtext.cxx(2249) : warning C4244: 'argument' : conversion from '__w64 int' to 'int', possible loss of data mbtext.cxx(2354) : warning C4244: 'argument' : conversion from '__w64 int' to 'int', possible loss of data This warning is at lot of places. "__w64" : Not much help is available to know more about this type. Please suggest appropriate resolution for this warning. Thanks, - Navin Take a look at the following links for resolving the issues: http:// ...Show All

  • Visual Studio 2008 (Pre-release) JOINS

    Having installed and now run the 101 examples, I'm pretty impressed, and also seen the actual SQL going to SQL 2005!  I believe now<S> However in the JOIN examples I see the 'joins' are done using the old SQL 89 syntax.   I.e. in the WHERE clause, which is perfectly valid for INNER JOINS but a surprise because of the limitations where it comes to OUTER JOINs An OUTER JOIN with constraint that is applied before the JOIN has no equivalent. E.g. Table 1                             ...Show All

  • Windows Forms VS.NET Toolbox

    Is it possible to re-use the VS.NET Toolbox control for your own applications.  If so, how is this done Thanyou. I have a control posted which is similar to an outlook bar and also the vs.net toolbox, it supports images of all sizes and text aligned underneath or to the right. Highlights are drawn in the office XP style, it has& ...Show All

  • Visual Studio Team System Top VSTS+Agile intro resources

    Hello, I'm part of a small development team (10 members including business analyst, team leader and infrastructure guy). We're considering moving to Team System. We currently have a very loose, informal development process. I've been trying to catch up on Agile and methodologies in general, but there is very much information and much of it requires prior knowledge of or experience developing by methodologies. What I really need is concise introductory material explaining what Agile re-organization or restructuring is required to maximize usage of VSTS. So, what one or two concise introductory VSTS+Agile migration resources do you most highly ...Show All

  • Visual Basic [VB.NET VS2005] Multicolumn combobox

    Hello, I'm new with VB.net and I've found a code that I use to do a SQL query on ACCESSDB and it return me a datagrid. For Exemple, I do a query on my tbl_person : "SELECT id_person, person_name, person_birthdate FROM tbl_person" After that, I want to show this result in a combox box, but I don't find how to have 3 columns (id, name and birthdate) with the id hidden. Usually, I work with Access forms, but I want learn vb.net. How can I do my combobox with 3 columns and with my first column hidded Thanx for you help // I'm not english, so sorry for my errors There is no such thing ...Show All

  • .NET Development Help : XML Signed document properties

    Does someone has a simple example in c# or vb.net to make an Xml signature that includes SignatureProperties element type for the inclusion of assertions about the signature itself (cf. W3C recommendation: XML-Signature syntax and Processing http://www.w3.org/TR/xmldsig-core/#sec-o-SignatureProperty ). Thanks in advance for your answer. Moulincourt     Hi Moulincourt, The XML signature implementation that ships with the CLR does not include an implementation of SignatureProperties.  However you can still include them in your signature, you'll just need to do some work. First, you'll wa ...Show All

  • Windows Forms Formatting data before binding

    Hello, I have a business object returning a datatable back to a bindingsource, which a datagridview uses to bind the results.  However, certain fields are yes/no, which I want to convert to true/false.  Is there an event that fires before the binding takes place where I can switch it Thanks. There are several approaches you can take here: Use the System.Windows.Forms.Binding class (extensive usage examples are included in the documentation for it). It features a Format event that does exactly what you want (and a Parse event for conversions the other way around); Write a SQL stored ...Show All

  • Visual C# sapi DisplayUI problem

    Hi, I am using visual studio .net 2003 and I am trying to call the voice training UI programmatically, I get the following errors Argument '1' : impossible to convert from 'int' to 'ref SpeechLib._RemotableHandle' Argument '5' : impossible to convert  from '<null>' to 'uint' Argument '4' : impossible to convert  from 'ref object' to 'System.IntPtr' Argument '3' : impossible to convert  from 'string' to 'ref ushort' Argument '2' : impossible to convert  from 'string' to 'ref ushort' private void mmO_Entrainer_Click( object sender, System.EventArgs e) {      ...Show All

  • SQL Server Analysis Services 2005 Tutorial Error

    Hello, I am new to SQL Server 2005 and SQL server in general.  Recently I installed the September CTP of Server 2005.  I am currently going through the Analysis Services Tutorial with the AdventureWorksDW database.  In Lesson 2 of the tutorial after I deploy the cube, when I enter the cube browser and try to drag and drop the "Sales Amount" measure into the data pane, I get the error: The query could not be processed: o Memory error: While attempting to store a string, a string was found that was larger than the page size selected.  The operation cannot be completed. I get this error no matter what measure I try to dro ...Show All

  • .NET Development can not add COM component (evalcom2.dll) to a visual studio 2005 project

    On http://windowssdk.msdn.microsoft.com/library/default.asp url=/library/en-us/msi/setup/validation_automation.asp is described how to use the Evalcom2.dll. I need these functions for an application I'm developing. Because the webpage states that evalcom2.dll is a COM component I want to link this file to a (visual Basic and C#/C++) Project in Visual studio 2005 as described on 1) http://windowssdk.msdn.microsoft.com/library/default.asp url=/library/en-us/Com/html/7e78853a-b134-46d7-a230-3ee8d80d05c0.asp or 2) http://windowssdk.msdn.microsoft.com/library/default.asp url=/library/en-us/Com/html/635 ...Show All

  • .NET Development Javascript Validation in ASP.Net

    I am writing an ASP.Net application that needs validation for certain fields.  I found a Javascript routine that will examine a text box for uppercase, lowercase, and numerics.  I can split up the validation to return a value based on what is found. The problem is that I cannot figure out how to incorporate this Javascript with my custom error handler.  The custom error handler for ASP.Net cannot be used to weed numbers and/or special characters out of a text field.  That is why I am using the Javascript routine. This is what I am trying to add to the HTML code of my project: var numb = '0123456789'; var lwr = 'abc ...Show All

  • Visual Basic inheritance template missing in vb.net 2005 express

    I'm trying to experiment with form inheritance and created a base form with a couple of buttons.  I save and build this base form as a dll.  Then I try to add another form which inherits the base form, but the project menu has no items to allow me to add an inherited form.  I've also tried adding a reference to the project first, but it still doesn't work.  What is wrong Actually, rather than add a class I simply added a windows form and changed the boiler plate code "inherits" statement and everything worked.  I've been working with VB.NET 2003 and wasn't cognizant of the separate ...Show All

  • Windows Forms how to eliminate duplicated values in a databound combobox?

    I have a comboboxService, bound with an ACCESS db table "Service", the displayMember is a column called "serviceContactName", which allows duplicated value in the db. (i.e. one person can be the contact of many services). When I run the app, the combox will contain all the contact names for all services, e.g. if person "Smith" is the contact of 10 services, his name will have 10 duplications in the combobox. How can I make the comboboxService only load the same contactName once plz help If you databinds through datasets you can add a query to your data adapter which include a distinct select on th ...Show All

  • .NET Development Activator.GetObject and client-activated object mutually exclusive?

    Hi all, From reading the documentation and articles, it appears that when the remotable type is configured as a client-activated type, Activator.GetObject cannot be used. I tried creating an instance of a client-activated remote object using Activator.GetObject. I started from a working implementation of a Singleton to a client-activated type. I can get a proxy, but every call to a method on the proxy results in a "Requested Service not found" exception. The reason I want to use Activator.GetObject instead of Activator.CreateInstance is because I prefer to only have an interface on the client side and not the full object implementation. Usin ...Show All

  • SQL Server SQL Server 2005 Express Management Studio

    Hello, I have installed SQL 2005 Express Management Studio several times and It fails to completely install. I get a message that SQL Server Express 2005 x84 did not install properly. I tried to uninstall it and reinstall it but I get the same problem. My Visual Web 2005 Express Edition and Visual Basic 2005 Express gives an error when I try to add a new database. The error is: "Failed to generate instance of SQL server due to a failure copying database files. The connection will be closed. Does anyone know what I can do to resolve this My computer system meets the hardware requirements. Sincerely, Pam You ne ...Show All

©2008 Software Development Network