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

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

format1337

Member List

Dave Dumas
Han Qiao
mobigital
TheViewMaster
BuddhaBoy
Digital Realm Society CEO
Jasper22
BeaverMan
PaulDev
barbbayne
imdqa
Koen Vermeire
kfindev
Anthony Sneed
Atul Nisar
Coroebus
Kennon2005
coder2k
ckob
Atanu Maity
Only Title

format1337's Q&A profile

  • Visual Studio 2008 (Pre-release) loading a bitmap into an image from a zip file

    hello, is there a way to use a bitmap image that resides in a zip file as a the source for a WPF image control and is there a way to do it in the XAML file and not in the code file thanks.. There's a nice post here on how to unzip a ZIP file in .NET. My recommendation would be to unzip the file, and get the images into a temporary location and use them from there. ...Show All

  • Visual Studio How do I debug Web Apps on a remote machine ?

    Hi, I am trying to develop a web app that uses COM objects that only reside on a server where I cannot install VStudio. I have, however, installed .netFW 2.0 Beta and the remote debugging tools. Now I cannot find a way to tell VStudio to run the app on the remote machine when pressing F5. Is this by design The samples for remote debugging don't touch web apps, and the settings for web apps don't let me specify remote debugging. A little hint would be appreciated. Guenter You need to install the remote debugger on the remote computer. The remote debugger can be installed using rdbgsetup.exe which is the self-extracting installation program. You can find it on your dev workstation in the Visual Studio directory. Run this setup on ...Show All

  • Windows Forms Workaround Needed for No Tab KeyChar

    Per Microsoft, I cannot get or set the KeyChar value for the TAB key. If the TAB or ENTER key is pressed then I need to call a method. Is there a way of either detecting the TAB key or turning it off I do not want to write a method for each control.leave. private void tabControl_ProcA_KeyPress(object sender, KeyPressEventArgs e) { if (e.KeyChar == (char)Keys.Tab || e.KeyChar == (char)Keys.Enter) { e.Handled = true; calculateArea(this.ActiveControl); this.SelectNextControl(this.ActiveControl, true, true, true, false); } } Thanks, cj The Tab and Enter keys are special, you need to catch them early before the form starts using them. Add this co ...Show All

  • Visual C# Is C# 100% pure OOP.., Boxing n unboxing

    hai, int is an alias of Int32 structure, so the statements- int age; Int32 age; ->are both similar means then statement, int age; here age is an *object* and not considered as primitive type as in Java or C++, isn't it . By this I came to conclusion C# is a 100% pure OOP language. Am i right or wrong yours suggestion pls... OK, coming to the next query- int age; ->if age is considered as an object then, what for the boxing and unboxing is there pls, suggest your points...   I thought if int as an object, then why Boxing is needed. Ok clear with this. But Inheritance , is supported by C# and not multiple inheritance(only inheritance is basis for OOP and not Mutliple nheritance).Though multip ...Show All

  • Visual Studio Team System Query history on files deleted

    A file has been deleted by a fellow devleoper. How can I find out who the person was, the change set number and how can I recover the deleted file Thanks, Maggie Hello, you can do this from the command line or from Source Control Explorer. To do this from the latter, please go to Tools->Options->Source Control->Visual Studio Team Foundation Server and check "Shot deleted items in Source Control Explorer". Now you can select these items and see their history and call Undelete. You can laso use tf dir /deleted to get the deletionId which you can use later with "tf undelete" ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Do render targets have to be the same size as the back buffer?

    Hi, I have a render target set up as: screenBuffer = new Texture2D(graphics.GraphicsDevice, 1280, 720, 1, ResourceUsage.RenderTarget, SurfaceFormat.Color, ResourcePool.Default); When the back buffer is set to 1280,720 (the same size as the render target) the code below works and the screen displays a blue background as expected. //Set device to render target graphics.GraphicsDevice.SetRenderTarget(0, screenBuffer.GetSurfaceLevel(0)); graphics.GraphicsDevice.Clear(Color.Blue); //Set the render target to the back buffer graphics.GraphicsDevice.SetRenderTarget(0, graphics.GraphicsDevice.GetBackBuffer(0, 0)); graphics.GraphicsDevice.Clear(Color.Gray); //copy the (scaled) screen buff ...Show All

  • SQL Server Requires Code to connect SSIS using ODBC source

    Hi, I want to consume ODBC source in SSIS package. But unfortunately there is no ODBCDataReader available. Please give me some code sample or links to work with SSIS package using ODBC as source. Regards. ...Show All

  • Visual C# Check if string contains valid year

    How do I check if a string contains a valid year only... I've the classic way but it seems it works only with complete dates. Here's what I tried: string MyString = "2001"; DateTime MyDateTime = DateTime.Parse(MyString); Console.WriteLine(MyDateTime); This code snippet throws an exception ! Any help would be appreciated. My Version: string MyString=" 1776 "; Console.WriteLine(DateTime.ParseExact(MyString," yyyy ", CultureInfo.CurrentCulture)); ...Show All

  • .NET Development Excel and ODBC

    So I'm using ODBC to connect to an Excel spreadsheet. I use an Adapter with the simple SELECT * FROM [Sheetname$] to fill a DataTable. The problem is the DataTable doesn't fill correctly. I went ahead and just attached the DataTable to a DataGridView and noticed there were missing values. Specifically where values above them were different. Ex. Value in [4][4] = "1/1/2002". Therefore it expects every value in [x][4] to be a date. Entire columns of data are missing I'm guessing because they didn't match the first data type encountered in that column. Is there a work around for this No, I don't want to use COM. They do not want to have Microsoft Office installed simply to use this application. This is why I'm using OD ...Show All

  • Visual Studio Team System CTP 7 on Team Suite, Schema Import - "statements were not fully understood"

    There are numerous statements like this: ALTER TABLE [dbo].[DCJStatTx] NOCHECK CONSTRAINT [FK_DCJStatTx_DepartmentDeptSchedule] GO ALTER TABLE [dbo].[DCJStatTx] NOCHECK CONSTRAINT [FK_DCJStatTx_EmployeeEmployee] GO ALTER TABLE [dbo].[DCJStatTx] NOCHECK CONSTRAINT [FK_DCJStatTx_JobOpenJob] GO ALTER TABLE [dbo].[DCJStatTx] NOCHECK CONSTRAINT [FK_DCJStatTx_JobStatusStatusCode] GO ALTER TABLE [dbo].[CustInvNotes] NOCHECK CONSTRAINT [FK_CustInvNotes_Division_AcctDivisions] GO ALTER TABLE [dbo].[CustInvNotes] NOCHECK CONSTRAINT [FK_CustInvNotes_CustomerNCustomer] GO ALTER TABLE [dbo].[QQOrderDet] NOCHECK CONSTRAINT [FK_QQOrderDet_ProductID_QQProducts] GO ALTER TABLE [dbo].[QQOrderDet] NOCHECK CONSTRAINT [FK_QQOrderDet_SizeIDQQSize] GO .... ...Show All

  • Visual Studio 2008 (Pre-release) Exception with maxConnections > 10

    A console application is the testing host of my WCF service. I tried to increase the maxConnections value of the netTcpBinding for the service enpoint, from the default value of 10 to 100 (but the problem occurs with any vaue higher than 10). <netTcpBinding> <binding name="netTcpBindingConfiguration" listenBacklog="10" maxConnections="100" portSharingEnabled="false"> <reliableSession enabled="true" /> <security mode="Message"> <transport clientCredentialType="None" /> </security> </binding> </netTcpBinding> At the ServiceHost.Open I get this exc ...Show All

  • Visual Studio 2008 (Pre-release) Can we deploy Segoe font with our WPF apps

    So the WPF app I'm working on right now uses Segoe in Vista and looks great. In XP, it uses something else, not sure what to be honest, but it doesn't look nearly as nice. Can we ship the Segoe font with our app so that non-Vista users see the same font we do That is some good information, thanks.  But it still doesn't answer my main question.  Are we allowed to redistribute the Segoe font that comes with Vista as part of our app for people not on Vista   Or does Microsoft plan on making the font available to non-Vista users somehow ...Show All

  • SQL Server Miscrosoft Integration services gives an error of Sript Task Failed

    In our package we have a script task that renames the files in the server (Windows 2003) where the package is deployed. When we execute the project from the development environment(IDE), then it works fine and doesn't give any error. However, when we deploy the package after configuring the Configuration file properly, then it throws up a "Script Task Failed" error and the the package execution fails. We checked all the variable values from the development environment in the current package. The child variables take the variable values from the parent package and the configuration file. It works fine, which implies that there is no problem with the script (This same script was working perfectly earlier - We have made ...Show All

  • Visual Studio Team System Newbie Question - Edit Existing Team Project

    We have recently began using TFS. During the setup process, we downloaded and modified the MSF for Agile Software Development - v4.0 process template to include some custom fields with enumerations that we use internally. Example : Field Name : Department Enumerations: Finance Help Desk Business Development etc. We have recently need to add an enumeration to a field we created for an existing team project. Is there anyway we can update the process template to include this new field enumeration to an existing project What is the best method of adding this enumeration Should we change the database directly and if so, are there any issues we should be careful about any advice would be much appreciated!! ...Show All

  • Smart Device Development ActiveSync Calendar Status Deactivated

    I cannot synchronize my calendar with ActiveSync 4.2 In status window I can see that calendar is deactivated. How can i activate it This forum is smart device development related. Since your question is not related to smart device development, it's off topic here. Please post to relevant forum or news group: http://support.microsoft.com/newsgroups/default.aspx Closing as off topic. ...Show All

©2008 Software Development Network