Software Development Network Logo
  • SQL Server
  • Visual FoxPro
  • Visual C++
  • Visual J#
  • Microsoft ISV
  • .NET Development
  • Visual C#
  • Smart Device
  • Architecture
  • VS Team System
  • Game Technologies
  • Windows Vista
  • Visual Basic
  • Visual Studio
  • Windows Live

Software Development Network >> Eli.weiwang's Q&A profile

Eli.weiwang

Member List

SameerVartak
ZokaBL
Medes_
niravk
biriktirici
Mohit Gupta
YRaj
Aliaksei Baturytski - MSFT
ReportUser
LauraBu
pavvu_kk
BigCountryFarmr
DatabaseOgre
RajeshJV
helis
Drew Achterhof
InKi Park
vbcoder_dk
abruton
Ricardo UY
Only Title

Eli.weiwang's Q&A profile

  • SQL Server Scope defined on Member Properties

    Hi, is it possible to define a scope in a MDX script based on a member property of a dimension Background: I have a "custom" measures dimension. In this dimension I have measures of different type (i.e. currency, integers, percentages,...). So I want to have the display format set for the different types. My idea was to have a member property on the "measures" dimension to save the display format. I want to use this in a scope to change the format of the measure... Any idea Any other way to do that Thanks, Thomas, to the best of my knowledge the subcube defined in the scope statement has to be made up ...Show All

  • .NET Development .NET canvas

    Hi i need to paint and save my image, but i dont found any canvas in .NET. Can you give me some reference Thank you Can you provide more information on what do you mean by "canvas" In .NET we can turn almost any Forms and Controls, Images and Bitmaps to a drawing-area using the Graphics class, and/or with the help of various renderers. Is that's what you mean by "canvas" -chris ...Show All

  • Visual C++ What is COM and how do I use it?

    I'm writing a logging/profile service in C# that is to be used by applications written in C++ and C#. I can't find any good info on what COM is or how to use it. Is it a language A protocol Part of the OS Also, it there an easier method to doing this other than using COM The C# forums could have more details in such aspects. Thanks, Ayman Shoukry VC++ Team ...Show All

  • Smart Device Development Show busy state on mobile device

    Hello, in my C# program I’d like to show the usual moving busy symbol when program is busy on mobile device ( WinCE 5.0). But I can not find "How to" in documentation. This concerns .NET2.0 Compact Framework. Thanks for help, Jorg Hi Jorg This symbol is just the wait cursor. You can set this wait cursor as followed: Cursor.Current = Cursors.WaitCursor; The usage might look like this: void SomeEventHandler (EventArgs e) { Cursor oldCursor = Cursor.Current; try { Cursor.Current = Cursors.WaitCursor; // set the wait cursor //Do some work } finally { Cursor.Current = old ...Show All

  • Visual Studio Team System failed to save the project from vs2003

    I have a question about the MSSCCI Provider for vs2003 When I am trying to save a project to the source control from VS2003 I get the workspace window with "make new folder" button disabled and even the "OK" button disabled . Only the cancel button is enabled . So I cannot create a new folder under the root or even save it directly under the root . Is there any problem Hello, you can create new folders and save projects only under existing team project, not directly under the root. You can create team project using Visual Studio 2005 (File->New->Team Project...) ...Show All

  • Visual C# Making a window/control/panel dockable

    I'm trying to mimic the same action on my form as the "Properties", "Solution Explorer", "Server Explorer", "Class View", "Toolbox", etc. tabs within the .NET IDE. What I want to accomplish is to be able to make my PropertyGrid control on my form perform the same way as the "Properties" tab, ie. be able to have my PropertyGrid control slide in and out of the side of my form, and have the option to "tack" it down. Hi sweeps78 I`m not an expert but i think i can help you woth this.. 1. U can make a panel or a form (what ever you want), 2. Make a butto ...Show All

  • SQL Server Using CASE statement in a WHERE clause

    Is it possible to use CASE within a WHERE I have a query which is something like this, but it returns an error: SELECT * FROM tablex WHERE CASE WHEN 'sexec' IS NOT NULL THEN dm_marque = 'foo' AND year(dm_date) LIKE 'pyear' AND dm_month LIKE 'pmonth' AND dm_weekno LIKE 'pweek' and dm_sexec LIKE 'sexec' ELSE dm_marque = 'foo' AND year(dm_date) LIKE 'pyear' AND dm_month LIKE 'pmonth' AND dm_weekno LIKE 'pweek' END GROUP BY dm_marque In this case sexec is a form parameter, if something is passed then I need to include it in the where statement, if it isn't I need to include something else. I am using CASE ...Show All

  • Windows Forms Draw/Paint Program With Selection - Resources Needed

    Hi, I'm writing a drawing program which is somewhat of a paint program. Users can select to draw lines, insert pictures, draw circles, boxes etc. When user moves mouse over the objects, they will become highlighted (bounding box) and can be dragged around and resized. I started off with using picture controls, however, when you're drawing dots across a scre ...Show All

  • Visual C++ Problem writing &

    I am converting a CSV file into a XML file, the problem is when there is a data & in the CSV file its converted to & If the data is < its converted to < I am using IXMLDOMNode for setting the text value in the XML file Pls help Interesting. I've done just that recently, but it was a straight in/out deal--no XML document in RAM. In any case, this isn't the right newsgroup for your question. I would go to one of the MSDN discussion groups around XML. Such as: http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.windows.inetexplorer.ie5.progra ...Show All

  • Smart Device Development URI's without the http://

    Is there any way possible to create a URI out of a string such as "www.somesite.com" without the http From what I understand not having the "http" should make that string an invalid for creating a URI. But it seems like somehow the phone is can create these through the contacts address book. What I"m trying to do is access the WebPage property from a Contact through Microsoft.WindowsMobile.PocketOulook API which returns a URI. But if the contact's webpage was given a string like "www.####.com" I am not able to extract that string, but if created with a correct string ("http://www.###.com") then e ...Show All

  • SQL Server Excel Destination Number Conversion Error

    In my SSIS project I am populating an Excel spreadsheet with several worksheets. When I define a worksheet in Excel Destination Editor, I use Create Table SQL statement to create a worksheet. Most of the fields are defined as numbers, however when job runs my numeric fields appear as text in Excel with yellow warning sign - 'The number in this cell is formatted as text or preceeded by an apostrophe'. I need my numbers to appear as numbers. Is there a workaround for this Are you specifying Import Mode by using IMEX=1 in your connection string This forces all data to text. The Excel driver does store what ...Show All

  • Visual Studio Express Editions LPCWSTR doesn't work with reg commands

    I am making some functions that use regcreatekeyex, regsetvalueex, ect. So I made them and tested them by making a command prompt program and had no problems. Then I tried using the in the form designer and the compiler keeps telling me it can't convert my parameters that are strings into LPCWSTR. So I add the (LPCWSTR) in front of the parameter to convert it. Well my project compiles but recreatekeyex and stuff never succeed. How can I fix this To be able to answer this one properly, we need to know what you are doing. So could you post the code that uses the RegCreateKeyEx function. ...Show All

  • Software Development for Windows Vista UI Graphics Application and Guideline Release Date

    Hello,     We are working on updating our application for release in early 2006 and we would like to update our UI to follow guidelines of Windows Vista. Is there a beta for the guideline or when is the official release of the guidelines      We noticed that the icons appear to be generated from a 3D based graphics application. Can you give any insite on the system used It doesn't appear to be Illustrator or an Adobe product. Any ideas would be welcome. Thanks, Cary I refer you to Jeff Pettiross's answer from another thread . ...Show All

  • .NET Development Xml.XmlDocument.Load problem and don't know why???

    ok i've done this before and i know how to use it, but i'm a little confused now because of the following error i'm getting. and maybe whats really confusing me is that the file is local and that i have the same code in an app that's using the 1.1 framework but for some reason the 2.0 doesn't work. path: "c:\documents and settings\derekklingman\desktop\20050901\reviewpwk010906.xml" System.Net.WebException: The remote server returned an error: (407) Proxy Authentication Required. at System.Net.HttpWebRequest.GetResponse() at System.Xml.XmlDownloadManager.GetNonFileStream(Uri uri, ICredentials credentials) at System.Xml.XmlDown ...Show All

  • Visual Studio Uninstall VS 2005, SQL 2000 broken

    Hi; I thought I got the VS 2005 Beta 2 uninstall correct - maybe not. After the VS 2005 uninstall - When I try and run SQL 2000 I get snap-in error (snap-in failed to initialize). I uninstall and when in the re-install of SQL 2000 the setup not really hangs but kind of ignores any input in the Authenication Mode dialog. To proceed through this I can only cancel this panel of the setup wizard. The setup appears delighted at this and goes on its merry way. (I would like to set the SQL Authenication password here - but I fear the previous SQL 2005 Express install may have something to do with this). The VS 2005 Beta was a clean install th ...Show All

©2008 Software Development Network