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

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

Angelsb

Member List

ljlevend
Fleurin
Alfred R. Baudisch
GregV
Ala Kushlaf
tfieldho
aburri
MaryJones
Andres Aguiar
david white
Elmer_927
NightOwl888
James Cole
5thCav
DJ24966
Dr.Gonzo
DWood
Jaw9
Ben Walling
Bigbyte
Only Title

Angelsb's Q&A profile

  • Visual Studio Can't implement VSProject interface

    Can’t implement VSProject   Hello, I trying to create some mock objects for unit tests that implement the VSProject interface. I created a class and implemented the interface, everything compiles but one I try to instantiate my mock class (new MockVSProject()) I get:   System.TypeLoadException: Method 'get_DTE' in type 'MyLibrary.MockVSProject' from assembly ' MyLibrary.Mocks, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation..   Any idea of what the problem could be   Thanks   Gabo It seems like it, ho ...Show All

  • Windows Forms DataGridView Image Columns

    I have been pulling my hair out on this one and decided it was time to post it here after Googling for countless hours without finding an answer to my problem. I have a simple databound datagridview that I am trying to display an image on a cell by cell basis based on the cell value (stop, started, finished) etc.. The values are int values and so far I have been able to get it to work but I have noticed lots of flickering while using the grid and lots of mismatched images being displayed for the underlying cell value. Any help would be much appreciated... private void dataGridView1_CellFormatting( object sender, DataGridViewCellFo ...Show All

  • .NET Development Creating Images

    C#, .NET 2.0, XP+Latest updates I am reading an image from a database into 'rawData'. I then use the following code to create an Image and add it to my cache: // Variables used.. // SortedList<string, Image> m_images; // string fileName; // string imageId; // byte[] rawData; // 'File' is System.IO.File // Save it to a file File.WriteAllBytes(fileName, rawData); // Add the image to the cache m_images.Add(imageId, Image.FromFile(fileName)); // Delete the file File.Delete(fileName); The problem is that the File.Delete(...) is thowing an IOEx ...Show All

  • .NET Development Using Isolated Storage for DB connection strings

    Hi, I'm using .NET 2.0 Beta 2... I am using Isolated Stored to hold application settings and user setting, application data is stored in an Assembly scoped store and user data is stored in a User scoped store. My question is regarding the encryption of a db connection string. If the connection string is in the application store does that mean it is already encrypted and ONLY accessable by my application and therefore I don't have to specifically encrypt the data Failing that is there anything in .NET 2.0 that will help me use DPAPI or just as well hide a secret key in my assembly. I suppose I could obfuscate my assembly to hide a secret key ...Show All

  • Windows Live Developer Forums OTP: Message language

    So I downloaded the Italian version right, but messages and whatnot are still in english. Is there anyway to change this without changing the language windows itself is set to or having the other person write in Italian (Doing this cause I'm learning italian :p) I've googled abit for stuff, but I can't find anything helpful.. Any help would be much appreciated. I'm sorry, this is the windows live *developer* forum, and all these forums are for programming questions only. For consumer level questions, you'd need to find a more appropriate forum ...Show All

  • SQL Server BCPing results from sproc that uses temp tables

    I create the following stored procedure: USE Northwind GO CREATE PROCEDURE mgr_Proc AS SET NOCOUNT ON SELECT * INTO #Temp1 FROM Northwind.dbo.Region SELECT * FROM #Temp1 DROP TABLE #Temp1 SET NOCOUNT OFF GO If I run the stored procedure in Query Analyzer with: EXEC mgr_Proc it works fine.  However if I try to use BCP to get the same results: bcp "EXEC Northwind.dbo.mgr_Proc" queryout C:\Test.txt -w -Sserver10 -T -t\t I get an error: SQLState = S0002, NativeError = 208 Error = [Microsoft][ODBC SQL Server Driver][SQL Server]Invalid object name '#Temp1'. What am I doing wrong I think if ...Show All

  • Smart Device Development _AFX_NO_PRINTING_SUPPORT and MFC8 for WinCE

    now in the MFC8 the _AFX_NO_PRINTING_SUPPORT is defined and all the printing mng is not available anymore for MFC8 under WinCE (for Example the definition of the CPrintInfo, all the BeginPrint etc for the CView is missing). I've ported an application from EVC4 that was using these functionalities Now, instead of hacking my MFC8 version (recompile it for every) I'd like to know if this is going to be implemented again in the next upcoming service pack or not thanks I can not see that it is defined. I see that there are #ifndef _AFX_NO_PRINTING_SUPPORT, but since this is not defined ...Show All

  • Software Development for Windows Vista DX 8.1 app not working in Vista Feb CTP

    Hello I am trying to get some of my simple DirectX 8.1 applications working under Vista Feb CTP. The programs starts OK but when it comes time to bind to the DirectX 8.1 object it fails to Initialize. It is as if DirectX 8.x is not there. I have installed the Redist of DX 8.1b but Vista keeps blocking my app from detecting it I read that DirectX 9, 8 and 7 apps will need to run in Compatibility mode to work under Vista When will this compatibility mode be operational. I have tried the Run my app as “Windows XP (Serive Pack 2)” compatible but this does not work Any ideas I have been ...Show All

  • Visual Studio Team System Copying Team Project Files to local folders

    Is there a way to copy Team Project files to local folders Yes and no. I understand that I need to manually copy the files from source but what I want is the ability to synch my project files to my local machine so I can reference them when I doing development. We are doing something similar to this in our company using sourcesafe. Taylor ...Show All

  • Visual C# error with MS Access

    I am trying to open a connection to a MSAccess dataBase however, when i do i get this error - ex {"ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified"} System.Data.Odbc.OdbcException how do i get around this here is my code string errlocal = "No DataBase Errors" ; err = errlocal; constring = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\Documents and Settings\\Francis Jackson\\My Documents\\Mentor.mdb" ; OdbcConnection DBConstring = new OdbcConnection (constring); try { // DBConstring.ConnectionString = constring; ...Show All

  • SQL Server Setup failed - no package <sqlncli.msi>

    I tried to install a sql 2005 desktop engine. This fails with the error: An installaton package for the product Microsoft SQL Server Native Client cannot be found. Try the installation again using a valid copy of the installation package ‘sqlncli.msi’   I used a fresh, new download SQLEXPR.EXE. What shall I do   I have the solution. If someone is interested:   First I extracted the files in a separate directory: SQLEXPR.EXE" /x:c:\sqlexprtmp Then I searched and executed “sqlncli.msi” I clicked on “uninstall”. After this I rebooted the ...Show All

  • Windows Forms How to add a file to a clickonce deployment?

    I have an application that is a windows application and requires a file which contains profile information for an emulator. How can this file get added to the clickonce package so the file is installed when the application is installed. This is actually a file that can be executed so I also need to know what the path would be. Any ideas Publishing from Visual Studio will only handle files that are included in your project.  Application Files do not have to be referred to by the My.Resources. If the file is not part of your project, you have two options. 1. Add the file to your project using Add -> Ex ...Show All

  • Visual Studio Express Editions caps lock command

    Is there a way to toggle the caps lock from within a program made in visual basic You can p/invoke sendinput to send the key (VK_CAPITAL). ( getkeystate can tell you if it is on or off) What is it the purpose If you want the user's input into your form to be in upper case or something like that, then there are better ways. (p/invoke = bad, managed code = good) ...Show All

  • Visual Studio Express Editions Couple Of Easy Questions

    Alright First Question: I Made a list box with user names in it, and i was wondering how when the user double-clicks their name how to make it ask for a password and it loads their information, like they double clik and it says password and they type their password then their ex. datagrid with their information pop-up! How do i make this happen Ill ask second question after first is answered! Thanks   * edit- shucks i did it again, can someone please move my post to the visual c# 2005 forum section, i thought i was already in it! Sorry! Which part of the problem are you stuck on Do you know ...Show All

  • Visual Studio Express Editions Classes for multiple card games using the Card Game Framework?

    Hi All- What would be the best way to set up a game that had multiple choice in the type of card game   Would I set up a class for each type of game like a class for five card draw, a class for seven card stud Or is there a better way Thanks in advance, Mac You could have a generic Card class that sets up a framework for the other card games to follow. class CardGame {   public abstract Card[] DealCards( );   public abstract bool IsGameOver { get; } ... } class FiveCardStud : CardGame { override your functions here... }   ...Show All

©2008 Software Development Network