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

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

FHeNuS

Member List

Roman Yurkin
Poshi
Patrice Calve
snesbit
sam2006
Dave Black
R Kaur
Blake05
llsspatt
n3tster
DavBrook
Michael Raheem
Debbie112
jimmimacc
Roesel
Tim Burton
DOTNETFantasy
dougde
greenhart
Manonbbar
Only Title

FHeNuS's Q&A profile

  • Visual C# Partial Classes and usercontrols

    Hi All, I’ve been looking into creating a partial class for a usercontrol but without luck. The ascx.cs class sees the method in the partial class and the partial class can see methods in the ascx.cs file (via intellisense) but when I do a build it says e.g. CallPartialMethod does not exist in the current context . I’ve added some quick sample code below to show what I mean. e.g. test.ascx // standard usercontrol …html & ...Show All

  • Visual Studio Tools for Office multiple windows again and again

    So,   I get this strange error once again. Please give some directions what is the cause of it and how it can be circumvented. I create Word project drag some bookmark controls from my data source and then I create an Actions pane with Binding navigator control in it. The Binding navigator controls is bound to the binding source of the bookmark controls in Word document. Just for the sake of concept proof I make my dataset to be Cac ...Show All

  • Visual C# problems with mscorlib.dll

    I've started to program in C# after some experience with Java and Eclipse. The installation of Visual Studio .Net has been done by one of my colleagues of the system management. I don't recall him having problems. Anyway, I start to write my first program ever in C#, following a book "C# in 24 hours" (one of the 5 I've bought). I run the program and it gives me an error in a piece of code I didn't write. Here's are the messages I get : 'De ...Show All

  • Visual C# Changing File Permissions

    I have a file that I want to copy to a different location. Sometimes the files will be marked as ReadOnly. I want to change the permission to not read only and then copy the file and change the permission back. Is there any way to handle this Here is how I detect the attribute: string file = @"C:\File.jpg"; FileInfo info = new FileInfo( file ); if ( (info.Attributes & FileAttributes.ReadOnly) != 0 ) Cons ...Show All

  • Visual Studio Adding menus items (don't understand ProvideMenuResourceAttribute)

    I'm taking the normal ToolWindow sample and modifying it to start a new package. This package simply exposes menu items and nothing else. I modified all of the commands and guids and names and stuff and now I'm not seeing my menus showing up as I expected them to. There is only one thing that I don't feel I've changed correctly (though this may not be the true problem) because I dont understand the numbers its using. At the top of the ToolWindow ...Show All

  • Visual Studio 2008 (Pre-release) Unable to data-bind to a PasswordBox

    When I attempt to bind to the Password property of the PasswordBox (binded to a property on an object that returns a string), I get the following error: Object of type 'System.Windows.Data.Binding' cannot be converted to type 'System.String'. Is string the wrong type....I tried char[] with the same result. Hi, I want to use the Password of a PasswordBox as CommandParameter of a Button. Since the Password ...Show All

  • .NET Development can't launch the MFC application on AMD64 operating system.

    Hi,        I have ported an application from 32 to 64 bit and trying to run on AMD64 OS but it prompts a follwing system error.   " Application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. " system error code for this message is 14001. Also, Windows event viewer displays the following message  "Dependent Assembly Micr ...Show All

  • Visual Studio 2008 (Pre-release) Adding query results to a List, can it be done?

    I've been testing linq and I'm wondering if this can be done.  The code compiles fine but crashes when run. I'm trying to get LINQ to create a new instance of my class for each result set that I then add to a typed list using foreach.  Now, is it not working because my class does not implement IEnumerable or is it some other reason Here's the code snip I'm trying to get to work. using System; using System.Collections.Generic; ...Show All

  • Visual Basic panel question

    im tring to remove controls from a panel Private Sub Button2_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Dim ctrl As Control For Each ctrl In Me .Panel1.Controls Me .Panel1.Controls.Remove(ctrl) Next ctrl End Sub this only removes half the controls. what am i missing Thanks, dan Not sure why, but ...Show All

  • Windows Forms PostBuild modified Assemblies

    I would like to protect the assemblies before deploying them. For that purpose I wrote a little command file, called by the PostBuildEvent. It starts the Remotesoft Protector and replaces the compiled assemblies by the protected ones. If I try to deploy the project with ClickOnce the protected assemblies seemes to get newly compiled. The deployed application contains the unprotected versions. How can I modify the build process or maybe configure ...Show All

  • Smart Device Development Bringing Application Back to the Foreground

    Hi All, I have an applicaiton that is running in the background. It is constantly looking at if there are any new messages to display. Now if a new message arrives ths APPLICATION must come to the foreground. What would be the best way to achieve this Thanks VG Hi, To bring a window to the foreground you can do something like this: form1.Visible = true; form1.Refresh(); Hope this helps. ...Show All

  • Visual Studio Transform Model to DSL

    Hi I ask my self, if there is a kind of "best practice" how to generate a DSL from a model I have drawn in my custom designer. Where should I start to implement such a scenario Thanks in advance Alexander Alexander, I am trying to understand your question. If you have created a custom designer, then that is itself a DSL. The models you create with your custom designer are expressions in your language. ...Show All

  • SQL Server Commercial Application using MSDE or SQL Server 2005 Express

    Hi, I'm currently developing a commercial application in VS2005 that will catalogue hobbyist type data such as Music and Movies and I am considering using SQL Server 2005 Express for the client database. My question is how popular is MSDE and/or SQL Server 2005 Express in commercial software products I can't think of any application that I could buy off the shelf that uses the light-weight version of SQL Server whether that be MSDE or SQL S ...Show All

  • Windows Forms Getting DataGrid cell value or selecting first Row

    Does somebody know how to get the value of a DataGrid cell from its co-ordinate values, say point (x, y) e.g. x=42, y=56. Ie knowing the coordinates (and the dimensions) of the cell is it possible read the text value contained within it. Or&nbs ...Show All

  • Windows Forms SelectedIndexChanged event does not fire for ComboBox

    Hi I am creating a windows application using vs 2005. I have written some code in combobox SelectedindexChanged event. This even works fine if I select item using mouse but if I use keyboard and select item using TAB key event does not work at all. If this behavior is by design what workaround can I use Users would be using keyboard most of the time. Thanks Guys, make sure that the Auto-Postback property of the web control is ...Show All

©2008 Software Development Network

powered by phorum