lholmes's Q&A profile
Smart Device Development Create Installer with VS 2005?
Hi, I want to create Installer for my project which is developed in VS 2005. But I dint find relevant information to build Installer with VS 2005. I already tried with this link http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnppcgen/html/netcfdeployment.asp which is based on VS 2003 (but i have tried with VS 2005). Actually I am confused while creating .bat file. I have used Batch Build option from Build menu. but no .bat file is creted. Can any one guide me how to proceed to create Installer. Thanks in Advance For starters invoke it from command line and see if your INI actually works. ...Show All
Software Development for Windows Vista Wf Performance Questions
I have a console application to host a simple sequential workflow where first activity is PolicyActivity and second activity is Listen activity waiting for human response to complete the workflow. I have enabled default SQL persistence service for the scenario as well. The intent of the PolicyActivity is to perform role assignment and set defautl field settings (i.e. such as Service Level Agreement Due Date). This scenario models a pended claims scenario solution our company's products have handled with an internal custum built workflow/rules condition handling engine. The model must support ability to launch thousands to millions of workflows per day. The rules processing is taking on average around a second per workflow. This numbe ...Show All
Architecture Windows Application Versus Web Site
I need to develop an application that reads from and writes to a database housed in a SQL Server located in an Intranet. I am using Visual Studio 2005 (VB). I can see that there are two possible routes to the development - as a Windows Application or as a Web Site. I will be most grateful if some body out there could advise me on which option route to take and perhaps why. Regards. Nkenta Hi, I guess you should elaborate more than this, however, selecting between winforms and webforms is not a big deal since code is reusable for both technologies, away from UI, however you need to answer these questions : What is the operating System of your users ( supposedly it will be Windows ) W ...Show All
Software Development for Windows Vista Missing Persistence Schema RC2
I have installed the most recent release canidate for windows workflow. I went to add the default persistence service to my workflow and discovered that the schema files do not exist on my computer (in fact in the C:\WINDOWS\WinFX\v3.0 directory, there are only two folders WinFX Runtime Components 3.0 - Beta 2 and WPF and both are empty). I have installed the RC on 3 machines, and all three are the same, so I don't feel reinstalling will fix the problem. I have tried the installer that came with the labs (in C:\Windows Workflow Foundation\Labs\SQL_Scripts\Lab03 I ran CreateDatabaseObjects.cmd) and the installer did not work. I got "0sql is not recognized as an internal or external command, operable program or batch file." Does an ...Show All
.NET Development Not the same Primary Key in DataTable and in SQL Table
The database: I have three tables in a Microsoft SQL Server 2005. Those tables are given and can not be changed. The main table of those three is called spbTable and has a primary key (int) called spbId. Further settings of this primary key are: (Is Identity) = Yes Identity seed = 1 Identity increment = 1 The other two tables are dependent on the spbTable with the foreign key spbId. The code: I am coding a web application using C# (ASP.NET 2.0 and ADO.NET 2.0). I was generating three DataTable using the Designer of VisualStudio 2005. So I have three TableAdapter, one for each DataTable and each DataTable has its own sql commands. The code I wrote looks like the following: ...Show All
Visual C++ Computing for large matrices
I tried to write a file for 1e6 by 1e6 and it literally crashed. Double is too small to handle. How should I code so that I could begin to write and compute my matrices I am looking along the lines of computing values larger than 1e6. Is that realistic Also, how can I optimize on the memory space using MV.Net 2003 I am starting with a simple code, see below. Thanks. [code]int main() { int i, j, nmat; double *b, **a4; nmat = 1000000; Init_Matrix(a4, nmat); Init_Vector (b, nmat); for (i = 0; i<nmat; ++i) { if (i%2 == 0) a4 = 4; if (i%2 == 1) a4 = 4; if ((i-1)%1 ...Show All
Visual Studio Filter using and instead of or
In the filter dialog box I have 3 filters that I would like to use. I would like them to be applied as 1 or 2 or 3 but on the filter dialog box the And/Or column is greyed out and And is selected so I get 1 and 2 and 3. What am I doing wrong I found a work around: In the Filter list dialog box in the expression box I entered: =IIF(Fields!DesignManager.Value = Parameters!PersonParam.Value Or Fields!ConstructionManager.Value = Parameters!PersonParam.Value Or Fields!OwnerContact.Value = Parameters!PersonParam.Value, 1, 0) In the operator box I had it set to: = In the value I put: =1 This combines all my or operators into one expression in the filter box and allowed me to organize them t ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XInput Common controller 32 bit wont install
Hi I need to use XInput for a program I am writing in VB.NET 2005 (to use the xbox 360 controller). However I am not sure what software I need to download. I thought I needed the Microsft Common Controller 32bit but when I tried to install it, it says "Installation did not complete" Please help me! Thanks I had the same problem, although I've used those drivers before and they've worked correctly. When I couldn't get them to work, I just plugged in my gamepad and let windows update find the drivers, and that worked correctly. ...Show All
Windows Forms GDI leak tool
Is there any third party tool or Visual Studio 2005 plugin which can detect GDI leaks I can find tools which can count leaked resources, but I want the stack trace i.e. where in .net code the leaked resource was allocated. Also another question: does .net use GDI or GDI+ or both Thanks in advance. Pawan In addition, not all objects get cleaned up on each GC cycle, although you would expect that a short lived object would get collected in the next cycle. Either way, a Bitmap cleans up it's resources when it is garbage collected. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Managed DirectX Sprites: Is it possible to light them?
Hi, Does anyone know if it is possible to apply Direct3D lights to sprites constructed using the Sprite helper class in Managed DirectX Since the class creates a quad for the sprite, I would have thought it possible to light the quad or rather the quad's texture. I have tried adding a light to my sprite scene and have tried doing this both before and after drawing the sprites. However, I cannot seem to get the lights to work. I have used the following code: // This is in my initialise section: m_Direct3DDevice.RenderState.Lighting = true; m_Direct3DDevice.RenderState.ZBufferEnable = true; // This is in my render loop: m_Direct3DDevice.Clear(Microsoft.DirectX.Direct3D.ClearFlags.Target, Color.Black, 1.0f, 0); m_Direct3DDevice.BeginScene(); ...Show All
Visual Studio Team System Error in accessing TFS server in web service to track items
We are facing the following problem "Unauthorised to use - The request failed with HTTP status 403: TF53011: NT AUTHORITY\NETWORK SERVICE is not a licensed user.." in implementing Web service based work item tracking using TFS OM. I am adding sample code snippet below from 'Notify' method implementation string server = " http://tfssrv:8080 "; Logger.Log("Server Name is :" + server); string teamProject = GetTeamProject(eventData); Logger.Log("Project Name is: " + teamProject); & ...Show All
Visual C# Strange null reference problem within enum?
Hi All, We've been having a strange problem. Recently we have seen null pointer exception coming out from our code. The exception trace is dead simple: Message: The run has errored with description: Object reference not set to an instance of an object. Object reference not set to an instance of an object. ------------------------- User: Source: mscorlib Server stack trace: at System.Collections.Hashtable.get_Item(Object key) at WGP.Adapter.IntToPrataEnum(String prataCode, String val) at WGP.Adapter.Curve.BuildCurves(Double[] date, Int32[] instrument, String[] currencies) ... Anyway what really strange is that the code in IntToPrataEnum method is dead simple and straight forward. As far as I can see, I couldn't find a single ...Show All
.NET Development How can I adapt any DBF file to SQL Server 2005,there are any Provider ?
Now I develope some application with VB.NET 2005,and I need some database fome .DBF file to be my database,I wish to join these database to my SQL server.How to do mingch06 Hi ! You can download the FoxPro and Visual FoxPro OLE DB data provider from msdn.microsoft.com/vfoxpro/downloads/updates. You can use it to connect to your DBFs in VB or set up a linked server to the data in SQL Server. ...Show All
SQL Server OLE DB Destination Table/View Drop Down
Is there any way around (or will there be) using the drop-down It takes several minutes when running against an Oracle Apps database to populate that dropdown with the several hundreds of tables and views. TIA. DAMN. You said Destination. Sorry, I should read posts more clearly. However, you can still do this. Just select 'SQL Command' as your Data Access Mode and your SQL statement just selects all the columns that you want to insert into from the table that you want to insert into. Ignore what I said about best practice though. its best practice for sources, not destinations. -Jamie ...Show All
Visual Studio Express Editions DVD player
is it possiable to make DVD software to play movies , like the software you can buy...Like intervideo and programs like that . not exactly. in order to use your software created in .NET 2.0, the other computers also need to have .NET Framework 2.0 to run your software, without it it will not run you would need to create your own filters/parsers/codecs to play DVD files which may not be possible in .NET 2.0 (but dont quote me) to play the DVD. You can however embed a WMP Control in your application and use that to play your DVD/audio files but in terms of redistributing it you would need to contact Microsoft for the licensing portion about it. Another way would be to use perhaps some 3rd p ...Show All
