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

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

coolblue2000

Member List

RafaBotero
Thisara
Anders Pettersson
Scott McKeown
sandyrae
Cthy651
Ken_Bussell
Demokratizator
Tijnars
stanjo
bluefocs
CPPUSer7
dave2000
Cest la vie
HForcelledo
JohanNL
daydreamsy2k
clkdiv
db-C
JaceKiwi
Only Title

coolblue2000's Q&A profile

  • Visual Studio Solution Folder Name

    Is it possible to parameterise the name of a solution folder in a VS template e.g. <SolutionFolder Name = " $MyParam$ " > Thanks, Scott. ...Show All

  • Software Development for Windows Vista Custom Tracking service in app.config, Web.config web service workflow

    I want my workflow exposed as a web service to use my custom tracking service (that extends TrackingService). I am a relative newbie to WF, and Im using VS2005. I am just guessing right now, but I thought I could do the following in my app.config: < configuration > < configSections > < section name = " WorkflowRuntimeConfig " type = " System.Workflow.Runtime.Configuration.WorkflowRuntimeSection, System.Workflow.Runtime, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 " /> < section name = " LocalServicesConfig " type = " System.Workflow.Runtime.ServiceSection, System.Workflow.Runtime, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf385 ...Show All

  • SQL Server Designing SSIS package to Cater to SQL Queries invloving multiple joins

    I have  a query that works fine in SQL Server, SELECT TC.[TestId] ,TS.[NameId] ,[regressionLevel] ,Mstr.[MethodId] ,users.[UserId] FROM [db_db].[dbo].[TEST] TC join [NEW_DB].[dbo].[Users]users on users.FirstName=TC.Username join [New_DB]..[Method_Master] Mstr on Mstr.Description=TC.Method join [New_DB]..[TestSource] TS on TS.Name = TC.TestName basically there is a join between three tables to repalce all the varchars to the corresponding ID. Please guide me in how should I go about in designing my SSIS package to achieve this requirement.   thanks in Advance   MShetty wrote: Jamie Thomson wrote: So you have a natural key in y ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How to only draw visible meshes? Performance problems.

    Ok, I have a simple mesh loaded that contains 24 faces. I have a loop that draws 144 of these boxes on-screen like so: for (int i = -(mapwidth / 2); i < (mapwidth/2); i++) { for (int j = -(mapheight/2); j < (mapheight/2); j++) { modelPosition = new Vector3((i * 10.0f)+5.0f, 0.0f, (j * 10.0f)); DrawModel(myModel); } } I noticed that if I have only one model in view (the camera is zoomed way in) or I show the entire grid of objects the time elapsed between frames does not change. The time elapsed between frames does change if I increase or decrease the number of objects drawn though. This leads me to believe that the framework is drawing every object whether or not it is visible. ...Show All

  • Visual C# Why the following condition is never met?

    double number1 = 1, number2 = .5; while (number1 > number2) { number1 -= .1; MessageBox.Show(number1.ToString()); if (number1 == number2) MessageBox.Show("condition met"); // <- never } Please help Floating point math isn't 100% precise, especially depending on the granularity of the decimal places or in cases where both numbers vary greatly. In this case, number1 might be 0.5000000000011, which is not exactly equal to number2 (0.5). It's a classic issue with using floats and doubles. So your choices are to avoid using "==" (use some variation of range checking instead), or use a fixed point datatype like decimal instead of a floating point datatype ...Show All

  • Visual Studio Team System Another TF30177 Error: Team Project Creation Failed

    I've got TFS installed to a single server, and am now trying to create my first project. When the project creation is almost finished, I get the following error in the New Team Project Wizard: Error Unable to connect to the Windows SharePoint Services at TRUG Explanation The Project Creation Wizard was not able to connect to the Windows SharePoint Services at TRUG. 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 administrator for the Windows SharePoint Services at TRUG to confirm that the server is available on the network. Also, you might ...Show All

  • Visual Studio 2008 (Pre-release) The located assembly's manifest definition does not match the assembly reference.

    I am currently working on a WPF application in which I need to reference a custom control within the XAML. I am using the following line to reference the custom control: < ResourceDictionary x:Class = " Client.JetStream.Wpf.OfficeStyleWindow " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " xmlns:ctl = " clr-namespace:Controls.Local " > < ctl:TitleBar DockPanel.Dock = " Top " Title = " {TemplateBinding Title} " Icon = " {TemplateBinding Icon} " /> The custom control is in the same assemb ...Show All

  • Windows Forms SQL table Column autoIncrement problem??

    I am using VS2005 professional and SQL Server 2005, I have an productID column and Its autoIncrement property is true. Seed is 1 and Step is 1. When I try the add new record to database first time, there is no problem.But When I am adding second one it gives an exception that " Violation of PRIMARY KEY constraint PK_ProductID. Cannot insert duplicate key". I understand that the autoIncrement doesn't work. But I dont understand and see where the problem is coming from. pls help .... I worked on this problem for a while myself. Setting the autoincrement property to TRUE made it work, but I never set the seed or the step size. I left those to their default values that were generated when ...Show All

  • Visual Studio Express Editions how to set a "label.text" for dynamical created labels ?

    Hello, I created several labels on a form with the following code: For t=0 to 10 lbl_info = New Label lbl_info.Name = "info" + t.ToString : lbl_info.Text = "" AddHandler lbl_info.Click, AddressOf label_info_click Controls.Add(lbl_info) next t With the following code I can access the labels with a click Private Sub label_info_click(ByVal sender As System.Object, ByVal e As System.EventArgs) Dim rb As Label = CType(sender, Label) MsgBox(rb.Name) End Sub Now I want to change the text of the labels in other parts of the program, and I have no idea how to set the "lbl_ino.text" for all the dynamically created labels. Has someone a tip for me Thanks Thanks to nobugz, Me.Con ...Show All

  • Visual Studio 2008 (Pre-release) Are samples old or is my intellisense broken?

    Let's say I have this in an App.config file for a WCF service: <configuration> <system.serviceModel> <services> <service type="GreetingsService"> <endpoint address="" binding="wsHttpBinding" contract="IGreetings" /> </service> </services> </system.serviceModel> </configuration> The 'type' attribute for the tag <service> (set to 'GreetingsService' in my example) is not recognized by intellisense. Was this attribute replaced/ dropped and the sample is no longer accurate with the latest WCF or is my intellisense somehow not working and if it is, any ideas how to fix it Thanks, Trevor ...Show All

  • SQL Server Windows 2000 professional HELP

    I don't know where to post this so please forgive me. I have a major problem and don't know what to do. I have a computer given to me by some friends. I am not very knowledgeable about it but I will do my best if someone can help me with not having to just trash the computer. It has a partitioned hard drive. I can find out any info needed to help with this. I just need to know where to look. It has windows 2000 professional and milennium on it. I accidentally deleted a file on it and now I can't even boot it up. Yeah STUPID I know. It is giving me the message "<window\system32\ntoskrnl.exe> file is either missing or corrupt." "please reinstall this file." How the hell do I reintsall if I can't get anywhere on this thing. I can get to ...Show All

  • Visual Basic Sound

    How can I play a sound without the user seeing a media player Private Sub Form1_Load( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Load AxWindowsMediaPlayer1.Visible = False End Sub ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Why is the sample bin file faster then my compile?

    I have downloaded the DX9c October 2006 version. I am running WinXP Pro on a Pent 4 1.7 GIG with 1 gig of RAM and Geforce 6600 AGP, no browsers or extra apps running. I noticed Firefox 2.0 does slow down my frames about 10 percent. I ran the the C++ D3D x86 StateManager sample from the bin file and I was getting like 88 FPS consistently. When I Release compile it in Visual Studio EE with standard compiler settings I am getting 79FPS. All inworld setting seem the same. How can I find out what compiler settings the sample exes use or why is it faster I tried several options but nothing makes it faster. Is the file different or a magic trick from Redmond :-) Also I was using the StateManagement and also Shad ...Show All

  • Visual C# Where should I store passwords?

    Where should I store confidential data, like passwords Is it safe to use user's 'Properties.Settings' Where these settings reside physicaly in the computer and in which format Is it possible to view them somehow not through my application but through the windows interface Just to add to nobugz - the reason to keep confidential data in the user's folder is that folder is protected by file system to be viewed from others. About encripting data - it's even not necessary to ask user about pass. You can use user domain name info + smth additonal to use it like key to you data. But everything depend on how severe your data is ...Show All

  • Smart Device Development ImageAttributes, SetColorKey, Windows and WindowsCE

    WindowsCE supposedly should work under the windows (And I do need to run my program in Windows as well as CE). However, when SetColorKey is used, it does work in WindowsCE and fails in Windows with "Out of Memory" exception. I found the solution (to add a Windows DLL with the following code) but I do not like it. Is there is a better way to deal with the problem public static IntPtr CreateBitmap( IntPtr phBitmap1, IntPtr phBitmap2, int iLeft1, int iTop1, int iLeft2, int iTop2, int iSize ) { Rectangle rect = new Rectangle (0, 0, iSize, iSize); Bitmap pBitmap1 = Bitmap .FromHbitmap(phBitmap1); Bitmap pBitmap2 = Bitmap .FromHbitmap(phBitmap2); Bitmap pBitmapResult ...Show All

©2008 Software Development Network