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

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

Edward1

Member List

Martinp23
RyanB88
Timothy Greer
IceAngel89
TJC2
Andreas Asterlund
Kyle Key
Paul Arena
tviel
beanz41
Dietz
JamaSaru
trev73
psychogeek
aka_Big_Wurm
alan666
fettoter
programmer01
Mark A. Richman
bonus
Only Title

Edward1's Q&A profile

  • .NET Development Machine Config Runtime entry being ignored

    I'm trying to get the Codebase element to reference a dll from a directory other than the base directory, but my machine.config runtime element seems to be ignored. I'm guessing that the section element type of IgnoreSection is the problem, but what do I replace it with so the runtime element is used Here is the section element concerned: <section name="runtime" type="System.Configuration.IgnoreSection, System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" allowLocation="false" /> Any advice welcomed. You're right there. Just corrected it and retried but made no difference, so it looks like the runtime entry is being ignored to ...Show All

  • Software Development for Windows Vista The problem of SetTimer, MsgProc function cannot detect the WM_TIMER uMsg

    Hi i have some problem to use the settimer() function, i don't know what wrong with the code, because it didn't work. My coursework is develop a game by using the Directx, and my game have a 60 second time limit, so i used SetTimer() to do it, but not working .   Wish anyone could help me. declared timer at the global #define Timer 16   i called the settimer function at the  main function INT WINAPI WinMain( HINSTANCE, HINSTANCE, LPSTR, int){ xxxxxxx xxxx SetTimer(hwnd, Timer, 1000, NULL); xxxx xxx   }   then the "Timer" appeared at the MsgProc function agains, i put a few break point  like below, but the program didn't run throw these part, I thi ...Show All

  • Visual Studio Tools for Office How to create document w/o assembly attached?

    I use VSTO to add some special formatting features to word. I need to use Smart Doc model to use Actions Bars cause Add-ins don't support them (till word2007). But I need to save results of user's work in this document w/o any reference to my controls (to allow to open it on other computer w/o assemblies etc)... Is there any way to do it P.S.: MSND says "Use the SmartDocument object to manage the XML expansion pack attached to the active document." but this object have only 2 methods. Is it the only control we could have Assuming we're discussing VSTO 2005 (not 2003) and you want to remove all things VSTO (including the Actions Pane), you ...Show All

  • Smart Device Development Problem-Connecting to sql server using pocket pc 2003 emulator..

    Hi Folks, I am trying to connect my remote sql database using the pocket pc emu. 2003. I am getting the error "SQL Server does not exist or access denied.". The thing is I have ASP. net projects and I connect without any hassle. I have also tried connecting to an online database using the pocket pc '03 emu. and it works....I just don't understand why it isn't working remotely.... Can someone kindly help OK, I change my computer's name to the IP address that my computer has..while it is connected to the internet and it works... . I could only hope it works tomorrow... . But I don't understand why it is giving me all of this trouble...but..I can only accept it..and try to find solutio ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. fx Shader files do not support more than 1 technique?

    I found some strange bug in the Effect class (I think), maybe this was mentioned before, but I couldn't find any information on this. I wrote some simple shaders for line rendering (see more details and fx source code on my blog). If I put each technique in a own file, I can access the shader technique passes with: effect.Techniques[0].Passes But if I put 2 techniques into 1 fx file only the first one works. If I access the second one either by calling effect.Technique[1] or effect.Technique["NameOfTechnique .."] it still accesses the first technique. I'm pretty sure this is not a user error on my side because if I have only 1 pass in technique 1 and 2 passes in technique 2, the app crashes if I try to access the 2nd pass in the ...Show All

  • Visual Studio Can't check in binary file..., Help!!

    Hello... When we attempt to check in a project file, that is a binary PLC project, we receive always a message from Visual SourceSafe 2005: "File ...\h\hliaaaaa.b is already open" where ... is actually the network path to the VSS database. Here the exact sequence: Check out the PLC project file (binary file) Copy the newer project file over the checked out file on the file system Check in Question: There is a newer version in the database for the file '....'. Because the file is binary it cannot be merged during check in. Do you want to continue check in this file,..... Click Yes The VSS client is working... Warning: File ...\h\hliaaaaa.b is already open ...Show All

  • Windows Forms How to draw a matrix of rectangles in a panel?

    Hi everyone, I have a problem with C++ GUIs: I have developed a program which simulates the movements (under certain constraints) of a mouse in an arena (double array matrix) : now I would like to represent in a gui those movements (for instance drawing in a panel the matrix in which every location is represented by a square, and the mouse is a square itself, perhaps colored differently, updating the panel at each step of the simulation). How can I do that Thank you Claudio ...Show All

  • .NET Development default value 0

    i have a a select statment the bring up data from my data DB to a dataTable the i Bind the DataTable to a DataGrid but i can many cells with no value i want to make the default value to be 0 how can i do it It sounds like the select is returning null values and you want to replace these with the value zero in the datagrid. I found an easy way to do this in .NET 2.0. What I did was create a datagrid bound to a datatable using the Wizards (drag and drop table to my form). Then I opened the properties for the datagrid and went to the Columns collection. For the column there is a property called DefaultCellStyle. I clicked on this to open the CellStyle builder and there is a NullValue property in ...Show All

  • Visual C# ds.ReaXml(); in portuguese ???

    Hi, I'm trying to read this XML( http://www.wunderground.com/auto/rss_full/global/stations/83780.xml units=both )in portuguese is there a way to do that (Web Application) When I open it in IE I read it in portuguese, but when I query it through .net it returns in english... Thanks WebClient Webbie = new WebClient(); String Url = "http://www.wunderground.com/auto/rss_full/global/stations/83780.xml units=both"; Webbie.Headers.Add("Content-Language", "pt-br"); // I don't know if this is the right header as I didn't packet sniff . but this shows how to set it. Stream Streams = Webbie.OpenRead(Url); DataSet Dessie = new DataSet(); Dessie. ...Show All

  • SQL Server Updating a particular value in a XML Column

    Hello every body Ok this is the situation: I have a XML with some values. Each element has his attributes. I need to update some values of those elements, but i need to do it in a particular element. By example this is my XML: <Root> <Gato id="0123" sitio="por aqui"/> <Gato id="2536" sitio="por alla"/> </Root> Now i Want to update the value "id" in the second element. I use in this example the file stored in a variable. DECLARE @pollito XML SET @pollito = ' <Root> <Gato id="0123" sitio="por aqui"/> <Gato id="2536" sitio="por alla"/> </Root>' So I have ...Show All

  • Visual Studio installing sp1

    When I try to install I get an error message that I must first uninstall web components for web examples. However, I can't find those anywhere. Frankly this is an unnecessary pain in the rear end. A Microsoft installation program should be able to handle that. Can somebody tell me what programs or examples these are referring to, why they don't show up and add/remove, and how I can go about installing the sp1. Thank you very much. dennist685 Thanks for the reply but it doesn't help much. If the web application projects were added during the attempt to install sp1,, then how do I uninstall them and reinstall sp1 I couldn 't find any way of uninstalling the waprojects. dennist685 ...Show All

  • Visual Studio 2008 (Pre-release) cant log in vpc orcas !

    I am using Visual Studio Orcas VPC Credentials: Username: Administrator Password: P@ssw0rd but it wont log me in I use Russian Keyboard, and even though I changed keyboard language to US-English there is no way to login... In september release I could login but in October release it is absolutely impossible. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. constructive solid geometry

    Hi , I hope to create a system CSG, where you will be able to add boolean operators between object (cube/sphere/cylinder...), is there anyone who know algorithm's name to apply boolean operator cheers Hi, although I am aware, that this probably doesn't belong to DirectX or XNA itself, you might find this link interesting: http://www.flipcode.com/cgi-bin/fcarticles.cgi show=64448 At least there are some basics and references for two different realization methods: "Set Operations on Polyhedra Using Binary Space Partitioning Trees" by Thibault & Naylor ( ACM Link ) "Constructive Solid Geometry for Polyhedral Objects" by Laidlaw, Trumbore & Hughes ( ACM Link ) If you have an ACM ...Show All

  • Visual C++ How to Create a new GUID

    Hi All, I am developing in unmanaged C++, ATL, Win32. The .Net Framework has a function to get a new GUID. How do I create a new GUID without using .Net function call Thanks GuyRoch wrote: c# Guid myGuid = Guid.NewGuid(); thanks this is extremely helpful to somebody writing C++ code ...Show All

  • Visual Studio 2008 (Pre-release) Guidance for IErrorHandler

    Hi, I'm looking for some guidance on how I should use the IErrorHandler. I have it configured, and running, but I'm really not sure how to go about getting it to the "right" things. Additionaly, I'm supposed to make it interact with the exception policies (ExceptionPolicy) of EntLib. Thanks Hi Andrew, you can get the structured handling that you're looking for by defining FaultException<T> for various T that you'd like to differentiate (usually you use a class with DataContractAttribute for T and shove your specific fault information in there), then throw those specific classes as needed. Of course, that's not the full story. To make this work with the client side, you'l ...Show All

©2008 Software Development Network