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

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

webrift

Member List

Superobotz
Tony_NTFY
michael olson
Simone1
Nick__A.
Chizum
Dietz
vandewst
Nightman28
Robs Pierre
Mike Poole
BrianFerguson
thorlax402
skapes
RostaB
KurtD
elainel311
Mystagogue
lucas3256
David Beavonn
Only Title

webrift's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Smooth movement

    I did a "game" where a ball bounce around the screen. It's running at 60 fps but it isn't a smooth movement. It's an issue from XNA Framework Beta I am working with SpriteBatch class... Mitch Walker - MSFT wrote: Could you try running the following game and report back the results If you run it from the IDE, it will print the frame rate to the Output window. I'm getting almost 40,000 on my home machine, which isn't a super beefy machine. This takes everything out of the picture and just reports the raw "update" rate. Once you throw drawing operations in, there are many things it could be such as the type of video card, the drivers, etc. class Game1 : Microsoft.Xna.Fra ...Show All

  • Windows Forms [c#]forgive me about the "million" post for dgv update database

    I've looking around a lot. No examples were good for me (obviously for my non-capacity). I have a simple form, where user choose some item from a combobox. After this, a datagridview show the data related to values in combobox. I only need to make some changes in datagridview, and then update the database. I've try with sqlparameter, with the single "update" query, but still doesnt work. Very thx and hope somebody can help me. If you use a tableAdapter, you may try this this .Validate(); this .customersBindingSource.EndEdit(); this .customersTableAdapter.Update( this .northwindDataSet.Customers); Or sometinglike this CurrencyManager cm =( CurrencyManager ) this .BindingContex ...Show All

  • .NET Development Pragmatics of using IDbComand for direct manipulation of sql statements vs DataTable,DataSet and DataView.

    I have a few WindowForm apps which work with my own database where only i have access to. I am doing daily updates where less than 1% of the main table affected and weekend update where I truncate 2 main tables, drop their indexes, completely reload them and rebuild indexes. Naturally I am directly manipulating SqlComand.Text and using SqlComand. ExecuteNonQuery(), SqlComand.Execute Scalar(), SqlComand.Execute Reader(). Does it make sense to use DataTable,DataSet and DataView only in case of small datasets with relatively insignificant updates with multiple users accesses You might want to check out this article for some recommendation of using DataSet: http://msdn2.microsoft.com/en-us/library/8fxztkff.aspx ...Show All

  • Windows Live Developer Forums Draw a circle given a lat/long and radius (in miles)

    Had to do this for a project here at work and thought I would share the code: function AddCircle(latin, lonin, radius) {     var locs = new Array();     var lat1 = latin * Math.PI/180.0;     var lon1 = lonin * Math.PI/180.0;     var d = radius/3956;     var x;     for (x = 0; x <= 360; x++)     {         var tc = (x / 90)* Math.PI / 2;         var lat = Math.asin(Math.sin(lat1)*Math.cos(d)+Math.cos(lat1)*Math.sin(d)*Math.cos(tc));         lat = 180.0 * lat / Math.PI; &nb ...Show All

  • Visual Studio Tools for Office WebBrowser Control Hosting Word: How do I programmatically enable "Browse in Same Window" functionality?

    Hello, I am not certain if this is the right forum but it just may be... Having gone through a lot of KBs, Forum articles and misc websites, I still do not have an answer. My application is a C# Winform with a WebBrowser control in which I navigate to a Word Document. If "Browse in same Window" is checked, the document pops up in the Webrowser control. If it is not checked, it pops up in a new copy of Word. Is there any way that I can programmatically enable the "Browse in Same Window" functionality, navigate to the document, then reset it back to whatever it was Thank you Afzal Thanks for the response but what I need is the opposite. The article provides the registry setting ...Show All

  • Visual Studio Team System Get load test run name in coded test?

    Is there a way to get the name of the current run of a load test within a coded test <user name>@<computerName> <date/time> Lewis, I don't believe it's possible to anticipate the name of the trx file during the loadtest execution. As a side note, why would you want to There really isn't anything that you can do to the file. --Mike ...Show All

  • Visual Studio Express Editions Advanced searching in vb.net

    hi please help me i doing MCA final year could u post advanced search in vb.net database -ms sal server visual basic.net this software using In textbox 1 char type automatic display related that char name,database store all names Example one textbox one listbox i am typing textbox display student name in listbox i am typing 'b' char display 'b' char all student names in listbox iam typing 'ba' char automatic change 'ba' char start all names display in listbox i am typing change every char display related in student names in listbox advanced search using backend database please any help me thanks the logic is simple really. you need to fill a dataset with your data then filter it. Here is an example of filling a dataset with data: ...Show All

  • Windows Forms ToolBarButton DialogResult

    I want to have a ToolBarButton close the dialog box and have ShowDialog() return DialogResult.OK Maybe you want something like this private void toolStripButton1_Click( object sender, EventArgs e) { this .DialogResult = DialogResult .OK; this .Close(); } Hope it helps. Best Regards. Ye ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Draw Triangle

    How can I draw a triangle Do I have to use a VertexBuffer, if so how do you use them with the XNA Framework If you go to Help->Contents in VC# Express, there's a topic for XNA. Under the graphics subsection of that topic, there's a number of writings which explain how to do things. See if those help. ...Show All

  • Visual C# Global Variables: Not a good practise?

    Recently I was looking for a way to access a variable from everywhere in my Windows Forms application. I achieved this by using a public static class, but that is not the point. When searching on the internet for this problem, I ran into comments that C# is designed to disencourage using global variables, and that the solutions are considered work-arounds. Why is that What is wrong with using global variables C# is an OO language. Each object should hold its own state (includes the variables). OOP includes also encapsulation, which means that each object holds it's state internal and doesn't show it to everybody around the AppDomain (~ process). If you need a global setting or something, you should ...Show All

  • SQL Server SSIS Boolean Questions

    Please write YES/NO against point number in your answer i.e. for example: 1) YES, 2) YES, 3) NO, 4) YES etc. We have source SQL Server 200 databases in one instance and target SQL Server 2005 in another instance both being on different windows 2000 server systems. Target OLAP DB design is derived from source OLTP. Most master & transaction tables are as is but some target tables are a result of merging source tables. We need to do SSIS packages based migration using data flow task based on column mapping & queries using Business Intelligence Development Studio (BIDS). There are no transformations required. 1) Can I group packages under project into sub-groups i.e. super packages 2) Can I execute a set of packag ...Show All

  • Software Development for Windows Vista Installing a SCR file

    I have questions about proper installation of a screen saver (SCR) file under Windows Vista. 1. When using an installer, is the proper method to copy the SCR file to the C:\Windows folder and set the registry key Or is better to do something like in #2 below... 2. If you right-click a SCR file, Vista has a popup menu which offers to "Install" the screensaver for you. 2a. Technically, how does this work exactly 2b. Is there a way to get this function to work via the API In other words, can one create a SCR file which when activated on the desktop, calls the self-install methods Screensavers can be placed in a number of locations. Here is the list of searched directories ...Show All

  • SQL Server SQL Server 2005 Install Hangs - Does MS Plan to fix?

    I am experiencing extremely slow behavior (no activity for > 30 mins) during a SS 2005 Dev Edition install on XP SP2 on various steps during the SQL Server Database Services step - e.g. during "Setting File Security". This is very annoying. I've found many postings on this issue indicating that OS calls in this part of the install (e.g. LookupAccountName()) are network speed dependent. Does Microsoft have any plans to rework this part of the install to rid the need of these calls I really wish the install would be possible without these calls - it's driving me crazy monitoring this for hours. We've got to roll SS2005 out to a couple hundred developers eventually and this isn't going to cut it. Thanks for your tim ...Show All

  • Visual C++ vector::resize causes floating point exception

    Hello, I'm hoping for a reality check here. The following program generates a floating point exception in the vector::resize call. I compiled it under VC 2005 using the command line in the comment below. I've disassembled the executable and found that vector::resize creates a default Point object which is then copied to the new empty elements at the end of the vector. But note that the Point constructor doesn't initialize the x and y members. This means the bits are garbage, and vector::resize will copy the garbage to the new elements. This is no biggie because I don't use the uninitialized elements. However, the problem is that the compiler uses the floating point processor to copy the doubles. Whe ...Show All

  • SQL Server Upgrading OS to Windows 2003 R2 Enterprise Edition.

    We are currently running SQL Server 2005 Standard Edition on a Windows 2003 R2 server standard edition 32-bit OS. We are planning to upgrade the OS to Windows 2003 R2 Enterprise Edition 32-bit and up the RAM to 8 GBs. Can SQL Server 2005 Standard Edition take advantage of the extra memory Can SQL Server 2005 Standard Edition use 5-6 GB of ram J ...Show All

©2008 Software Development Network