I.Katzav's Q&A profile
Software Development for Windows Vista XP Compatibility
I recently started going to school for Game Design and we are learning C++ and using Visual Studio to do our program. Right now, we're only doing simple "Hello World" programs or some with a little bit of user input, but nothing fancy. They just run in the console. Well I'm the only one in the class that has Vista, we're suppose to use XP, but Vista's sweet. I was wondering if my simple apps will have any compatibility issues with running on XP. They're simple and dont use any of Vista's sweet features or anything, so they should be backwards compatible, right Thanks it depends what .NET Framework you are using to develop in. Currently it's .NET 2.0 but Vista will ship with .NET 3.0. If you ar ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Managed Direct3D 10
Since XNA only supports DirectX 9.0 Where is Managed Direct3D 10 I hope there will be Managed wrapper for Direct3D 10 thanks could anyone from Direct3D 10 team answer my question. Is there any plan at all for Managed direct3d 10 Or Direct3D 10 will be out of reach for managed code. I know third parties can wrap Direct3D 10 but it will be far inferior from what Microsoft could offer in term of design, documentation, and performance. I know at this point of time there is not many games written in managed code, but if you guys(I mean DX team) waiting for that to happen before offering any solutions. It will be highly unreasonable in your part. You must offer a solution f ...Show All
Software Development for Windows Vista XAML Based WF Linked to Assembly
I am trying to set up an XAML based workflow where all of the activities are either common activites or defined in a custom assembly. I am loading the xoml file at runtime using an XMLReader to load the xoml file, then calling CreateWorkflow with the XMLReader. After working with this a bit I was finally able to get the workflow to load correctly. The workflow starts with a While Activity. The While activity calls a member of my custom SequentialWorkflowActivity class named 'ContinueLooping'. 'ContinueLooping' sets args.Result = true; This should result in a continuous loop, however, the workflow always completes right away. If I put a message box in the 'ContinueLooping', I never see the message box. If I change the name of the 'ContinueL ...Show All
Architecture When should I create another instance?
If I have a loop and I have to use another object each time I iterate. Should I instantiate this object for each step, or should I instantiate it outside the loop By doing it outside the loop I might have some problems concerning getting "ghost" information from the previous iteration. But, by doing it inside the loop (for each step) I would slow down the whole algorithm, besides consuming more memory... Any opinion on this Hi, I think the answer to your question depends on two factors: what language you're using and what are your priorities. The language you're using will influence how much of the performance hit you're tkaing by defining the variable inside the loop. In my opinion (and I remember this is what C# ...Show All
Visual Basic Program fine tuning: Skinning & Startup a windows forms app with only one instance like media player
I have several programs that are done in VB.NET. i want to fine tune in the following ways, i don't know how it's done. I want to be the only allowed instance of the proccess running. (ini file that just says it's running ) and exits, or is there a parameter for this is it in the registry That would contradict the following thing i want to add. How do you have your program open like when media player is open, and you double click a file it doesn't open a new instance it opens it in meida player. And i want to add a link to the quicklaunch, how do you do this, it's not hidden in the my namespace is it 1. open a file in an instance already running by double clicking the file like media player does with mp3's instead of opening anothe ...Show All
Visual Studio The report definition for report 'xxx' has not been specified
Hello, I have to confess that I never did anything with reporting services, reports, or whatsoever. For a rather huge database application (based on sql express) I thought it might be best to do the printing with local reports, which I planed to bind to the objects, I already used as data layer in my project. I created a simple report (just a table, with two fields), bound the report to the ReportViewer-Control, set the bindingsource-properties in form load. But the only thing I see is this error message "The report definition for report 'xxx' has not been specified" So: What *is* a report definition and how *do* I specify it Are there any infos I can get somewhere, to learn more about the whole concept Thanks, Klaus ...Show All
Visual Studio Express Editions geting numeric data in and out of text boxes
Hello, Summary: How do I set up text boxes so that when I enter numeric text in one box (named X_Test_Input) , it will raise events that the other box (named X_Accel_Raw_Value) will collect/consume and display the data in that second box. Overview: This is my first attempt Windows programming. My goal is to collect six numbers from an embedded device over Ethernet (five to ten times a second) and display them on my computer so as to have them available for further processing. In dividing this into small steps, I first want to be able to get values from somewhere and display that data. Only after I get the basic windows display part of this working will I attempt to get the data from the embedded device. In my ...Show All
.NET Development Using remoting features inside a .NET applet loaded in a tag object
First of all, is it possible usign .NET remoting feature inside a .NET applet loaded into a tag object inside an HTML page <OBJECT id="myID" height="150" width="300" classid="http:applet.dll#test.applet"> </OBJECT> If not please can anyone explain why I think yes and so I'd written a small example immediately I've met a problem. I'm using .NET Framework v. 1.1.4322 and it's the only version installed both client side and server side. My test applet is correctly loaded into IE client but when I try to setting programmatically the remoting I aways obtain a SecurityException even if the assembly is strong name signed and client side fully trusted. The exception is the ...Show All
SQL Server Filtering Records Created Today [Cast or Conversion required?]
Thank you for your time: Trying to populate an SQLdatasource with records entered today, based on a select statement against a single table containing DateTime field that defaults with GetDATE() upon insert: sample = 01/18/2007 14:31:02 Can't find the right combination in WHERE clause to make it work. Tried the following with no result records: TRIED: Pasting an existing value in QueryBuilder Filter = '2007-01-18 10:45:28', but it auto corrected into WHERE (CreateDate = CONVERT(DATETIME, '2007-01-18 10:45:28', 102)). Resulted in row of NULL fields TRIED: Editing the auto code above to WHERE (CreateDate = '2007-01-18 10:45:28')... Resulted in row of NULL fields TRIED: Possible function statements (DATE(), NOW(), TODAY()) th ...Show All
.NET Development Table Adapter :Example Access
Anybody have an example of Table Adapter to connect MS-Access because I search at WEB many confused examples that help me but in my project using ADO.NET, ACCESS, and Win Applicaton with DAtaGridView , I run the Applicaton after change values at ROWS and this changes don't appear in DAtaGridView and only change(update) the file .mdb MS-Access . thank’s the problem is that you did not implement the UpdateCommand for the dataAdapter. you need to implement the UpdateCommand/InsertCommand/DeleteCommand for the dataAdapter in order to successfully update the database. Try a search on these forums about how to create one, there are many. you may also wish to follow this: http://msdn2.microsoft.com/en-gb/library/system.dat ...Show All
Visual Studio 2008 (Pre-release) BitmapFrame to stream conversion
Can someone point me to the correct way to convert a Bitmapframe to a byte buffer to save an image in sqlserver Thanks, John Thanks I used something like Ashish's method but with a jpegBitmapEncoder. I have another issue. When I get the data back from sqlServer, it is truncated to 8k. I'm using the image data type (but have tried the varbinary(max) type). I don't know if it is truncated in the write to sql process or the read from sql process. Any Ideas ...Show All
Smart Device Development Update Owner and Date Time Info
I am trying to update the owner name and system date time on cold boot. The application runs in Kiosk mode so i cannot give the user direct access to change these from the desktop. I am able to read the Owner name fine using OPENNETCF but cannot seem to write to the same reg key i read from Here is a snippet of the function that is suppose to update the owner name: <code> Public Function ChangeOwnerName(ByVal TruckReg As String) As Boolean Try Dim registryKey As RegistryKey = OpenNETCF.Win32.Registry.CurrentUser.CreateSubKey("ControlPanel\Owner") registryKey.SetValue("Owner", TruckReg) registryKey.Close() Return True Catch nEx As NullReferenceException Return False Catch ex As Exception Return False End Try End F ...Show All
SQL Server Line 1: Incorrect Syntax Near.......(is this a bug?)
Hi, Uses: Sql server 2000, asp.net 1.1; I've the following Stored Procedure: <SQL Code> CREATE PROCEDURE PABX_sp_MyPABX_ShowExtWatch @FromDate DATETIME, @ToDate DATETIME, @PortalID INT = 1, @UserID INT AS SELECT PABX_Ext_Watch.ExtNo As ExtNo, COUNT(*) AS Calls, SUM(PABX_Calls.Rate) AS NetAmt FROM PABX_Ext_Watch INNER JOIN PABX_Calls ON PABX_Ext_Watch.ExtNo = PABX_Calls.ExtNo INNER JOIN PABX_PortalUsers ON PABX_Ext_Watch.PortalUserID = PABX_PortalUsers.PortalUserID AND PABX_Calls.PortalID = PABX_PortalUsers.PortalID WHERE PABX_Calls.sTime >= CONVERT(DATETIME, @FromDate, 102) AND PABX_Calls.eTime <= CONVERT(DATETIME, @ToDate, 102) AND PABX_PortalUsers.uID = @UserID AND PABX_PortalUsers.PortalID = @PortalID GROUP B ...Show All
Visual Studio Unknown symbol handler error
I'm trying to debug a C++ executable from the VS 2005 IDE and it pops up an error message saying "Debugging information not found or does not match the module. No symbols loaded." The project has debugging enabled and the pdb is being generated. The modules window shows all the modules that were loaded with the symbol status - No symbols loaded. Symbol Load Information dialog shows all the search paths for the Pdb and the first one being the correct path. This dialog displays the error message ''Unknown symbol handler error." What does all this mean and how to get the VS 2005 IDE load the debug symbols correctly, again. This used to work before until I made some code changes and re-compiled the project (No project c ...Show All
Visual C# Object reference confusion.
I have a simple function located in Class2.cs - an auxiliary file for Form1.cs (Console Application in VS2005). It take one parameter: string. This string is supposed to serve as a switch for selecting the right string to build. public string getConnStrings ( ref string switched ) In the calling function I call the function in question as: string switched = "1"; string str1 = Class2.getConnStrings (switched); // or (ref switched); I get this error: Error 1 An object reference is required for the nonstatic field, method, or property 'tapTCPports_1.Class2.getConnStrings(ref string)' D:\VCsharp_Projects\tapTCPports_1\Form1.cs 1231 21 tapTCPports_1 When I placed the function getConnStrings into the ...Show All
