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

Software Development Network >> Mike Marchand's Q&A profile

Mike Marchand

Member List

Pejacepoha
nasr0001
Tadeu
Leandro Pardo
Teymur Hajiyev
Saurabh
Anup Shah
Will Strootman
Heather2
Olivier B.
Josh. W.
alek31415926
p3n
aabudara
Dave McCall
iparkin
TopOracle
recruz
Seth Griffin
CTA
Only Title

Mike Marchand's Q&A profile

  • Visual C# how to change color in a text cut

    i'm drawing a string in a progress bar control and when the string gets outside of the progress bar, if the backcolor is white and the font is white , we can't see it, so i need a way to be able to show the remaining chars in some inverted colors (backcolor of the progress bar) . i could have cut the string but it doesnt work if the bar cut a char in 2. waiting for an answer, i remember you that in this way, if i selected text using mouse, i can see the string even if it's white on white background! ...Show All

  • .NET Development .NET String Array's

    Hi folks. If I have an array of Strings, how can I tell how many strings I have in the array eg. String* dirs[] = Directory::GetDirectories(strSourcePath, S"*"); How many strings do I have The array has a Length property; see http://msdn2.microsoft.com/en-us/library/system.array.length.aspx . There is also an example in http://msdn2.microsoft.com/en-us/library/6ff71z1w(VS.80).aspx Best regards, Johan Stenberg ...Show All

  • .NET Development Data file unauthorized access

    Anybody know how to prevent a user from deleting a file created by a C# application Let say that my C# program created a text file and I do not want the current logged users to be able to delete that file using the file manager. In other word, I want only my running application to have full access rights to the text file but current user logged do not have any access to the file. Operating system is XP. Unless you use the filesystem to monitor the specific file, the file will be able to be deleted unless it is currently being used...in which you will get a file in use exception - access denied! You may have ...Show All

  • Visual C++ _CrtIsValidHeapPointer throwing an exception

    I have a mixed (native/cls) WinForms app that calls into a native DLL and consistantly throws a _CrtIsValidHeapPointer exception. As best I can tell, it occurs when the DLL initalizes. According to the stack, when this guy gets initalized, everything blows up. static std::locale g_loc; // default locale From there we wind through a couple of function calls, and end up at /* * If this ASSERT fails, a bad pointer has been passed in. It may be * totally bogus, or it may have been allocated from another heap. * The pointer MUST come from the 'local' heap. */ _ASSERTE(_CrtIsValidHeapPointer(pUserData)); ...Show All

  • Visual Studio Team System TFSDeleteProject and Error TF30076

    I've used TFSDeleteProject before with limited success (you're not allowed to create a project with the same name as you just deleted), but now when I run it I get the following error: TF30076: The server name teamserver.int.bre.com provided does not correspond to a server URI that can be found. Confirm that the server name is correct. Anyone have any ideas on this C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies>tfsdele teproject /TeamFoundationServer:teamserver.int.bre.com Test1 TF30076: The server name teamserver.int.bre.com provided does not correspond to a server URI th ...Show All

  • Windows Forms String.Format

    I have a string, for example, "123abcdefg."  I would like to format the string and assign it to a textbox.  The format I would like is, for example "123-abc-d-efg."  I have tried using String.Format, but such custom formats seem to apply only to numbers, not to strings.   Is there any other way of formatting the string, short o ...Show All

  • Visual Studio 2008 (Pre-release) WPF not working at all in a Windows Service?

    Hello, WinFX documentation states that WPF in the context of a service is not supported ( http://windowssdk.msdn.microsoft.com/library/en-us/wcp_conceptual/html/bf7c18db-fe5d-4f72-81c7-14079aa4ecf4.asp ). Imagine we want to develop a server application that can receive documents / print jobs in various formats load, manipulate, save images create and format flow / fixed documents print / archive documents It is required that the application runs without a user being logged in, and runs in fully-automated mode, so the natural choice would be to implement it as Windows Server. Question: Will WPF elements not wor ...Show All

  • Visual Studio Express Editions Unable to start debugging on the web server.

    I have been working with Visual Web Developer 2005 Express in file mod and have had no problems. I created a site in IIS which is running and working for aps code. I have asp.net 2.0 installed on my system and appears to be set up for the new site. When I try to run a file from VWD I get the following error message. Unable to start debugging on the web server. Unable to connect to the web server. Verify that the web server is running and that incoming Http requests are not blocked by a firewall.   Even if I turn off by firewall I get the same message.   Can anyone help     Hi, Check th ...Show All

  • Visual Studio Team System Testing web app that uses Ajax

    I am trying to capture button presses of an anthem (ajax code) button click and the test isnt recording this. I use fiddler to capture this and that works but when I try to use the fiddler FormPostHttpBody request2Body = new FormPostHttpBody (); request2Body.FormPostParameters.Add( "Anthem_UpdatePage" , "true" ); request2Body.FormPostParameters.Add( "__EVENTTARGET" , "ctl00$TicketContentArea$DealingControl$btnNewTicket" ); request2Body.FormPostParameters.Add( "__EVENTARGUMENT" , "" ); I cannot get the button click to fire when paying the webtest. Can anyone shed some ...Show All

  • Windows Forms Determing if a control inherits its font

    So, I figured I'd post my first question here, and see if someone can help. I'm writing some code that needs to know if a control's Font property has been set individually, or if the control is inheriting its Font property from the form. I can think of lots of kludgy ways to determine this (that is, I've got it working) but the code is&n ...Show All

  • SQL Server IMPORT DATA FROM XML SOURCE TO SQL

    Hello, I'm trying to import data from a xml file (several tables inside) into sql tables. - In the xml source, I choose the xml and xsd files and I see all tables perfectly. - Drag the xml source output to Sql Destination input, choose one table to import and create the sql table - I execute the task and it concludes ok - In Execution Results window appears as warnings as fields of each one other tables (giving information about this fields are not used at the process and it'll be better removed it in order to increase performance), no errors and success task. The problem is that no one data is imported into sql destination ...Show All

  • Visual Studio VSS Automation - Error

    Hi This is my first attempt at a post and also at using VSS integration so bear with me. Using example code taken from what looks like the most popular post re Automation, I created a small VB6 app to look at the status of a file. It doesn't work!!! On the .Open call, I get an Automation Error/Unspecified Error. I was then asked to look at an app that a colleague had written some time ago that again uses VSS automation but in a more complex way, it worked on his machine but not anyone elses. I got the code and ran it on my machine and got exactly the same error as above. From what I can make out, the only difference between his machine and ...Show All

  • Software Development for Windows Vista Persistence with Local Service (InvokeMethod/EventSink/Correlation)

    I've implemented a Custom Activity with a Sequence who encapsulates two Activities, first InvokeMethod and second an EventSink. The InvokeMethod calls over a Local Service a Methode who stores some Data in a DB. Then after a while another Part of the Application reads the Data from the DB and fires an Event of the Local Service and the EventSink Activity should run out. This work fine. But if I close the application (runtime instance is gone) while the EventSink is waiting and start the Application again, the EventSink doesnt notice that the Event was fired . I think because of the fact, that the Local Service Instance isn's stored persiste ...Show All

  • Windows Forms Help -> Check for Updates

    <rant>This isn't a feature request, or even a bug report, but I could think of no better place to put this rant. 1. Visual Studio was obviously built with the "intent" of providing updates, as per my topic subject.  Everytime I run this command I always get the "No new Service Releases are available\n\nYour system is up-to-date." message&nbs ...Show All

  • SQL Server Installing the SQL server 2005 beta tools problem

    Hi everyone,  I do not have any issues with the installation of the server itself, or reporting services etc... but im having trouble installing the tools like the management studio, etc... I get an error syaing tat I need to do this from the add/remove programs, but its not there. Its like it thinks that its installed but its not... Any ideas would be gratly appreciated Kramish Now there is another problem, the SQL Server Management Studio freezes whenever I load it up. I cant really say much more than that. I will post the error signature below, I hope someone can help: szAppName : SqlWb.exe &n ...Show All

©2008 Software Development Network