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

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

jbe2277

Member List

Howard Pinsley
David S. Anderson
jeka804
IceAngel89
ReneeC
Lawrence 007
dayjur
Oroborus
Suman Ghosh
Flap
Basani
maulikk
Hassan Ayoub
nbrege
Rakesh Luhar
jackline
Arkady Frenkel
prenney
Peter Larsson
Jorge Lalinde
Only Title

jbe2277's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. camera

    hi all, i have dx rendering a ballmesh with a texture at the origin, and i want it to rotate when i press up, dx is already reading my keyboard... but wat do i do any help would be appreciated ok, i will explain clearer, and yes im using c# using directx meshs i have a sphere, which is 1st placed at the origin (0,0,0) i also have a texture which is applied to the mesh when i press up i want the sphere to spin, not move, just spin in a forward direction currently, i read the keyboad like so: private void ReadUserInput() { di. KeyboardState keys = keyb.GetCurrentKeyboardState(); if (keys[di. Key .Up]) { } and i render the ball like so: dev.SetTexture(0, ball.Texture); dev.Transform.Worl ...Show All

  • Windows Forms pack my program with visual studio 2005

    Hi all, How to pack my program to MS window installer with visual studio 2005 I tired serach some infomation with google, but the info not very good. Who can give good refer to me. Best Regards, These are Visual Studio 2003 but still relevant: http://simple-talk.com/dotnet/visual-studio/getting-started-with-setup-projects/ http://simple-talk.com/dotnet/visual-studio/visual-studio-setup---projects-and-custom-actions/ http://simple-talk.com/dotnet/visual-studio/updates-to-setup-projects/ ...Show All

  • Visual Studio Team System How to make unit tests for internal classes?

    Hi, I have got a problem with Unit Testing framework. Because some classes in my projected are marked "internal" so they cannot be seen from outside of the assembly so that I cannot create unit tests for them. Anyone has any suggestion Thank you. One possible way to do this would be to give your unit test assembly a strong name and add the InternalsVisibleToAttribute[<unit-test-assembly>] to the assembly you want to unit test. Or you could create wrapper classes around the classes you want to test that expose the internal and private members. ...Show All

  • Visual C++ Rand Num Gen Accuracy

    So I have this random number generator I found searching through the net. I wanted an actual random number as opposed to just using rand(). Anyway I just want to know how good everyone thinks this is and how you could make one that's better. I understand the basic idea of a random number generator is to use the system clock (reason being - no two values are ever the same) and I have looked through the code but I haven't quite figured how to make a random number generator myself. This generator uses seconds and I've questioned that. Should more of the clock be used When my code executes and it takes less than a second, won't every call to the random number generator be the exact same I tried to make a card generator and when I put anothe ...Show All

  • Software Development for Windows Vista Accessing workflow instance members from WorkflowInstance (runtime event handlers)

    Hi All, Is there a way to retrieve a strongly typed reference to the actual running workflow from a WorkflowInstance instance More details: I have a runtime event handler (loaded, idled) that receives a WorkflowEventArgs parameter. In that method I would like to access some of the instance properties (DependencyProperties) of my own workflow class. The only object I have in that method is a WorkflowInstance with an InstanceId. So the question is, how can I get a MyWorkflowClass instance if I have an InstanceId Thanks in advance. I started a previous thread stating the same complaint. This is rediculous design (IMO). Honestly, I am not saying this to offend - but it is my perception - Stop p ...Show All

  • SQL Server SQL2000 publisher > SQL2005 subscriber on different port

    Hi, I'm trying to setup replication using SQL 2000 as the publisher and SQL 2005 as the subscriber. The problem I have is that the SQL 2000 instance is running on a non standard port 1083, so the name of the instance I'm connecting to is: TESTPC1\SQL2000,1083 SQL 2005 requires you to provide the " requires the actual server name " which would be " TESTPC1\SQL2000 " which unfortunately will not work as it's on a different port. The error message I'm getting when attempting to setup the subscription on SQL 2005 Management Studio is this: TITLE: Connect to Server ------------------------------ Cannot connect to TESTPC1\SQL2000,1083. ------------------------------ ADDITIONAL INFORMATION: SQL Server replication requires the actua ...Show All

  • Visual Studio Unable to assign Macro Key Assignment

    Hi, In VS2005, I would like to assign a macro to the number 5 key on the numberic keypad: Num 5 (for use when the numlock is not engaged). It seems that I can not get VS to recognize the key assignment. I even tried to modify the settings xml and import it - to no avail. Anyone have any suggestions -Marc- Hi Marc, Unfortunately, VS does not support binding commands to this key. James Lau Program Manager, VS Ecosystem http://blogs.msdn.com/jameslau/ ...Show All

  • Visual Studio Express Editions LINK : fatal error LNK1104: cannot open file 'user32.lib'.

    Hello,   I've tried everything to get ANY program to work and they won't. Not even "Hello World" or code copied directly from help.   Always the same:   LINK : fatal error LNK1104: cannot open file 'user32.lib'.   I've read all the suggestions here, followed all the directions including from the websites:     1. Uninstall beta versions   Before installing, you must uninstall any previous versions of SQL Server 2005, Visual Studio 2005, and the .NET Framework 2.0 (this includes Tech Preview, Beta, or CTP versions).   2. Download and install Visual C++ 2005 Express Edition!!   3. Register   4. ...Show All

  • Windows Forms DrawToBitmap missing!

    Hi I'm trying to use the DrawToBitmap function of a Panel to print it but it doesn't come up in the intellisense and it doesn't compile if I type it in manually. Anyone have any idea why Thanks in advance Pom. private : System::Void printDocument_PrintPage(System::Object * sender, System::Drawing::Printing::PrintPageEventArgs * e) { Graphics * g = e->Graphics; Bitmap * bp = new Bitmap( panel1->Width, panel1->Height ); panel1->DrawToBitmap( bp, this ->ClientRectangle ); } Thats it. Pretty straight forward so far. I get the following compiler error C2039: 'DrawToBitmap' : is not a member of 'System::Windows::Forms::Panel' ...Show All

  • SQL Server How do I programatically fail my custom destination component?

    I am writing a custom dataflow destination that writes data to a named pipe server running in an external process. At runtime, in PreExecute, I check to see if the pipe exists. If it does not exist I want to be able to fail the component and gracefully complete execution of my package. Question is, how do I do this If I make a call to ComponentMetaData.FireError() that will only create an OnError event and not actually stop the execution. So, how to I halt the execution of my component and return the error message Thanks, ~ Gary Is there any special reason for wanting to actually fail the component It may be cleaner to check in the control flow, previous to the dataflow step, if the name pipe exists ...Show All

  • Microsoft ISV Community Center Forums VBA w/ Word 2000 - keep form on top of all applications

    Does anyone know of a way to make a form stay on top of all applications or even on top of all open Word documents I want a form that stays on top even if I minimize its parent Window (the document from which it was launched). I want it to stay on top even if I click on another Word document. Is it possible I've used the SetWindowPos function, but as soon as I minimize the form's parent, the form minimizes as well. I've tried using the SetParent function and the GetDesktopWindow function to make the desktop the forms parent, but for some reason the GetDesktopWindow seemed to return the same handle as the form's parent Word document. Any help would be greatly appreciated. Hey Derek - Thanks for y ...Show All

  • SQL Server Error installing SQL Server 2005 editions on Windows VISTA

    There are numerous posts regarding this error when installing SQL Server 2005 on Windows Vista RTM thus I am starting a new thread in order to get resolution one way or another: SQL Server Setup failed to execute a command for server configuration. The error was [SQL Native Client]Windows user or group "\USERNAME\SQLServer2005MSFTEUser$USERNAME$MSSQLSERVER" not found. Check the name again... The error occurs when installing SQL Server 2005 Developer Edition, SQL Server Express SP1, SQL Server Express SP2 CTR (with or without the SP2 Toolkit package installed beforehand). The error occurs with or without UAC. The installation then fails. Please advise if you have any insights. SQL Server Express SP2 CTR was announced as a workable v ...Show All

  • Visual C# reg - Tree View

    hi, I have a set of parents & each parent has a set of childrens with them in a tree view.. the childs are getting deleted when selected and when the parent is selected the parent along with the Childs are getting deleted. but when The parent And the Corresponding childs are selected and when i try to delete system throws exception while deleting from the collection. is it possible to restrict the user to either select the parent or child You got an exception because the order of delete is not correct. Whenever you want to delete a branch, you have to delete the children before delete the parent. When you selected both parent and children, which node is going to delete first If the parent is deleted before the ...Show All

  • Visual Studio Localreport w/Image control, source=database

    I'm using VS 2005, C#, a ReportViewer in a windows form, LocalReport, and an Image control with source=Database. The ReportViewer's LocalReport.EnableExternalImages=True and ProcessingMode=Local. The image is a bitmap in a datasource. When I run the report, I get the red "x". Outside of ReportViewer, I can see the image using a PictureBox control (pictureBox1.Image = DiagramBitmap;). Within ReportViewer I'm using an Image control with MIMEType=image/png, Source=Database, Value=First(Fields!DiagramBitmap.value). I've tried different selections for Sizing (FitProportional, Clip, AutoSize), but the results are the same. Other non-image fields in the datasource are not a problem. Does anyone know how to get more information ab ...Show All

  • .NET Development How to create AppDomains when assemblies reside in IsolatedStorage?

    The project entails a server that hosts the running of user code in sub AppDomains. A specific directory in a non-roaming IsolatedStorageFile contains the assemblies the user code references. For file system security reasons, it is desirable to be able to point the new sub AppDomain's base directory to a sub directory of the isolated storage file. Is there someway of doing this - without copying files to the actual FS For example, by refering to the actual ISF directly via:<SYSTEMDRIVE>\Documents and Settings\<user>\Local Settings\Application Data\<ISFName> How would the ISF's file name be determined in this case More generally, a furture requirement for the server is to allow cabinets or zip archives to be us ...Show All

©2008 Software Development Network