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

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

rhinoishere

Member List

Sajal Mahajan
Mike Brown
pjtaylor
Will Merydith
lingga
Larry Charlton
Luis Alonso Ramos
Mike Krysl
Kamii47
programmer01
Vashnik
Uwe82
game-maniac
svenderuyter
oykica
mcass
Gafrage
Davids Learning
Adithi
sugrhigh
Only Title

rhinoishere's Q&A profile

  • .NET Development Thread was being abort

     Hi all, I wrote an application which display a status dialog box while doing a time-consuming task. However, sometimes it raises an error message saying that "Thread was being aborted.". What wrong with my code Please help! Here is the code: The statusdialog is to display a dialog // status dialog public class  StatusDialog : System.Windows.Forms.Form { private System.Windows.Forms.Timer timer1; private System.Windows.Forms.Label label1; private System.Windows.Froms.Label label2; public StatusDialog(string title) { label2.Text = title; } // Tick event handler private void tick( object sender, System.EventArgs e) { try {    if(this.label1.BackColor == Sy ...Show All

  • Visual Studio 2008 (Pre-release) Where to Download XAMLPAD?

    Hi, I am looking for XAMLPAD, does anyone knows the link to download it The closest I could find is XamlPadX v2 at http://blogs.msdn.com/llobo/archive/2006/12/30/xamlpadx-v2.aspx Not sure if this is the correct one Thanks Ponnu I downloaded XamlPadX v2 from the msdn blog that Ponnu posted and I ran the exe and couldn't find it all that user-friendly to create XAML forms so I deleted all the files. Later I found a process running in the background called persentationFontCache.exe which started as a local service. (I use user mode only). Today I did a search for it on my PC and File Not Found . Does this file have anything to do with WPF ...Show All

  • Visual Studio Unable to load local MSDN from VS2005

    Hi, I am unable to load local MSDN from VS2005 by pressing F1. I have VS2005 (Architect edition) and MSDN October 2005 installed on my XP-SP2 machine. MSDN is working fine when I open it directly from Start-Programs-Microsoft Developer Network->MSDN Library October 2005. But when I open by pressing F1 from IDE or Programs-Microsoft Visual Studio 2005->Microsoft Visual Studio 2005 Documentation, none of the help topics are to be seen except for SQL Server 2005 and Microsoft Enterprise Library (which I have installed recently). Previously I have never installed any Beta or other visual studio versions. I have gone through all the threads in this forum and included the proxy settings in the config files, but there is no change. ...Show All

  • Visual C++ strange error :-S

    BITMAP HdcToBitmap(HDC hdcNeedle, int needleWidth, int needleHeight) { HDC memDC_Needle = CreateCompatibleDC(hdcNeedle); HBITMAP memBM_Needle = CreateCompatibleBitmap(hdcNeedle, needleWidth, needleHeight); SelectObject(memDC_Needle, memBM_Needle); BitBlt(memDC_Needle, 0, 0, needleWidth, needleHeight, hdcNeedle, 0, 0, SRCCOPY); BITMAP bmpNeedle; GetObject(memBM_Needle, sizeof(BITMAP), &bmpNeedle); return bmpNeedle; } There are some questions that remain - where are you getting these APIs from What sort of project did you create What IDE are you using As nobugz said, the errors you're getting make no sense, they appear to be errors in the calling convention of the APIs. ...Show All

  • Gadgets Version upgrade for gadgets

    Hi! I am just about finished making a gadget - and I'm making the gadget detect if there is a newer version out there. So I compare the System.Gadget.Version and another version number coming via a XML, and if the xml file shows a newer version, the gadget notifies the user about the new version and gives her a link. Now, I have been testing this and there are some shortcomings. Let's say I'm currently running a gadget called mygadget.gadget, and its in my localapp/sidebar folder (since its installed) and it has version no. 0.9. Little later there is a newer gadget with 1.0 version and the xml notifies the 0.9 gadget about the new version. The user clicks the link (that just appeared) and I get the Install dialog... (i did set up the m ...Show All

  • Visual Studio "View Code" / "View Designer" menu items

    I'm creating my own editor based on the PythonProject. The problem is that when i try to handle the primary_view, the menu items "View Code" and "View Designer" disappear: My package registration [PackageRegistration(UseManagedResourcesOnly = true)] [DefaultRegistryRoot("Software\\Microsoft\\VisualStudio\\8.0")] [InstalledProductRegistration(false, "#100", "#102", "1.0", IconResourceID = 400)] [ProvideLoadKey("Standard", "1.0", "VsDmxEditor", "myCompany nv", 1)] [ProvideEditorExtension(typeof(EditorFactory), ".tx", 50, ProjectGuid = "{A2FE74E1-B743-11d0-AE1A-00A0C90FFFC3}", TemplateDir = "..\\ ...Show All

  • Windows Forms Two color progress bar or somesuch

    I'm looking for a component or control or something that I can use to visually display the times when something can or cannot occur. For example, a process will only run from 8 p.m. to 4 a.m. The user can adjust the exact times. I want to graphically show this. It would look something like: **** **************** **** Except that it would be a solid line instead of asterisks. Any ideas It's kind of like a progress bar but with two colors and some extra properties. Thanks, check this out for coloring progress bars: http://support.microsoft.com/default.aspx scid=kb;EN-US;323116 - this one examples how to create a smooth custom progress bar http://www.codeproject.com/cs/miscctrl/colorpro ...Show All

  • Visual Studio Team System Error "Cannot pass a GCHandle across AppDomains." while creating New WorkItem in TFS with SP1

    HI, I am getting following error while creating WorkItem through WorkItemTracking API. " Cannot pass a GCHandle across AppDomains. Parameter name: handle " I am having single server installation of TFS. Previousy I read that this is a known bug and it is resolved in SP1. I installed Sp1 on my server. But I am still getting the same error. Please help. Thanks in Advance.. It's Version in GAC is "8.0.50727.147". But installation of SP1 went without any error. What can be the cause Do I need to re-install SP1 Please suggest.. ...Show All

  • Visual C# New C# Keyword - retry?

    I believe that C# could benefit from extending try-throw with retry keyword. Simple example of this would be: try { PerfomAction(); } catch(Exception ex) { DialogResult dr = MessageBox(ex.Message, "Error", MessageBoxButtons.AbortRetryIgnore, MessageBoxIcon.Question); if(DialogResult.Retry==dr) retry; // Jumps to the begining of try block } IMHO: This makes for cleaner-looking and less bug-prone code than the alternatives with goto or loops. This is almost right. You need to set retry=false at the BEGINNING of the try block: [code] bool retry = false; do{ try { retry = false; //default value if no exception exposed //do the stuff here } ...Show All

  • Windows Forms Charts in .Net

    some one can help me by saying how to do the charting in .net. .Net framework supports for charting [inbuilt component exist ] or have to go with third party components. Write it your self. It's not so hard. Create custom component and then override method OnPaint. In c++: void OnPaint(PaintEventArgs __gc * e) { Graphics* g = e->get_Graphics(); g->DrawLine( ... ); g->DrawRectangle( ... ); g->DrawString( ... ); etc. } Computing of coordinates of chart parts can be based on control size. ...Show All

  • Visual C# Generic type parameter constraint is not enforced correctly

    or at least it doesn't seems... Hello, I'm working on a weird but really usefull design that allows to write static methods in generic type using the type parameter. The type parameter is then infered, so the FxCop team told me it was a design that could bypass the DoNotDeclareStaticMembersOnGene ricTypes rule. To make it more understandable, here is a short code sample :     public abstract class BaseGenericClass <T> where T : BaseGenericClass <T>, new ()     {         private static T instance = LoadInstance();             public static T Instance { get { return instance; }}   ...Show All

  • Commerce Server 64-bit CS 2007 - Custom Pipelines - Registration/Deployment Process

    Can someone help me out with the steps to deploy aa 64-bit version of custom pipelines from 32-bit VS 2005. Building the project in ".NET" allows for the framework loader to automatically build to the proper framework installed. But our custom pipelines do not appear to be registered because they appear as broken legs when viewed via the Pipeline Editor. I have found no links discussing this issue so any help is much appreciated! Yes we did. After registering, the custom pipeline components are still broken in the pipeline editor. However, the components do run successfully. ...Show All

  • SQL Server On which platforms is SQL Server 2005 Compact Edition supported.

    Will it be possible to run SQL Server 2005 Compact Edition on the following platforms: Windows 2000 Windows XP (if yes then on which versions of it) Vista x86 Vista x64 Are there OLE DB providers for SQL Server 2005 Compact Edition The SqlCe will run on this : http://www.microsoft.com/downloads/details.aspx FamilyId=85E0C3CE-3FA1-453A-8CE9-AF6CA20946C3&displaylang=en#Requirements And it's not OleDb Provider, but it's SqlCe Providers. It's use the OleDb in under layers. OleDbConnection -> SqlCeConnection OleDbCommand -> SqlCeCommand .... ...Show All

  • Visual C# arrays and properties.

    dear all, I have a class called precipitate class Precipitate { private string name; public string Name { get { return name; } set { name = value; } } } So far so good. I create an array of the precipitate class Precipitate[] prec = new Precipitate[20]; for (int i = 0; i < 20; i++) prec = new Precipitate(); when I want to access the property name for a particular array element we do it as prec .name. Again no problem here. Now I want to have something like... what I want is something like... prec .equation[j].equationname; prec .equation[j].valuex; etc... how should I do it I just know the basics and dont know if...you can create a property array "equation[]" inside the prec class and make ...Show All

  • SQL Server Database Snapshots Performance

    Hi, I'm developing a Data Mart and i'm experiencing a performance gap between my fact table and its snapshot. I create snapshot with the istruction: CREATE DATABASE DB_SNAP ON ( NAME = DB_SNAP_Data , FILENAME = 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\ DB_SNAP_Data .ss' ) AS SNAPSHOT OF DB ; And it works. But executing queries on the snapshot result very "low". Can anyone tell me why Tanks. F. There is a section in Books Online titled "How Database Snapshots Work" which shows the extra level of redirection for snapshots. For a newly created snapshot, the data will not be in cache so it might take a little while to pull the data into the buffer pool. Once it ...Show All

©2008 Software Development Network