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

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

sroughley

Member List

EWoodruff
athscorpion
Jon Watte
Shauliz
Marcin Książek
MartinMalek
Antioch
helpermonkey
RobSteele
XNA Rockstar
Safar
Bobz0rz
Henrik Skak Pedersen
victu
R Raghu
randyvol
Gravy
project2n5e0o1
LouA
Alex Bibiano
Only Title

sroughley's Q&A profile

  • Windows Forms Graphics Issue

    Hi, I'm developing a Windows Forms Application which requires intensive graphics usage. At one point I need to show a grid on a control, which is ofcourse used to arrange controls (much like in the designer of Visual Studio). The problem is that when the grid size becomes small enough, there is a noticeable delay when moving an object. This is obviously because in the Paint event of the control, the grid has to be redrawn every time in order to be visible on the control. All this extra drawing is really unnecessary because once the grid size and location are set, it becomes static. My question is that: Is there a way to save the grid in an image (once it has it's parameters set) and siply draw that image inder the controls I need to ...Show All

  • SQL Server error while attaching database

    hi all i am working on sql server 2005 When i am trying to attach database in my server i am getting following error. Plz help me to fix this error. the error as as follows : Attach database failed for Server 'myserver'. (Microsoft.SqlServer.Smo) For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft+SQL+Server&ProdVer=9.00.1399.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Attach+database+Server&LinkId=20476 ------------------------------ ADDITIONAL INFORMATION: An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo) ------------------------------ Could not find row in sysindexes for database ID 10, o ...Show All

  • Visual Studio Addin Error: Not enough storage is available to complete this operation

    Addin Error: The Operation could not be completed. Not enough storage is available to complete this operation. Running Vista Ultimate x64, I d/l'ed and built the add-in , and copied the files per the instructions. When I try to open a Class Designer, I get this error Addin Error: The Operation could not be completed. Not enough storage is available to complete this operation ...Show All

  • SQL Server How to determine the last time a table was accessed ?

    I'm trying to do some housekeeping. I want to delete user tables from database(s) that have not had any activity... I cannot seem to find a mechanism for accomplishing this. sysobjects only shows the createdate, not the last time a user table had a SELECT, INSERT, UPDATE or DELETE operation performed on it. Anyone know how to do this Thanks (P.S. this is the second posting of this question today, as I went to my threads and I do not see the original post - sorry for the duplicate, but as I say, I do not see the original so am re-posting). randyvol SQL server doesn't store such information and all those process is logged in transction log, and you might need third party tools in this cas ...Show All

  • Visual Studio 2008 (Pre-release) LocBaml Namespace

    After running: msbuild /t:updateuid The x:Uid is added to my XAML file correctly, but VS Express doesn't like them. Apparently they aren't in the correct namespace. What namespace needs to be added, or how do I remove this warnings -- June CTP Visual Express C# I just verified that Rob's fix works. Are you sure you followed the steps above Did you replace all the instances in XamlPresentation2006.xsd ...Show All

  • .NET Development CommandTimeOut property in OracleCommand

    Hi, I was trying to set the commandTimeOut property of oracleCommand, but i was not able to find such property. I could find the same property in SQLCommand. Why it so Any one have any idea Does means that OracleComance does not support this property If so any other alternate solutions for this Plese help me in this regard. Thanks in advance Sharmila Hi, The System.Data.OracleClient.OracleCommand does not support the CommandTimeout property. You can better use the ODP.NET provider which is a dataprovider from Oracle for .NET. The OracleCommand in ODP.NET does support a CommandTimeout property. http://download-east.oracle.com/docs/html/B28089_01/OracleCommandClass.htm Greetz ...Show All

  • Visual Studio Express Editions Resource File Usage and PDFs......Extracting embedded resources to disk

    I needed some help with an embedded PDF in the Resource File. I need to distribute a PDF that is a manual. I added it as an embedded resource. Now here is my dilemma. I need to extract the PDF and simply save it to a disk location of my choosing (say for example to a directory on the C Dr ive)so that I can assess it at run time. Either that or assess it directly (since it is embedded). I am unable to extract this PDF. All the examples I have seen deal with BMP (or images files) or txt files. I have seen this example: Dim ResStream As System.IO.Stream ResStream = System.Reflection.Assembly.GetExecutingAssembly.GetManifestResourceStream( "MyApplication.World.gif" ) Dim BMP As System.Drawing.Bitmap = System.Drawing. ...Show All

  • Windows Forms Help VS Exits!!!

    I have a project that consistently shuts down for no apparently reason. All I have to do is place a datagrid on a form and try to build a datasource using the library I've built and the project shuts down. Thanks Richard Call PSS (Product Support Services) 800-936-4900 (in United States) and tell Technical Routers that they want to be transferred to Developer Support, Visual Basic team, it would expedite the call. Ask about getting the patch for KB# 915038. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. From Express to Pro

    First off, let me say that this news about being able to develop and test my code on my 360 for an amazingly low price sounds excellent. I do have a quick question though. Will there be some established way to go about trying to get a game on Live Arcade that was developed with Express I know that I will definitely grab Express as soon as it's available and also have the subscription to be able to test my games on the 360, but I'm curious what my options would be if/when I write a great game :) Will there be some way to use the completed game as a pitch, or would it first be necessary for me to buy the Pro version If I had some sort of confirmation that the game would be put on Live Arcade then expenses for the Pro version wouldn't be a ...Show All

  • .NET Development OledbReader question

    How do I use the OledbReader to insert string data into either a variable or textbox to be displayed on a form Here is a quick example to just go to the first record of customers table and read value: OleDbConnection conn = new OleDbConnection(@"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\nw99.mdb;"); OleDbCommand cmd = new OleDbCommand(); try { conn.Open(); cmd.Connection = conn; cmd.CommandText = "select * from customers"; using (OleDbDataReader dr = cmd.ExecuteReader()) { // Skip to first record. dr.Read(); // Read first column (Customer ID). textBox1.Text = dr.GetString(0); } } catch (OleDbException oledbEx) { System.Diagnostics.Debug.WriteLine("oledbEx.Messa ...Show All

  • Visual Basic Problem with DataGridView Control

    Hai all I have a Windows Form with Show button , Update button and DataGridView controls. To Display Data From CUSTOMER(MS ACCESS2000) TABLE . Public conn As New OleDbConnection("provider= Microsoft.Jet.OleDb.4.0; data source=ss.mdb") Private Sub cmdshow_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim myada As New OleDbDataAdapter("select * from customer", conn) Dim myds As New DataSet myada.Fill(myds, "Customer") DataGridView1.DataSource = myds.Tables("Customer") End Sub IT IS WORKING FINE TO DISPLAY DATA. BUT THE PROBLEM IS WHEN I WANT UPDATE DATA IN DATAGRID CONTROL. UPDATIONS ARE NOT EFFECTING TO TABLE I have tried through thi ...Show All

  • Software Development for Windows Vista Windows error 32 (can't delete, move, rename...) after play file with DES

    Hello people, I have a problem when I try to access files: I build a timeline loading an xtl file, then a run the graph. When media is stopped, I release all resources (I think..) but when I try to modify some image files (need masks in timeline), I can't made any disk operation (save, delete, move...) on those files. Need upgrade DX (I'm using DX8.1 with VC++6.0) Please help me. Alessandro Paperini Yes, I do. The actions are very very simple: CComPtr< IAMTimeline > pTL = NULL; CComPtr< IRenderEngine > pRE = NULL; CComPtr< IXml2Dex > pXML = NULL; CComPtr< IGraphBuilder > pGB = NULL; CComPtr< IMediaControl > pMC = NULL; CComPtr< IMe ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Just saying Hi

    Hi! I have wanted to make a game for some time now... and I never really wanted to put much time into it until now. I have the whole game drawn out on paper (classes, skills, the way the networking works) but never got around to implementing it. I have been playing with this XNA GSE and have a car that I can drive around a track. Hopefully I will have more soon. I would like to "build up" to my main goal which is the game I was talking about before, but that includes animation which I am waiting for a nice example/tutorial for. Anyways, just figured I'd say Hi and I'm sure I'll be able to help out with normal programming stuff for now (I'm a software engineer for 2 years now), and maybe others can help me out with ...Show All

  • Windows Forms Cannot copy usercontrol at design-time

    Hello I have attached a user-control, A, in another user-control, B (both created by me). When I try to copy A I get the error: "An error occurred while processing this command. Object reference not set to an instance of an object." What have I missed (S2005, Windows Forms) Regards I dont really get it... It works fine to select "New -> Component Class". I have no problem dropping my RegExpTextBox control on a form... The problem I have (had), was to make a copy. And it's now possible, after deleting " container.Add( this );" in one of the constructors (see above). ...Show All

  • SQL Server Term Extraction frequency per row

    Is there a way to perform term extraction on each row in a table, and have the term extraction denote the frequency of the term on a per row basis rather than a per table basis Otherwise, is there a way I can take extracted terms and apply a sql function that returns the occurance of that term in each row Example: Row 1 = 2 hits, row 3 = 5 hits, etc. Then is there any way to take advantage of the normalization (i.e. stemming) functionality to turn records into normalized text ...Show All

©2008 Software Development Network