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

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

cooldoger

Member List

MohanAR
arkiboys
Bill_C
Dhruvesh
fripper
rtaiss
A__alex10
h1
Sachin Saxena
asymmatrix
bookysmell2004
harvard_isaac
zuoliang
Koelho
StarsFire
Ha Duo
blabus
vicarious
gmaenrile
Vegar Imsland
Only Title

cooldoger's Q&A profile

  • .NET Development Calculated column

    Hi Folks, I have a calculated column in a dataset in my VB 2005 app (added to data set, but not in database) that uses values from 2 other columns multiplyed, and displays that number for the user. Quantity(dec, 18) * Rate(dec,18) = caluculated column 'Total' (dec,18) When ever the user places a decimal number in the quantity column, the value rounds up to the next whole number -- I do not want the number round to the next whole, and also need to limit the results to 2 decimal places. I first thought this was a control problem in a data grid -- it wasn't; I tried seperate text box controls, but with the same results - numbers round up to the next whole. The only other place I could have this problem is in the data set calculate ...Show All

  • .NET Development Machine Config Runtime entry being ignored

    I'm trying to get the Codebase element to reference a dll from a directory other than the base directory, but my machine.config runtime element seems to be ignored. I'm guessing that the section element type of IgnoreSection is the problem, but what do I replace it with so the runtime element is used Here is the section element concerned: <section name="runtime" type="System.Configuration.IgnoreSection, System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" allowLocation="false" /> Any advice welcomed. I can show you how it works on my PC :) only using the configuration tool. <runtime>     <assemb ...Show All

  • Software Development for Windows Vista error c3861:'lstrcpyWInternal':identifier not found

    Hi i m gettin this error message ...... wat do i do cos i got everything setup ,all the directories and include files I am tryin to develop an application for the sony camera . I got the the Sony's SDK . when i am tryin to run the samples given ..its giving me this error message Re: error c3861:'lstrcpyWInternal':identifier not found what i found is that this function is in wxutil.h which is in the directshow .....but the sad part is its in the comment statements . please help me out with this ...as i have been tryin alot to get this thing working ...Show All

  • Visual Studio Express Editions Why doesnt this work ?

    Im trying to make a delay for 2 seconds... This is what im trying to do: 1. Button click 2. event happens 3. wait 2 seconds 4. event happens 5. and so on. But i cant get the timer to work. Im pasting the code part that i cant get to work. all help is greatly appreciated. Thx Imports System Imports System.Timers Public Class Form1 Public Sub timer() Dim aTimer As New System.Timers.Timer() ' Hook up the Elapsed event for the timer. AddHandler aTimer.Elapsed, AddressOf OnTimedEvent ' Set the Interval to 2 seconds (2000 milliseconds). aTimer.Interval = 2000 aTimer.Enabled = True End Sub Public Sub ...Show All

  • Windows Live Developer Forums Convert Local Live Polygon coordinate to Lat/Long

    First off, MS release of Local.Live is great in the sense that users can now zoom in, highlight an area, and then share that highlighted area via the polygon feature of scratch pad. My question: Is there a way to go from local.live's coded polygon coordinates to lat/long We'd really like to collect polygons drawn on local.live and re-use them in a VE implementation. However, the polygon points are encoded and VE wants lat/long points. Ultimately we could try to re-build WLL, but trying to build the scratch pad looks tricky. For example, given this URL: http://local.live.com/ v=2&sp=Polygon.pfy1bp5c6008_pfy19f5c63q3_pfxt1f5c63t0_pfxsrx5c5zst_pfxty85c5z46_pfy0j75c5z2t_pfy19f5c5zkz_pfy1bp5c6035_pfy1bp5c6008_Test%20field____%2 ...Show All

  • SQL Server List a city only once

    Hi...I want one listbox showing cities but I dont want to list a city more than one time.... I know that DISTINCT maybe could work...But I dont get it to work correctly.... The code: < asp : ListBox ID ="ListBox1" runat ="server" AutoPostBack ="True" DataSourceID ="DataSource1" DataTextField ="City" DataValueField ="City"></ asp : ListBox > < asp : SqlDataSource ID ="DataSource1" runat ="server" ConnectionString =" <%$ ConnectionStrings:ConnectionString %> " SelectCommand ="SELECT DISTINCT [City] FROM [Location]"> </ asp : SqlDataSource > I got the message: The text data type cannot be selected as DISTINCT because it is not comparable &nbs ...Show All

  • Visual C++ Same verification messages popup twice

    Hi, I set DDV_MinMaxInt with a range of values for an Edit box in my MFC based application. When I enter a value is not in the ramge, the verification message box will poped up. After I click "OK", the same message box will pop up again. Does anyone have a idea why that happends Okay..., I found the answer. The DDV_MinMaxInt is called both in UpdateData function and base class CDialog::OnOK(). So if you don't want same message popup twice, do update data yourself instead calling the UpdateData(true) function. ...Show All

  • Visual Studio Team System Custom Generator walkthrough documentation error?

    Hi, I am somewhat new to C# (less than a year though I've been programming for way more than ten years) and even newer to VS2005 (a whole day now!) so there is a chance that I am the problem. Anyway, I think I have found an error in the documentation for creating a Custom Generator or, less likely, an error in the Generator class itself. In the documentation it says that the GenerateNextValues() class needs to be overridden however this method is sealed. The method OnGenerateNextValues() is virtual. Should the reference in the documentation be to OnGenerateNextValues() or is there really a problem in the class In the walkthough there is an instruction to right click on the overridden class name (Generator) in the code window an ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. A Managed DirectX9 UserControl on a web application

    Hello, i've been searching the internet for a while, but cannot find proof that it is possible to user Managed DirectX functionality (embedded in a UserControl) in a C# Web applet. Has anyone come across some code or references that proof that it either can or cannot be done I guess that given the proper permissions it should even from whitin an embedded UserControl be possible to render 3D images, but before i spend hours and hours trying the impossible, i was wondering if someone else has already tried this... Please give a yell and thanks in advance, Peter Vrenken Thanx, that was just the kind of info i was looking for... Nevertheless too bad that it isn’t possible... Peter Vrenken ...Show All

  • Windows Forms How to change the apperance of the DataGridView's Column header

    Hi, I am using DataGridView for displaying data, in datagridview by default column header is coming in the top of the cell , how to place the column header in the bottom of the cell in datagridview, i think there might be a some property in datagridview but i am not able to get that property please share ur ideas ...Show All

  • Commerce Server 64-bit CS 2007 - Custom Pipelines - Registration/Deployment Process

    Can someone help me out with the steps to deploy aa 64-bit version of custom pipelines from 32-bit VS 2005. Building the project in ".NET" allows for the framework loader to automatically build to the proper framework installed. But our custom pipelines do not appear to be registered because they appear as broken legs when viewed via the Pipeline Editor. I have found no links discussing this issue so any help is much appreciated! Max, Our custom components appeared to be broken because we were using the 32-bit pipeline editor to view pipelines with 64-bit components. When we open the pipeline in the 64-bit editor, then our components appear fine. The issue we have now is that our custom ...Show All

  • Visual C++ Assertion Failed in daocore.cpp in VC++

    Hi, I am getting error like Assertion failed in daocore.cpp. Here i am using CDAODatabase and i am opening and closing Database properly still i am geting error while opening the database and its says void CDaoDatabase::Open(LPCTSTR lpszName, BOOL bExclusive, BOOL bReadOnly, LPCTSTR lpszConnect) { ASSERT_VALID(this); // Re-Opening is invalid. if (IsOpen()) { ASSERT(FALSE); return; } where line ASSERT(FALSE) if the IsOpen() returns TRUE. It means: my DB was ALREADY opened.but i am closing the DB properly This error is not consistence sometime it gives error in SetSQL() function which is called from open() function. If anypne having idea about this pl suggest me some solution. a ...Show All

  • Visual Studio Express Editions Failure to repaint

    Hello, I'm new here but not new to programming. My recent programming has been with Borland C++ Builder and Delphi, pre .NET editions. I like what I see in C# / .NET. For my first C# application I wrote a windows app that displays a pie chart of how much space on a storage drive is used by a particular sub-tree, e.g. how much of drive D: is used by Music, how much by SourceCode, etc. I have a panel across the top with a ComboBox for the drive plus some text display and the lower part of the window is a splitter. The left plane of the splitter contains a tree view of the files and the right panel is used to display the pie chart. Drawing occurs in the Paint event of the panel using FillEllipse and FillPie. Mostly this works fi ...Show All

  • Visual C# Blocking Related Functions In A Class

    I'm probably missing something very simple, but I'm writing a class for moving a spaceship around on screen. The class is starting to grow very large, and I want to block related functions. Here is an example of what I have: class object3D {         void Rotate(float i, float j, float k) {...}         void ApplyThrust(float u) {...}         void MoveLeft() {...}         void MoveRight() {...}         void MoveFoward() {...}         void MoveBackward() {...}         void MoveTo(float x, floa ...Show All

  • SQL Server Custom Aggregation Functions like SUM, AVERAGE etc.

    Hi, I want to write a custom aggregation function called PRODUCT (as it exists in Excel) to be used with [Measures].[Monthly Return] column. I could not see such function in AggregateFunction attribute of the mesaure in the Cube explorer. What are the different ways I can write my own Aggregation functions OR Achieve similar functionality with any alternative approach Appreciate your response.. let me know if further information is required. -Ashish You can't write your own Aggregation functions but you can certainly achieve the same result using MDX Script assignments to control how measures roll up. Regarding your specific problem, there is a function in the Analysis Services Stored Procedure project which does exactly ...Show All

©2008 Software Development Network