suresh babu krishnappa's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. [Managed DX] Vsync for a newbie ...
How can i manage vsync specifications , my aim is to make a scroll without flickers , for now i think the vertical synchronization is the only way ... But i know how to make it on and make it fixed nd a related question , i use 2d fonts , must it be 3d or can i make this scroll with 2d What u mean by scroll If u use 2D fonts and u want to "scroll" them .... like moving them from bottom of screen to top of screen, just adjust the font rendering position. Please explain more on what u are making or doing, I never seen 3D code flicker before :) ...Show All
Visual Studio Express Editions ..../lib/vc_lib/mswd/wx/setup.h
Hi, I am stuck here, and I don't know where to find this- mswd/mx/setup.h - file,or make it or modify some other file for go farrther.. If someone have this file or know where to find it Linker is ok I was chechk at least 100 times , but setup.h files wich I have are or wrong,or I doing something wrong. I use converter from VC++ 2005 Expres but I can start this example : http://www.codeproject.com/cpp/howtofft.asp Anyway I need some help, thanks in advance for any tip. stdafx.cpp d:\program files\microsoft visual studio 8\vc\include\wx\setup.h(140) : fatal error C1083: Cannot open include file: '../../../lib/vc_lib/mswd/wx/setup.h': No such file or directory Build log was saved at "file://c:\Documents and ...Show All
Visual C# SetSystemDateTime
How can I change system date and time using c# Is there an equivalent of setsystemdatetime there isn't a way in C#, you would have to P/Invoke [ StructLayout ( LayoutKind .Sequential)] public struct SYSTEMTIME { public short wYear; public short wMonth; public short wDayOfWeek; public short wDay; public short wHour; public short wMinute; public short wSecond; public short wMilliseconds; } // top of class: [ DllImport ( "kernel32.dll" , SetLastError = true )] public static extern bool SetSystemTime( ref SYSTEMTIME theDateTime); //.. //.. private bool DoSetSystemTime(DateTime newTime) { SYSTEMTIME s ...Show All
SQL Server How to view report on end user's computer?
I have created Tutorial report from MSDN Reporting Services tutorial ( http://msdn2.microsoft.com/en-us/library/ms170623.aspx ). Now i can view report from Visual Studio 2005 environment (with Preview pane or with Debug/Start Without Debugging command) or from Internet Explorer (opening http://localhost/reportserver$SQLExpress and navigating to project and report subfolders). But I am wondering how reports is supposed to be viewed on end user's computer Should end user execute Internet Explorer to view report Personally I like viewing report in RSReportHost.exe window which is executed through Debug/Start Without Debugging command from Visual Studio 2005 environment. But i see no way to deploy RSReportHost.exe to end user's computers. Actu ...Show All
Software Development for Windows Vista About ICaptureGraphBuilder2::RenderStream
It has five parameters. I am confused at the fifth paramters. It said it pointer to the IBaseFilter interface of a sink filter, such as a renderer or mux filter. If the value is NULL, the method uses a default renderer. Now, I want to use two cameras together, and display them in two different windows, how to define and use the pSink filter I also said that in Windows XP, although the Video Mixing Renderer (VMR) is the default video renderer for IGraphBuilder methods, it is not the default renderer for the RenderStream method. On any platform, the Capture Graph Builder always uses the old Video Renderer filter unless you specify otherwise. So, how to specify the video renderer Yes. And unless ...Show All
Windows Forms ilist
hi, i have a problem. i make a class implement ilist of "sa below. i then try bind this class to a dgv. wont work. how do i Public Class sa Sub New ( ByVal i As Integer ) a = i b = i End Sub Public a As String Public b As String Public Property aa() As String Get Return a End Get Set ( ByVal value As String ) a = value End Set End Property Public Property bb() As String Get Return b End Get Set ( ByVal value As String ) b = value End Set End Property End Class ---------------------------------------------------this will work Dim f As New List( Of sa) For i ...Show All
Smart Device Development Help!Cannot deploy project in windows mobile 5.0
Hi, i'm a newbie of winCE development. I have a problem when deploying applications onto the windows mobile 5.0 smartphone simulator. It takes a long time of deploying and then an error message occured: Error 1 Deployment and/or registration failed with error: 0x8973190e. Error writing file '\Windows\NETCFv2.wm.ARMV4I.cab'. Error 0x80070020: 另一 程序正在使用此文件, 程 法 。 Device Connectivity Component The chinese words mean: "another process is using the file, it can't be accessed". I don't know if i'm post on the right board. Anybody please help me ! Best regards, Can you please provide following information 1. Are you facing this problem only with Smartphone emulator 5.0 or other also 2. Can you please try clearing this em ...Show All
Visual Studio Express Editions C++ code comments
hey I am using C++ Express 2005 and writing a win console application ( not using clr ) , I have a small problem: when I am using C# expres and write /// before a function it generates automatically a part of xml doc with the adequate tags for a comment , I didn't manage to enable that in C++ express , is it possible at all or do I have to build all the comments from scratch Another question is : when i generate the xdc documents from the comments in my code using /doc option and than convert to xml using xdcmake.exe , what can I do with the output xml files is there some convenient tool for creating a html, pdf documentation or in some other form many thanks for any help hello For firs ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Getting XNA apps to run on non-development machines
This seems to be a common problem, but I've yet to find a real solution. The only thing I've found that works so far is to include a bunch of dlls with XNA applications. What does not work, however, is satisfying the posted requirements: .NET Framework 2.0 XNA Framework DirectX 9.0c (latest update) When a machine satisfies the above requirements, it still cannot run XNA applications (dies when initializing the graphics device). However, any machine with the XNA SDK has no trouble doing so. It's not reasonable to ask people to install C# Express and the XNA SDK (~120MB total) just so they can play my XNA arcade games. Has anyone found a better solution so far I do appreciate the help that this topic has r ...Show All
Visual Basic Weird DataGridView Adding Data Error
I'm having a weird problem while using a DataGridView. I'm using a DataGridView to display some information in an list of something called a Flag. Most of the information are String, one column per Data Property. In my program, I've got a button I press to add an element to this list. So it adds a new flag and refreshes the DataGrid and the new Flag appears. Now, here's the problem. If a Flag is added to the list before the DataGrid is first shown, it works fine. BUT, if the list is empty when the DataGrid is shown and I then press the button to add a new flag, I get an IndexOutOfBoundsError when I click on any cell in the DataGrid. It's the most bizarre thing; if I start with a flag in the list before showing the Grid, I can a ...Show All
.NET Development Connecting a FTP with Ethernet Cable
I want to use my computer as FTP with using IIS..But I dont know how to do this.. I can download a data from a server with using FtpWebRequest request = (FtpWebRequest)WebRequest.Create("ftp://www.contoso.com/test.htm"); But there is URL for my computer's FTP..And i dont want to use DNS.. I want to connect directly.. Any idea ...Show All
SQL Server some nobish tutorials
hi there Can someone post some very good tutorials about MS SQL 2005 working with c# please Thanks guys.. The best one you will find on Microsoft site on the following link: http://msdn.microsoft.com/vstudio/express/visualCSharp/learning/ Just go to the Lesson 8: Obtaining Data from a SQL Server 2005 Express Edition Database ...Show All
Internet Explorer Development Unable to cast mshtml.IHTMLDocument2 to IMarkupServices2 using mshtml Interop
Hi, I am unable to cast mshtml.IHTMLDocument2 to IMarkupServices2 in C#. I am using Microsoft.mshtml Interop assembly (version 7.0). The code snippet is IHTMLDocument2 pdoc; <pdoc assigned to a non-null value..............> IMarkupServices2 markup = pdoc as IMarkupServices; ...> value of markup here is NULL even though pdoc is non-null and the msdn documentation indicate that IHTMLDocument2 can be used to get a reference to IMarkupServices2 Thanks, Shiva To be more specific, i am able to get a non-null reference to IMarkupServices in case of a .Net Webbrowser control in a sample winforms application. However when i try to get a similar reference to that of a r ...Show All
.NET Development ExecuteScalar() and Primary Key
I have a sql command that inserts into a Datbase....and i pass it the parameters in my table...It breaks though...When i do a call stack i see the new values being loaded into the memory through the parameters...but i also do a stacktrace and i see it breaks when i try to retrieve the _CustomerID that is also the primary key..... which is line 990.....take a look at the command could it be structerd different...... private void Insert() { string sql = System.Configuration.ConfigurationSettings.AppSettings["ConnectionString"]; using (SqlConnection connect = new SqlConnection(sql)) { using (SqlCommand command = new SqlCommand("Customer_Insert", connect)) { command.Parameters.Add("@CustomerC ...Show All
Visual Studio 2008 (Pre-release) How can I know if a Listbox Item is visible?
I am trying to know if a specific ListBox item is visible or not, what's the first item visible, the last, etc. Should I use another control instead Meanwhile I am investigating the use of a ScrollViewer.... TIA, Raffaele Nope, that's winforms :-) I am trying to achieve the same result with WPF. Thanks anyway for answering, Raffaele ...Show All
