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

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

pyeung

Member List

Henrik Nilsson
Moustafa Arafa
guppie
arnold park
Navneeth143
creaturita
SekharPC
Daniel Gary
curiousss
tigerlil
Adminanup
littleflsh
canadian_coder
Edward1
Ignacio Alvarez
MJian
DMSorensen
Nick Palmer
Dugan Porter - Microsoft
Pieneer
Only Title

pyeung's Q&A profile

  • Silverlight (formerly WPF/E) Integrating JSON with WPF/E

    I've been playing a lot with creating dynamic XAML lately and while I'm a big fan of XML it can definitely get in the way when large chunks of a WPF/E document need to be added. Since WPF/E integrates nicely with JavaScript and ASP.NET AJAX can be used, is there any chance that you're considering adding a CreateFromJson() type method so that we could feed dynamic JSON objects representing the XAML objects to the control instead of XML strings A perfect scenario is calling Web Services with ASP.NET AJAX and adding the XAML returned to a canvas. If calls are returned as JSON rather than XML, the message payload is minimized substantially and it's a lot easier and more concise to work with in many cases. It would be a nice tie-in to ASP.N ...Show All

  • Visual Studio 2008 (Pre-release) What is most efficient way to create the list of image thumbnails?

    Hi! I have a "little" question... ;) I would need to have (kind of) photo-album functionality in my application - it should display thumbnails of images from certain folder (and entering a folder with 2000 images should not bring the system to its knees!), and user should be able to move in that thumbnail view (using keyboard!) and perform some actions. Problem is, that there are so many options in all respects (what should be the container, how to get thumbnail of the images, how to do it asynchronous - so that folder with 2000 images would not block whole machine, etc.), that it is difficult to choose something In your opinion, what would be the most efficient way to do this Thank you very muc ...Show All

  • Windows Forms get an item from list view used column name

    Hi all i'm using vb.net 2005 i added to my form list view control with 4 columns and fill the data at run time i want to retreive the data using column name like this lbl.Text = list.Items(0).SubItems("c1").Text c1 is the columns name when i wrote this statement this error appear at run time Object reference not set to an instance of an object. note: the name of the column is true while when i used the index no error appear lbl.Text = list.Items(0).SubItems(2).Text what i have to do because i need the retreiving column name thanks a lot ...Show All

  • Visual Basic Application conversion please help!

    Hello everyone, I am in need of help with an application i have created using visual studio. Whenever I publish my project it creates a whole folder full of files, but the application itself is a ".application" file. I really need it to be a ".exe" file for what I am using it for and I cannot find any way to do this. If you have any idea's at all please let me know :0) Thank you. What type of application is and what type of exe do you want windows service, console application or winforms application Also post this question to Visual Studio 2005 forums better as this is Team System related forum, and you will more help on the others forums. ...Show All

  • Visual Basic Problem with “data bound ComboBox” with “Visual Basic 2005”

    It seems that there is a problem with “data bound ComboBox” with “Visual Basic 2005” Please try this… (I used SQL 2005 Express for database.) Create a new Windows Application. Add a new database named “ComputerUsers.mdf” In the DataSource Configuration Wizard, click cancel (since there’s no table yet) In Server Explorer, create two tables Users and UserTypes with the following definitions: Users table FirstName varchar(50) notnull LastName varchar(50) notnull UserType int notnull UserTypes table UserTypeId int notnull primaryKey UserTypeName varchar(50) notnull In th ...Show All

  • .NET Development Redirect Bounced Email via Email Header

    I currently have a application in which I send e-mails via ASP.net 2005, however I'm looking for a way in which I can get an e-mail to be redirected to a pop3 account of my choosing if its fail to get delivered to its designated source i.e. get bounced.   Can anybody recommend how I can do this as I'm told that I can do it using a custom header however i'm having difficulty finding an example demonstrating such an approach....   Thanks in advance Paul ...Show All

  • Architecture Architecting aggregation of data

    We have a group of very similar sql server databases running on our server. We are plannning to create an application which will need to get information from all these similar databases. What do you all think is the best way to go about doing it I am thinking about creating a realtime or periodically updated central database aggregating the info from all the others. How can I do this DTS Or create a data cache in memory A web application, web service and windows forms will be running off this database. Should be able to do a fast search. Is caching the database the only way to achieve this How about XML databases thanks a lot in advance. If I understand you correctly you are looking for creating an ODS ...Show All

  • SQL Server Exporting to Excel Problems (URL Access)

    Hello, I'm using SQL Server 2005 Reporting Services. I'm having an issues when exporting to Excel. I'm using URL Access to generate the report and display it in a browser window. I then choose Excel and click the Export link. Doing this opens a temporary browser window and then a dialog that asks if I want to save the report or open it. If I choose to open it, the report opens in Excel without problem. The problem is that the temporary browser window doesn't go away (close) automatically like it should. What makes this a little more strange is that this behavior only seem to occur on a Windows XP computer. If I run the report from a Windows 2000 or Windows Server 2003 computer, the temporary browser windows closes automatically (and the re ...Show All

  • Windows Forms Make a networked drive appear local?

    Hi everyone, need a bit of info. Here the situation: Client has a 50 PC network, wants to remove access to C: drive but wants to make the networked "Shared (D:)" drive appear as a local drive (i.e not using "map network drive" function). Does anyone know how I can achieve this I have seen it done before. Regards and merry christmas to you all! AJ I don't think making C invisible is the answer, someone always finds away around that ;-) . Just close it down with permissions, and do a combo of couple things. 1) Make there My documents a network drive. 2) Train your users to use the network drive. 3) Enforce a policy against users who try to break policy. 4) Ma ...Show All

  • Visual Basic Questions about processes

    In vb6 I would use certain API functions to access a processes memory. Including FindWindowA, GetWindowThreadProcessId, OpenProcess and WriteProcessMemory. I recently noticed that vs2005 has great methods of obtaining all sorts of info on processes. I was wondering what the equivalents would be. This is how I usually do it. I use FindWindowA to get the window handle. Then I use GetWindowThreadProcessId to get the process id. Then I use OpenProcess to get hProcess. How would I get the hProcess value for WriteProcessMemory in vb.net using the process methods I apologize if this is confusing but it's hard for me to explain. Thanks, Troy Lundin Edit: Ok I have tried the following with no success. Any ideas Const ProcessExe As String = "game. ...Show All

  • SQL Server DateTime.Min won't insert into SQL Server Mobile 3.0

    Hi all, In my C# code I have a Class property that takes the value DateTime.Min upon initialisation, but when I try to insert this into the database column (yes, it is DateTime data type :)) I get an 'Unexpected Error' from SQL Server Mobile. Is this a known Tryst Hi It is due to the diffrence between the Min date of C# and the Min Date of SQL Server. The Min Date in C# is 01/01/01 while in SQL Server it is 01/01/1753 ... so create your own Min Date equlient to SQL Server Min Date and the Problem will be resolved. ...Show All

  • SQL Server help needed in error handling and undo transaction

    I am reading a temptable, and doing 2 inserts. In case of error, i want the 2 inserts to be undone, and move to the next line. The complete opposite is happening and the process is being stopped while i wanr it to move on!Help appreciated! This is my code: BEGIN TRANSACTION if exists( select [id] from tempdb . dbo . sysobjects where id = object_id ( N 'tempdb..#textfile' )) drop table #textfile CREATE TABLE #textfile ( line varchar ( 8000 )) BULK INSERT #textfile FROM 'c:\init_newsl.txt' DECLARE table_cursor CURSOR FOR SELECT line FROM #textfile OPEN table_cursor FETCH NEXT FROM table_cursor INTO @oneline SET XACT_ABORT ON WHILE ( @@FETCH ...Show All

  • SQL Server SQL Server General Network error.

    Hi, I am using .Net framework v 1.1 and SQL server 2000. I got the following output on firing "SELECT @@version" in my sql server. ---- Microsoft SQL Server 2000 - 8.00.2039 (Intel X86) May 3 2005 23:18:38 Copyright (c) 1988-2003 Microsoft Corporation Enterprise Edition on Windows NT 5.0 (Build 2195: Service Pack 4) I am getting the General Network error when i try to select, update or insert data from / into sql server. This error is randomly generated and some times just disappears. But i am sure that there must be some problem bcoz, now or then the same error is thrown. I am firing these queries from a windows service. Since it would be automatically working in background i want that a sure shot solution be imple ...Show All

  • Visual Studio Express Editions VBx05 GUI Help Favorites

    I was wondering where the help file links for the VBExpress05 interface reside I have this on a couple computers and one has a lot of good reources I'd like to import, if possible, into my other Visual Basic computers... The best way to ensure everything gets setup correctly is to start the setup program again (add/remove program in XP, uninstall a program in Vista). This should allow you to add the MSDN express documentation. ...Show All

  • Windows Live Developer Forums Tile overlays in V4 3D using GetTilePath

    Is anyone successfully overlaying tiles using the dynamic "GetTilePath" property on the VETileSourceSpecification in V4 3D ...our V3 2D application when switched over to V4 3D no longer works :-( - it does work in V4 2D. Yes, you've hit a known bug. Using % for the parameters was a poor choice because it's common to see them in URI's. The workaround is to not have URL's with HTML encoded characters in them (like %20 or %2c). The zoom level and tile LOD listed in the manifest are the same. There is no schedule for 2D supporting the full set of parameters yet. ...Show All

©2008 Software Development Network