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

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

Simpson474

Member List

Jeff_LIU
Dark Pontiac
paoloTheCool
matthew_arena
jrcdude
SOAC
newbieneedshelp
clay.routh
mfmh
da Vinci
Darius R
Chandra4332
vijayjun
jss42
Thrix
Can-Ann
Masoud Farahani
AstAn
mspinder
Sarguna
Only Title

Simpson474's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Relative mouse pos

    Mouse.GetState(); Returns absolute position, for x, y and mouse wheel. That is cool But also it should return relative position like DX and DY and DWheel. Like DirectInput does. Kobingo wrote: Then I have to calculate the relative position myself (relativePosition = oldPosition + newPosition). If the mouse cursor already is at X=0, then my game code won't respond to the mouse when dragging it to the left. (relativePosition = 0 + 0) = (relativePosition = 0). You can get the relative mouse movement by reading the mouse position as an offset from the centre of the game window and then setting the mouse position to the centre of the game window. There were problems doing this i ...Show All

  • SQL Server Configuration of Reporting Services

    obviously until I get this sorted I cannot deploy my reports in my Reporting Services Configuration All ticked except initialisation (3) in Database services ticked but on the right hand side there are warnings/errors Verifying Database Edition - ticked Verifying Database Version - warning The current connection string is not valid and can't be used to connect to SQL Server Where do I check this (1) Creating A Grant Rights script for LocalSystem = ticked Assigning Reporting Services Rights to User = error (2) System.Data.SqlClient.SqlException: The role 'RSExecRole' does not exist in the current database. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at Syste ...Show All

  • Visual C++ error LNK2005: __mbctype already defined

    I'm moving an older project from VC6 to VC8 and I have it compiling. I've encountered some linking issues. I researched the problem and was able to resolve a few of the errors however I cannot resolve the link error __mbctype. See the following text dump from the linker. Linking... Searching libraries Searching C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\lib\Nafxcwd.lib: Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\Libcmtd.lib: Libcmtd.lib(mbctype.obj) : error LNK2005: __mbctype already defined in mbctype.obj Searching C:\Program Files\Microsoft Visual Studio 8\VC\lib\kernel32.lib: Searching C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\lib\user32.lib: Searching C:\Program Fil ...Show All

  • Windows Search Technologies Previews of attachments... disabled?

    While evaluating WDS v 2.06.5.5378 I am confused by the following issue: In the list of found Documents there are several Acrobat 7 documents. All display in the preview pane except for one. The one that won't display a preview, while the filetype is Adobe Acrobat 7 doc -- just like all the others, in the Folder column it shows to be an attachment to an Outlook email in my Inbox. In the preview pane there's a yellow box saying "Previews of attachments with this file extension are disabled". How does one enable previews of PDF attachments I should think since WDS is able to show previews of actual PDF files it should be able to show this one, too. Also, I noticed that before I installed "ifilter60.exe" WDS found ...Show All

  • Smart Device Development Does the web server of Windows CE have a name and version number?

    Does the web server of Windows CE have a name and version number or is it just a feature of Windows CE I've found out that it's a slimed version of IIS but my boss wants to know as much as possible about it. I can't post at http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.windowsce.embedded . All I get is "Page can not be shown". /Lars Hi Lars This is component (call if feature) of Windows CE. The is no name or version number (maybe except the OS version). To get a good overview what's supported, read the Platform Builder docs available here: http://msdn2.microsoft.com/en-us/library/ms899583.aspx (for Windows CE 5.0) http://msdn2.microsoft.com/en-us/library/aa923 ...Show All

  • Visual Studio Tools for Office Managing documents from Custom Task Pane

    I have been experimenting with VSTO 2005 SE and Office 2007 and would appreciate if someone could help me with the following: I would like to open different documents using a custom task pane and switch between these documents. I can create and open the first document. When it comes to the second document, it gets created on a different window (where my custom task pane is not visible). From the immediate window in the document VBA I can easily switch to another windows via Application.WIndows(index).Activate command. However I can't achieve the same result through the Add-In. Furthermore, the second document does not respond to the Ribbon button that toggles its display. How can I programmatically switch to the sec ...Show All

  • Visual Basic How to assign existing Controls to Different Parents

    I have two panel controls let's say x and y. I want to use y over x but without y being a child of x. Is there any way to acomplish these. Thanks. If I understand you, your problem is Y becomes inside X. Ok, create a form, add panel X. Now add panel Y. As you know, as soon as you move it over, it goes inside. You can break them apart with cut and paste, select Y. Cut. Click on Form. Paste. To move them over each other, you can just change the location prop, you could use code todo this. Or, the code way. this .x = new System.Windows.Forms. Panel (); this .y = new System.Windows.Forms. Panel (); this .x.SuspendLayout(); this .SuspendLayout(); // // x // this .x.BorderStyle = System.Windows ...Show All

  • .NET Development ERROR: The path is not of a legal form.

    I started getting this occasional error. Usually it goes away when I rebuild. Any idea why this is happening --------------------------- Error Detail --------------------------- The path is not of a legal form. System.ArgumentException: The path is not of a legal form. at System.IO.Path.NormalizePathFast(String path, Boolean fullCheck) at System.IO.Path.GetFullPathInternal(String path) at System.Reflection.AssemblyName.GetAssemblyName(String assemblyFile) at Microsoft.VisualStudio.Design.VSTypeResolutionService.AddProjectDependencies(Project project) at Microsoft.VisualStudio.Design.VSTypeResolutionService.AssemblyEntry.get_Assembly() at Microsoft.VisualStudio.Design.VSTypeResolutionService.AssemblyEnt ...Show All

  • Windows Forms Folder Browser Dialog -- Disk Error

    When using the folder browser dialog, how do you trap or prevent the "There is no disk in the drive. Please insert a disk into drive ..." dialog. This is happening for disk which the system has identified as removable media. Excel doesn't experience this problem, I believe I should be able to achieve the same level of performance. Mark, The code to invoke the folder browser dialog is shown below. Is there an easy way to obtain the settings on the Form for posting I can put a breakpoint inside the catch (never happens) and run with the debugger and not experience the error. Thanks private void btnSelectLMFolder_Click( object sender, EventArgs e) { // Open a folder selecti ...Show All

  • SQL Server Encrypt Data

    Hi, In SQL2000 i need to Encryptdata when I export data using DTS.LikeWise I should when i import data I should authenticate that user and decrypt that. Can any one help Thanks, Karthik vgvKarthik wrote: Hi, In SQL2000 i need to Encryptdata when I export data using DTS.LikeWise I should when i import data I should authenticate that user and decrypt that. Can any one help Thanks, Karthik Yeah. Try a different forum. This has got nothing to do with SSIS. -Jamie ...Show All

  • Smart Device Development Webservices in smart devices

    Hi All, Iam facing 1 problem with 1 of my application created in VS2005 . My application tries 2 call a webservice asynchronously at some point of the application but it always ending with an exception like threading/ web exception. The application run successfully in VS2003 without any error. How can i solve this issue.. Help me please Ratheesh Oh, you're using emulator Then you have to enable networking support on emulator or cradle it and get connection via active sync. If you don't know how, please search emulator support forum , it’s been covered. ...Show All

  • Visual C++ Microsoft Visual C++ Runtime Library

    I have experienced problems with my MusicMatch Jukebox. It became corrupt and fried my external hard drive with about 90 gigs of music/movies. I lost all of those files and had to reformat the drive as well as mess around with my PC's BIOS. Finally I uninstalled MusicMatch, reinstalled it only to have this message appear. Microsft Visual C++ Runtime Library Program: C:\Program Files\MusicMatch\MusicMatch Jukebox\mmjb.exe This application has requested the Runtime to terminate it in an unusual way. If anyone has any solutions or has experienced similar problems please help me out. I am not very knowledable with computers and not having access to music really hurts. Thanks i just deleted musicmatch, sent my hard driv ...Show All

  • Windows Forms Coloring TabControl.

    As far as I can see TabControl object has no properties of either Back or ForeColor. Is it possible to assign these properties to this object Another question: TabPage object does have both properties but when you assign a color to it it does not cover the whole TabPage: the tab itself remains gray. Is it possible to give it colors Many thanks. AlexBB wrote: Mick Doherty wrote: edit: Fixed the first link. Mick, thank you again. I want to add one more challenge for you. This is the problem I've encountered and haven't been able to solve so far cleanly. It works only partially for me, although I haven't given it a lot of attention yet. I generate TabPages at ...Show All

  • Visual C# Where is csc.exe in NET 2.0 SDK?

    To all, I have downloaded the .NET Framework Software Development Kit (SDK) version 2.0 and there doesn’t seem to be a csc.exe. I have C# Express installed, but I am just learning the language and it is my experience that to really learn a language it is best learned without the assistance of a fancy GDE. So I just want a cmd prompt. Additionally the book I am using is an older copy of Jesse Liberty’s ‘Programming C#’ (O’Reilly, 2001) and the examples use csc.exe. From what I can tell it should be under ‘C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin’, but it isn’t. Help John Garrett no worries. you need to download the .NET Framework, its included in that. not sure about the SDK however (wouldnt see why it wouldnt be in ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Line of sight

    I am currently working on an RPG using XNA and I was wondering if anyone has implemented a line of sight algorithm on XNA. The game uses a grid of squares, and I need to know which squares are visible based on what square the character is in. I have an array that I can use to determine which squares the character can see through, but I can't think of a way to determine which squares the character can see.  I somehow need to determine which squares are on the other side of a wall, for instance. I hope I am clear enough. Thanks for the help guys. I need to do a lot of reading. I've no idea what a raster is right now. I'm gonna have to do a lot of research. I never imagined how complicated LoS would be ...Show All

©2008 Software Development Network