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

Software Development Network >> Robert Chu's Q&A profile

Robert Chu

Member List

Daye Rev
Wildert
ColoradoKid
calmal20
ti_m
moondaddy
zdrae
Ori'
ItsMe!!!
rajanra
00Negative
yeos_lee
nhl66pens
Javier Martinez
Jacx
bes7252
Steven Syfuhs
Slimer74
ABS123
Mike Haro
Only Title

Robert Chu's Q&A profile

  • Visual Studio 2008 (Pre-release) XMAL browser Application - Error with run(F5)

    When i try to build and run(click F5) my XAML browser application, my application will run in notepad but not IE . I would like to know how can i change it back, so that my browser application will run in IE. I am using Windows XP SP2 .Net Framework 3.0.4324.17 Orcas(FX3_RC1) Microsoft Visual C# 2005 Express Edition Whenever we run the XMAL browser Application in IDE, it will call the Presentation.exe to compile the xmal code. My problem is, when i right click the .xbap/.xmal file and choose to Open With WIndows Presentation Foundation Host , the file will be loaded into notepad. But at others machine, if i choose to Open with WIndows Presentation Foundation Host, the file will be loa ...Show All

  • SQL Server Retaining Fields for Multiple Models in Mining Model Prediction Tab Design View

    I am using BI Dev Studio for SS2005 in a research (as opposed to a production) environment. Often I want to compare the results of multiple models using the same attributes. If I switch to a different model, the Design view completely resets. Is there any way to retain the same field names with different models in the Design view My current workaround is to give my models similar names with AR, DT, CL, LOG, NN suffixes and make global changes in the DMX. I have consulted the following without finding an answer: http://msdn2.microsoft.com/en-us/library/ms178445.aspx http://msdn2.microsoft.com/en-us/library/ms175642.aspx http://msdn2.microsoft.com/en-us/library/ms175678.aspx http://msdn2.microsoft.com/en-us/library/ ...Show All

  • Visual C# Override Attribute

    It’s possible override a attribute Example: public class CBase { [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)] public virtual int Prop { get { } set { } } } public class Test : CBase { [Obsolete("Dont use this property!", true)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public override int Prop { get { } set { } } } This is don't work, any ideas Thanks in advance Yes you can override attributes but it doesn't necessarily mean it'll work in all cases. For example if you override the CategoryAttribute it'll work (I believe). It really depends upon the caller. The callers can opt to retrie ...Show All

  • Software Development for Windows Vista Local Session Manager Service

    I would like to understand the use and nature of this process. It's been started by WinInit and runs under SYSTEM. The reason why i'm interested in this process is that I have noticed that the memory usage (private bytes) keeps going up while my application is running. The private bytes also does not come down after the application exits. My application is written in C++ and uses the Media Foundation API. What is also interesting is that I can recreate the same situation using straight up samples from the Vista SDK 1.0. Anyway, it would be good understand what makes the memory of this process go up and more importantly not go down. Thanks! ...Show All

  • SQL Server Parameter maximum string size question

    Does anyone happen to know what is the maximum string size that can be passed in a parameter w/o it truncating or throwing an error Thank you in advance, As it is implemented as a .NET type (System.String) it could take theoretically up to 2^31-1 chars, but passing the parameter through the webservice or the URL will make you only to have your URL expanded to the maximum of 2083 chars to support all the methods like GET / POST / Webservices. http://support.microsoft.com/default.aspx scid=KB;en-us;q208427 HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Heightmap Terrain Component

    I thought the whole component concept was pretty cool. So I threw together a quick heightmap terrain component. http://i9.photobucket.com/albums/a59/craigory666/heightMapTerrain.jpg http://i9.photobucket.com/albums/a59/craigory666/heightMapTerrain2.jpg http://i9.photobucket.com/albums/a59/craigory666/heightmapprop.jpg It should work with square .raw files, and for the effectPath I'm just using the default texture shader found in the help file. The view and projection matrices of the terrain are exposed, so you should be able to hook up whatever camera you have going and just update the terrains view, and projection matrices during your games update. using System; using System.Collections.Generic; using System.IO; using Microsoft.Xna.Fr ...Show All

  • SQL Server How to edit someone else's report definition?

    I need to be able to share report definitions with other people in my group, so we can all edit and makes changes to each report definition if the need arises. When I tried to use a shared folder the other person could not access my report def, so evidently there is security applied. What's the correct method to do this Please point me at the documentation if it's listed somewhere - even an MSPress book would be fine. This is for both SQLRS2000 and 2005. thanks Peter OK - further forward progress, however the data source apparently does not bring over the credentials so I assume we'll have to enter them again manually. thanks!! ...Show All

  • Visual Studio Express Editions How do I specify Data files for ClickOnce deployment?

    Hi to all, I have an application that uses 2 CSV files. The application sucessfully runs on my development system, but bombs when Run after ClickOnce deployment. The data files, contacts.csv & bowl.csv, are located in a folder named Resources in the project. I right clicked each file and set the Build Action Properties to Content. I then opened the project properties and on the Publish tab, I clicked Application Files. I set the Publish Status for both files to Data File. I read the data using the following code: Private myPath As String = "..\..\Resources\" Dim SR As System.IO.StreamReader Dim txt As String = "" Dim FileURL As String FileURL = myPath & [Enum].GetName( GetType (CSVfile), FN) & &q ...Show All

  • SQL Server Chart - Point Labels inside the Bar

    Hi People, I'm with a new problem. I creted a simple bar type and sometimes the values of point labels are showing inside of bar, This is a problema, because if the length of bar will be short, the value doesn't shows. How can I make to force the point label value outside of bar Thanks it has a legend loc on the data field properties. you can change the location by choosing from the 9 blocks. ...Show All

  • Visual Studio 2008 (Pre-release) TreeView DataBinding

    Hi! I'm using a TreeView which content is filled with an XmlDataProvider through its ItemsSource property. I still can't get how this really works. I believe that the treeview never creates TreeViewItems instances when filled this way. My application lets me select a node, and then execute an action that makes me refresh the tree. What I'm doing is resetting the XmlDocument in the XmlDataProvider , and the treeView gets refreshed automatically. The problem is that the treeView is reseted and I loose the selected position. Some more details: I changed the treeview and treeviewitems styles and templates. I'm able to change some properties (like color) from the TreeViewItems in that styles definitions. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Assets load in a thread

    I am started a system of load of assets encapsulating in a thread the ContentManager. I can be loading assets in asynchronous way in parallel with the thread, or can loads asset synchronously when I need it in the main thread. I have several problems to continue with this system. If I call to LoadAssets from 2 different threads with equal asset at time an exception jumps. I have tried to put mutex and works well, but in synchronous way I must waiting finish the current request of the thread to be able to load asset from the main thread. I have several questions or doubts: If I make a dictionary with assets loaded to be able to call to LoadAsset, It's consistent with the ContentManager If the games were loaded of hard disk, I r ...Show All

  • SQL Server different colors for a matrix

    Hi. I have a matrix containing 3 row groups and 2 column groups and of course a detail area. I want to show the detail area in different colors according to the row number.For example 1. row -->blue 2. row -->green 3. row -->blue 4. row -->green 5. row -->blue 6. row -->green and so this goes.... I used the =IIF(RunningValue(FieldName, CountDistinct, "matrix1") Mod 2 , color1, color2) for the detail's backgroundColor property But it didn't work as I want.This caused a result like this: 1. row -->blue 2. row -->blue 3. row -->blue 4. row -->green 5. row -->blue 6. row -->green ....... And I didn't understand how it works. How could I do this.Which group name should I use in th ...Show All

  • Smart Device Development Cannot explain diff in values returned from CTime::GetCurrentTime and ::GetLocalTime

    In using the three methods CTime::GetCurrentTime ::GetLocalTime ::GetSystemTime Using VS2005 Beta 2, I get three different values, respectively, when the local time is 11:58, 2005-11-25: 2005-11-24T15:58:12 2005-11-25T11:58:12 2005-11-24T22:58:12 . Time Zone Information via ::GetTimeZoneInformation shows Bias: -720 Standard bias: 0 Daylight bias: -60 So from all of the above, I can explain the diff in the results between ::GetLocalTime (local time zone == UTC + all bias) and ::GetSystemTime (UTC). But why the diff between ::GetLocalTime and CTime::GetCurrentTime I would have expected these to be the same. VS2005 Beta 2 Windows Mobile 2003 / 5.0 emulators Windows Mobile 2003 / 5.0 devices ----2& ...Show All

  • Smart Device Development Can't make CeRapiInvoke work c#

    Hello I'm using CeRapiInvoke to invoke a method from a library i've created and copyed to device. That library has a class with a static method that return the DeviceUniqueID. When i try to use CeRapiInvoke i doesn't work. I'm lost in here and would apreciate some help. To invoke it i'm using this code: [DllImport("rapi.dll", CharSet = CharSet.Unicode, SetLastError = true)] internal extern static int CeRapiInvoke(string pDllPath, string pFunctionName, uint cbInput, ntPtr pInput, out uint pcbOutput, out IntPtr ppOutput, IntPtr ppIRAPIStream, uint dwReserved); public object invokeLibrary() { string sDllPath = @"\Windows\GetDeviceID.dll"; string sFunName = "DeviceID.GetDeviceID"; u ...Show All

  • Visual Basic VB.net how to do a dowhile loop for datatable

    Dim dRow As DataRow For Each dRow In Employee.Rows If (dRow("NumberKey") = "1756") Then "blahblahblahblah" End If Next the point is that i have to scan through all the rows in the Employee datatable to look for one numberkey. It is not very effecient I want do to do a loop that will stop right after i am able to match the numberkey with the number i m trying to find. can someone help me.. it is sorta of like a do while loop in C++, but this is for a datatable Sounds like you need to do a little reading on SQL. The SQL Statement is probably going to look something like. SELECT ID, NameField FROM Table1 INNER JOIN Table ...Show All

©2008 Software Development Network