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

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

REspawn

Member List

Jobr77
Woon Cherk
InvalidSynTax
Peter Gloor
Rafael Mores
GustavoPollitzer
Jeff Sholl
dpoon
R.Tutus
Tanmaya
Malacki
Jefy
A.Russell
Dan Mikkelsen
__ButterFly__
John Lieurance
db_guy
FasT
Colin Reid
TheQuietShadow
Only Title

REspawn's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Depth Buffer Support Formats

    Hi, I just tried to create a depth buffer. While looking through the HDR Format 10 example I believe I considered a bug in the example or in the documentation. The documentation states that the depth buffer formats are D16_NORM D24_UNORM_S8_UINT D32_FLOAT D32_FLOAT_S8X24_UINT The HDR Format 10 example is checking for the R16_TYPELESS, R32_TYPELESS and R32_FLOAT_X8X24_TYPELESS formats and can not find any of them on my machine .... the documentation does not say anything about those formats. Replacing the _TYPELESS formats with the one above works. I assume typeless means that it is looking for a _NORM or _UNORM format and picks whatever is available - Wolfgang Actually no. _TYPELESS means ...Show All

  • Visual Studio 2008 (Pre-release) netTcpBinding wsHttpBinding which is better for a LAN environment?.

    Hello, I was programming a WCF service only for clients running inside a LAN, i tried out both the netTcpBinding and wsHttpBinding endpoints. I would like to get experts opinion on which one is better for my case. My clients are standalone applications(windows desktop clients) running in a Windows 2003 LAN environment. Also incase in the future some webclients client wants to talk to our service, can a netTcpBinding expose the wsdl interfaces . I tried the following and got some errors. net.tcp://localhost:8000/Myservice/service1 wsdl. is this possible or,  wsdl can be exposed only for http based bindings .   Thanks,         Tha ...Show All

  • Visual Studio Team System Can Team System be used for testing windows applications?

    Hello Is Team System and testing functionality mainly written to test Web pages or can I use it to test Window application made with Visual Studio 2005. It seems that all information I can find is related to testing Web pages. I wish to use Team System for testing the software, GUI tests mainly. If it's possible where can I find informatin on this in order to learn how to do this the best way Thanks Kitzo If you're interested in functional GUI testing, you might look into AutomatedQA's TestComplete. It integrates well with Team System, and allows you to run automated functional tests from within Visual Studio's Test Manager. Looks like they just released a new version this monday. Good Luck! jcr ...Show All

  • Windows Live Developer Forums VE Java Function

    Not knowing JS very well can someone tell me how to pass a string of long/lat to the Draw Poly function..the string I want to pass contains long/lat values and looks like: str ='[new VELatLong(44.01457,-79.6803517),new VELatLong(44.01382,-79.6801283),new VELatLong(44.01342,-79.6801817)]'; DrawPoly('3', '" + str + "' ,7, new VEColor(255,0,0,1)); but it gets and error this way <script> function DrawPoly(id,points,width,color) {poly = new VEPolyline(id,points); poly.SetWidth(width); poly.SetColor(color); map.AddPolyline(poly); map.SetMapView(points);} </script> I figured out my passing a string issue..but wondering if someone could tell me the best way and ...Show All

  • Windows Forms .NET Web Browser Control: How to check if there is text selected??

    Hi! Im using the .NET Web Browser control. How can I check if there is text selected in the current loaded document Matt actually, you don't even have to go to that trouble. browser.Document.DomDocument.selection.type will return a string: "None" if there is no selection and "Text" et. al. if something is selected. ...Show All

  • Windows Forms Install updates after the application start

    Has any one attempted to detect the app updates after application start inside the program Just wondering if application has updates, how do you apply the changes Do you close the application or is there an ApplicationDeployment method that does the update for you So far all my installations are all before application start and never done after the application start. Thanks. If this is a ClickOnce app you can use the System.Deployment.Application class to check for and download updates from within your application. After downloading update use the Application.Restart method to restart the new version of the app. For more info see: http://msdn2.microsoft.com/en-us/library/ms404263.aspx http://msdn2.microsoft.com/en-us/library/s ...Show All

  • SQL Server import AS to BID project - how to change cube storage location

    After import of AS database to a new project I need to change the cube storage location because it probably points to a location on the server that is not valid in dev. How can I change the cube storage location in the project (not from management studio) Regards, Thanks for your ansver. In solution explorer properties I can change the project path - but - I can't see how I can change the storage location of the cube My problem is that I can't deploy my project after import of AS database to a new project. Any ideas are welcome. Regards,     ...Show All

  • SQL Server SubQuery gives Incorrect syntax near ')'.

    Dim sql As String = "SELECT InvID, SomeData, (SELECT SUM(AmtPaid) AS Expr1 FROM (Test2) WHERE (Test1.InvID = InvID)) AS Expr1 FROM Test1" Using myConnection As New SqlConnection(ConfigurationManager.ConnectionStrings( "ASPNETDBConnectionString" ).ConnectionString) Dim myCommand As New SqlCommand(sql, myConnection) myConnection.Open() Dim reader As SqlDataReader = myCommand.ExecuteReader(CommandBehavior.CloseConnection) When executed the above throws the error below. The strange thing is this query was built and works in the Visual Studio query builder but when I copy the sql to the page to use it, it fails. I have other query/subqueries that work fine, I cannot seem to find why ...Show All

  • Software Development for Windows Vista question about the custom debugger on windows forms application

    I've been using the custom debugger for windows forms posted here: http://wf.netfx3.com/files/folders/design_time/entry1929.aspx And it works great. Just a question. When a different view of a composite activity is being "debugged" (like the Faults View), I cannot make it to appear automatically, so if the activity being debugged is in that view, I have to change it manually (clicking on the views tab on the designer)... So, I would like to know how can I make the debugged view (in this case, the Fault View) to appear without user interaction when an activity that belongs to it is active. I've been trying the methods ActivityDesigner.EnsureVisible() and activityDesigner.Parent.EnsureVisibleContainedDesigner(activityDesigner) ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Convert LPDIRECTDRAWSURFACE to LPDIRECT3DSURFACE9 ?

    I’m writing a Camera Image Grabbing application using the Matrox Imaging Library (MIL) and DirectX. The MIL camera image buffer can be forced to be a DirectX surface with a creation flag. From the camera image buffer it’s possible to acquire a LPDIRECTDRAWSURFACE pointer. I want to display the camera buffer using Direct3D. My solution was to set the camera buffer as the render target of my D3D-device and Present(). This is not possible because the Device::SetRenderTarget()-Function does not take a LPDIRECTDRAWSURFACE pointer but only a LPDIRECT3DSURFACE9 pointer. So I’m asking if it is possible to convert (or cast) the DDraw surface to a D3D surface And on the same topic, as I will need this later: Is it possible to convert (or cast) the ...Show All

  • .NET Development passing dbnull to splserver express

    I have an application i'm writing connecting to sql server express. there is a field call PayDate which is a text field and it passes the date to a coloumn in splserver which is a "date" type and allow nulls is checked. I can add and update the dates changed with no problem, but what I want to do is when the date on the textbox form is removed, I want to pass a "null" back to the PayDate column in sqlserver so it shows as "NULL" . When I used "mySQL", I had no problem passing a null back, but with sqlserver I can't seem to get this to work. Is there a way that when I remove the date from the textbox on the form and press "save" myBindingSource.EndEdit() myTableAdapter.Update( Me .myDataSet.myTable) I can pass ...Show All

  • Visual C++ ActiveX in WIN32 and Console

    Greetings all, I'm in at an impass and hope someone on the forum can help point me in the correct direction. I am working with a control system that is writen in C/C++ and built on an OSI/Posix core. The main program body is a Console/Server application that expects few or no user events or inputs. We build with VC8 using Gmake ( from the cygwin suite ) and everything works well, the main application runs from console under Server2003 with no problems. We run in to an issue here, we have vendor supplied ActiveX controls that we would like to access from the control system. I dont know how, and neither do any of my vendors or other devlopers. Being a unix devloper for most of my life I assumed that we could instancate the control ...Show All

  • Visual Studio Express Editions sendinput code to perform sendkeys, keyboard events

    Anyone have a sample of code demonstrating how to set up sendinput Documentation is poor at best. There are a few samples on web, but are incomplete and despite tinkering can not get them to work. I read sendinput will be the best method to learn with vista coming, as sendkeys etc wont work well with it. So any help appreciated. Charlie, I have tested the code below and it works. Please give it a try. ' This is the sending program that sends richtextbox text to ' the target program. If we were not sending RTF text but plain ' text then the 'cut' and 'paste' parts could be dropped. ' The 'Thread.sleep' is one of the key factors to get ' 'sendkeys' to work. Also, it seems ' ...Show All

  • Microsoft ISV Community Center Forums Excessive Lag with VBA APP

    Hi all; I am a developer for an organization, tasked with writing a password generation program. In access I run a query to get the correct population and save it to a new table. I then (with VBA), open the recordset and append on a unique user ID and a randomly generated password. The program runs great however it takes 6-7 minutes, and sometimes locks up the computer. I was wondering if anything in the code stands out as a red flag. The population I am working with is about 11,000 people -----Code Follows------ Function CreateUser() 'Variables for loops and text Dim num As Integer Dim intloop As Integer Dim encode As Integer Dim cypher(62) As String Dim pass As String Dim pick As Integer Dim count As Long Cons ...Show All

  • SQL Server Computed columns

    Hi, Consider the following example create table sample (col1 int, col2 int , col3 AS col1 + col2) PERSISTED NOT NULL) basically col3 is a computed column. Now when ever a row in col1 or col2 is updated the computed column will reflect the new value. how does this happen in the background. does this use row level triggers or what other mechanism is used to maintain col3 - computed column I have marked it PERSISTED ...meaning that the column is saved in the database. I think what you are talking about is the computed column without using the PERSISTED key word. ...Show All

©2008 Software Development Network