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

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

Jerry_H

Member List

azcoyote
Peter Huber
Schasta
vbqns
WolfgangEngel
ron nash
MichaelEaton
Dietz
enric vives
Mio
lmttag
nabeelfarid
NILKAMAL
Jegant
meighlough
MDesigner
Steve Mayhugh
Sayure
ailuz
aragon127
Only Title

Jerry_H's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. "Grab Point" of a Texture2D

    Right now when I draw a texture it uses 0, 0 of the texture for where it draws it based on the X, Y I tell it to draw it at. I need to change that "grab point" to the center of the texture. Does anyone know how this is possbile Thanks. I assume you are talking about SpriteBatch. You should offset it by -texture_width/2 and -texture_height/2. I would suggest if you do this often that you wrap this in a function b.Draw(tex, new Vector2(50, 50), Color.White); would become b.Draw(tex, new Vector2(50 - tex.Width / 2.0f, 50 - tex.Height / 2.0f), Color.White); DrawCenter(SpriteBatch b, Texture2d tex, Vector2 target) { b.Draw(tex, target - new Vector2(tex.Width / 2.0f, tex.Height/ 2.0f), ...Show All

  • SQL Server There is an error in XML document (1, 6240).

    For some unexplained reason, my deployed reports in Report Services began producing the following error message ; There is an error in XML document (1, 6240). ' ', hexadecimal value 0x06, is an invalid character. Line 1, position 6240. ...Show All

  • Windows Forms Visual Studio Installer - insert License Agreement Dialog

    I am trying to create a simple installer program and wanted to insert a license agreement. I have added a new license dialog, then added the license file in RTF format to the installer project and specified the LicenseFile property of the License Agreement Dialog box. I rebuilded the whole project and still did not see the license text shows up in the dialog. No build errors or warning are reported. What could be wrong Thanks in advance Matador139 Yes, there are text in the license file. I have a test project that I created and it still didn't work. Patrick ...Show All

  • Visual Studio Visual Studio 2005 SP1 doesn't support pre SP1 projects?

    After upgrading to Visual Studio 2005 SP1 I get the following error when I try to open up any existing solution: "The project file '<project>.csproj' cannot be opened. The project type is not supported by this installation. This is the second machine that I have screwed up by performing the SP1 install with identical behavior (It was an independant download of SP1 code.) VS05 with SP1 seems to be able to create new projects fine and it does seem to like its new projects, but doesn't seem to like any pre SP1 projects. You are seeing this message now because of the /resetskippkgs switch. You can try to reinstall the web deployment projects: http://msdn2.microsoft.com/en-us/asp. ...Show All

  • Visual Studio 2008 (Pre-release) DLinq Designer / SQLMetal in Orcas January CTP

    Hello, Just looking at using Linq to SQL (Dlinq) in my final year disseration as it has some really interesting points for me to talk about. I was trying to create a database file (sorry, not sure what the true terminology is) using either the DLinq designer or SQLMetal but I can't seem to find it in the CTP. Will I have to wait until the Feb CTP or use the old May CTP to access this Or am I just missing something Thanks for your time. Ben I think Matt has given the answer here : http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1103109&SiteID=1 Guess i'll just have to wait until Feb CTP. Thanks ...Show All

  • Smart Device Development Which DB should I use for a Pocket PC application?

    I'm planning a Pocket PC / Windows Mobile application, but I'm a bit confused on which mobile database I should start development with.  I've read about SQL CE, SQL Everywhere, and SQL Mobile.  Should I be using SQL Server CE 3.1 for my Pocket PC application   The database will be preloaded with data at design time with read-only information, and will be a "private" installation for a single user application.   My main concern is that the solution can be installed on PPC 2002, 2003 and Mobile 2005.  Am I on the right track Thanks, Jordan   Ilya Tumanov wrote: Next, that's exactly what they would do but f ...Show All

  • .NET Development Netframework 1.1 and 2.0

    I am just a normal everyday home user that downloaded netframe 2.0. I have 1.1 and the hot fix for 1.1 on my pc. Do I need 2.0 on my machine When I go to control panel under "administrative options" everything is 1.1. I plan on upgrading to Vista soon so I was wondering if I was going to need it then. The other question is why does "admin. options" still just have 1.1 Thank you for your help in advance Tim shockley stepsx12@yahoo.com With the .Net framework it will still use the older classes, if a class was not changed with the new release it will use the older version, so use you will need the 1.1 system as well as the 2.0. When you install Vista it will also include the ...Show All

  • Visual Studio 2008 (Pre-release) remoting IQueryable

    Problem: to execute linq query on Iqueryable object that is non local (remote object) Solution: generic IQueryable local proxy that will call some remote proxy, and this remote proxy will locally IQuery remote object why not just remote this Iqueryable remote object – because Expression is not serializable in fact Expression can have local code calls so in some situations it may be hard to serialize it. BUT some subset of all-possible-Expressions-set IS serializable. Actually (today): “could be if done manually” questions: - will there be any mechanism like above solution in final orcas bits - anyone already done such generic IQuerya ...Show All

  • Visual Studio 2008 (Pre-release) Catch Key Combinations

    How can I catch Key combinations in wpf I've tried to use something like this When alt is pressed i set a bool variable to true And when another key is pressed i check this var But it does not work Any ideeas You can do this by using KeyGestures : //------------------------------------------- // ControlXCV.cs (c) 2006 by Charles Petzold //------------------------------------------- using System; using System.Windows; using System.Windows.Controls; using System.Windows.Input; using System.Windows.Media; namespace Petzold.ControlXCV { public class ControlXCV : Petzold.CutCopyAndPaste.CutCopyAndPaste { KeyGesture gestCut = new KeyGesture(Key.X, ModifierKeys.Control); KeyGesture gestCopy = new Key ...Show All

  • .NET Development Problems using port 80: Services not running?

    I have been developing a client/server application for some time now and recently I did a complete reinstall of Windows XP Professional. I have everything working, and everything has been working the past few weeks, so all was good until I had a friend test connect to my server remotely. My server runs on port 80. The problem is that now port 80 is closed on my computer. I have it forwarded to my computer via my router's port forwarding, and I have no firewalls running at all. Windows Security Center is disabled as well. So my question is, are there any services that port 80 depends on for me to be able to accept incoming connections Is there a way I can force it open on my computer I will provide any details necessary. This is kind of u ...Show All

  • Visual C# Toolbox Icons screwed up

    Hey everyone Recently when I opened Visual Studio 2005 I noticed that all of my icons in the tool box are screwed up. Now this isn't the end of the world, but I have noticed that alot of times I am fuzzy on the name of the control over what that dumb little icon looked like. Has anyone see this before Any ideas on how to fix it Thanks Kenzie It happens to me once in a while also. Just right click the toolbox and select "Reset Toolbox" from the context menu to get the icons back. ...Show All

  • Windows Forms should i use MDi or controls

    hi all. i have to create a simple application with a main form and a grid on it. when the user dbl-click the grid rows a second form will show more detail's on that row. i want to build an mdi applicatin, but i was tald that there are bugs in the MDI property and sometimes the mdi lost it's pointer to the child forms, and this is why i sholud you a main form and controls, insted of forms, that will be docked to the main from. is it true I'll second Cos C's opinion. I've done a decent amount of MDI work and haven't encountered any problems that can't be solved by re-reading the documentation and fixing my own mistakes. ...Show All

  • SharePoint Products and Technologies Unable to sent to other location

    Hello everyone, Trying to sent document to other location (to parent subweb) and it ask me to enter password, when I do enter, it shows "unable to contact destination server". Using WSS 3.0 Any ideas Kind regards. I have two sharepoint servers built up and one does popup the login box and the other does not. I can see any differences between the two. Does anyone have an idea what might cause this to happen ...Show All

  • .NET Development Run a process with admin rights

    hi everybody. I have a problem to launch a process with admin rights. The application has to work under Windows Vista (I developp under the last CTP). The account running my application is an admin account and the process I need to launch is "bcdedit.exe". When I run my application, bcdedit (launched by my app) says that it doesn't have enough rights to work correctly. If I run my application by doing right button on it > run as administrator..., the process works correctly but it's not a solution for me. I would like to know if I could run a process specifing rights admin or a windows identity with admin rights. thanks per advance Yes I know. So the runas option shouldn't be the solution to m ...Show All

  • Software Development for Windows Vista /analyze compiler option query

    Hello, Can the /analyze compiler option in Windows SDK v. 6 be used to perform code analysis in an application that is created in VS 2005 Professional IDE If yes, how is it done Thanks, doyle   According to http://msdn2.microsoft.com/en-us/library/ms173498.aspx , the /analyze compiler option is only available for "Enterprise (team development) versions for x86 compilers". Where did you run across the use of this compiler switch in the Windows SDK out of curiosity ...Show All

©2008 Software Development Network