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

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

ReyCri

Member List

Hemant Hindlekar
sherif attia
Dan-Teklynx
english_d
Captain007
Roozbeh Sharafi
David N.4117
ericc59
Leo Kent
nop
Sharma Rahul
Stigern
humberto molina
JSantos196912
Christophe De Langhe
Justin Voshell
tyler2424
Susan S
Aaron L
Thomas S. Andersen
Only Title

ReyCri's Q&A profile

  • .NET Development Derived types and System.Collection.Generic.Dictionary?

    Hi, I have a Dictionary in one of my classes: private Dictionary<string, RobotPart> _parts = new Dictionary<string, RobotPart>(); RobotPart has many derived Classes (Rod, Joint, Body, etc.) . I have a method called GetFlatPartList that flattens out a treelike structure of RobotPart objects, for easy iteration through the child objects. Hopefully, once I hit "post" my tabs will be kept for the following method: EDIT: I took this method out, and placed it in the following post for readability Now, my problem is that my program will crash, giving me an invalid cast exception when I am trying to search (using a for each statement) for any Type other that RobotPart, even though they (Joint, Rod, Body, etc.) are ...Show All

  • Visual C++ Compile Errors

    Hi all, I am trying to build a Win32 project under Windows Vista using VC++ Express. I am getting the following compile errors. The same project compiles fine on VC 7.1 on Win XP. I get Error in winnt.h. 1>c:\program files\microsoft platform sdk\include\winnt.h(894) : error C2988: unrecognizable template declaration/definition 1>c:\program files\microsoft platform sdk\include\winnt.h(894) : error C2059: syntax error : '(' 1>c:\program files\microsoft platform sdk\include\winnt.h(894) : error C2090: function returns array 1>c:\program files\microsoft platform sdk\include\winnt.h(894) : error C2988: unrecognizable template declaration/definition 1>c:\program files\microsoft platform sdk\include\winnt.h(894) : error C205 ...Show All

  • Visual C# Help required to solve circular dependency problem in vb2005

    I am working on an application design that requires two projects to cross reference each other. I found the excellent Formfactory / Interface example/solution (listed below) on this forum. Unfortunately I am not C# literate. I understand and appreciate the method, but my attempt to convert it into vb2005.net has been defeated by the C# syntax. I would greatly appreciate someone (multilingual) providing a translation into vb2005.net Here is the C# solution: The pattern to solve this is abstract class factory , together with the singleton pattern. What you have to do is the make a classfactory for the forms . This classfactory you can place in your main program, which anyway MUST reference your assemblies, thus it w ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How do I load a 3d mesh (.x file)?

    How do I load a .x mesh into my scene The space game seems to use its own format (which it names .swm), and there's nothing in the help. I've been scanning through through the classes in the Framework namespace, but I can't see anything obvious! Is .x the recommended format for objects like this (If not, I change my question to be about the recommended format :D) If anyone knows anywhere that has some nice .x meshes I can play with, that'd be cool too. The only one I have lying around is a chair, and that's going to look a bit funny running around my game :D The Content Manager is part of the framework so it exsists in the Beta. However all the stuff you need to get you data in the Model format is n ...Show All

  • SQL Server Noobest question

    Hi everyone i know sql well yet i'm the noobest u can find in terms like DataWarehouse... I just installed sql server 2005 got a database with 1 big table in it. i was asked to "Build a data warehouse table based on existing table(s)..." this setence has a sense to it what the hell is a data warehouse table ... i checked lots of sites and docs about data warehouse and feel kinda lost of all the info regarding stuff like "analysis service" "integration tools" "bi studio.." "reporting service" .... where should i start in order to create this "data warehouse table" (no redundancy) i was asked to Your help(+patience...) would be most appreciated - :-) th ...Show All

  • Software Development for Windows Vista Windows Workflow

    Hello Sir, Sir Acually I have have a handleExternalEvent activity embedded in a while activity ...all in sequentialworkflow. I now have my class UIEventHandlerEventargs which inherits ExternaldataEventArgs. In the handleExternalEvent activity i have an handler named onreceivemessage() which takes two parameter .... Now the problem is when i say public void OnRecieveMessage( object sender, ExternalDataEventArgs e) it does give an error but i want it as public void OnRecieveMessage( object sender, UIEventHandlerArgs e) which gives me error ... the mapping of eventname to handler related things i have done ... Please could u help me out... Hoping for your response. The second parameter of the e ...Show All

  • Visual Studio Express Editions How to make a program fade out

    i made a timer that deducts 1% of the opacity each .1 of a second but that didnt work.....so i stumped how can i make a window fade in or out thanks ahead Joseph Stalin Opacity goes from 1.0 down to 0.0 (100% = 1.0, 0% = 0.0, 50% = 0.5). me.Opacity = 0.5 Gives 50% opacity. ...Show All

  • Software Development for Windows Vista manifest authoring warning 81010002: Unrecognized Element "requestedPrivileges"

    I am getting this warning after adding trustInfo for TEST CASE #1 manifest authoring warning 81010002: Unrecognized Element "requestedPrivileges" in namespace "urn:schemas-microsoft-com:asm.v3". <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"> <security> <requestedPrivileges> <requestedExecutionLevel level="asInvoker" uiAccess="false"/> </requestedPrivileges> </security> </trustInfo> </assembly> How are you putting the manifest info into the exe This might be related to your problem: http://connect.micr ...Show All

  • Smart Device Development when a socket listen on ppc 2003 what is the correspondant port on pc?

    I have one ppc 2003 connected through an USB cable to a pc (activesync 4.2) but i can't find any way of connecting (sockets) from a pc app to a ppc one that is listening... Is there a port translation between them example: TcpListener mylistener = null ; try { mylistener = new TcpListener ( IPAddress .Any, 2072); } catch {} mylistener.Start(); TcpClient myclient = new TcpClient (); while (!mylistener.Pending()) { Thread .Sleep(500); } myclient = mylistener.AcceptTcpClient(); On pc i think ppc Ip is 127.0.0.1 (local loop) but what about the 2072 port TcpListener mylistener = null ; try { mylistener = new TcpListener ( IPAddress .Any, 2072); } catch { } mylistener.Sta ...Show All

  • SQL Server Migration to SQL Server 2k5

    Hi all, I have script written in SQL Server 2000. When i tried to migrate to SQL Server 2005, it is working fine in the SQL Server 2005 installed in Windows 2003 Server . System tables(syscolumns, sysobjects etc)are created in "Database->Tables->SystemTable". But when i tried to run in SQL Server 2005 installed in Windows XP , I'm facing the following problems. 1."The object 'CK_SavedSear_LastL_4B422AD5' is dependent on column'LastLoadedTime' "ALTER TABLE DROP COLUMN LastLoadedTime failed because one or more objects access this column" 2.Moreover none of the tables had been created in "Database->Tables->SystemTable". In both XP and 2003 Server, While installing, i hav ...Show All

  • Visual Studio Tools for Office Databinding CheckedListBox .Net 2005

    By luck I'd already stumbled across the datasource as I had replaced a normal listbox of the same name and the code continued to work. I have a further requirement - I am binding to a generic collection of objects, for the sake of argument lets call them "Person" objects. Say each Person object has a property of "Married" which is a boolean value. What I'd like to do is bind the checkedlistbox to the Person collection and then bind the Checked property of each item to the married property. That way all of the married people are checked. Seems to make sense to me - Is that possible, or do I have to work around it in code Hi John It's always dangerous to post a follow-up on an old ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Help on writing text on the screen?

    I'm well on my way to finishing my first mini game called planet defender. What I need now is a way to display the score the player has on the screen. How do I draw text onto the screen Here's a quick image of my game so far :): http://www.rocketsoft.gm-school.uni.cc/uploads/Screenshot.JPG   OrpheusTheBard wrote: Message="Object reference not set to an instance of an object." Hope this post was able to help you at least a bit... You should look into Object Oriented Programming tutorials and books to get a better grasp of these concepts, because it's a vital part of working with C#. So just put "SpriteBatch batch = new SpriteBatch(graphics.GraphicsDevice);" on your Draw function, or otherwise declare the reference ...Show All

  • Visual C++ Symbols different on x64 vs x86

    I have a 32-bit app that I am trying to port to 64-bit. I've noticed that for exported C style functions that the leading _ gets dropped by the 64-bit compiler. For example, from dumpbin /symbols: From 32-bit object file: 00D 00000014 SECT3  notype       Static       | _GetEnvFunc From 64-bit object file: 00C 00000028 SECT3  notype       Static       | GetEnvFunc All of the compiler flags are the same, except that -DWIN32 and -D_X86_ have been replaced with -D_WIN64. For the linker /machine:x86 has been replaced with /machine:x64 and all other flags are the same. The problem is that the above ...Show All

  • Visual Studio 2008 (Pre-release) How come this FaultException gets bi-passed by the Global.aspx On_Error handler?

    Before WCF, I remember this behavior when using the WSE extensions to call webservices and getting unexpected results that caused the soapformatter to choak before passing control to the asp.net page. But can someone fill me in on why we get this behavior when using the WCF libraries I have a ASP.NET web page instantiating the WCF proxy and calling a WCF service over httpbasic bindings. For some reason, this generic fault exception did not get caught by the global.aspx error handler. Thanks! -B. Server Error in '/' Application. There are a few things happening here. When you throw a FaultException, or an Exception of any type at the service, it is wrapped in a FaultException in order to serialize the SOAP fault. At the web p ...Show All

  • Smart Device Development BitBlt WinApi

    Hello In our application we get drawing commands over the serial interface. Therefore we created on offscreen buffer. Most the changes are small(draw text, set pixel, ...) at WM_PAINT we copy the offscreen buffer to screen BitBlt(hDc, 0, 0, 800, 600, gOffScreenHdc, 0, 0, SRCCOPY); this is very slow. Between 15 and 60 msec. Is there a possibility to copy only the changed rect to screen Thank you very much ...Show All

©2008 Software Development Network