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

Software Development Network >> Greg Chappell's Q&A profile

Greg Chappell

Member List

Boris B
SlEasy
batpox
Radovici
Charles Salfity
Pelephant1
Andrew Petrochuk
OROCHKA
JennyGMM
Joao Ferreirinha
simpleText
BruceLauzon
Ancalagon
Jon Limjap
brianpkennedy
Ami06
xiaotao
Dario Galvani
Neer
Mohit Goel
Only Title

Greg Chappell's Q&A profile

  • Smart Device Development OnKeyPress - What windows message (WM_xxx) is this a handler for?

    What does the OnKeyPress function in .NETCF act as a handler for (WM_KEYDOWN ). Thanks! ...Show All

  • Windows Forms Messagebox Not Going Away!!

    Hello all, I'm having a particular issue that I seem to can't correct or fix.  I have a form that display buttons which support actions when pressed.  Some of the buttons send a confirmation box which ask yes or no to confirm.  If the user press Yes, the action starts.  The problem is, the action starts but the confirmation box particial ...Show All

  • Visual C# Covert String or Object to Hex

    Hello Everyone, I have something like this .... object var = property.Value; I want to change var to hex, how can I do it.... In C or C++ we use to do something printf("%x, var)....does the trick.... I'm sure will be really simple, I'm not doing something correct..... Thanks, Harsimrat Awesome, thanks...I was being stupid.... this works... int var = Convert .ToInt32(property.Value); string value = var.ToString( "X" ); ...Show All

  • Smart Device Development Security a webservice with an SSL certificate

    I'm attempting to secure a webservice with an SSL cert. And the question is, how can I get a c# app, or a device to trust specific types of certificates Is there somewhere that I can do this in setup, or is this restricted to code... Thanks! Hello, You should add the certificate to the CA (Certification Authority) database on your device. See more info here: http://msdn.microsoft.com/library/default.asp url=/library/en-us/wcedsn40/html/cmconusesslforsecurenetworkcommunication.asp Thanks. ...Show All

  • SQL Server Join filter failure

    Hello there, I'm experiencing a really weird problem: I have a SqlCE subscriber connecting via IIS to a SQL Server 2005 database. The database publisher/distributor and the web server are on different machines (IIS being in a DMZ) and I want to avoid the use of Kerberos delegation to share priviledges on the snapshot folder. I configured the web synchronization to accept basic authentication and obviously the subscriber sends @internetlogin and @internetpassword. Plus, I used a DB authentication on the SQL Server database. First problem, if i disable on the publisher configuration the anonymous authentication, replication fails (I expected ...Show All

  • Visual C++ error code, returned from LoadLibrary() , is 7e

    Hi, I developmented a DShow filter on smartphone and wanted to load it in my application. But it returned NULL when call LoadLibrary(_T("MyFilter.ax")). The error code is 7e. And I tried to use Regsvrce.exe to register MyFilter.ax, the error code returned is also 7e. However I explicitly put "MyFilter.ax" in "\Windows". I tried to load another module, LoadLibrary(_T("aygshell.dll")) for example, it succeded. It seemed that the problem existed in "MyFilter.ax". How can I do to resolve this I am very appreciated of any ideals! 0x7e says tha ...Show All

  • SQL Server OleDB and an increasing connection pool

    Hi. I'm using C# in .NET 2.0 and a third party OleDB driver to access Sql Server 2000. The third party OleDB driver must be used for licensing reasons. The third party Ole DB driver is a Siemens WinCC OleDB driver. WinCC is a factory visualizing application which uses Sql Server 2000. I am using the Ole DB driver to access alarm data from the database. I have things up and running without a problem when the database query result has one or more rows in it. The problem starts when the query doesn't return any rows. First of all - this situation (no rows in result) causes an OleDbException with the error DB_E_NOTFOUND (0x80040E19) which ...Show All

  • Visual C++ this is rediculous

    As a harware developement project, we have many outside lib which is compiled in old way, and now can't be linked with new studio 2005. This is always a problem when you have object files. Let me guess: Those files are bound to a specific CRT. In this case you have no chance. Event object files compiled with some exception handling need CRT code. So in the moment you compile it you bind it to a specific CRT version. Solution: Stay at your old compiler, or recompile the files so you get new object files. This problem exists since all times when the compiler/environment changes. We had this when movi ...Show All

  • SQL Server Cannot get rid of SQL server 2005 Developer Edition Installation

    I cannot uninstall the SQL Server 2005 Developer Edition.  I have run the uninstall from the control panel for ALL of the SQL Server 2005 components.  They are no longer listed in the installed programs list.  I have done the uninstall with both the Control panel and the command line. When I try to install SQL server Express (Downloaded from the web last night)  It will not install.  The error message is: TITLE: Microsoft SQL Server 2005 CTP Setup ---------------------------------------- There was an unexpected failure during the setup wizard. You may review the setup logs and/or click the help button for more infor ...Show All

  • Smart Device Development OutputPath property is not set

    Hi, I have a solution that contains multiple projects and often get this error when I try and deploy the main project (_PPC_ViewPoint): ------ Build started: Project: _PPC_ViewPoint, Configuration: Debug Any CPU ------ C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(481,9): error : The OutputPath property is not set for this project. Please check to make sure that you have specified a valid Configuration/Platform combination. Configuration='' Platform='AnyCPU' Done building project "_PPC_DataEngineDotNet.csproj" -- FAILED. C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(481,9): error : ...Show All

  • SQL Server The value could not be converted because of a potential loss of data in SSIS package

    With my SSIS package, I want to import data from a flat file (TXT- delimited with ) to a table in my database in sql server 2005. The problem is that I have a column of type datetime in my table. But as you know, the data in txt is string. First I created my package through importing data and using import/export wizard in management studio to my database and selecting flat file connection. There, I selected my txt file and column delimiter as , then suggested types for the columns. There it selects 8 byte signed integer type for the datetime column in my table. After these steps I create my package and execute it. But it does not put data ...Show All

  • Visual Basic My form uses Listbox and ComboBox and records are not saved in the database

    Hi, I am new to VB and I need to write an application where users will pick values from ListBox and ComboBox to fill-in the records. I can pick some options and when I press the 'save' button, I get a successful message. I can move from record to record and see my changes were 'saved' but when I exit and preview data or restart the application, the data is back to the original. I have set the Dataset property to 'Do not Copy' (I have tried 'Copy if newer' also) but that doesn't change a thing. There are 3 tables: toto is the main table. toto_field1 contains value for a ComboBox and toto_field3 contains value for the ListBox. Ple ...Show All

  • Microsoft ISV Community Center Forums print out to .pdf or calling a macro with parameter

    Hi, I created an .hta application that generates XML from Excel Sheets and the reverse, the thing is that when I do the reverse, generate Excel Sheets from XML files, i need to print that sheet to pdf. I try creating a macro that receives as a parameter the name of the final pdf file like this: Sub print2pdf(filename) ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True, PrToFileName:=filename End Sub and then i call the macro in the .hta application with this command: ExcelAppA.run "print2pdf ""F:\ProjectoFCUL\OENG\PDFs\teste_disc_A.pdf""" (i tried a lot of combinations with double quotes or s ...Show All

  • .NET Development [C#] having a long menu not taking all the screen height

    Hi, I display a lot of images in a context menu, using OwnerDraw=true and overring OnMeasureItem/OnDrawItem. The automatically displayed arrows are great, but the menu takes all the screen height! My boss want the menu to be shorter... I tried to display only a few images, and added my own arrow items at the beginning and the end of them, but I can't make the menu scroll when I click/select the arrows! - when clicking the arrows, the menu automatically closes - when selecting them, I dynamically modify the images items, but I can't make the menu update ! I tried everything: Refresh/Update/Invalidate of the parent control, PerformSelect on ...Show All

  • Visual Studio Team System Method fails in unit testing with System.Resources.MissingManifestResourceException

    I have a method I am testing that provides localized strings and wanted to provide a unit test to take it through its paces. I already have the method working and wired to a UI, but also wanted to write a unit test for the method so that others would know that it works and to provide a code example. What is strange is that the method works as expected when I run it in the UI, but the unit test throws a System.Resources.MissingManifestResourceException in the unit test environment. All projects in the solution have strong names, so security is not the issue. Is this a bug in the unit testing framework Great - I see this is also a forma ...Show All

©2008 Software Development Network