samfan's Q&A profile
Visual Studio Team System More datadude and WIX
In a post here: https://forums.microsoft.com/MSDN/ShowPost.aspx PostID=862288&SiteID=1 I talked about how I am using the .sql output file from datadude within a WIX installer. I have a small problem in doing this. In WIX the action to install a database does the following 2 things: Creates the database Runs a .sql file to create objects in that database. This is where I am plugging in datadude's .sql file Problem is, my .sql file tries to create the database as well (optionally dropping it if it already exists). So I have the following going on: WIX creates the database The .sql file drops the newly created database The .sql file recreates the database Not ideal I'm sure you'll agree. We ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Saving out Vector3's
Hi, I'm trying to save out and reload a list of vector3's that contain the positions of each triangle vertex in a mesh. I've followed the 'saving out data' threads and I have the following content processor: [ ContentProcessor ] public class MyProcessor : ModelProcessor { public override ModelContent Process( NodeContent input, ContentProcessorContext context) { ModelContent model = base .Process(input, context); foreach ( ModelMeshContent mesh in model.Meshes) { int nNumIndices = mesh.IndexBuffer.Count; Vector3 [] vertices = new Vector3 [nNumIndices]; for ( int i = 0; i < nNumIndices; i++) { int index = ( int )mesh.IndexBuffer[i\]; VertexPositionNormalTexture vertex = ( V ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Keyboard.GetState.GetPressedKeys issue: Often empty even though key is pressed
Hi there, I have a problem with the GetPressedKeys function. Often when running my application, it seems to be empty, although keys are pressed. If I wait a few minutes, recompile without changes to my code, it works as expected again. This is really annonying as I often find myself looking for bugs because nothing happens and in the end it is only because the Framewok does not seem to notice that keys have been pressed. I was wondering if anyone else has this problem or if it is maybe due to my PC (Acer Notebook 1692 WLMi). However, I do not think it is my PC because hitting ALT-F4 to leave my game works correctly. So key presses are handled correctly at the OS level. So my guess is that maybe its an XNA framework issue ...Show All
.NET Development URL And Domain Name HELP
Say that I was a main web site that is: www.dc.com dc is the domain but I want make it like this: www.store.dc.com I want to be able to you put the "store" in front of the domain. How do I do this I am using SQL server. thanks Thgis actually has nothing to do with SQL server or ASP.NET. This is done with your NameServer or your DNS/Registrar. For example, if you registered your domain with GoDaddy - you would loginto GoDaddy's Control panel and go to the NameServer management (assuming you are not running your own nameserver - if you dont know what i'm talking about don't worry that means you're not) and then creating a new hostname (A Record) and point it to the IP of your server. ...Show All
Smart Device Development SIP Icon Hides
Hi, all I am facing a strange problem regarding the SIP Button in WM 5.0 device, the SIP icon(Button) hides from the CommandBar after a mesage box is displayed. And after opening another form or change the Display mode, SIP icon is visible again. This is happening at both position of SIP icon(centre as well as on the right corner). If anybody else is facing this problem or has the solution for this do reply. Thanks. regards Amish Amish, First, let me make sure I understand what you're trying to do. My understanding is that you have a form that contains an InputPanel component. The application brings up a MessageBox, and at the same time, the SIP icon disappears. At that point, ...Show All
Windows Live Developer Forums I cant upload any photos to my space
When I try to upload photos to my space, It said that I have reached my monthly limit. BUt i only got 100 photos in total in my space. Could anyone help me out with this Thanks ...Show All
Software Development for Windows Vista Using ExtEscape to write documents to a file in xps format!!!
Hi *, Can I convert my documents (word, xls, pdf etc) to XPS using Microsoft XPS Document Converter (MXDC). The following API gives one flag which can suffice my requirement, can somebody please give me pointers of how to use it. MXDC_ESCAPE Windows Vista: Enables applications to write documents to a file or to a printer in XML Paper Specificaton (XPS) format. ExtEscape The ExtEscape function enables applications to access capabilities of a particular device that are not available through GDI. int ExtEscape( HDC hdc , // handle to DC int nEscape , // escape function int cbInput , // size of input structure LPCSTR lpszInData , // input structure int cbOutput , // size of output structure LPSTR lpszOutData // ...Show All
Architecture Network Load Balancing vs. Hardware Load Balancing (CISCO Arrowpoint)
Hi Have a query regarding using the Windows 2003 Network Load Balancing Service. My ISP provides Load Balancing functionality via there CISCO (Arrowpoint) Device. We were experiencing some problems with the Arrowpoint so during testing I installed the NLB service and got all my websites working to a tee I decided that this is perhaps the best way forward anyway as I had more control over adding and removing servers to the cluster, but none the less I decided to ask my ISP's advice as to which solution was the best. Their response was... "Microsoft's implementation of NLB is not a particularly network friendly application of load balancing. It operates by spoofing the source MAC address in ARP replies. This causes all switches ...Show All
SQL Server Unable to completely uninstall Advanced SQL Server- Report Server
1) I uninstalled Advanced SQL with Report Server to install 2005 SQL Developers Editions. 2) For some reason I am unable to completely uninstall Express Report Server. 3) Configuration Manager is still showing SQL Exp Report Server, even though I uninstalled Advanced Server. 4)I tried to remove though A/R programs (using my 2005 DE) - I see it listed but I receive the following error:The setup failed to read IISmime maptable the error code is -2147024893. 5) When I try to use 2005 Report Service Config Manager, I receive the following error: An unknown error in WMI Provider Error code 80040219 wmi provider. So I am unable to setup my 2005 SQL DE Report Server. Any ideas on uninstalling Express Report Server...This mi ...Show All
.NET Development Using Process.WaitForExit() when the process is a GUI application
Within an application I am writing, I need to do the following: Execute an external GUI application (for the purposes of this example lets assume its MS Word). Block the current thread until the external GUI application has been closed. My first attempt at doing this was to make use of the System.Diagnostics.Process object. // Initialize the process object Process myProcess = new Process(); myProcess.StartInfo.FileName = "C:\\Program Files\\Microsoft Office\\OFFICE11\\Winword.exe"; myProcess.StartInfo.WorkingDirectory = "C:\\Program Files\\Microsoft Office\\OFFICE11"; // Start the process and wait for it to be closed myProcess.Start(); myProcess.WaitForExit(); // A ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Collision detection - Howto
Hi all, I'm trying to make two objects collide in GSE, actually in a Pong game - between the bat and the ball. I have motion for both, but no collision, the ball just leaves the stage so to speak. Any help would be appreciated. I have looked in the Help, but to no avail. What about the "ball", do the built in bounding boxes work for other objects, can you put a "box" around a triangle or would it still be a box shape thus not giving you accurate results ...Show All
SQL Server Drill to Detail in ProClarity #2
Hi, Here is my prev post on this... http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1006426&SiteID=1 Please do check the same. Regards ...Show All
Visual Studio 2008 (Pre-release) UpdateSource() on each BindingExpression?
Hello, I need a confirmation: In case of manual updating of datasource (UpdateSourceTrigger=Explicit) do i need to manually invoke UpdateSource on BindingExpression or is there hidden somewere a sort of "invoke UpdateSource() on all contained elements" TIA Corrado Hello Bea, I agree with you, having all BindingExpressions gives you better control of which expressions you want to update in a simple loop, what's annoying in V1 is getting all' namescope expressions. Corrado ...Show All
Microsoft ISV Community Center Forums Error starting Live Communication 2005 Archiving
Hi, I have installed LCS 2005 SE SP1 on 2003 R2 with SQL-Server 2000 SP4 in a live environment and a test environment on the same server. In the test environment the Archiving service starts successfully but in my live environment I get a few errors of which the main culprit is: Event ID: 30619 Live Communications Archiving Service failed to start because a schema version mismatch was detected. The service will not start until this problem is resolved. Resolution: Ensure both the Archiving Service and backend were installed or modified by the same installation package. I am 99.9% sure I used the same installation package. I uninstalled and re-installed the Archiving service but no luck. I am consulting with Microsoft Sup ...Show All
.NET Development VB - C# Reflection Help
Hi! I am trying to port a VB.NET Dundas email example to C#, but I am not clear on how to convert two lines. VB: '============================================================================ ' Build and send the email '============================================================================ Set objEmail = Server.CreateObject("Dundas.Mailer") objEmail.SMTPRelayServers.Add "mail.myurl.com", 25, "myurl.com" objEmail.TOs.Add " to@ myurl .com " objEmail.FromAddress = " from@ myurl .com " objEmail.Subject = "Sign me up!" objEmail.Body = "Body Text" objEmail.SendMail Set objEmail = Nothing C#: '================================================================= ...Show All
