Jamie Plenderleith's Q&A profile
Visual Studio Express Editions Re Saving to the 'Other Database'
Hi, I have a beginner question about the two databases and the saving to database while running/debugging issue. I have read all the forums and associated links regarding this issue. What I understand is that when I run (or debug) my program, the application saves the data in to a bin/output data file which, in my own language is a temporary copy of the real database file. If I edit or make changes through running my application, the process of running includes copying the real datase data into the temporary one (if "do not copy" is not selected in the DataSet properties). The returned Update integer actually relates to the update of the bin/output, or temporary database file, and never updates the real one ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX9 for per Pixel Rendering
Hello I'm developing an app wich must render 2d graphics in real time, so I've decided to use direct3d9. I want direct3d to render the vertices pixel per pixel. Is it possible I've only done 3d stuff... Thx! I had the same problem of speed when I try to draw Wave file You could address a texture by pointing the x,y you need on it with pointer and draw your pts this way in the texture and simply render a quad aligned to the screen using the resulting texture This would draw very fast your signal in a simple BMP format texture offscreen and the render is very fast, basicly that is what GDI was doing when it used BMP to speed the render... In RenderMonkey you have some sample of Pixel Shader drawing on a quad align sh ...Show All
Visual Studio Express Editions Asynchronous Calls
hello fellow programmers, i was just having some problems on how to make an asynchronous call. well, can someone show me a very simple program thats uses asynchronous calls thanks in advance! I'm not From Microsoft and yes, I'm a former Digital Engineer and I really miss the rich asynch capabilities of VMS. I have no Microsoft stock or any stock at all. I haven't read your page and have no knowledge of any Microsoft crtique. In a very real way, you could me call me rather impartial. That being said, I've seen repeated references to your home page and your company name many times and it does look like commercialization. You do bring up some interesting points. Being from DEC I really do prefer single vendor ...Show All
SQL Server clustered index fragmentation
Hi I am testing some clustered index on a table I was working on. I put a clustered index on an int column with identity and insert some several thousand records into the table. I check the index fragmentation and notice that it was about 20%. I thought since the identity field is incremental, there would be little or no fragmentation. Is this true or is there something wrong with my server thanks Paul The fragmentation on your tables are due to updates of the variable length columns and not due to inserts. An int column with identity is the best candidate for clustered index, as there wont be any fragmentation during inserts. However, when you update your tables and increase the data size of colu ...Show All
Visual Basic Startup Items? & Hiding / showing forms?
Basicly I'am requesting this: How does one create a 2 forms that you can move back and forth from though each form your NOT using will hide, on top of this, how do I dispose of one form and then come back to the form as a new instance. My theory was that i use 3 classess two as forms and one as a main class, the main class controls the instances on what is shown and what is not, though im unable to adchieve this. Has anyone got some sample code that can help me out .... Please keep things simple and straight forwards im repeat im currently a rook at this language. Thank you. Say i have a main form, then i make a new instance of a new form (form2) but when i show form2 i want to hide the main form(form1) now I've finshed wi ...Show All
Visual Studio Debugging causes large svchost.exe process
I have a database like server application that deliberately tries to take most of the physical memory of a machine. When I debug it (usually with DebugBreak) I get an extra svchost.exe process running that seems to mirror the Virtual/Physical memory requirements of the app. Since I have deliberately taken most physical memory this causes a massive amount of thrashing and the break dialog box doesn't appear until this is all over. I can't seem to kill this process, it ignores requests to kill until it has finished populating the physical memory. When it has all settled down it doesn't seem to happen again that logon session. Can someone explain what is going on and can I stop this behaviour. I am using VS2005 C++ to create a native ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Some questions about using constant buffers
From the documentation and the samples, the usage of constant buffers is not very clear: 1/ In HLSL, the usage of any constant from a constant buffer seems to be implicit in any shader. Are all constant buffers in a HLSL code supposed to be loaded even if not being used 2/ In the API, we just send an array of constant buffers. How does the API make the match between a constant buffer in the array and a constant buffer in the HLSL code 3/ What happends in case of mismatches or if the shader actually needs more data than provided Thanks for your help. pm. The intent in exposing constant buffers is to allow the shader to describe a contract between the application and the shader in terms of frequency of update of constants. Sinc ...Show All
Windows Forms ReleaseCOMObject with .NET webbrowser
Hi, I am working with .NET webBrowser control in one of my libraries. I also use the mshtml interfaces(managed wrapper-mshtml.dll) for parsing\getting some useful information from the html document that i traverse using the browser control. Some of the interfaces used are IWebBrowser2, HTMLDocument, HTMLMetaElement, HTMLFrameSetSite, HTMLHtmlElement, HTMLAnchorElement, IHTMLElement, IHTMLRectCollection, IHTMLRect, IHTMLElementCollection etc My Doubt is, do i have to call Marshal.ReleaseCOMObject function here or .NET managed wrapper is taking care of it If I have to use Marshal.ReleaseCOMObject then are there any guidelines(or do i have to follow the COM guidelines). How can i be sure that the COM component will be re ...Show All
SQL Server Excel as Frontend to SSAS 2005 Cube
Hi, there, I am working on Excel as a front-end to a SSAS2005 cube. I intended to create a simple add-in that allows users to write back to the cube. Users will first retrieve data from the cube to pivot table and write back to the cube from the pivot table. I can find some sample source based on adodb and AS2000 but not adomd .net and SSAS2005. For the time being, information on SSAS2005 write-back from Excel seems very little. Not much references that I can refer to. Anyone can shed some light on this I would appreciate it if you can provide me some sample source in VBA using adomd .net or others that can demonstrate the write-back to a SSAS2005 cube. It would be great if the sample will be based on the AdventureWorksDW cube. Th ...Show All
Smart Device Development Why the toolbox is empty for smart device project in my VS 2005?
I just installed VS 2005. I created a new smart device project. But I noticed that the toolbox is empty. Then I created a windows application, everything is OK. I am confused. Did I miss something during my installation Thanks. Toby Does this mean I could use only VS2003 to develope since the system on my device is WM2003 But when I deploy my program in VS2005, the deploy box shows "PPC 2003 device" and "PPC 2003 SE emulator". When I select one, error box shows " no such interface support". Why Thanks. toby ...Show All
Visual Studio Team System TFS version control vs Perforce?
All, Thank you for reading this email. I have done Clearcase, Cvs, Subversion, Perforce and various SCM tools. Now, evaluating the new TFS version control for a company that only has Windows developments. Can anyone help me with the following questions 1. Is TFS version control out of beta phase yet 2. Is there a list of comparison between Perforce and TFS version control 3. In addition, is there a list of comparison between MKS integrity and TFS version control Thank you in advance. B. This post has been answered in the version control forum. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=543517&SiteID=1 Buck ...Show All
Smart Device Development An error message cannot be displayed because an optional resource assembly containing it cannot be found
I've seen many threads where this is listed and then the answerer tells them how to fix their problem. However, what I want to know is what this message is and how to fix it. What "optional resource assembly" is missing (a file containing the error messages) It appears this "generic' message can come from a variety of sources. I would recommend to the MS team that they provide more descriptive info (such as the resource name). Thanks in advance for any information. I am having the same problem as this, I have two different files System_SR_EMU_wm and System_SR_EMU, neither seem to make any difference to the debug output, I still get this annoying message: An error messag ...Show All
Visual Studio 2008 (Pre-release) Linq to MySql prototype - looking for developers
Anyone out there who uses MySql Am looking for contributors for the Linq to MySql project. Question to Microsoft: I have called the generator 'MySqlMetal.exe', so that Linq users would know, what it does. Do you have any problems with the blatant copying of SqlMetal name I can rename it, if you want. Thanks, Jiri George Moudry Forgot the link: http://code2code.net/Linq_Mysql ...Show All
Visual Studio Team System [BIS.ReadIdentities] Could not read the following identities : System.ArgumentException: Value cannot be null.
What should i do Windows Sharepoint Services is up All Team System Webservices up Permissions are granted. On "add new team project" i get this. Error TF30170: The plugin Microsoft.ProjectCreationWizard.WorkItemTracking failed during task WITs from group WorkItemTracking. Explanation Plugin error text: “TF51613: [BIS.ReadIdentities] Could not read the following identities : System.ArgumentException: Value cannot be null. at Microsoft.TeamFoundation.Proxy.GroupSecurityService.ReadIdentity(SearchFactor factor, String factorValue, QueryMembership queryMembership) at Microsoft.TeamFoundation.Proxy.GroupSecurityService.ReadIdentities(SearchFactor factor, String[] factorValue, QueryMembership queryMembership) at Mic ...Show All
Visual Studio 2008 (Pre-release) Reflect 3d plane
Hi, I have a image in a Geometry3D (like in the link below) and I want to reflect it in the gradient white part of the image, I was playing with VisualBrush but couldn't find a way of making it work. Is there any way Image Thanks, Bruno Silva Unfortunately it isn’t just a simple rectangle it is a total of 4 geometries, similar to the flipper in the SDK ...Show All
