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

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

briendjf

Member List

Sean Connolly
drinkwater
Shamdogg
tcrussell
T. RUIZ
ThomasA
Nghialm
Fahad349
keshavbs
KeithFranklin
AB Vallejo
hommer
JasonDunham
Tamim Sadikali
Erik Miller
cssjm
Eric Totten
Boulderdude
Son_seph14
Spankmaster79
Only Title

briendjf's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Radiosity Light Maps Generator

    Hello, I wish to light my worlds (about 200k triangles) with light maps computed by a radiosity processor. However, radiosity calculation is incredibly slow for medium/large worlds and so acceleration technique are needed. Computing lightmap on the GPU is a way to speedup the process, but I haven't found any far decent tool on internet (I have tried FSRad, but run on CPU and can't handle so much triangles). Any suggestions Thanks. P.S.: XNA include tools like this Astonishing!!! I have tried the demo on my nVidia Geforce 6600 GT... it rocks! The best realtime radiosity processor that I have seen... Some questions: 1) Can you use mesh-based area lights (i.e. mesh that emit light ) 2) Can the library bake t ...Show All

  • Visual Studio Tools for Office WinForms Object Error (Windows Vista & Office 2007)

    System Config(s): Windows Vista Ultimate with Office Ent. 2007 Office 2007 PIAs VSTO 2005 SE (have also tried with original VSTO 2005) also tried on Windows XP with Office Ent. 2007 VSTO Solution: Word Template Document-Level Customization Basic test application that contains a custom Action Pane with a button. The click event of that button creates an instance of a custom WinForm control and adds that control to the ThisDocument Controls collection. Code Example CustomControl customControl = new CustomControl(); Globals.ThisDocument.Controls.Add(customControl, rng, 120, 80, customControl.Name); Problem: On Windows XP running Office 2007, this works fine. Under Windows Vista I am receiving the following error: The program used to crea ...Show All

  • SQL Server Partitioning tables and filegroup stuff

    Hi everyone,   Primary platform is 64-bit on A-P cluster.   Our needs are on yearly basis and on monthly basis. We're forced to keep up five years for the majority of the production tables. In terms of years, I see three ways:   1.Create all the ranges for a FILEGROUP with a only NDF   2004, 2005, 2006 => FG1 =>   ONE.NDF   2.Create all the ranges for a FILEGROUP along with more than one NDF.   2004, 2005, 2006 => FG1 =>   ONE.NDF                                ...Show All

  • Visual C# How to return and use a value from one method call to another

    Here is a rough scratch of my code which is much longer. Just focus on my question here, do not focus on correctness. Question/Problem: how can I pass the JAAlbum.ProductID to me second call to AddNewProduct for "Track" so that I can use its value in the call to  AddNewProductRelationship_Album_Track Right now, when I call AddNewProduct(xl, row, host, fileExtWAV, "Track", filePathSourceWAV, fileName, moveFile, sstore), the previous JAA.ProductID is lost but I need it ! foreach loop here {           if ((String.Compare(lastAlbumTitle, currentAlbumTitle,true) == 0) || (firstAlbum == 1))           {       ...Show All

  • Visual Studio Express Editions Same actions for new controls...

    hi, im usig vb.net 2005 on win xp(sp2) My question is: when we create a new control, it must perform the actions which the other controls of the same type in that form do. for example: i have a form in which there is are 2 Buttons. Namely, cmd1 and cmd2 when you click the cmd2 button, it will create another button named cmd3(at runtime). But, the new button created (i.e: cmd3) must perform the same task as cmd1 did. suppose,cmd1, when clicked, displays a message; the new button created (cmd3) must also do the same task [display the same message]. So, how do I do it Please tell me.... You simply need to create an event handler for the runtime created event and hook it ...Show All

  • Visual Basic VB Microsoft access concurrency issue

    Our company has this internal application which is basically an access application with the backend code written in Visual Basic. Now whenever the administrator wants to make some changes to the document the following message pops up 'You do not have exclusive access to the database at this time. If you proceed to make changes, you may not be able to save them later.' Only when nobody in the entire company is using the application can the administrator go and change the code. Is there a way around this problem, some sort of design modification that can be made such that the code is changed without any sort of conflict Any help will be appreciated. Thanks In Access, manipulating code is just like c ...Show All

  • SQL Server how to solve global stored procedure

    Hello every one i am doing shrinking my databases using my stored procedure i am passing my table to this stored procedure. i placed this stored procedure in Master (database) is it currect set ANSI_NULLS ON set QUOTED_IDENTIFIER ON go ALTER PROCEDURE [dbo] . [SP_SHRINK] ( @TABLE varchar ( 20 )) AS SET NOCOUNT ON ; EXEC('DBCC SHRINKFILE('+ @TABLE +'_log'+',0' +')') EXEC ( 'DBCC SHRINKFILE(' + @TABLE + ', 0 ' + ')' ) if i will give DBCC SHRINKDATABASE(xxx,0) its working.. why i dont understand i can use DBCC SHRINKFILE its not working its saying Error: Couldt locate file 'database' in master Database can u anybody help me thanx   ...Show All

  • Visual Studio Iron Python Integration Issue

    I recently downloaded and installed the IronPython beta from this link ( http://www.codeplex.com/Wiki/View.aspx ProjectName=IronPython ) on the Microsoft Robotics Website. I then attempted to integrate IronPython into my Visual Studio Development environment as per Aaron Marten's instructions ( http://blogs.msdn.com/aaronmar/archive/2006/02/16/533273.aspx ) but I ran into seemingly insurmountable problems. Marten's blog said: "Open Visual Studio 2005 and (assuming you installed the SDK to the default location) open the solution at "C:\Program Files\Visual Studio 2005 SDK\2006.04\VisualStudioIntegration\Samples\IronPythonIntegration". Then, it should simply be a matter of hitting F5 for Build & Debug. This will laun ...Show All

  • Visual Studio Team System Installing on 3 servers

    I'm assuming we can split the install of TFS on 3 different servers: * 1 box for TFS * 1 box for SharePoint * 1 box for SQL Server Correct The directions suggest dual-server installs, but it isn't clear if the install be be configured across three servers. Thanks in advance. Mark Presumably you could still evaluate TFS, and build your company process guidance to run on TFS, all as part of piloting and evaluating TFS in a Test domain or on a Workgroup machine I'm sorry that I don't have an ETA for the technical article. I've asked a few others to comment on when and where this is likely to get posted. Mark - please feel free to email me directly and we could also try and m ...Show All

  • Visual C# Pull Quotes from my string

    I am trying to convert this function that pulls the single quotes out my string before sending it to the database, i got it working in VB.Net with this code here Public Function PrepareStr(ByVal strValue As String) As String strValue = strValue.Replace("'", "''") If strValue.Trim() = "" Then Return "NULL" Else Return "'" & strValue.Trim() & "'" End If End Function But I want to convert it to C# code and i got this far can anyone help me out on what i need to do, for the & operator this where i started but i getting an error though any help ! ! public string prepareStr( string str) { str = str.Replace("'", " ' '& ...Show All

  • .NET Development A .net 2.0 application runs on Win XP, not on Win 2000

    I created an application in Visual Studio 2005. It runs fine on my Win XP SP2 computer. When I xcopy/deploy to a Win 2000 SP4 computer, it silently fails to run (without any error messages). Both computers have .net 2.0 re-distributable installed. Any ideas If I remember correctly, not all members in the framework are supported in Windows 2000; it could be you're using a member that isn't supported by Windows 2000. Do you get any entries in the event log (system or application) when you run your application ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Good 3D Maker program?

    Hello there. I would like to know about a good 3D program. I would like to be able to make models, items to make a game as well as to make a short movie. As I have no idea where the right tools are I would like to get suggestions on everything. Thanks in advance :) Mine's an indy game dev company so I'm on a shoestring budget, so hopefully these links will help you: Art of Illusion: http://www.artofillusion.org/ (open source modeling & rendering studio) Blender 3D: http://www.blender3d.org/ (open source, "3D modeling, animation, rendering, post-production, interactive creation and playback") 3D Canvas: http://www.amabilis.com/products.htm (3 versions: free, $35, $70) K-3D: http://sourceforge.net/projects/k3d/ (open sou ...Show All

  • Windows Live Developer Forums Hover functionality on Pushpin click

    My user likes the way the pushpin hover looks, but they want it done on the click of the pushpin instead of on the hover (along with different data that I'm Ajaxing in). I know I've seen this code someplace, but can't find it now. I have the OnClick working, I'm just not sure how to create the div. John, I've seen your 'Virtual Earth Popup Styles', but am not sure how to put it in play. Thanks in advance...Steve Since you mentioned my name.... I had this on my to do anyway, its annoying that if you click on a pin it stops the mouseover from displaying. http://www.soulsolutions.com.au/onclick.html Credit to hafi and sanderson1000 . <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Tra ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Confused about 360 Screen Resolution

    I made a simple Tetris clone in XNA Beta 1 and have recently come to port it to the 360. I'm really confused about how it's worked the screen resolution though. On the PC, it was a 640x480 game which is a 4:3 aspect ratio. I've deployed it to my Xbox and when I play it on my widescreen 16:9 TV it doesn't seem to get stretched like I imagined it would. The squares for each block are still square and not rectangular. Because of this I can only come to one conclusion, that the 360 is chopping off the bottom and the top of the game to make it fit the aspect ratio correctly. I also imagine that if I made the game in a 16:9 resolution that it would chop off the left and right to make it 4:3. Can anyone confirm that this is what is happening Now ...Show All

  • Windows Forms Cell value while in edit mode datagridview

    Is there a way to get the curent value of the cell while in edit mode Example, I am typing a letter in a DataGridViewTextBoxCell, and I would like to get current value Also, is there an event for the DataGridViewTextBoxCell, which is fired when the user changes its value, also while in edit mode Goran Noone responds Is it that difficult to achieve such thing This scenario is a common one, not something that is very rare. I have managed to find some way to raise KeyUp event for the editing contol. Private Sub DataGridView1_EditingControlShowing(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewEditingControlShowingEventArgs) Handles Me.EditingControlShowing      & ...Show All

©2008 Software Development Network