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

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

Hiral

Member List

DavidAWinter
ruleDWorld
Cla82
shunt
bozydar
Ledeni_Plamen
SharonD
DarkPressure
Hoodwinked
bbaldwinwa
Devin
JohnTMSDN
omtslug
amr_sawy
ivanchain
Sinno
Philly10407
Becker2
XNA Rockstar
ccote
Only Title

Hiral's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Is it worth it to learn .Net for XNA?

    As a developer I have put most of my efforts into learning Suns Java libs. However, I am really looking foward to coding for XNA, my only consern is: Is it worth my time learning the .Net libs, specifically GDI+, Or will XNA use different libs for graphical output. Will there be a way to draw primitives I can't find how to draw primitives easily in .Net. I really like using Primitives for gaming becuase they save memory, and I can't draw well. Speaking of that(and getting way! off topic), has anyone heard of Kenta Cho He makes all of his games using simple primitives, although in OpenGL, and XNA is DirectX like. Anyway, my point is. Will XNA have a more game centric library than .NET and will it have prebuilt common classes like Sprite or ...Show All

  • Visual Studio Express Editions compare two files

    Hello, I am inserting files into seperate textboxes using the built in streamreader. After the insert is complete, I am trying to look for the differences between the two textboxes. So far, I can get it to tell me that the files are different but I ca't seem to be able to display the differences. Any help would be great. Here is what I have so far!   Private Sub CompareFile( ByVal start_at As Integer ) Dim i As String Dim x As String Dim pos As Integer i = TextBox1.Text x = TextBox2.Text If i <> String .Empty And x <> String .Empty Then i.CompareTo(x) End If If i = x Then MsgBox( "Files Match" ) Else MsgBox( "Files do not Match!" ) pos = InStr ...Show All

  • Visual Studio Team System Readonly flag for System.ChangedBy field not possible?

    i do want to display the changedby field in my form. but it should be readonly. i tried the following code but i always get an error message when trying to save the work-item. <FIELD name="Changed By" refname="System.ChangedBy" type="String"> <VALIDUSER/> <READONLY /> </FIELD> error message: Save failed. The value for field 'Changed by' must be the same as the original value. but i didn`t changed the value of this field. obviously because it is read only ;-) is it not possible to set a system field to readonly Very interesting. System.ChangedBy field is core field and this field gets the current user when a work item is changed (happens in the background). As you mentioned REA ...Show All

  • .NET Development Function and argument matching with regular expressions.

    I have strings like: MyFunctionCall(a.b(c.d.f, a).c,a.b.c.d) I would like to have a regular expression that can return if it is a function call, the name of the function and a list of the arguments to the function. I have started with: Regex regex = new Regex ( @"( <function>[A-Za-z]+)\(" + "\r\n" + @" ( >" + "\r\n" + @" [^()]+ " + "\r\n" + @" " + @"| \( ( <arguments>)" + "\r\n" + @" | \) ( <-arguments>)" + "\r\n" + @" " + @" )*" + "\r\n" + @" ( (arguments)( !))" + "\r\n" + @"\) | ( <function>[A-Za-z]+)" + ...Show All

  • Windows Forms How To Bind DataGridView

    Hi PPL, I want to Bind the DataGridView to DatSet. By :- DataGridView.DataSource = DataSet.Tables(0) i can display the record on DGV but i want to bind it to DataSet So i Change the possition on record pointer by clicking the buttons ei. [top] [next ] [prev] [bot] . plz give me code for this. ThnX in Adv. Regards HuNTeR For this example you need a datagridview1 and bindingnavigator1 on a form Imports System.Data.SqlClient Public Class Form1 Dim bs As New BindingSource Private Sub Form1_Load( ByVal sender As System. Object , ByVal e As System.EventArgs) Handles MyBase .Load Dim strConn As String = _ "Server = .\SQLEXPRESS;Database = NorthWind; Integrated Security = SSPI;" Dim conn As ...Show All

  • Visual C# Casting an object to a specified System.Type object

    Although this seems like something that should be painfully obvious, the method eludes me... I need to cast an object to a specific System.Type object. It's more clear in code: ... int a = 1; int b = 1; Compare(a,b,typeof(int)); ... public bool Compare(object intA, object intB, Type type) { return (intA == intB); //returns false } How do I cast intA and intB to integers without doing so explicitly I need to cast them using the System.Type object, since it is unknown within Compare that these are int types. I don't believe that will work because the comparer takes instances of object and if the types passed in are int then they will be boxed, so even if the numerical values are the same, the boxed instance ...Show All

  • .NET Development MSIL to native code ... is posible with NGEN?

    Hello! I find the Native Image Generator , and i want ask if this tool can convert MSIL code to win32 native code. Somebody use it What results I read that is for avoid de JIT work each time but ... can I create a native and redistributable win32 exe with it I don't like send MSIL exes to my clients ... y can buy a obfuscator but ... i prefer something more ... closed :P Thanks in advance. Regards. humm ... thanks. I don't understand why Microsoft don't provide some tool for protect our work, and i must spend my money in a expensive obfuscator solution of third party :( . However obfuscation isn't a real solution, only try to hide parts of MSIL code. Yesterday i view a decompiler , than take MSIL code and give you C# o VB.NET ...Show All

  • Software Development for Windows Vista Using MXDW

    I would like to use MXDW to create XPS documents from any application. But I would like to automate the creation by automating the printing process. But when I try to do this it always comes up with the "save as" dialog box. I had the same problem using the MODI driver as well. Does anyone know how to get rid of that Any samples will be helpful. The file save dialog is put there by the port monitor the printer driver is connected to. The only way to get rid of it is to make your own port monitor that saves to a file without asking for a name. Be careful though, the original port monitors may do more than just pop up the save dialog box. You may want to ask Microsoft what exactly is that ...Show All

  • SQL Server create table from select result

    Hi, I need to create a table which has the columns from the select statement result. I tried in this way drop table j9a SELECT er.* into j9a FROM caCase c LEFT OUTER JOIN paPatient pp ON c.caCaseID=pp.caCaseID Left Outer JOIN paManagementSite pm ON pp.paManagementSiteID=pm.paManagementSiteID Left Join exexposure ee ON ee.cacaseID=c.caCaseID LEFT OUTER JOIN exExposureRoute eer ON eer.caCaseID=c.caCaseID LEFT OUTER JOIN exRoute er ON er.exRouteID=eer.exRouteID WHERE c.caCallTypeID =0 AND c.Startdate between '1/1/2006' and '12/1/2006' AND (ee.exMedicalOutcomeID=4 OR ee.exMedicalOutcomeID=10) AND pp.paSpeciesID=1 AND c.PublicID_adOrganization_secondary is null declare @1 int,@2 int,@3 int,@4 int,@5 int,@6 int,@7 int,@8 int, @9 int,@10 int,@11 ...Show All

  • Visual Studio Team System Looking for a way to create a SelF eXtractor (SFX)

    I have a copy of wzipse32 (winzip se) but it doesn't seem to work over the TFS, seems like some sort of running as a service problem. Does anyone else know of any other ways to do this you can use winrar or winzip  command line in your bat file, like 'winrar a asdf.rar asdf'. asdf is a folder. the popup windows will not display to hang. and you can write code in your task.cs to call this bat file. then you add the task.dll to your built script. your build script will call the task to auto zip your files. If any questions, tell me, I will continue help you.   ...Show All

  • SQL Server Subreport question

    I am converting an older report from Crystal Reports to Reporting Services. On this report there are several subreports where in Crystal, I was able to create "links" to items from the parent report and only those items in the subreport that matched the items in the main report would display. I am having a problem with this in SQL RS. I built the parent report and now I am creating the additional subreports. When I put the subreport on the main report, ALL records from the subreport are displayed. How do I "link" the subreport to the parent report and only display the items I would like Thanks for the information and help. You can pass in parameters from the main report to the su ...Show All

  • Windows Search Technologies Windows Desktop (Searching...) - but no results?

    Hi, I posted a thread re: issues I've been experiencing with 2.6.5 of WDS in the help forum but just upgraded to 3.0 beta 2 and am experiencing similar issues. I try to input searches in the search box but get a blank pop up stating simply "Windows Desktop (Searching...)" - and no results displayed. The WDS Search options box displays indexing as complete. Am using Windows XP with the latest service packs. Let me know if I need to provide more information. Thanks, Jack Hi Paul, thanks for the prompt response. I have run the Microsoft MDAC Checker and can report the following results: MDAC 2.8 SP1 on Windows XP SP2 The Mismatch fields are: MSADCO.DLL - E ...Show All

  • Visual Studio Duplicate items are not supported by the "Resources" parameter error when building project

    Hello, While building our current project using Visual studio 2005 we stumbled on this error, === Error 16 The item "xxx" was specified more than once in the "Resources" parameter. Duplicate items are not supported by the "Resources" parameter === we traced the issue down to resource file naming convention differences between Windows Vista and Windows XP ie, for a given form, if we include chinese traditional and chinese simplified resources, On Vista the resx files must be named with zh-HANS / zh-HANT , using zh-CHS/zh-CHT VS2005 will choke On XP the resx files must be named with zh-CHS/zh-CHT, using zh-HANS/zh-HANT VS2005 will choke This is really causing trouble, as we develop both in XP and ...Show All

  • .NET Development I need a good advise in the news of Remoting 2.0!

    I need a good advice in the news of Remoting 2.0! I have many Books of Dot net Remoting 1.0! I need only update knowledge! I can speak English but I prefer German! Thanks Franz Humplmair Franz, the second edition of Ingo and Mario's book [1] covers Remoting 1.1 thoroughly, and has some coverage of Remoting 2.0. For the time being, that's the one I'd recommend. I'm not sure if it's available in German, however. Cheers, JJustice [MSFT] [1] http://www.thinktecture.com/Resources/Books/default.html#ADR_CSHARP ...Show All

  • Smart Device Development Pocket PC application Development Strategy

    Hi, I am searching for a solution for connecting Pocket PC application to Desktop MS Access DB. Currently my Palm Device application communicates with Desktop MS Access DB via custom conduit using HotSync Manager. Now I am planning to develop same application for PPC 2003 / Windows Mobile 5.0 which should communicate with existing Desktop MS Access DB. I have no clue, where to start with. May I request from Pocket PC developer community to give me some valuable suggestions/opinion on giving a start to my development activity. Do I need to write conduit similar to one that consumed by my palm device application. I would appreciate any suggestions/links/samples on this topic. Thanks Santhosh ...Show All

©2008 Software Development Network