Software Development Network Logo
  • Smart Device
  • Visual J#
  • Windows Vista
  • Visual C#
  • Visual Basic
  • Windows Forms
  • Visual C++
  • .NET Development
  • Game Technologies
  • Visual Studio
  • Windows Live
  • Microsoft ISV
  • VS Express Editions
  • VS Team System
  • Architecture

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

Giftednewt

Member List

Monique2005
Thibaut Barrere
The Netron Project
iparkin
BruceMeneghin
lingling
Chris Battias
James Fielding
Rinaldo1961
glasssd
patriot2
JamesB43_
Mohsen Kokabi
ffe_bob
nicomp
Fred Stegemann
Taurineman
James Lin
guy87
FabrizioC
Only Title

Giftednewt's Q&A profile

  • Visual Studio Code reorganization

    I Work in an environment with a lot of code that was written by previous contractors.  These contractors have placed methods all over the files and we want to be able to reorganize our classes. For example, place all methods together, all event handlers together, all module level variable declarations together and maybe alphabetize them. I was wondering if there was something either in CodeDOM or DTE that I am missing that would help me cre ...Show All

  • SQL Server Instert found records into DB

    here, this query produces 21 days for @TotalPostingDays  ...the days left after pulling out weekend days (sat and sun) and holidays. What I want to do is instead of pulling the total amount for @TotalPostingDays I want to insert the actual dates that are contained within the @TotalPostingDays into a table DECLARE @TotalDaysInMonth int ,             @today datetime , ...Show All

  • Windows Forms Use of WM_CTLCOLORSTATIC in VB.NET? How to do it. Need some help.

    I want to control the color of a edit (or other control) when disabled. Found some example in MFC, but not any for VB.NET. Here is my code, can someone help me to finish it Protected Overrides Sub WndProc( ByRef m As Message) Select Case m.Msg Case WM_CTLCOLORSTATIC Dim g As Graphics = CreateGraphics() Dim mBrush As New SolidBrush(Color.DarkBlue) 'Set the text background to green: SetBkColor(((HDC) ...Show All

  • Visual C# best way to evaluate what type of control there is

    whats faster this: if (c.GetType().ToString() == "Sytem.Web.Ui.WebControls.Label") { //something } or this: if (c.GetType() == typeof (Sytem.Web.Ui.WebControls.Label)) { //something } just curious, thanks mcm Don't compare types using its string representation. Instead, you can compare types using either of these two methods: if (c is System.Web.UI.WebControls.Label) { // TODO: True code here... } ...Show All

  • Visual Basic Quick find and replace very, very slow

    I am currently working with a native VB2005 program that, when I look at the line numbers, is getting close to 10,000 lines. I have a new XPS laptop very fully loaded, and am running XP. When I am working with the app, the IDE seems a little pokey, but that is to be expected - until you try to do a "Quick Find" or "Quick Replace". These take in excess of 30 seconds at times, but usually hover around 10 seconds. Am I doing som ...Show All

  • Smart Device Development determining phone location---recieving broadcast messages

    I m trying to develop the code for determining the current location of the phone user on smartphone 2003 SE. I m doing native code development--win32 apis. As it should be i want to know the current location (like country city locality) of the user. And i guess broadcast messages is wat I need to determine that. But i m having a hard time finding a way to recieve these messages. I hv googled enough in vain already. Any thread or clue wud b hig ...Show All

  • Windows Forms Child and Parent Form

    Hi. In a mdiparent form that have some child form,i want to manage controls on mdiparent form. for example:A label is on mdiparent form; and i want to change text of it. help me. child form is active! for example: by clicking on a botton in child form, the text of label in mdiparent is changed! ...Show All

  • Smart Device Development CABWIZ/Makecab problems

    Hi all, I'm having trouble building a CAB file for a CF 2 project. Done the usual steps,  Added a Smart Device Deployment project to my solution, set its propertys, go to build and Always get back a message saying ; Error: CAB file "C:\Documents and Settings\DAVE\My Documents\Visual Studio 2005 \Projects\Project1\DeploymentCAB\Release\Project1. CAB " could not be created It's really annoying, I dont want to have to go back to us ...Show All

  • Visual FoxPro Foxpro, or Access, or Filemaker?

    I was a professional foxpro programmer 9 years ago, and haven't used it since. I have written some fairly large programs, including my first, which was the tax collection system for Samoa. My last version was the first windows version. Unfortunately, that version, will no longer run on the current XP operating system. I now own a wedding photography business, and need to track leads, and send emails, write invoices, and keep track of servic ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Different results between REF and HAL devyce

    Hi! When executing my pixel shader, results are ok. But when I execute with my recent new grpahic card Quadro FX 3400/4400 results are rubbish. Exactly what happens is that! In my pixel shader I have these four operations Output.weights.x = (1-frac2.x)*(1-frac2.y);\n" // 1 float output Output.weights.y = frac2.x*(1-frac2.y); // 1 float output Output.weights.z = (1-frac2.x)*frac2.y; //1float output Output.weights.w = frac2.x*frac2.y; // 1float o ...Show All

  • SQL Server Contains query returning false hits

    Hi I cant figure out why a query returns false results. It is basically: select * from sometable where somecolumn=1 and contains(someothercolumn, 'arti-b') This query takes forever to process and returns about 100 false hits for every row where someothercolumn actually contains the string 'arti-b'. Note, I don't get the full set of rows where somecolumn=1, so there is some filtering from the contains clause. If I use the same query, searchi ...Show All

  • .NET Development Query regarding uniqueidentifier

    Hi, I am trying to update a Sql Server database from an asp.net web application. As far as i now, we can use 'strings' to compare a uniqueidentifier column. The query is : update RESULT set SUB_ID = '" + this .dlst_selectsubject.SelectedValue + "' where USR_KEY=='" + mycookie.Value + "' " Here USR_KEY is a uniqueidentifier. But i am getting a SqlException : Syntax Error : cannot convert from a cha ...Show All

  • .NET Development Problems with a COM+ distributed transaction

    Hi, I’m with some problems when using a distributed transaction in COM+. I wrote a windows service that uses a COM+ transaction, but to open this transaction I have used ServiceDomain.Enter() and ServiceDomain.Leave() methods. It work’s, but the problem is that I can’t have 2 or more process trying to open an transactional context in the same machine, is necessary that the first processes call the ServiceDomain.Leave() to the another process ...Show All

  • Windows Forms VB.NET DataGrid

    Hey, I am trying to display a column at the far right of the datagrid which would have the total of all the values for each individual row. I added a datacolumn by setting it's expression property, but, this works only if you change rows f ...Show All

  • Visual Studio Team System Project Creation Wizard was not able to connect

    How do I solve this : Error Unable to connect to the Windows SharePoint Services at 192.168.1.12  Explanation The Project Creation Wizard was not able to connect to the Windows SharePoint Services at 192.168.1.12. The reason for the failed connection cannot be determined at this time. Because the connection failed, the wizard was not able to complete creating the Windows SharePoint Services site.  User Action Contact the administr ...Show All

©2008 Software Development Network

powered by phorum