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

Software Development Network >> Deva Wijewickrema's Q&A profile

Deva Wijewickrema

Member List

XNA Rockstar
MattCVT
StriderIRL
rusty_dev
Leebert
TalYam
FredDabb
threehappypenguins
Amit Online
Pareshbsel
Cesar Francisco
Vikas Dhevarshetty
MrLucky
Kennon2005
Sandro Borsatto
Wei Ming
Charles Lewis
Yogesh Ranade
Ashok Kumar Roy
JinMengcheng
Only Title

Deva Wijewickrema's Q&A profile

  • Smart Device Development NotSupportedException was unhandled

    hello, I got this exception on the first line of this code in the designer: // // pictureBox1 // this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image"))); this.pictureBox1.Location = new System.Drawing.Point(3, 3); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(222, 94); Basically i just added a picturebox to contain a jpg image. this form is common to all the applications and they work fine with the others. but the app im working on throw me back the error message. Im using VS2005 CF .net 2.0 so do the other app (which are written by me too). So i don't get it. why the others are fine but this later doesn't work. Any suggestion ...Show All

  • .NET Development Reading file size and then store the name, date and size in database

    I'm trying to make a program that basically say that every morning run this directory and scan through all the files. Then record the name, size and the date and then compare with the one that already existed in the database. If everything is match then pop up message say GOOD. If something has been changed then pop up a message say NOT GOOD. But aslo if i know that there was an update on the file so the date has been changed, that program should also have an update function to update the database. For instance File1 800kb 7/18/2006 File 2 1mb 7/17/2006 because this is the first time i run this program so i have to insert this into the data base. so after inserting, the database will have a list of file 2 and 1 with ...Show All

  • .NET Development AppDomain.AppendPrivatePath deprecated vs. alternatives and hosting UI controls as plugins

    I’ve posted this reply on the AppDomain.AppendPrivatePath Depricated (sic) thread, but since that thread was marked as answered I realized my post wasn't taking anyone attention at all, so I've started a new thread with this question which is similar to the original thread but goes further in the discussion. The question follows: I’ve designed a plugin architecture that ultimately used AppendPrivatePath, which is now marked obsolete and no equivalent solution exists. I understand the motivation to make Assembly resolution predictable, but I really do not think it was so much of a problem, unless Assembly failures started to be cached, which is what 2.0 seems to be doing :-) The workaround/solution (depends on your view point) is to ...Show All

  • Gadgets Looking for an experienced Gadget Developer

    Hello all, I am looking for an experienced Gadget Developer. Please have examples ready to show of your previous work creating gadgets. Interested parties please email me at the email in my profile. Thanks. ...Show All

  • Windows Forms Excel Question - How can I convert a date?

    I have a report that has a YRDATE format where YR=last two digits of the year the document was created and the DATE is the day number of that year. For example: 05115 which should be 04/25/2005. What would my function/ formula be to convert the 05115 to the correct common date You did I'm afraid. These forums are dedicated to Windows programming and not general PC/app troubleshooting or questions. Instead, I'd direct you to the Microsoft Newsgroups or even a dedicated Excel forum such as this one . ...Show All

  • Visual C++ cl.exe / option so that the name of the source file be not dumped ?

    Hello Is there some option of cl.exe so that the source file name be not printed out If doing : DOS> cl.exe /nologo myFile.cpp It dumps : myFile.cpp And I would like to not see this dump. Thanks Guy You can try " cl myFile.cpp > null ", but you will not see the error messages too. ...Show All

  • SQL Server Where is 2187 sql server 2000 hotfix Spanish version

    Hello, I need to install 2187 hotfix to a sql server 2000 spanish version, but in the download section of the hotfix spanish is the only language that is not available, Anybody knows why Thanks in advance Jordi. Have you received any answer , I can't understand that the only missing build is the spanish one all other languages builds are available. Thanks, Jordi ...Show All

  • Visual C# convert byte array elements into ushort and short

    Hi, I have an array of bytes whose first 2 elements constitute a ushort and next 2 a short. How can I convert elements in a byte array into short, ushort or integer Thanks, Check out System.Convert to see if it will help with the conversions. Here is a link with some examples. ...Show All

  • SQL Server Reset autoincrement number

    I use Microsoft SQL Server and also I have several tables. One table has ID like PK, and name. ID use autoincrement number mode, and now when I want start form one but not from 156 or like that. I don't know how And also when I delete all data from table an run my apllication and add something in table, it starts form last number, not from one. Maybe can I do it from SQL menagement studio How I can reset table and start from 1 Hi, have a look in the BOL for the following command: DBCC CHECKIDENT ('HumanResources.Employee', RESEED, 30) HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • SQL Server 1 project - Multiple packages

    Greetings SSIS friends, If I have more than one package within one project, how do I select which package I want to run first Thanks in advance. Right-click on the project. Select properties Go to the Debugging tab Select your package in the StartObjectID property. I never actually knew this so I've learnt something today -Jamie ...Show All

  • Visual C++ Asked for VC 7.1 libraries when compiling a project in VC 8

    Hi folks: I encountered a problem when I was compiling a VC++ 8 project convered from .NET 2003 in Visual Studio 2005. When the process came down to link stage, the VS 2005 IDE asked for some version 7 VS libraries such as "mfc71.lib", "mfcs71.lib", "libc.lib", etc, which are not included in VS 2005. Could anybody provide any hints for cracking this problem. Thanks a lot in advance. Jason Yes you're right Ayman. My base project is built as a Win32 application with "Use of MFC in a Shared DLL" option. Its runtime library option is thus selected as "Multi-threaded DLL(MD)". The compilation options of some of the referred libraries were not compliant ...Show All

  • SQL Server how to fix report layout problems

    When you use Report designer in the BI development studio, on the Preview tab, you can have a straight preview or a print layout preview. I suppose what you see in the print layout preview is what you get when you print the report or export the report to the other format. However, often you see everything looks perfect in a straight preview but does look right in the print layout preview . For example, you might get the following problems in the print layout preview, even if everything looks perfect in a straight preview. · Every even page is a blank page · Items that should be together on the same page are separated into different pages. For example, on the first page, I had a TextBox1 followed by Image1 then foll ...Show All

  • SQL Server Issues With SQL 2005 Encryption

    Are there any pitfalls i should look out for when using the encryption in SQL 2005 I'm just learning SQL and i'm very green but hope to become more seasoned in time. Thank you. Jeff Welch ...Show All

  • Smart Device Development How to open and goto a specific record in Contact or appointment

    I want to programatically run the calaneder , task or conact and goto and specific records . can it be done how can i do it seewan The applications dont themselves support this. However you can use Pocket Outlook Object Model (POOM) to access specific items and call Display() to show the standard card screen. For .netcf code on Windows Mobile 5.0 see the Microsoft.WindowsMobile.PocketOutlook namespace. For native code see POOM in the SDK documentation and samples. Peter ...Show All

  • SQL Server How can I catch all errors of the stored at the same time?

    I have a stored prcedure . In the stored I wrote 3 SQL statements, one is OK but 2 other statements have error as: 1. Invalid column name 'F2' 2. Invalid object name '##_152008049' . I put the stored inside try block and catch error in catch block as the following. But I always catch only the first error : invalid column name F2 . How about the second statement How can I catch all the errors when I put the stored in try block. Now I don't want to add try..catch inside the store for each statement. Begin try exec mystored End try begin catch ERROR_NUMBER () AS ErrorNumber , ERROR_SEVERITY () AS ErrorSeverity , ERROR_STATE () as ErrorState , ERROR_PROCEDURE () as ErrorProcedure ...Show All

©2008 Software Development Network