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

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

Rudemusik

Member List

GS80
Venkata Prasad K
doug finke
elpepe
Sathyashankar
Bob_dlonra
NetSpace Ads
gleason78
mahima
David Cautley
qmatteoq
Jubber
Winkling
schwanks
OmarSoto
johnny_no1_boy
Jernej Kase
Murre
edukulla
Dr. YSG
Only Title

Rudemusik's Q&A profile

  • Visual C# Writing to a custom event log

    Hello I've created a custom event log which I want my application to write events to. When I run my application it writes logs to the custom event log and also to the Application log. This is OK but all log entries in the Application log are also written to my custom event log. Is there a way to prevent other application to write to my custom event log I've created my custom event log like this EventLog .CreateEventSource( "MyCustomEvtSrc" , "MyCustomEvtLog" ); I write logs like this EventLog log = new EventLog ( "MyCustomEvtLog" , "." , "MyCustomEvtSrc" ); log.WriteEntry( "Log message" ); Thanks for your help, /Ulf ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Loading 3D Landscapes

    Hello, I would like to start this thread as hopefully a complete how-to with 3D Landscapes until the documentation is availalble. Here are my initial questions: These would pertain more for those that want a shooter or mmorg, but useful for all! 1.) How would one load a 3d heightmap and view it 2.) How can you apply splatting to the landscape using alpha maps 3.) How can one go about paging the landscape ie: each sector would be (say 512 x 512) - how can you load/unload the maps to save resources. 4.) Performance - why choose .png over .bmp or .jpg for heightmap, alphamp and textures Is there a difference in the XNA tutorials and the GSE tutorials that use the XNA framework ie: wi ...Show All

  • Software Development for Windows Vista Trouble with the Thumbnail provider sample

    I ended up getting this working, what I ended up doing is I created a new ATL-based COM project and added my own implementation of a thumbnail provider - borrowing from the sample where I could. For some reason, my implementation worked just fine! I hand-checked how I registered my sample and it seems OK, but for whatever reason it just wouldn't work for me. In any case, I put the sample I created based on that platform sdk sample on my blog. Thanks! Eric. ...Show All

  • SQL Server INDEXING A VIEW in MSSQL2K5x64.de Standard w.SP1 ... ERROR 1939

    I'm experiencing a problem while trying to index a view ... I'm using a single field and everything else are default entry's. I'm getting the Error Message 1939 . The code is a follows: USE [CS_WGO] GO SET ARITHABORT ON GO SET CONCAT_NULL_YIELDS_NULL ON GO SET QUOTED_IDENTIFIER ON GO SET ANSI_NULLS ON GO SET ANSI_PADDING ON GO SET ANSI_WARNINGS ON GO SET NUMERIC_ROUNDABORT OFF GO CREATE UNIQUE CLUSTERED INDEX [IDX_ALG_ORG_BEZ_V_1] ON [dbo] . [ALG_ORG_BEZ_V] ( [NDL] ASC ) WITH ( STATISTICS_NORECOMPUTE = OFF , SORT_IN_TEMPDB = OFF , DROP_EXISTING = OFF , IGNORE_DUP_KEY = OFF , ONLINE = OFF , ALLOW_ROW_ ...Show All

  • Software Development for Windows Vista Unable to install VS Extensions for .NET 3.0 , November 2006 CTP

    I have uninstall VS Standard Edition and then have installed VS Team Suite for Software Developers. When try install VS Extensions for .NET 3.0 , November 2006 CTP, the installation failed because valid VS version required. How to resolve this issue Here the list of installed VS products: Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft .NET Framework Version 2.0.50727 Installed Edition: Enterprise Microsoft Visual Basic 2005 77642-113-3000004-41884 Microsoft Visual Basic 2005 Microsoft Visual C# 2005 77642-113-3000004-41884 Microsoft Visual C# 2005 Microsoft Visual C++ 2005 77642-113-3000004-41884 Microso ...Show All

  • Visual Studio 2008 (Pre-release) Interesting WPF Problem !!!

    While working on the Hands on Lab for the WPF. I found a very strange thing in the application. I have described that with the sample code and more details in my blog here : http://blogs.conchango.com/jomitvaghela/archive/2007/02/13/Interesting-WPF-Problem.aspx I would really appreciate all inputs on this. Jomit Vaghela ( www.conchango.com ) Hi Rafael, Thank you very much for your concern on this problem. ( I have already dropped an email at your email : rafael.ruiz@microsoft.com ) I am working on a DELL Latitude D620 wide screen Laptop with Window XP (SP 2) and my screen resolution is 1440 by 900 pixels. I am developing the application using VS 2005 (SP 1). ...Show All

  • Visual C++ vs2005 intercepts cl.exe output

    Hi, We have a custom build system that call cl.exe. From within the vs2005 IDE we call our custom application (as an NMake command) to compile. The custom application redirects the cl.exe output to a file, and at the end of the application, the complete file is fed to the IDE. This worked fine in vs2003, but in vs2005 it seems that the IDE 'steals' the output from cl.exe, so that our own application does not see that output anymore. Is there anything we can do to avoid this thanks, eli The call looks a bit like this, and the problem is that the file cpp1.log remains empty in vs2005, but in vs2003 this worked fine: _tsystem("cl.exe ... >> cpp1.log 2>>&1"); ...Show All

  • .NET Development XML Tree view

    how to display an xml file in a tree view format, from root node to leaf using asp.net With ASP.NET 2.0 you can do that with an XmlDataSource and the ASP.NET TreeView control, see this quick start section for an introduction and example . ...Show All

  • Visual C# Serial comm speed difference

    I am working on an application that periodically sends groups of 6 characters to an external system using the serial port. After each 6-char group, the external system sends a single handshake character back to the PC, and another 6-char group is sent. In debug mode, this happens pretty quickly. I have a scope on the TX and RX lines of the external system to look at the timing relationship. What is odd, however, is that when I build the application and run the subsequent .exe file, this process is VERY slow (like, 10x slower) than when in the debug mode. I can see by looking at the scope traces that the largest time chunk is when the external system sends the handshake character back to the PC. The PC waits for a very long time before send ...Show All

  • Software Development for Windows Vista Can u tell me which version this samples belong too

    Dear sir In sequential Wf, Where it is possible the following case I have Ten Activities After excuting the secound Activity, WF wants to wait for Some user input. According to the User input, when I am Clicking the button, the Third activity should work Please give the details where it is possible in WF beta2 or Beta2.2 regards vijil Bangalore www.craftsilicon.com yes, between the activity2 and 3 add an HandleExternalEvent activity that will wait for your user input; after this handleExternalEvent activity, add an ifElse Activity ; drop your activity3 on the left ifElseBranch activity and in the property page of this left branch set the condition. You can ...Show All

  • SQL Server PROBLEM: Report parameters can not be set. Default values always take priority.

    I am trying to create a report with parameters which are prompted by the user and are initially populated with default values. However, whenever I edit the parameters in Report Viewer and click 'View Report', the parameter values revert to their default value. The user-specified parameters never "stick". Please help! The xml looks like this: <ReportParameters> <ReportParameter Name="ConnectString"> <DataType>String</DataType> <Prompt>ConnectString</Prompt> <Hidden>true</Hidden> </ReportParameter> <ReportParameter Name="FromDate"> <DataType>DateTime</DataType> <DefaultValue> <Values> <V ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Exception throw by GraphicsAdaptor???

    Hi, I am getting a weird exception throw from 4 PCs that have the XNA 1.0 redist installed. I have a development PC that is executing the game perfectly, but the other 4 PCs (Windows 2003, Vista and XP SP2 based) throw this exception: The type initializer for 'Microsoft.Xna.Framework.Graphics.GraphicsAdapter' threw an exception. Is anybody else having this problem The project I am distributing is just a WindowsGame project, unaltered. I have exactly same problem! On my computer it's working fine, but on other PC it's throwing error: "The type initializer for "Microsoft.Xna.Framework.Graphics.GraphicAdapter" threw an exception." Code: Dim presentParams As ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. general use of XNA vertex types?

    I am trying to create some methods to manipulate various parts of the XNA vertex structs. I want to be able to pass all the different vertex types as arguments to these methods. Because they are structs they don't derive from a base class other than ValueType. If I use ValueType as the parameter I don't have access to the propertys of the vertex. Is this a case where refelection would be usefull Can anyone help me find a way to write a method that can access the position property of any type of vertex. I hope I have been clear enough. Thanks. I have run into this situation again. Your solution seemed promising but I am having a little trouble understanding it. I went to your website but it is in french (I t ...Show All

  • Visual Studio 2008 (Pre-release) 3D animation Performance

    Into a Canvas filled with (about 20) static 3DGeometry rectangle-shaped, each one texturized by images or MediaVideo, I'm moving a PerspectiveCamera with 2-seconds animations. I notice a quite poor performance on this; every animation shows not more then 20 different frames on a Hp xw6200 with NVIDIA Quadro NVS 285 128 MB. Animation is applied both to position and lookdirection properties of camera. I appreciated no significant progress using only images texture. Anyone has any kind of tips to apply to this It should be a better choice animate single shape instead of moving the whole canvas (moving camera) from performance point of view Some video seen on channel9.msdn.microsoft show very fluid and fast 3D animations, so where is my ...Show All

  • SQL Server REport definitions

    hi, I have created a report in RS 2005 but i want to use in RS2003 how i change the report definitions in the current report to make it compatable in RS 2003 Thanks in advance, Regards, Somu You can manually convert RS 2005 RDLs so that they can be published to the RS 2000 report server by editing the RDL and: 1. Change the overall RDL namespace Replace <Report xmlns=" http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition " ... > With <Report xmlns=" http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportdefinition " ... > 2. Remove the following elements entirely if present in the RDL file: <InteractiveWidth>21cm</I ...Show All

©2008 Software Development Network