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

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

Michaelliu

Member List

WII
Alberto Ramacciotti
vasudupe
MShetty
hayward_ke
Etowah_man
vua_rua68
ewitkows
Skiperr
lcj
gokce
MTness
laiseng
ahmedilyas
yababer
Jangu
ghost23
Mattdu
ChaosBlade
hancererkan
Only Title

Michaelliu's Q&A profile

  • Visual C++ static const member variable initialization

    Hi, I want to initialize a member variable of a class by calling RegisterWindowMessage and i want to keep this variable as static so that this variable is initialized only once during the execution of the program. When i declare the variable as static, i am getting an error which says that only const static variables can be initialized within a class. When i make the variable as static const, i get the following error - Error 11 error C2057: expected constant expression I think this is because the value i am assigning to the variable is the value which the function RegisterWindowMessage will return and this will not be a const value. Could anyone please suggest a way out of this. Thanks in Anticipation, With regards, ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. GameComponent designer

    Would it be possible to add support for a GameComponentCollection in the designer for GameComponent Perhaps it would make sense to do this by creating a new class analogous to UserControl in windows forms, or even creating an IGameComponent so that a collection isn't required. It would be pretty easy to implement myself, but I think it would be best done as part of the framework. I think it would be handy for things like a state machines, so you could aggregate components in a state component and still have access to the designer. While it would be cool to design a running application like with windows forms, I can see how it's probably not going to happen. I've done similar things with Direct3D on wi ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. DrawableGameComponent.GraphicsDevice

    I added a class I called Quad, that I hope to use as a rectangle. I butchered the code used to draw the cube and I inherited from DrawableGameComponent in order to make use of the GraphicsDevice property to do the drawing. Any reference to the property throws an "Object reference not set" exception. Any help just a guess, but I think Initialize is not the right place to add your object to the Components list. I'm not at work so I can't be sure, but my guess is that your Initialize is never being called.  You can put a breakpoint in there to check. A better place to add an object to the Components list is in the game's constructor. ...Show All

  • Visual Studio 2008 (Pre-release) RC1 support?

    Howdy, With the Sep release of Expression Interactive Designer yesterday, there is already a lot of questions being raised about Cider compatability as that release targets RC1 (Net Framework 3.0 Release Can) Is a compatable Cider version due out shortly Cheers Yes, indeed. We've already cut a Cider CTP for the .NET Framework 3.0 RC1 release, it's currently in the final release processing as part of the larger Tools for .NET Framework package. We'll post here as soon as it's available, which should be any day now. thanks chad ...Show All

  • Visual Studio Team System URL to access the VSTS workitem in the browser

    can somebody send me the url to access the workitems like testcases, bugs directly in the browser instead of checking it in the VSTS. You can access it through TFs web site: http://[YourSeerverName]/WorkItemTracking/Workitem.aspx ...Show All

  • SQL Server Importing Data from Access 2002 in SQL Express

    Hi All, At the moment i have a piece of software that uses Access to store the data into a number of tables. I am developing a new piece of software that has been built around SQL express and need to upgrade users that are using access. I have managed to write the installation to install etc and also the start of a script to insert all of the tables. I cant work out how to get the data into SQL express using a script. Basically the access db (CentralDb) will be stored a a given location C:\Program Files\CentralDB.mdb The tables within the SQL version are indentical to access but i need a way of pulling out the information stored and putting it into SQL, and as there is no DTS i am becoming stuck on how to automate the process. ...Show All

  • Visual C# Multidimensional Arrays

    Ok, my book really sucks I think. After struggling with an example in the book, I looked in the MSDN and searched these forums. I believe my book is wrong when it shows: int[,] student = new in[4][3]; I tried doing it that way but it errors. int[,] student = new int[5,4]; gives me no error and works. I am going to go with that. Unless someone can tell me that int[,] student = new in[4][3]; is indeed a correct format or what kind of a typing error it could be... The following also seems to be in the wrong format: int[][] x = { { 2, 3 }, { 4, 5 }, { 6, 7 } }; I don't think you can do it that way... Ok, but I still get the error array initializers can only be used in a variable or field initializer, try usi ...Show All

  • Visual Studio Express Editions Registration Benefit Portal

    I just installed VB 2005 Express and after registration I received an email about some freebies located on the Registration Beneift Portal. Clicking on that link .. I got a page not found (or moved) from the URL: https://connect.microsoft.com/downloads/downloads.aspx SiteID=40 was this just a hoax Also, there has been some issues related to users who need to modify their information in the connect portal. 1. Go to connect.microsoft.com 2. Click on 'Manage your connect profile' 3. Fill out all the information on all the pages. 4. Sign out and then sign back in again and see if you can access the registrations benefits page. ...Show All

  • Visual Basic Doubt on context menus...

    There are lot of system defined context menus(inbuilt context menus). For example system menu, and menu which appears on right click in the powerpoint view show, right click menu in the desktop. etc., 1. How to handle these menus in visual basic (i,e) Is it possible to write our own action to these menu item when clicked by the user (Just can display a message box when the user choses an item from the context menu.) So how to know which item was selected by the user when he/she choses an menuitem from the context menu which is inbuilt and which appears when the user right clicks in the powerpoint view show. Plzzzzzzzzzzzzzzzz someone help me in this. ...Show All

  • SQL Server Analysis service does not remain started

    I have installed SQL Server 2005 Standard Edition for our Team Foundation Server install. I have verified the installation and all seems well, except that the Analysis Services service does not remain started. I get a message like "Some services stop if there is nothing to do." The Analysis service needs to be running in order for the TFS install to succeed. How can I get the Analysis Services service to remain started Thanks in Advance Since the default is to not start these services, this should be the correct behavior then. Are you checking the box during install to autostart the services Thanks, Sam Lester (MSFT) ...Show All

  • Windows Forms DataGridView accessing a particular cell

    Hi I have created a DataGridView instance. I also have an arrayList. the arraylist contains the following information: a string containing the TEXT which needs to be inserted in a cell in the DataGridView object. Row number (lets call it R) Col Number (lets call it C) Using this information from the arraylist, i need to go to THAT cell present in R'th row and C'th column of the DataGridView object and insert the TEXT from the arraylist into this cell . Is this possible if yes, please reply with tips to achieve this. Also let's assume that the DataGridView Control created here has 10rows and 10cols. Pram. yes it is, if I understand correctly: Me.theDataGridView.Rows( index ).Cells( columnNameOrNumber ).Value = theArrayListVa ...Show All

  • SQL Server SSAS Logging

    Is there a way to log SSAS errors to a SQL database I know you can do this with the query log, but I want the what is written in the actual log file to a SQL table. I am able to do this by parsing the SSAS log file in SSIS and inserting it into a table. Is there an easier way Thanks in advance, Nick With SP2 that is coming soon you will get a ASTrace sample application that is going to give you ablity to push AS trace to SQL server table. It is pretty simple and based on the Profiler object model that is doing most of the work. Hang on little while till SP2 goes out. Edward. -- This posting is provided "AS IS" with no warranties, and confers no rights. ...Show All

  • Visual C# DataSet copy parts of coulmn.

    Hi I have DataSet.Tables[0] with 8 coulmns how i can to copy parts of coulmns to another DataSet. ...Show All

  • SQL Server Building a report-dashboard in WSS 3.0 integrated mode

    I have a page with three Web parts; 1. Filter Web Part that uses a BDC-driven list of clients 2. Part showing RDL's from a doclib 3. Report viewer Web Part I can use the Filter part to supply a parameter value to 3. when I select an RDL manually, I can set the Viewer connections to get the Report Definition from 2. But I can't get both options to work at the same time. The reports in 2. all have the same Parameter so there shouldn't really be a problem. Looking forward to any suggestions or a way to provide feedback on the CTP (RS SharePoint Addin). TIA. Ed Appreciate your Reply Brian. We are getting very serious with SharePoint and RS integration so if there's anything else you need us to look at/comment on plea ...Show All

  • Smart Device Development Removing the Title Bar from the Form using Compact Framework

    Hi All, i was wondering if anyone knows of a way that I can remove the Title bar from the UI forms using C#. You used to be able to do this using Win32 dialog boxes, however I can't seem to find out how you can do it using managed code. Anyone know Thanks, Hi Rachad, I'm not sure how to do this in the compact framework but could you let us know what you are trying to achieve I may be able to offer an alternative answer. . . Richard ...Show All

©2008 Software Development Network