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

Software Development Network >> David Krmpotic's Q&A profile

David Krmpotic

Member List

BlueBeetle
Whoisit
G-chan
SuperJames
dinesh1234
VDBA
dakota367
TuanTuan
RValadas
Eric Livergood
DalekDAW
manyowa
Dietz
enric vives
Jim Sn
NextXtreme
remedios_
xishan shigri
Eric Brinkerink
ChristopheW
Only Title

David Krmpotic's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. new Microsoft.DirectX.AudioVideoPlayback.Audio(Stream)?

    1) Is there a way to play an audio file from an array in memory (or a stream) without having to save it as a file first I have all my sounds in memory and don't want to save them as separate files. 2) A long time ago (when the SDK was still beta) I noticed that my game would pause (about 1/5th of a second) whenever I started playing an MP3. I tried many things to fix this (including starting and pausing it, or pre-seeking), but nothing helped. Does anyone know if there is a way to fix that (or if it was fixed in a more recent SDK) 3) If I use AudioVideoPlayback to play Midi files, will they sound the same on all computers I know this used to be a problem, but I'm wondering if DirectX (through or Media player ) h ...Show All

  • Windows Forms Install to startup!

    Hi All, What I can do during the publishing process to make an application to be part of windows startup process Thanks in advance. Try the suggestion over on this thread . ...Show All

  • Windows Forms Values dont change but.....

    I have properites set up in my classes like this   private bool _IsDirty = false; public int SomeProperty { get { return _SomeProperty set { if(_SomeProperty != value) { _SomeProperty = value _IsDirty = true // which mean the value has changed } } }   now i have this in my form closing event because if the user changes information but tries to close the form before he clicks the save button it goes here....When the form loads it shows all the information pertaining to an object...the object properties are all binded to controls on the form so thats where the _IsDirty checks to see which ones have changed.... LoadFormToObject();// this is the binding of contro ...Show All

  • Visual C++ Same code, compiled by VS2005(Release build), its runs much slower than that compiled by VC6, why?

    The same code, if compiled to exe by VS2005, it runs 6 times slower than the exe file which is generated by VC6. I tried to change compile options and link options, such as change fp:precise to fp:fast etc,but it does not make much difference. The code is below, can some one give me an answer If you want the whole project file, please email to me: luo_cao@hotmail.com // mallocVC6.cpp : Defines the entry point for the console application. // #include "stdafx.h"   #include <stdlib.h>         /* For _MAX_PATH definition */ #include <stdio.h> #include <malloc.h> #include <string.h> #include <sys/timeb.h> #include <time.h> & ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. .X importer for XNA

    http://www.myjavaserver.com/~jonathanf/stairs.x This .x file displays correctly in the DXviewer as a staircase. However, when loaded into xna it is merely a cube. What gives The staircase was made using XSI Mod Tool and exported using the default .x exporter. ~Jonathan Leaf, You're right. I checked the XSI forums and found a number of issues logged with the DirectX exporter, leading me to believe that a re-conversion could help (also noting that the exported image won't process in Blender which is usually very good at importing .X files), but the XSI Mod Tool won't export to .OBJ for good reason--Either way, if the staircase loads fine using documented code, the nail's already in the head. :) Daniel ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Extending the content pipeline for model loading...

    Hi, I'm sorry if this has been answered before, I've searched a bit and not really found anything too helpful. My basic question is how do you go about extending the model loading pipeline I found this example in the help files but it did not want to compile: [ContentProcessor] class ScalingModelProcessor : ModelProcessor { public override ModelContent Process( NodeContent input, ContentProcessorContext context) { MeshHelper.TransformScene(input, Matrix.CreateScale(10.0f)); return base.Process(input, context); } } I put this in the spacewar starter game, and got some errors like so: Error 2 The type or namespace name 'ModelProcessor' could not be found (are you missing a using directive or an assembly refer ...Show All

  • Visual Studio Express Editions Chart Control

    I have upgraded a VB 6 application that has a chart.  The upgrade was successful but when I run the application I get the following error: System.InvalidOperationException was unhandled   Message="An error occurred creating the form. See Exception.InnerException for details.  The error is: Unable to get the window handle for the 'AxMSChart' control. Windowless ActiveX controls are not supported."   Source="WindowsApplication1"   StackTrace:        at WindowsApplication1.My.MyProject.MyForms.Create__Instance__[T](T Instance) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 180        at WindowsApplication1.My.MyProject.MyForms.get_Form1()   &nb ...Show All

  • Visual Studio 2008 (Pre-release) "The request message must be protected. This is required by an operation of the contract"

    What in the WORLD is that This app worked great in beta 2. System.InvalidOperationException was unhandled Message="The request message must be protected. This is required by an operation of the contract ('IMyService','http://www.abccompany.com/services/2006/04/MyService'). The protection must be provided by the binding ('WSDualHttpBinding','http://tempuri.org/')." Look at your OperationContracts. Does one of them specifically require it to be signed and/or encrypted Check your servicecontract as well. Thanks! Scott ...Show All

  • SQL Server How do I check the processing results from SSIS / DTS packages

    I have several OLAP systems in production and some days the number of fact rows processed in the cubes are not correct. i.e. I am dropping records because of incorrect dimensions. Is there any way using TSQL that i can query the rows processed of all the live cubes so that I can check that I have not dropped any records If you are still talking AS2k, I don't think it does store the results. There might have been a .log file, but I could not see one on my laptop (although I have not used AS2k in ages). Unless you optimized your schema AS2k actually did an inner join between the fact table and all the dimensions so there were no errors, fact rows without matching dimension rows just did not get processed ...Show All

  • .NET Development Drawing Graphs in .Net

    Hi, I have a log table with me and also I have a database table containing the same log entries.For this I have already made windowsservicelog and also webservicelog applications. I need to create a simple Graph(in C#.Net) in which X-axis will show the time and the Y-axis will show the success or failure.....success will be on positive Y-axisand in green colour and Failure should be on negative Y-axis and in Red colour. Kindly help me with this. Here are a few GDI+ resources: Bob's GDI+ FAQ: http://www.bobpowell.net/gdiplus_faq.htm This is a pretty good one for beginners. http://www.dotnetonweb.com/8_SubCat_Graphics_and_GDIplus.html Some decent articles here as well. Scroll down for chart&graph exampl ...Show All

  • Visual Studio List of applied fixes in VS2005 RTM

    Hello, is there some list of issues and bugs that are fixed in SP1 RTM Thanks in advance, Peter Vrenken Visual Studio 2005 Service Pack 1 release notes What's New in Visual Studio 2005 (Updated for SP1) As far as I know they are still working on the full list of bug fixes, although I remember seeing such a document two days ago. Can't find the url though. ...Show All

  • Windows Forms ADO.NET Can't Update Date or Number Null from Text

    Hello, I have seen one or two posts on this question but none with a definitive answer. We are using VS 2005 connected to an MSDE type local SQL Server 2000 using ADO.NET to communicate via a BindingSource and a TableAdapter. I have the MS DataGridView bound to a simple table on SQL 2000. The date and number fields in this SQL 2000 table are marked as "nullable". I also have several bound textboxes to some date and number fields in that same table. From the textboxes I can easily add a date where there was none, and I can update and change the date. The same is true for numbers. What I need though is to be able to blank the date or number textbox and upon update to have a null sent back to the database. This simpl ...Show All

  • Visual Studio 2008 (Pre-release) How do I pass credentials in an IIS Hosted WCF Service

    How do I pass credentials in an IIS Hosted WCF Service Can I pass the credentials in the client code instead of the client config. What would that look like What do I do to get the Service to accept those credentials I am sorry. I am a beginner. Most of that went over my head. I have the following client code: // Open channel to the service Uri uri = new Uri("http://10.14.1.50/JOHN1/service.svc"); // ChannelFactory<HelloService> factory = new ChannelFactory<HelloService>(new WSHttpBinding(SecurityMode.None)); ChannelFactory<ICalculator> factory = new ChannelFactory<ICalculator>(new WSHttpBinding()); ICalculator p = factory.CreateChann ...Show All

  • Visual C# How to copy Array of objects, by values?

    abstract class AbstractClass { public abstract double this[int i] { set; } } class Point { public double x; public double y; } class ClassA : AbstractClass { private Point[] points; public ClassA(Point[] point_arr) { points = (Point[])point_arr.Clone(); } public override double this[int i] { set { points .y = value; } } } class ClassB : AbstractClass { private Point[] points; public ClassB(Point[] point_arr) { points = (Point[])point_arr.Clone(); } public override double this[int i] { set { points .y = value; } } } public static void Main() { Point[] point_arr = new Point ; int i; for (i = 0; i < 8; i++) point_arr = new ...Show All

  • SQL Server How to insert into Temp Table

    i have temp table name "#TempResult" with column names Memberid,Month,Year. Consider this temp table alredy has some rows from previuos query. I have one more table name "Rebate" which also has columns MemberID,Month, Year and some more columns. Now i wanted to insert rows from "Rebate" Table into Temp Table where MemberID.Month and Year DOES NOT exist in Temp table. MemberID + Month + Year should ne unique in Temp table Lax: You do not; I choose zero because the column selected in this case doesn't matter; what matters is whether or not the row exists. This is a semi-join Can somebody confirm the semi-join Dave ...Show All

©2008 Software Development Network