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

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

GodzillaMonster

Member List

De Keguelin
Steve Wooster
wkunz
Clay B
Alexandra Young
Mark Herman
wrd
Dyvel
hakl
a. johns
B o g d a n
avc
Geneknfran
Chris Stewart - WUK
Tobin Titus IIS7
KSo
QuinnKirsch
Nash Alexx
lianalet
shwethak
Only Title

GodzillaMonster's Q&A profile

  • Visual Studio AddFromTemplate and TemplatePath on Whidbey

    I having problems with Automation on Whidbey, there are essential functions that are not working well. I want to create projects by automation using AddFromTemplate. When I tried this With the path to the file inside the zip EnvDTE.Solution.AddFromTemplate( "C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ProjectTemplates\CSharp\Windows\1033\ClassLibrary.zip\csclasslibrary.vstemplate" , "c:\test3" , "test" ) and with the zip itself EnvDTE.Solution.AddFromTemplate( "C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ProjectTemplates\CSharp\Windows\1033\ClassLibrary.zip , "c:\test3" , "test" ) If I unzip the file and use the v ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Corrupted texture on Radeon

    I'm using C# and managed DirectX to display a mesh with two texture stages. It draws fine on a GeForce, but looks corrupted on a Radeon X300 and also a ATI Radeon 9600 Pro. I think it started when I added a second texture stage to modify the texture color before rendering. You can see the results on both cards here: http://gosub.com/DirectXTextureError.htm Here's how I setup the render states: dx.RenderState.Lighting = true; dx.RenderState.NormalizeNormals = true; dx.RenderState.ZBufferEnable = true; dx.RenderState.CullMode = Cull.CounterClockwise; dx.RenderState.ColorWriteEnable = ColorWriteEnable.RedGreenBlueAlpha; dx.RenderState. ...Show All

  • Visual Studio Team System Logon with the object model in RC

    In beta 3 I used a NetworkCreditials object to create a conenction to a TFS server.   NetworkCredential objNetworkCredential = new NetworkCredential (strUserName, strUserPassword, strDomain); TeamFoundationServer objTFS = TeamFoundationServerFactory .GetServer(strVstsURL, objNetworkCredential); But in the RC version the factory uses a Microsoft.TeamFoundation.Client.ICredentialsProvider in the GetServer method. In Client applications I can used the UICredentialsProvider, but what about Server applications Is the only way to logon to a TFS server in server application to use the current users credentials &n ...Show All

  • Smart Device Development Retrieve current active connection (GPRS, WIFi) IP address of device

    I want to know, how can I retrieve an IP address of active connection to internet.   here are some methods I use to help: static public string [] IPAddress(){ String strHostName = System.Net.Dns.GetHostName(); // Then using host name, get the IP address list.. IPHostEntry ipEntry = System.Net.Dns.GetHostByName(strHostName); IPAddress[] addr = ipEntry.AddressList; string [] IPArray = new string [ipEntry.AddressList.Length ]; for ( int i = 0; i < addr.Length; i++){ IPArray = addr .ToString(); } return IPArray; } static public bool IsConnected(){ bool Connected= fa ...Show All

  • Visual Studio Display empty instead of 0

    I use an expression in a TextBox: Fields!myField.Value/10 myField is a type of integer in SqlServer. If the value in myField is null, the expression "myField.Value/10" will display 0, I want  the expression to display empty if myField is null. How can I do that try this: =iif(Fields!myField.Value/10=0, "" , Fields!myField.Value/10). Good Luck. Long ...Show All

  • Visual Studio 2008 (Pre-release) Cecil project from Mono : better than Linq ?

    Hello, Will the Linq team include the Cecil functionnalities It is so much more powerful than Linq. Basically every code is accessible as an expression, visitable, and modifiable at runtime. This links to my former proposal of being able to publish a select subset of variabl es then expresses iself as a subset of Cecil. Apparently Cecil is being used in db4o, an object database, which by the way, has what they call "native queries" which surprisingly ressemble DLinq queries :) Nicolas Rolland Does anyone know why one cannot get the IL from a runtime compiled expressiontree ...Show All

  • Visual Basic VB Listbox selected item error

    Hello, Im still learning this and am slowly getting it along the way but could not find a solution to my simple problem. I have a listbox that is populated with data, but when I set a variable to get a selected item from the listbox I just get the varaiable as system.data.dataview the listbox data source is setup as the bindingsource and the line of code I am using is Dim var As String = ListBox1.SelectedItem.ToString() I just want var to equal the text item in the listbox... Can anyone help This can all be put into one line. Ultimately what is occuring is that the selectedItem i ...Show All

  • Software Development for Windows Vista Installing Visual Studio extensions for Workflow Foundation beta 2.x

    I'm having difficulty installing the Visual Studio extensions for Windows Workflow Foundation beta 2.x. I have followed the links at http://msdn.microsoft.com/windowsvista/downloads/getthebeta/default.aspx for getting the runtime components, windows sdk, and each of the two visual studio 2005 extension and installed them in the order prescribed. The problem I get is that when try to install the VS extensions for WWF the installer extracts it's files, then opens a dialog box to change features, restore, or uninstall the windows sdk. If I try to change features, I don't see WWF listed as a possible feature. If I try to repair, I get an error a ...Show All

  • SQL Server SSIS Parent/Child Package variable passing

    Hi I have having trouble getting my hands around how to retrieve variables from a parent package. I read about the Environment variables and Configuration File at the parent package level and the Parent Package variable at the child level. Here are my questions: 1. Can you only store/retrieve 1 variable in a config file at a time 2. Does the child package have to define the variables and if so, do they have to be the same names as the parent package This seems so more more complex then the DTS2000 way of passing variables to and from packages. Any help would be appreciated. Thanks in advance, Gordon Radley ...Show All

  • Smart Device Development Deploy MSD with C# aoo on Tablet PC

    Hello, Where I can find some info on how I can pack an MSDE db with a C# app to deploy them together on client machine, in this case a tablet, or any machine. This should also apply when there is a db schema change Thanks ...Show All

  • Visual Studio Team System Error in building a web site with TEAM build

    Hi all, I am trying to use TEAM build to build my web application to the virtual directory where it will be deployed. I keep getting an error saying access to that directory is denied. I do not have this problem with Windows Apps, is there a special thing I need to do for the Web App Thanks, J One possible cause of this error is that team build has not been installed.  The installation is available on the team foundation cd, but it is not installed by default.  See http://blogs.msdn.com/robcaron/archive/2005/04/27/412575.aspx  for installation info. ...Show All

  • Windows Forms Form flickering while switching between MDI children

    Hi, I am struggling to have a flicker free MDI application which has Multiple child windows. All the child windows are very rich in nature. The parent MDI only has a panel (docked) with some buttons in it to move between the child screens. All the child windows are invoked in the maximize mode. There are two scenarios: 1. Painting the child windows: The MDI is invoked and the child windows are invoked for the first time. Here the flicker is quite perceptible. I understand that the forms and the controls are getting painted for the first time and hence the flicker. However is it possible to paint the complete screen in the backgroun ...Show All

  • SQL Server Guids as primary keys

    Is it a good idea to use Guids as primary key. What is the impact on performance. Guids are random by nature that may have an impact on writing clustered index. Any comments or suggestions I'm not a complete expert, but one problem I know of with GUID's with clustering keys is that they are not naturally increasing so this could introduce lots of fragmentation in environments with lots of inserts. They are also wide (16 bytes) so having them in all indexes and foreign keys can be a hit to the size of the database, scan performance, etc. ...Show All

  • Visual Studio 2008 (Pre-release) Problem with Trigger / Setter

    I am trying to attach a trigger to a menu item so that the checked state of the menu item will affect the visibility of another element.  The menu item and target element are not in templates, but in the main XAML of a window.  The code is below: < MenuItem x:Name = " PeersMenuItem " Header = " Peers " IsChecked = " True " > < MenuItem.Triggers > < Trigger Value = " True " Property = " MenuItem.IsChecked " > < Setter TargetName = " PeersControl " Property = " UIElement.Visibility " Value = " Visible " /> </ Trigger > < Trigger Value = " False " Property = " MenuItem.IsChe ...Show All

  • SQL Server Unable to install SQL Server 2005 Standard

    I am trying to install SQL Server 2005 Standard Version on my IBM Thinkpad running Windows XP (SP2). I am installing from the CD that was given out to attendees at the Visual Studio 2005 Launch Event. The install is failing on the SQL Database Services with the following error: SQL Server Setup failed to execute a command for server configuration. The error was [Microsoft][SQL Native Client][SQL Server]. The default full-text language is not supported by the full-text search component. All the other options installed OK. I have also successfully installed Visual Studio 2005 on this same PC and I can access SQL databases on other machine ...Show All

©2008 Software Development Network