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

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

Fred3000gt

Member List

Nate_NC
Gaëtan POUPENEY
Ovidiu Padurean
Joran Omark
PhilthyPhil
shauli
AndyB_UK_2006
druidly
mae ann
arioule
vtortola
MattFletcher
Boogeyman777
Tryin2Bgood
Michal1979
bobby_macnair
Klinsmann
aclysma
Philski
BortNE24
Only Title

Fred3000gt's Q&A profile

  • Visual Studio Team System Best Practice for Adding a NOT NULL Column

    What's the recommended process for adding a NOT NULL column on an existing table controlled by Database Professional This may seem like a no brainer by editing the table script but follow the process all the way from the time the developer modifies the table script AND uses Write Updates to update the a schema. The Write Updates button will fail because the NOT NULL column cannot be inserted without a default value when the table already has data in it. Do we really have to put a bogus default value just to get the column added We ended up putting a bogus default value so Database Professional could apply updates as it normally does and we could create a SQL script for our DBA to apply the updates to other databases. We then coded a ...Show All

  • Visual Basic Regression Equation / Statistics in VS 2005

    Is there an easy way to create a regression equation based on certain data located in variables Or do I have to get out the 'ole stats book and write the code manually I couldn't find anything in the help file about this, so I may be out of luck! Thank you! -Corey Great suggestions, thank you for taking the time to help me. I will be working on this tonight and (hopefully) I will have it figured out and into my code by the morning! I will defenately post my code on here when I get done incase anyone else needs this in the future. In answer to your question, I am not sure if I will need it on a regular basis, but I may. I will be writing similar programs in the future, so I'd like to figure out the best ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Bitmap Font problem

    Hi, i have problem when using font in simple 3d scene, source code: protected override void Draw( GameTime gameTime) { mGraphics.GraphicsDevice.Clear( Color .CornflowerBlue); // draw car transforms = new Matrix [mCar.Bones.Count]; mCar.CopyAbsoluteBoneTransformsTo(transforms); Matrix carRot = Matrix .CreateRotationX(mVehicle.DiffFb) * Matrix .CreateRotationZ(mVehicle.DiffLr) * Matrix .CreateRotationY(mCarRotation); Matrix carPos = Matrix .CreateTranslation(mCarPosition); Matrix carMat = carRot * carPos; foreach ( ModelMesh mesh in mCar.Meshes) { foreach ( BasicEffect effect in mesh.Effects) { effect.EnableDefaultLighting(); effect.World = transforms[mesh ...Show All

  • Visual Studio Express Editions Keycode for '9' key and 'period' key

    I am reseting the number '9' key (across the top of the keyboard) to '0'. At the same time, I am reseting the period key to the number '9'. When I pressed the period key, the number '0' appears. Can anyone tell me how to keep this key, the period key, from showing the number '0' and show the number '9' instead My code is below. If e.KeyCode = Keys.D9 Then e.SuppressKeyPress = True If e.Shift Then SendKeys.Send( "0" ) Else SendKeys.Send( "0" ) End If If e.KeyCode = Keys.U Then e.SuppressKeyPress = True If e.Shift Then SendKeys.Send( "1" ) Else SendKeys.Send( "1" ) End If If e.KeyCode = Keys.I Then e.SuppressKeyPress = Tru ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Using xna with windows forms???

    Is it possible to draw with Xna, on my windows form, if so, how because when you have it draw, the normal way, it automatically pops up its' window, also, even if the 1st one is possible, game components are like controls correct Could somebody also point me in the direction of\ tell me how to use them, the basics, otherwise I wouldn't be asking this question, I just started working with Xna. Predator14567 wrote: This didn't help me out alot, that Toni Greco's space thing, is just what I need, drawing to a picturebox, but it must be for beta 1, because it has a bunch of compile errors, and I'm not going to use some 3rd part item to get what I need. You might be able to create a new project an ...Show All

  • SQL Server Error while restoring database

    Hi, Im trying to restore a database, when i try to restore by selecting the file groups option it gives me an error Microsoft SQL DMO The backup set holds a backup of a database other than the existing database. RESTORE DATABASE terminated abnormally. I tried deleting all the tables and the stored procedures that are there, but it still gives the same error. In Express, click Options on the left and check the field called 'Overwrite the Existing Database'. Also, you may need to change the mdf and log file names to your new database. ...Show All

  • Internet Explorer Development access key

    i have a problem with access key i have setting for my website the access key but in intenet explorer 7 the keys isnot works for example i use the combination: alt+1 e invio for open one page do not work but in internet explorer 6 this selection works fine. ...Show All

  • Visual Studio Team System automatic bug creation

    I am currently running tests in Team suite edition for testers. Upon a test failure, is there any way to automatically generate a bug in TFS as opposed to right clicking the failed test and generating the bug that way Thanx Hello, We currently do not support that option. Tests can fail by several reasons, and sometimes it could be that something weird or external happened and made the test fail. If this was the case, then Visual Studio would automatically open many bugs for you, and they may not even be bugs. This was one of the causes that lead us not to go for the automatically-generated bugs feature. We do appreciate your feedback and will consider adding a switch to enable that in future ver ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. set resolution

    How do you set the screen resolution (and full screen options) in beta2 If you are using the app model, you can set a preferred Backbuffer size on your GraphicsManager component. Before you call ToggleFullScreen() you can set a preferred full screen resolution seprately and vice versa when you switch back to windowed. ...Show All

  • Windows Forms Setup project help

    Where i can find detailed guide or HOWTO on Setup project configuration For example i'd like to ask user to enter IP of the destination machine and being able to put it into my application's configuration file. ...Show All

  • Visual Studio Express Editions Image as Thumbnail in Data Grid?

    I did a search through the knowledgebase, but couldn't find anything about this. I have a SQL Database, and want to display an image as a thumbnail in one of the data fields. I cannot figure out how to do this, but figure it must be possible. Any help would be greatly appreciated. I would like it to take a large image and resize it automatically for the thumbnail, but don't want to impact performance too badly, so any suggestions would be greatly appreciated. Thanks, -Matt That's not what the code said. I was giving you an example. You need to instantiate an image class as a class. You need to get your sql data into it and convert it into a thumbnail. System.Drawing.Image.GetThumbnailImage ...Show All

  • Windows Forms Help in implementation of a magnifying glass

    I have an image viewer application which I want to apply a magnifying glass effect on certain area of the image. The problem I've run into is that when I slowly dragged the magnifying glass across (when left mouse down) the magnifying glass window didn't move smoothly. I believe it has something to do with drawing the graphics of the original image on the background. May someone please help me solve this issue Thanks. Actually I wasn't using BitmapData class to deal the the magnifying work. Basically I have two classes: (1) MyImageViewer and (2) MyMagnifyGlass In the MyMagnifyGlass class, I have the following code to move the magnifying window to center to the mouse location: public void MoveTo(Point locat ...Show All

  • Visual Studio Team System Encrypted values in QueryString Parameters

    Hi, We have recorded a web test and after the script is generated we find that there are few encrypted values in the request. Please find few sample request below ==================== Dim request18 As WebTestRequest = New WebTestRequest( https://qa- ) request18.ThinkTime = 2 request18.QueryStringParameters.Add( "Header_Id" , "ZjaaaKSoX6YkTLXoAfrnpQ%3d%3d" , False , False ) request18.QueryStringParameters.Add( "Sc" , "82cd1XJzrSzSyKV3Cy5%2bUw%3d%3d" , False , False ) request18.QueryStringParameters.Add( "Index" , "uEBrMvrdMkGDemlwKGVRhA%3d%3d" , False , False ) request18.QueryStringParameters.Add( "ReadOnly" , "XNoVULiY ...Show All

  • Visual Studio Team System Table Variables crash Import Database Schema

    In my database a single user declared function contains table variables and insert statements into those table variables. When the Import Database Schema command is run only some functions and some stored procedures are imported into the project and although all tables are imported none of their indexes, constraints, and keys are imported into the project. After dropping the single function with the table variables and rerunning the Import Database Schema command, the entire database schema is successfully and correctly imported into the project. This could be related to this CTP3 issue: https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx FeedbackID=137843 ...Show All

  • Visual Basic Need help exporting VB.Net variables/data to VBA macro

    Hi I'm using VBA AutoCAD for drawing, but instead of defining parameters in VBA, I would like to take those parameters from VB.Net codes. Here is an example Sub CreateCylinder() Dim CylinderObj As Acad3DSolid Dim center(0 To 2) As Double Dim radius As Double Dim height As Double ' Define the cylinder parameters center(0) = 5#: center(1) = 5#: center(2) = 0 radius = 10#: height = 20# ' Create the cylinder in model space Set CylinderObj = ThisDrawing.ModelSpace.AddCylinder(center, radius, height) End Sub This VBA code will create a cylinder at co-ordinates (5,5,0) with radius = 10 and height = 20. I would like to know how to link or export these parameters from VB.Net to VBA AutoCAD for plotting. Many t ...Show All

©2008 Software Development Network