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

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

Jan57

Member List

Ravencraft
phanf
Brakenjan
GraemeE
soanfu
Philippe Galipeau
Aaron Sulwer
Andy Ho
P.H.
danb708
tomjohnr
Rookboom
Jack Spade
BexM
Magoo
litewoheat
eman1975
Alex Prado Romero
Annihil8
kevin delafield
Only Title

Jan57's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Cannot compile my first DirectSound app. Help!

    Hello everyone, I'm new here. I'm trying to write my first DirectSound app and am having a bit of difficulty...I'm hoping the gurus around here can help (I've been trying for days to get this to work and I think it's just something stupid I'm doing). I'm using VS2005 (C++) and have installed the DirectX SDK June 2006. Here's what I've done so far: 1) Selected "Project -> MyProject properties -> C/C++ -> General" and added "C:\Program files\Microsoft DirectX SDK (June 2006)\Include" to "Additional Include Directories" field. 2) Selected "Project -> MyProject properties -> Linker -> General" and added "C:\Program files\Microsoft DirectX SDK (June 2006)\Lib\x86" to "Addi ...Show All

  • Windows Forms Draw a set of lines to a Bitmap

    Hi Suppose you have a set of lines: (20; 20) - ( 20,30) ( 2; 45) - (342,40) (20; 20) - ( 20,33) ( 0;240) - (-60,65) To draw this, you have to translate the points to the origin. I do this by calculating the bounding rectangle, rec . The result is: (80; 0) - ( 80,10) (62; 25) - (402,20) (80; 0) - ( 80,13) (60;220) - ( 0,45) I now want to draw these lines to a Bitmap with a given resolution and line thickness. Hi again Quote: " It's not quite clear to me what you're trying to do here. I didn't get the point translations" " I am translating the points." We are doing exactly the same thing, but in two different ways... ;) ...Show All

  • Visual Studio VS2005 and Visual SourceSafe Nightmare

    It seems that we cannot do anything in Visual Studio 2005 without surreptitiously going out to SourceSafe and churning for 3-5 minutes.  Granted we have (unavoidably) made the mistake of placing the SourceSafe database on a network file share -- it does not explain these covert and constant SourceControl accesses. For example, loading the project does something like "verifying source control".  Why do we need to verify anything and why does it take so long   I can launch SourceSafe myself and verify faster than the IDE can. Refreshing the solution (recursively) appears to be doing just that -- RECURSIVELY refreshing the solution -- meaning the refresh of the SLN file causes a refresh of the child projects, and the ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XACT Streaming Sound Banks?

    Do the XNA XACT apis not support streaming sound banks When the wave bank's "Type" property is set to "InMemory", everything works fine. However, if I change it to "Streaming" I get the exception below on this line of code: waveBank = new WaveBank(audioEngine, "Assets/Wave Bank.xwb"); System.InvalidOperationException was unhandled Message=" The method or function called cannot be used in the manner requested. " Source="Microsoft.Xna.Framework" StackTrace: at Microsoft.Xna.Framework.Audio.WaveBank..ctor(AudioEngine audioEngine, String nonStreamingWaveBankFilename) at ProjectPulse.Game1.Initialize() at Microsoft.Xna.Framework.Game.Run() at ProjectPulse.Pro ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Reflection on the 360? / Scripting Languages for AI

    I'm wondering if the version of the Compact Framework that will be running on the 360 will support the Reflection APIs in the .NET Framework. I ask because I'm doing some study on implementing a scripting language for an RPG. If Reflection is supported, then I can possibly use C# as my scripting language. If not, I'm looking at implementing my own scripting language (which has its own appeal to a geek like me :D). What are your thoughts Microsoft has said that Reflection will indeed be supported on the 360. You can read a little more about it here in this thread , but not much has been said other than it will be supported but you cannot use Reflection.Emit. Hope that helps get you on your way. I woul ...Show All

  • Visual Basic Database Access

    I have a listview that is populated by a database. Whenever the user scrolls through a textbox, the listview is updated, either by highlighting the contents or re-populating it. When a user holds down an arrow key and scrolls through the textbox rapidly, it continually queries the database over and over. This doesn't seem to be the most efficient way to do this. The database is read-only, the user will never add anything to it... is there a way I can capture a snapshot of the database and maybe query that, instead of opening a connection, querying a database, repopulating, closing a connection everytime the user scrolls through the textbox Hm, I was looking into the documentation for datasets and dataread ...Show All

  • Visual Studio Team System "Missing file" link error with TFS build

    Hi, We are trying to build automatically one VS 2005 solution containing various VC++ project (one exe and several dlls). This solution and its projects make use of custom configuration (this help us to define various preprocessor #defines used in our C++ code). When building this solution with one configuration through via VS 2005 on a desktop computer, everything builds fine. But after creating a TFS build type and running it on the build server we see this error: LINK(0,0): error LNK1104: cannot open file 'D:\Build\RootFolder\TFSProjectName\BuildTypeName\Binaries\PlatformName\ConfigurationName\DesignerLocale.lib' (D:\Build\RootFolder being our build directory path) It is strange that TFS build look for lib files in the 'D:\Buil ...Show All

  • Software Development for Windows Vista New Screencast: Introduction to State Machine Workflows

    Folks, I finally decided to get around to doing a screencast. Aside from a few problems where my microphone turned me into a heavy-breathing stalker, I think it turned out quite well. It's 24 minutes long, so it may take a few minutes to download if you're not on a good broadband connection. Click here for the blog entry and the screencast . Enjoy! I have to agree that passing the Local service into the workflow isn't a good thing. If you want that service from an Activity you should call ActivityExecutionContext.GetService - services should live in the host layer - not be serialized and sent into the workflow. I am not against sending in something as the "sender" argument - just not that local service. ...Show All

  • SQL Server Migrate from Access to SQL 2005

    Dear friends, I'm trying to migrate my database in MS Access to SQL 2005. With the tables I dont have any problem using the Microsft tool for that. But I dont know how can I migrate StoredProdures/Views created in Access... I have about 300 SP and views in database access. thanks ...Show All

  • SQL Server How to Add Subtotal in a matrix which shows all colunms nut seletd vales of total

    Hi I have a Matrix Like This Sales Type AZ CA ID NV WA OR Total No Surplus 1 2 1 3 4 1 12 Reverted 1 4 2 4 7 2 20 Surplus 2 4 1 2 2 1 12 This "Total" is of All States(AZ, CA, ID, NV, WA, OR). But I Just want the total of just four states i.e(ID, NV, WA, OR). And I also Want that States which are not included in the total i.e(AZ, CA) Should also appears in the matrix , but their values should not include in the total. I have already applied the filter on the subtotal, but (AZ, CA) did'nt appears in the matixr after filter. thanks Regard Mohammad Yaseen If I was you ...Show All

  • Visual Studio Sending CDM_GETFILEPATH message to subclassed save as dialog

    Hi, I intendend to subclass the save dialog of every windows application. For VS2003 I am sending the CDM_GETFILEPATH message to the SHELLDLL_DefView window of the VS 2003 save as dialog to get the full file name that has been selected to be saved (Note that I am not launching this dialog. VS2003 does.). The SendMessage works fine however it returns a value of 0 which indicates that nothing has been copied into my buffer that will actually receive the file name. Kindly provide some inputs on the same. Thanks in advance, Vishal Hi Craig, Many thanks for you reply. Currently using subclassing I get the file name from the title of the RichEditBox. However, the relative file name is pr ...Show All

  • Visual Basic Versioning

    Can somebody please point me in the direction to learn how to versionize applications and dll's thank you ...Show All

  • Visual Studio ReportViewer

    (Using VS2005 C#) -I have created a report using ReportViewer -Not connected to a datasource How do I assign values to the fields on the report.rdlc Right now I am just testing to see how I can assign values to the fields on the report at run time, no luck as of yet. Any suggestions how to access the field names in the coding form I have tried accesing the fields through reportViewer1.LocalReport()             PLEASE help, I'm not sure how to do this at all...!  Thank you Kt Ignore that last post. I realised after re-examining my demo that although i was setting up the parameters for the ObjectDataSource used to provide the data for ...Show All

  • Visual Studio Team System TSQL Debugger is not working after installing "VSTS - Database professionals"

    Hi, After I have installed VSTS - Database professionals CTP5 I have found that TSQL debugger is not working any more. When I put breakpoint into the stored procedure and do "Step into Stored Procedure" the break point became disabled and the message is "The breakpoint will not currently be hit. Unable to bind SQL breakpoint at this time. Object containing the breakpoint not loaded." I'm absolutely sure that this was working normally before the installation of the CTP5. I'm guessing that something was done to the security settings by the installation package. I hope it is fixable. I'm running VS2005 and SQL Server 2005 Developer eddition and now SQL 2005 Express edition as second instance. CLR Stored p ...Show All

  • Visual Basic Compiled app failing in InitializeComponent

    I have created a WinForms application that runs fine in Debug mode, but when I deploy it to a server, it fails when it executes InitializeComponent while loading its first form. How do you debug something like this if the .NET Framework is not installed on the server, the application wouldn't run at all (AFAIK). Perhaps some UI Component is not fully supported on a particular OS (it can happen but do not quote me) what OS is this server you are running the application on how are you deploying it As suggested, if you can, post the stack trace - would give us more help (hopefully) ...Show All

©2008 Software Development Network