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

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

madshi

Member List

amendez
iq0
LexYW
Milzit
Manash
tzleon
Evgueni
Pradeep Gupta
raaj_001
mohadcs
bennett1016
Fata1Attack
Biju S Melayil
Ely Spiegel
AndyL
Johan Nordberg
FKopan
DeamonX
igor_22
IgorP
Only Title

madshi's Q&A profile

  • Windows Forms c# msagent clickonce

    i have a program that I created in c# that I publish to an IIS using clickonce. is there a way i can add a msagent to my program being it is a com and not a .net framework dll. If I can please describe the steps i would need to take. ...Show All

  • Windows Live Developer Forums Tile Overlay Refresh

    We are rendering overlay tiles in VE and we need a way to refresh our overlay tiles already present (loaded) in a VE session. There does not appear to be a way to do this. I have tried: DeleteLayer and DeleteTileSource and then re-add (AddTileSource and AddLayer)...we even tried deleting everything and reloading the map Map.LoadMap... Our overlay tiles just immediately re-appear instead of the source in GetTilePath getting called again. What can we do We resolved it...yes, it was a browser caching issue. Our GetTilePath points to a custom http handler to generate the tile images. All we had to do was convince the browser the same tile (xPos, yPos and zoomLevel) was actually a new tile by adding a superfulous parameter on the ...Show All

  • Software Development for Windows Vista Problem with Workflow Monitor Sample

    I'm, having problems running the Workflow Monitor sample. It can query the workflows, but I get a big "X" on the rhs where it's supposed to display the workflow, and returns an error that says: "Microsoft Workflow Designer" "Object Reference not set to an instance of an object". I'm using Beta 2.2. Problem is trying to run the WorkflowMonitor sample with the Tracking sample. Exception is thrown at: MonitorForm.vb line 513 Sub UpdateActivities ... WorkflowViewHost.Refresh() ... It won't work with any workflow I use. I've also created my own workflow & have the exact same problem. The workflows run etc. & the tracking ...Show All

  • .NET Development If server stops

    Hi, I'm trying to catch an exception in my application when SQL server 2005 express stops responding. Everything works fine, but when I stop server service in the middle of my application running (there can be many reasons why service may stop) I receive a bunch of errors! Since I'm using Try.. Catch ex as SQLException, the message numbers that are returned wary: -1, 0, 2, 40, 232, 233 etc. The message depends on wehter I'm using local server or network connection, wether I'm trying to connect to non-responding server for the first time or any other time, even depends on location in code - where I'm openinig SQL connection. Is there any simple way to cath the error and provide user with a MsgBox saying 'Your server stops respondin ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. C# modulus operator % sucks?

    So in C# when I do -1%something I get -1, which means I can't really use it as an array index without a bunch of stupid error checking.  Is there some way to force the modulo operator to actually give me numbers from my field (e.g 0-5 for modulo 6) Edit: Well, I made this post at 2:00 am and it shows, here is what I have issue with: i = (i+1) % 6 will result in numbers from 0 to 5, which I could use for an array index i = (i-1) % 6 will result in numbers from 0 to -5, which can't be used in an array index Obviously, the absolute value of those results would not conform to any logical value, either (for instance, array[-1] and array[1] would be the same value, even though they should be 2 values apart if I decremented twice ...Show All

  • Visual Studio Express Editions Passing an object collection to a procedure ByVal

    Given: Private MyButton As New Button Private ButtonCollection As New Collection InitializeButtons() Sub InitializeButtons() 'Calling Context ButtonCollection.Add(MyButton) SetupButtons(ButtonCollection) End Sub Sub SetupButtons(ByVal Buttons As Collection) For Each Button As Button In Buttons With Button .Property = Something End With Next Button End Sub From MSDN: Question: Does this mean that the procedure will change the button properties (something) in the calling context If so, isn't this the same as ByRef From MSDN: Reference type (contains a pointer to a class or structure instance) ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Are these videos still usefull?

    http://www.microsoft.com/events/series/msdnvideodev.mspx Are those videos still usefull for using XNA (the basics) and will there be similar XNA videos released Thank you for your time. Yeah Im pumped. I remember filling out a survey from Gamedev about MS and asking about what I knew about tourqe, since then I guessed MS was doing something like it. Will be exciting! ...Show All

  • Visual Studio Team System Setting "CreatedBy" field programatically

    Hello, I'm writting an application for migrating items from our old defect tracking system (PVCS Tracker) to TFS Work Item. I'm using the Microsoft.TeamFoundation.WorkItemTracking.Client namespace for that. I have an issue with the WorkItem.CreatedBy property since it is read-only. Indeed, we want to migrate the "author" value to this property. How could I solve this issue Thanks I understand that this is possible by coding directly to the work item tracking web service, but that's a complicated undertaking. Putting the info to another field or in the comments is the simplest solution. ...Show All

  • Visual Studio Tools for Office Get worksheet names from excel

    Hi, On some excel file I get by schema the worksheet but on some I don't have this information. How can I access to this files Thank's Alexei Hi Alexei I don't undertsand your question, I'm afraid. But since you didn't originally post here, I'm assuming it's not directly VSTO related, so I'm going to pass you on to a group that specializes in EXCEL programming questions. When you post there (I can't move the message, you have to post again), you need to provide more information: - Version of Excel - A more descriptive explanation of the result you want to obtain, and what you're actually getting. Ask here: http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.excel.programming&lang=en&cr ...Show All

  • Software Development for Windows Vista one service application how to read data form one hid device

    hi, in viata, i find one service application can not read data form hid device, but a normal application can do it. in service application when we read data in ReadFile, and wait for the overlapped event signal, event the hid device data comming, the event is still in non signal. i donnt know why. hope somebody can help me. regards. ...Show All

  • Visual Studio Disabling packages

    In the course of evaluating pre-release versions of several add-ins I've often been presented with an error message from VS asking to disable a misbehaving add-in or "package". One example is disabling the built-in unit testing support. This has piqued my interest in how to achieve this manually. Why There are many add-ins I use that provide overlapping functionality. ReSharper, for example, provides really nice code snippet support and refactoring. But ReSharper doesn't disable the built-in functionality it replaces. How do I do this How do I disable things like code snippet & refactoring support And yet there's obviously a way to disable packages that are not add-ins otherwise users would not b ...Show All

  • Windows Forms How to create a Custom Form that appears in the Toolbox and is droppable on the Design Surface?

    I like to create a dll with a custom form that contains other controls (buttons, check boxes, etc). I am using vb.net or c#.net (2005). I like the form to appear in the Toolbox and be able to drop it on the design surface. This behavior is the same as the provided dialogs such as FontDialog. Searching the web showed that I need to add a designer attribute of ComponentDesigner: "Set the Designer attribute for your custom dialog to be ComponentDesigner (instead of the default ControlDesigner). That should make it droppable in the design surface as a component." But I have not been able to make this work. Can someone help Thanks, Rene have you tried to look at the codes of the dialog co ...Show All

  • .NET Development Can someone explain to me what is the real world use of ExecutionContext?

    All I read was that this it is really an encapsulation of the call context, security context etc of the current thread. looking at the documentation, found that there are methods like SuppressExecutionFlow suppresses any security permissions /restrictions that otherwise would have been automatically (by CLR) tranferred to a say worker thread from the main thread. But why would you wanna do that I guess what I am asking is that has someone really found a use for this class. If so, can you please share the experience/scenario. I am curious. Is it used in normal code No. It is, however, heavily used by the framework. It is used for the thread pool, database connections, async calls, the System.Net namespace and even Thread.Start . I ...Show All

  • Visual Studio Team System Date validation

    How would you go about adding date validation in TFS reports For instance, I'd like to ensure the "start date" parameter is an earlier date than the "end date" one. The Calendar Control for parameters will automatically be added if you add a parameter of type "DateTime" to a report. It would help us out if you posted new questions in their own thread. What happens is the original question asked in the thread gets answered and the entire thread is marked as answered. We usually stop looking at answered threads - so any additional questions posted in that thread can get lost. ...Show All

  • Visual Basic Window size when using multiple monitors. Form centre center scren.

    I have a Matrox Parahielia 3 monitor video card. Whenever I open a new window in the IDE it stretches it across all three screens. Is there a way to make the windows open onto the center screen at a certain size in a certain position for any new window so I don't have to resize every window to work with them Thanks I am having the problem while writing code in the IDE and not when the application is running. I can position windows in the application with no problem. When I open say the locals window it covers the full three screens and I have to resize it down to be able to work with it otherwise it is under all of the other windows I have open. Tim ...Show All

©2008 Software Development Network