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

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

mcheung

Member List

ano
hommer
vr8ce
hsndds
ratkinofaso
MuscleHead
kds294652
Nrupesh
ozitraveller
Satyajit
m_meuse19
Tarek Ghazali
Seradex
Arran Derbyshire
Scott_P
DavidAWinter
schlrobe
triciameza
Navin C
Rajeevan
Only Title

mcheung's Q&A profile

  • Visual Studio Express Editions Bitmap Merging

    I have a problem with bitmap merging... The design is following: Dim ImageView As New PictureBox Dim ToShow As New Bitmap(300, 300) Dim Part As New Bitmap( "smallpart.bmp" ) ' The 'ToShow' bitmap has to be made of the 'Part' bitmap. ' So I need a code wich adds the 'Part' to the 'ToShow' at ' its X;Y coordinates (or a rectangle) relatively fast. ' Like "AddBmp(ToShow, Part, 15, 15)" ' (the Sub I wrote using .Getpixel and .Putpixel are ' very(slow) ImageView.Image = ToShow Thx a lot.   One of the versions of the Drawimag e function allows you to specify what part of the image to draw. You can find an example here . ...Show All

  • Visual C++ 16_bit windows program

    hi when I tried to install some new softwares. The computer displayed a message "Can't run 16_bit windows program" "One of the library files needed to run D:\setup.exe is damaged.Please reinstall this application" These programs have been checked and run well when I bought them. Anybody could help me to solve this problem For general windows troubleshooting questions please use the newsgroups at http://msdn.microsoft.com/newsgroups/ Thanks and regards Sahir ...Show All

  • SQL Server SQL Compact and OleDb Datasets

    I am considering using SQL Compact in a new project, but during my testing I run into the weirdest errors. I don't want to use the specialized SqlCeConnection, but rather OleDbConnection so the application supports any database (theoretically). I cannot get it to work with datasets though. In my small testapp, I can create tables, insert data and get data with raw sql sentences and OleDbCommands. But when I try to use a Dataset with DataAdapters, then I receive weird errors like: When I run DataAdapter.Update: System.Data.OleDb.OleDbException was caught Message="The given type name was unrecognized. [,,,,,]" Source="Microsoft SQL Server 2005 Everywhere Edition OLE DB Provider" ErrorCode=-2147217872 When I try to Conf ...Show All

  • SQL Server How to fix corrupt database?

    Hello, I am trying to run the example program: Coding4Fun: Building a Family History Web Service at this URL http://msdn.microsoft.com/coding4fun/xmlforfun/familyhistory/default.aspx The project has an SQL Express database Family.mdf. When I try and open Family.mdf in VS 2005, I get this error: 'FAMILY.MDF' cannot be upgraded because its non-release version (587) is not supported by this version of SQL Server. You cannot open a database that is incompatible with this version of sqlservr.exe. You must re-create the database. I can create a new database, but then the stored procedures will be lost. Any suggestions how to repair the database Thanks Hello Jens, Thanks for taking ti ...Show All

  • SQL Server SQL Server 2005 SP2 CTP Version

    Hi, I m using Windows 2003 Server. I installed SQL Server2005 and now i want to apply CTP service pack on it. I downloaded all the SP2 patches available on the site http://www.microsoft.com/downloads/details.aspx FamilyID=D2DA6579-D49C-4B25-8F8A-79D14145500D&displaylang=en . Each of them is giving an error and it is not getting installed on SQLServer 2005; Is it a problem with my hardware or the version of Windows or the version of SQLServer 2005 Can anyone help me with this problem THanks, Srividya Hi, What is your OS Is it IA64 or AMD64 (x64)  You can tell by runing winmsd.exe from cmd prompt, then check for "System Type" to see if your OS is "x86 based" ...Show All

  • SQL Server calling a procedure from another procedure

    Maybe this isn't possible, but I'm trying to figure out how to call a procedure in a select statement where I can pass a new id each record found. Here is the procedure code that returns the desired results for any given ID: CREATE PROCEDURE proc_amEnrollmentTrackingDetailGet_cst @syStudentID INTEGER AS DECLARE @SATACT DATETIME, @HSTranscript DATETIME, @AcceptLetter DATETIME, @FAFSA DATETIME, @FinAidApp DATETIME --Get the last DateDue for each document type SELECT @SATACT = CASE WHEN cmDocTypeID IN (81,110) THEN DateDue END, @HSTranscript = CASE WHEN cmDocTypeID IN (83) THEN DateDue END, @AcceptLetter = CASE WHEN cmDocTypeID IN (126) THEN DateDue END, @FAFSA = CASE WHEN cmDocTypeID IN (150) THEN DateDue END, @FinAidApp = CASE ...Show All

  • Smart Device Development regarding moving a directory including all its sub directories from device to storage card

    hi all, i have a requirement that i move a directory including all its sub directories from device to storage card. i need to do it in a control's event like some button click. i have tried using: MoveFileW(LPCTSTR lpexistingfilename, LPCTSTR lpdestfilename); i have seen no success. is there any other windows api i can use to do this thanks in advance. kulkarni Hi Michael, CopyFile does not operate on directories, so is there any other API for copying(not moving) directories along with its contents within the same storage volume thanks in advance, Mahesh ...Show All

  • .NET Development Connection woos ...

    Just the other day I have not been able to connect to SQL Server 2005 Express Edition. NOTHING has changed. All I have noticed is that in the Surface Area Configurator the Local Connections only radio button it selected. So I try selecting the Remote radio button and Apply and Ok and then exit the Surface Area Configurator program and then come back in again and the Local Only is selected. Is this normal behavior Is Remote connections allowed or not How verify Thanks. Run a command prompt and ping the server name. Then use the returned IP address and try to ping it: ping -a <ip address> If you can ping successfully make sure that the server name matches the IP address. Let us know wha ...Show All

  • Visual Studio Team System Test List group of tests are not executing in the correct order

    I have created 1 manual test called "GER-Setup W2KSP4" I have created 1 ordered test called "W2K SP4 TYPE B+ DD" I then created a test list which contains both this manual and ordered test. I want "GER-Setup W2KSP4" to run first...however when I run this test list it starts with the first test. Any ideas NOTE: that the manual test "GER-Setup W2KSP4" is listed first in my test list. Is there a way to set a priority to tests within a test list Thanks Newbie I must admit that I am a bit confused then about the purpose of the Test Lists. I have a Team Project to which I have created 2 solutions. I then created multiple projects for each solution...but let's just look at ...Show All

  • Visual Studio Express Editions missing output window

    Hi all I seem to have a problem getting even a basic console app to work properly. The build goes fine without any errors, but there is no console window appearing. I am not sure what has happened, as Visual C++ Express was working fine last time I used it,about a month ago. The only thing new that I changed was to replace my old CRT with an LCD monitor. I have tried to make a "Hello World" console app just to test and see if it will display. Thanks hello I have tried to make a "Hello World" console app just to test and see if it will display. I assume this test failed to display the console window. Try to use task manager to see if your program is running after you exec ...Show All

  • SQL Server What are some professional CMS tools that work with SQL Server Express?

    We are looking for some professional, low-cost, and easily configurable CMS tools that work hand-in-hand with SQL Server Express. Any come to mind ...Show All

  • Visual Studio 2008 (Pre-release) How can I create Path with custom Geometry from my code.

    I can't work with Geomentry :( My goal is creating Path from code & adding path points to the existing path. There are actually multiple ways of doing this. The simplest of which doesn't even involve the Path element. If all you want to do is draw a bunch of points with lines connecting them (for, say, a stockmarket graph), you can use a Polyline shape: Polyline myPoly = new Polyline(); PointCollection points = myPoly.Points; points.Add(new Point(100,100)); points.Add(new Point(200,100)); points.Add(new Point(200,200)); points.Add(new Point(100,200)); myPoly.Stroke = Brushes.Green; myPoly.StrokeThickness = 5; If you wanted a closed shape (in this case a squ ...Show All

  • Software Development for Windows Vista Inconsistent File System Enumeration with FindFirstFile / FineNextFile

    I'm working to get a commercial application to run on Vista. Among the many broken things, the first one I encounter is a crash due to a stack overflow due to a recursive function that goes bad. The app enumerates files in various places using FindFirstFile | FineNextFile in a recursive function (C++). I'm using retail Vista Ultimate with VS 2005 sp1 plus the VS Vista update beta. What I see in the debugger is that when I start out enumerating drive "c:", I come to the "Documents and Settings" folder and recurse into it. When I get to "c:\Documents and Settings\All Users\Application Data", FindNextFile then returns "Application Data" over and over again and I recurse into "Application Data&qu ...Show All

  • Visual Studio Team System AreaPath Field content

    The problem is the following... Some months ago we have created a new project in TFS. It's WorkItems don't use AreaPath field, Areas are taking from WorkItem XML file. But now we need to fill Area field from "Areas and Iterations". As far as I know, "Areas and Iterations" list is providing by AreaPath and IterationPath. It is just so in new project created with _MSF for Agile Software Development v. 4.0_ template. But in our project this fields shows project name instead of Areas and Iterations. How can I view and change mapping AreaPath content - DataBase content Or the problem is resolving by other ways I think that your problem is that you need to create the Areas and Iteratio ...Show All

  • Windows Forms Serious problem with Tooltip in ListView in VS2005

    There seems to be a problem in VS2005 (which was not present in VS2003) when a tooltip is assigned to a listview. If the mouse hovers over a blank area of the listview it works fine, but if it hovers over a populated row the tooltip shows very briefly - not long enough to read - and then disappears. To make matters worse, for some reason a tooltip generates a MouseMove event when it disappears (even in VS2003), which causes real havoc in a program that uses the MouseMove event to set the tooltip text, because setting the text causes the tooltip to be redisplayed. When the cursor is over the blank area there is no problem, the tooltip disappears after the AutoPopDelay time (usually 5 secs) and is immediately redisplayed (VS2003 also behaves ...Show All

©2008 Software Development Network