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

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

ywchen

Member List

igp04gueniat
E Jensen
YvesR
Smallmaj
soconne
Joao Pinto
Yuhang
jkline
RaviKanthReddy
Luke1981
Ingenious
CharlieRussell
Mahender
r0d
Colin Hardie
OracleDBA
krhoover
webrod
Jamie Thomson
SidharthMalhotra
Only Title

ywchen's Q&A profile

  • .NET Development Stuck with UdpState

    Can anyone help me with a problem I'm having trying to get UdpClient.BeginReceive working I've been trying the example given on MSDN, which gives this section of code to use: public static void ReceiveCallback(IAsyncResult ar) { UdpClient u = (UdpClient)((UdpState)(ar.AsyncState)).u; IPEndPoint e = (IPEndPoint)((UdpState)(ar.AsyncState)).e; Byte[] receiveBytes = u.EndReceive(ar, ref e); string receiveString = Encoding.ASCII.GetString(receiveBytes); Console.WriteLine("Received: {0}", receiveString); messageReceived = true; } The part I am having problems understanding is the first two lines... UdpClient and IPEndPoint, more specifically the UdpState part of them. I can't find UdpState anywhere, so I came to the conc ...Show All

  • SQL Server Frustrated with Nested Groups/Lists subtotals

    I have a set of three nested lists. Office_List header sum(fields!Cost.value,"Office_List") sum(fields!Access.value,"Office_List") Clerk_List header sum(fields!Cost.value,"Clerk_List") sum(fields!Access.value,"Clerk_List") Order_List header sum(fields!Cost.value,"Order_List") sum(fields!Access.value,"Order_List") Order_ List detail: Fields!Cost.value Fields!Access.value Fields!Total.value Order_List Detail: Table_Detail Order_List footer Clerk_List Footer Office_List footer Order_list groups by order id Clerk_list groups by clerk id Office_list groups by office id Using the sample above for the list header Or ...Show All

  • Visual Studio Team System Problem installing Foundation

    Installation fails with the message "Windows SharePoint Services is currently using MSDE, but Team Foundation Server Requires Windows SharePoint Services to use SQL Server 2005. To proceed, you must exit setup, uninstall Windows SharePoint Services, and then uninstall MSDE. Then reinstall Windows SharePoint Services in accordance with the Team Foundation Installation Guide, and run setup again." I am only running SQL Server 2005. I cannot find any evidence that MSDE is running or installed. I am really stuck. Any help is GREATLY appreciated... The install was perfomed from the installation guide, step-by-step. But, not using the Server Farm. Ionly have a single server to install ...Show All

  • Visual Studio Express Editions Putting a byte in to a text box

    Hi, Please can someone paste some code for me, I am trying to put a byte in to a text box but have no iead how. I'm pulling my hair out with VB 2005 express and have no idea how to do anything. Thanks Hi Carsten, Many thanks for all your efforts, I have finally got it.. I'm starting to understand what to change for effect, I have a receive button which updates my window.. Now I will see if I can figure out how to have a timer running so it updates it every second... The code I used is below if you want to see if I'm doing it correctly, I am very greatful for all the help. Imports System Imports System.IO.Ports Imports System.Threading.Thread ' Imports the System, ...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 From the Managment Studio I open the Key and then run the statement Select * From sys.openkeys. and it does not show anything. as if no keys were ever created. I ran both statements from the server not from my workstation. Thank you for your help. Jeff Welch ...Show All

  • Visual C++ CWinThread derived Object and Menu trouble

    Hello I can't find my previous question so i'll re-ask it; I created few WinThread derived objects With which i send and receive info by posting messages. When i click on the menu While my threads are runing they seems to crash or to terminate their message processing. The thread being terminated not in a clean manner it causes my program to randomly behave. I use these this thread with multiple Windows and in a various range of way but only the menu affects their stability. Does anybody can lead me on the right path to overcome this problem Thanks a lot. I'm using a MFC Menu. the menu handler only send WM_COMMAND Messages if it's clicked on. There is no link between the threads and the menu. That's why i'm askin ...Show All

  • Visual C++ Cross Session Activation Moniker

    Hi All, I am trying to develop an application that communicates with users in different sessions (on terminal server) on the same server via invoking a COM server in different terminal server sessions by using the session moniker (http://msdn2.microsoft.com/en-us/library/aa383539.aspx) it works fine when the caller and sessions in which I invoke the COM server are same, if I try to invoke BindToObject on a different session it fails with "Access Denied". Is that the desired behavior, the above mentioned article doesn't mention that. Would like to know your opinion about it. I am testing on a win2k advanced server. For such issues, please use the newsgroups at http://msdn.microsoft.com/newsgroups ...Show All

  • Visual Studio Express Editions ISO file for SDK

    So, I decided to burn a CD. I downloaded what was billed as an ISO image: http://www.microsoft.com/downloads/details.aspx familyid=E15438AC-60BE-41BD-AA14-7F1E0F19CA0D&displaylang=en First off, is that the correct latest and greatest The file that got downloaded has a type extension of .img , not .iso as I expected. My burner (Nero) does not recognize the extension. What's up with that I was able to make a CD of VC++ Express with no problem. It had a .iso type. Anyone know what I can do with the .img file   Or better yet, where I can get the .iso file Jive Dadson wrote: So, I decided to burn a CD. I downloaded what was billed as an ISO image: http://www.microsoft.com/downloads/details.aspx familyid=E15438AC-60B ...Show All

  • Visual Studio Team System Changing VS edition on a production build server

    Hello, We're interested in expanding our use of VSTS from our current Dev + TFS workgroup setup, to incorporate the Test edition as well. Since we only have MSDN subscriptions for the Dev edition, we're using the Team Suite 180-day trial to play around and see if it meets our needs. Everything's working great on the developer machine side; we've built some tests and are happy with what we've got, but unfortunately, because our TFS build machine doesn't have the Test edition of VS installed, the necessary DLLs aren't installed, so we end up with a bunch of lines like this in our build logs: C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild\Microsoft.TeamFoundation.Build.targets : warning : TestTypes\{37e36796-fb51-461 ...Show All

  • SQL Server lastnonempty & role playing date dimension

    Hello, I'm just curious if in case of a role-playing date dimention it's possible to somehow tell SSAS to use only one role for LastNonEmpty aggregate Like we have a fact table with a few date related members - such as TransactionDate, DateOpened, DateClosed etc. All measures in this fact table are set to aggregate as LastNonEmpty & everything works just fine as long as only TransactionDate is linked to dimDate. If any other dates are linked then LastNonEmpty doesn't work properly anymore & we get unpredictable results. So if it possible to set ONLY TransactionDate to be used as LastNonEmpty & for all other dates just aggregate as sum Thanks! Look for <MeasureGroups> tag ...Show All

  • SQL Server Real World: Backup Strategy and implementation, how?

    Real World: Backup Strategy and implementation, how A quote: “Real World: Whether you back up to tape or disk drive, you should use the tape rotation technique. Create multiple sets, and then write to these sets on a rotating basis. With a disk drive, for example, you could create these back files on different network drives and use them as follows: //servername/data1drive/backups/AWorks_Set1.bak. Used in week 1, 3, 5 and so on for full and differential backups. //servername/data2drive/backups/AWorks_Set2.bak. Used in week 2, 4, 6 and so on for full and differential backups. //servername/data3drive/backups/AWorks_Set3.bak. Used in the first week of the month for full and differential backups. //ser ...Show All

  • SQL Server Installing SQL Server 2005 on Windows VISTA ULTIMATE

    Hi, Trying to install SQL Server 2005 on Windows VISTA Ultimate, received following error: - SQL Server Edition Operating System Compatibility (Warning) Messages SQL Server Edition Operating System Compatibility Some components of this edition of SQL Server are not supported on this operating system. For details, see 'Hardware and Software Requirements for Installing SQL Server 2005' in Microsoft SQL Server Books Online. Please help. Can you use your domain account for the installation (after making yourself a local administrator of the machine) and keep it connected to the network during the installation Or else, is it possible you are using a test version of Vista Or perhaps you have ...Show All

  • Visual Studio Team System Unable to initialize build (Newbie...please help)

    Hi all, I've setup test tfs server and try out team build with single server in workgroup. I was created team project using team wizard but I'm unable to initialize build. Here are an errors from log file. Please help. Build started 11/28/2006 2:27:16 PM. __________________________________________________ Project "C:\Projects\LSI\BUILD01_SERVICE\BuildType\TFSBuild.proj" (EndToEndIteration target(s)): Target InitializeEndToEndIteration: UpdateBuildNumberDropLocation BuildNumber='BUILD01_SERVICE_20061128.4' DropLocation='\\lsisna01wbld04\BuildOutput\BUILD01_SERVICE_20061128.4' Target CoreClean: Removing directory "C:\Projects\LSI\BUILD01_SERVICE\BuildType\..\Sources". Target InitializeBuild: Creatin ...Show All

  • Visual Studio Debugger highlights wrong line, steps over code without executing it

    I stumbled across some rather odd behaviour in the debugger this morning, and it took me a while to realize just exactly what was happening. I've tried to distill the problem down to a compact test case: int somefunction(int x, int y) { if (x == y) { try { x++; // or whatever, doesn't matter } catch (SomeCustomExceptionClass &) { return x; } } x--; return x; } // calling code: somefunction(1,2); If I put a breakpoint on the line "if (x == y)", I can verify that x does NOT equal y, so I would expect the contents of the if block to be skipped entirely. However, hitting F10 to step will cause the debugger to highlight the "return x" line inside the catch block inside the i ...Show All

  • Smart Device Development Open a file with it's default program ? like jpg ?

    Hello .. Please i want to know how to open a file with it's default program like opening a jpg file or mpg file or any thing .. because "process.start" is for exe files only .. and the default program for mpg ( for examble ) is different from device to device .. So , how can i do it regards,, For Application associated file see this URL http://www.vbcity.com/forums/topic.asp tid=72502 Its for windows based application ,but it will for for netcf also. ...Show All

©2008 Software Development Network