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

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

NetDragonKing

Member List

vkan
Nanja Raje Urs
tee_user5
zapacila89
LMSmith
Rick1138
niallhannon
Rudgr
daveW2007
Ratheesh*MCP*
Biceps
Sajjad Akhter
Dan Cremer
VBAddict
Toon Nijland
W. Barbosa
Helen999888
vgrigor
GyrusGM
Porter1
Only Title

NetDragonKing's Q&A profile

  • SQL Server Anaylsis Services needs to be restarted every often

    Hi All, The Analysis services on the production server needs to be restarted every often even if it is not stopped. Because when I open the Cube Browser, it gives a message '...Check data connnection...' So I need to restart again. Please suggest what can be the problem. Thanks and Regards Sai ...Show All

  • Visual Studio Team System WebTest showing no errors, but results missing DB changes

    I've just been introduced to the WebTest features of VS2005 to crack a problem we've been having with its use on our company's ecommerce store. It seems that recording a complete purchase life-cycle, from entry page to check-out summary, everything appears all green when I re-play the recording. But when I check the database, only the recording session actually gets recorded in the database. None of the play-backs actually result in an insert of data into our database. Reading through the technotes I have found so far, I see a lot of suggestions for when you get errors on the play-back, referring to client-side JavaScript redirects, dynamic data and various things like that. But in this case, the pages coming back are different than ...Show All

  • SQL Server Identity

    Suppose we have a table with a column which has a property Is Identity set to true. Is any programmatic way ( for example, in stored procedure ) to change this property to false Hi, have a look at this article: http://www.eggheadcafe.com/community/aspnet/9/10005322/remove-the-identity-prope.aspx -- SvenC ...Show All

  • .NET Development Openning client email application in .Net

    What is the best way to open a client's default email application from a windows forms application, passing in To, CC, and BCC Thread moved to the appropriate forum try this: C# string theEmailMessageString = String.Empty; theEmailMessageString += "mailto: email@address.com "; theEmailMessageString += " &cc= anotherEmail@address.com " ; theEmailMessageString += "&subject =your subject"; theEmailMessageString += "&body =your message here"; System.Diagnostics.Process.Start(theEmailMessageString);     VB.NET: dim  theEmailMessageString as   string theEmailMessageString = theEmailMessageString & " mailto: email@address.com " theEmailMes ...Show All

  • Visual C# iterating through a dataset

    Hello all.  I want to iterate through a dataset and pretty much have the logic down.  I'm using a foreach loop like so: foreach(DataRow row in ds.Tables[0].Rows) { //logic here } The table in the dataset has two columns.  The first column is a count (int) and the second column contains a timestamp (DateTime).  What I want to do is sum up all the counts in increments of 5 minutes.  The data provides me with increments of 1 minute timestamps, sometimes multiple records for the same timestamp.  In other words, my data would look something like this: timestamp    count 1:53             1000 1:54    &nb ...Show All

  • .NET Development Internal vs. Public

    Sorry if this is simplistic, but is it a viable design choice to restrict visibility of as many type members as possible in a Windows application exe to internal, rather than public This client will necessarily never be consumed by any other class or application. It also suppresses various VS warnings about uncommented members, which are irrelevant anyway in many cases. Thoughts, comments Oh, okay, thanks. I just managed to get one of those by deleting the designer generated comments by hand. Never thought to turn on XML documentation for .exe builds... ...Show All

  • Software Development for Windows Vista LessThan cannot be used on decimal type ?

    How do you do comparisons on currency values in rule conditions I want to do a simple discount test for a price < 50.00, where price is decimal type. Am I missing something easy You need to add a m to indicate the 29.99 is a decimal instead of a double. So use: this.CurrentOrder.TotalOrderAmount < 29.99 m Maurice ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. My 2D particle engine now available

    here > http://www.codeplex.com/Wiki/View.aspx ProjectName=mpe Here be my first contribution to the XNA community, a fast, powerful & flexible 2D particle engine that can easily & seamlessly integrate into your game project. Features: Completely drag & drop, no code required! Complete control over scale, alpha, rotation and color at all stages of a particles life. Definable random variation of particle speed & lifespan. 5 emitter shapes - Point, Spray, Circle, Ring & Spiral (more to come!) Extremely easy to add custom emitter shapes! Hope you find it useful, there's still a few things to iron out but i think it's near enough usable right now :) Hi@all! I've uploaded a new build of the particle system @ co ...Show All

  • Visual Studio Express Editions Structure Vs Class

    Can anyone describe the exact defrence between Class and Structure We can use bouth many times. When should we use a Class and when a Structure This video from Microsoft entitled 'The Rich type system' discusses this in detail, on when to use class or struct in detail. http://msdn.microsoft.com/netframework/programming/classlibraries/richtypesystem/ ...Show All

  • Visual Basic compatibility with spanish xp

    i have an application written in VB6.....will it run on spanish xp ...Show All

  • Visual C++ bitmap on toolbar button.

    when i disable the button whose image index is associated with a bitmap, it become a shadow,i can not see anyting. but i want to gray it and can still see what it contains. any suggestions thanks very much. Hi, i found my question: my bitmap has magenda mask, so when disable , the button all gray out. so my question become how to disable button in toolbar correctly when the its bitmap has a mask. it will mean the button will gray correcly.the main problem is the mask.thanks ...Show All

  • Visual Basic DataGridView - Using a Custom Property of a Typed Data Row? For Foreign Key Lookup

    I have been searching for a solution to do a foreign key lookup for a datarow in a databound dataset. I have a StongTyped DataTable : Action I have a StrongTyped DataTable: ActionCodes Action contians ActionCode which is a system generated value ActionCode contains the Name/description. I want the DataGrid row to display the ActionCode - Description. ----------------- They are both part of the same DataSet ActionCode is populated from database... as is Action. But, users can add actions, before saving to the database. So doing a SQL Level View join, won't work. I can't find a way to get the DataSet to databind to two DataTables, that have a relationship built. So the only thing that works, right now... is d ...Show All

  • SQL Server Variables in Script Task

    I recieve the below error when I attempt to execute a Script Component in a Data Flow Task: The collection of variables locked for read and write access is not available outside of PostExecute. This is the code I used: Imports System Imports System.Data Imports System.Math Imports Microsoft.SqlServer.Dts.Pipeline.Wrapper Imports Microsoft.SqlServer.Dts.Runtime.Wrapper Public Class ScriptMain Inherits UserComponent Public Overrides Sub Input0_ProcessInputRow( ByVal Row As Input0Buffer) Output0Buffer.AddRow() Output0Buffer.BillerId = CType (ReadWriteVariables( "CustId" ).Value, Int32) Output0Buffer.UserAccount = CType (Row.Column0, String ) Output0Buffer.UserS ...Show All

  • Windows Forms CheckBoxList does not contain a public definition of 'GetEnumerator' error

    Hi, I have a CheckboxList on a web form. I want to cycle through the checkboxes in the list to determine which boxes have been checked. Seems easy enough..but I'm getting an error that the "CheckBoxList does not contain a public definition of 'GetEnumerator'". Here's my code: foreach ( CheckBox cb in cbSRlist) { // get Sales Region the user has access privs for if (cb.Checked){ Response.Write(cb.Text + "<BR>" ); } } ...the error is actually caused by the foreach statement which can't operate on the checkboxlist because it doesn't have a public def of 'getEnumerator. The same error occurs if I replace 'CheckBox' with 'ListItem' in the above foreach stmt. what am I missing th ...Show All

  • Smart Device Development Target Device Does Not Have A Compartible Version of the CLR Installed...

    When deploying my app to the emulator I encountered this problem: TypeLoadException in the app, followed by Visual Studio message: Unable to start program '%CSIDL_PROGRAM_FILES%\MyProg\MyProg.exe'. Unable to load the CLR. The taget device does not have a compatible version of the CLR installed for the application you are attempting to debug. Verify that your device supports the appropriate CLR version and has that CLR installed. Some devices do not support automatic CLR upgrade. I'm running VS 2005, deploying a CF2 app on the Pocket PC emulator. (This app also is upgraded from VS 2003 on CF 1.) The build log in VS shows: Deploying 'C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\CompactFramework\2.0\v2.0\win ...Show All

©2008 Software Development Network