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

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

MattDude

Member List

fj64
Zulbaric
GetCode
FLDaveM
John Lockhart
Tom Frey
Loopsludge
Gess Man
Leomath
UK_2006
Howard Pinsley
Chief G
adorer
rickr36
Buddhist
Lokesh123
Jim Ward
Are Haugsdal
Fluxtah
Jacobeo
Only Title

MattDude's Q&A profile

  • Software Development for Windows Vista WSProfile Example of Sept 2005 CTP conversion to June CTP. Stuck.

    I need the equivalent of the SecurityTokenServiceSamples folder from the FederatedIdentityAndAccessResourceKitSept2005CTP.msi that works with JuneCTP. I asked Nigel in another post if that sample is located in the Windows SDK as I was unable to find it. In the meantime I am trying to convert the WSProfile sample to work in the June CTP. I have it compiling correctly. I made minor Reference changes, using changes, and .config file changes. I can generate the mex and produce the new code for the generatedProxy.cs. When I run the sample, CardSpace pops up and I send the service my card. But the client comes back with this exception: ------------------------ Exception Type: System.ServiceModel.Security.SecurityNegotiationExcepti ...Show All

  • Software Development for Windows Vista ExternalDataEventArgs NullReferenceException

    Hello, I’m currently developing a simple application to get started in Worflow Foundation. In the workflow I have two ExternalEventHandlerActivities and in my Interface I’ve declared them: event EventHandler < ExternalDataEventArgs > NumeroAprovado; event EventHandler < ExternalDataEventArgs > NumeroRejeitado; When a try to raise the event in the workflow I get a NullReferenceException. I really do not know what is missing. (The first parameter is null and as I saw in one sample provided by Microsoft it is not a problem). Guid guid_workflow = this .instanciaWorkflow.InstanceId; ExternalDataEventArgs evento = new ExternalDataEventArgs (guid_workflow); numeroAprovadoCall( null , new ExternalDa ...Show All

  • Visual C# Where to post questions about c# classes

    I just posted a question about a mail wrapper class that I'm writing in the Visual c# language forum and it was removed, or maybe moved (how could I tell the latter) I'm wondering why this happened and where I need to post things in the future with regards to c# code help to avoid my posts being removed. there was nothing inflammatory etc in my post so I'm a little baffled please advise. Also, when you're in the forums there should be a link to "My Threads" at the top of the page, towards the right. This will take you to a list of forum threads that you've participated in, and I've found it to be quite helpful when threads have been moved from one forum to another. -Tom Meschter Software Dev, Visual C# IDE ...Show All

  • Visual C# Compare 2 objects using type casting

    Lets say I have the following: int a = 5, b = 2; object o1 = a; object o2 = b; And I want do do if(o1 == o2) doSomething(); Obviously this doesn't work b/c o1 and o2 are reference objects. But how can I type cast them so it performs the correct comparison I tried this: Type type1 = o1.GetType(); Type type2 = o2.GetType(); if((type1)o1 == (type2)o2) doSomething(); But I get a compile error saying: "The type or namespace 'type1' could not be found" Does anybody know how to do this correctly More to the point type1 and type2 are variables not types. You code would have to read: if((Type)o1 == (Type)o2) doSomething(); Of course, since they are both already Type's you could just use: if(o1 ...Show All

  • Visual Studio Integration was removed by VS 2005 now I can't get it back?

    I recieved a message from VS2005 about an integration I was using FTN95 v 5.0 (a FORTRAN compiler) being corrupt and that it would remove it the integrations from the environment. Since then I have completely uninstalled said compiler and integrations and reinstalled, and I cannot fully get them back. By this I mean that, while I can add an FTN95 project to my solutions, I cannot add a source file or such to one of my FTN95 projects, which tends to make it slightly difficult to develop a project. Any thoughts about how to get this back I really need them. You need to use the "/ResetSkipPkgs" switch like this: From the Start menu, select the "Visual Studio 2005 Command Prompt" sho ...Show All

  • Visual Studio Express Editions Saving time into database.

    I have a timer in a labelbox and I need to be able to save the contents into a database. Whenever I try to save it, I get this error: Column 'TimeOut' does not allow nulls. The error is right, it does not allow nulls, but I was trying to save a time in there, not leave it blank. The only thing I can think of is that it is not converting the labelbox display to a string. The line of code I have to copy it into the database is: NewDayOut.Item( "Time Out" ) = TimeBox.Text where newdayout is the name of the row I'm trying to add, Time Out is the name of the column, and TimeBox is the name of the labelbox I'm using to display the time. I'm going to keep working on it, but if anyone can help, it would be appreciated ...Show All

  • Visual Studio Indentation in code-tag in included xml-tag

    If I want to use a <code>-tag containing indentation in an Xml documented member, I can do it like this: /// <remarks: /// <code> /// &lt;MyKey &gt; /// &lt;registrations default="<i>MyDefaultRegistration</i>" &gt; /// &lt; /MyKey&gt; /// </remarks> This works fine. However, I have some sample code that I need to use a couple of times so I wanted to copy this sample code to a separate Xml-document and then reference this sample code using the <include>-tag. Like this: /// <include file='ApplicationDoc.xml' path='docs/member[@name="ApplicationLogon"]/*'/> The contents of my xml-document looks like this: < ...Show All

  • Visual Studio Tools for Office 'Undo' problem

    I am working on a VSTO project. I don't know why the user click undo once, and it undo all the actions that he did before by using my add-in toolbar. Any idea Thanks <<I did do search in Powerpoint newsgroup , but no luck : (>> But did you ask :-) I know the Powerpoint MVPs and they're a very diverse and helpful bunch... ...Show All

  • Visual Basic Why does my Leave-eventhandler execute twice?

    Hello, I have a problem with my Leave-event handler - it fires twice. I have 3 text boxes on my form. The user will put numbers in the text boxes, but the numbers cannot be the same. So when the user jumps to the next text box my Leave-event handler checks if the text box, whixh was left, has a unique number. Below you can see the code - somewhat simplified: Private Sub TextBox_Leave( ByVal sender As Object , ByVal e As System.EventArgs) _ Handles TextBox1.Leave, TextBox2.Leave, TextBox3.Leave Dim CurrentTxtBox As TextBox = sender RemoveHandler CurrentTxtBox.Leave, AddressOf TextBox_Leave ' ...code for testing... CurrentTxtBox.Focus() AddHandler CurrentTxtBox.Leave, AddressOf Tex ...Show All

  • Windows Forms How to print my DataGridView

    Hey all :) How do I print my DataGridView There was a bug though.. The control was drawn at 0,0.. Where it should leave space (e.Marginbounds.X and e.Marginbounds.Y) raphics. DrawImage ( bitmap, new Rectangle ( e.MarginBounds.X , e.MarginBounds.Y , e. MarginBounds . Width , e. MarginBounds . Height ) , new Rectangle ( posX, posY, e. MarginBounds . Width , e. MarginBounds . Height ) , GraphicsUnit. Pixel ) ; Will fix that when i get at home... ...Show All

  • Visual Studio Collaboration from the US to Europe

    We have two developers (me in the US, and my counterpart in Holland) that need to work on the same project. Would SourceSafe be the way to manage and coordinate this I would imagine one of the sites to be the 'master' site and the other to be a replicated site. Does VSS handle this type of scenario Thanks. Using the HTTP server from Holland shouldn't be *too* bad. Whether it's acceptable or not depends on how many files you need to share across the wire, and what your expectations are. Using Team Foundation Server instead with a local proxy would be much faster, albeit more expensive. ...Show All

  • Visual C++ 'IF' statement problem

    Here is a beginner programme of finding weather an integer is even or odd. However I recieve a an error on the IF statment (highlighted in bold). Can someone please show me what is the error. The Error reads: fatal error LNK1169: one or more multiply defined symbols found Code: #include <stdio.h> void main() { int a; printf( "enter the number" ); scanf( "%d" ,&a); if ((a%2)==0) //this line contains the error. { printf( "Number is even" ); } else { printf( "Number is odd" ); } } Would you care to explain what makes you believe that the error message is related the source line The toolchain consists of mor ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XFileLoader.cs

    Hi, I wrote a little class for parsing X-Files (text mode only). It currently reads: - frame hierarchy - frame transforms - meshes (position,normals,texcoords) It's only tested with x-files from the Panda Exporter and 3ds MAX. http://markus.rubicon-net.de/code/XFileLoader.cs and I used this here for test rendering http://markus.rubicon-net.de/code/XFileRenderer.cs Feel free to use it I tryed, but it do the same exception. The stream in your code (line 285): return (int)Convert.ToDecimal(_stream.ReadLine().Trim(delimiter.ToCharArray())); return this string: " <3D82AB44-62DA-11cf-AB39-0020AF71E433>" or: "<3D82AB44-62DA-11cf-AB39-0020AF71E433>" if using Trim(). This is UID for template Mesh. ...Show All

  • SQL Server sql data types vs is data types

    Hi, I want to store a decimal value which I get from an execute sql task into a package variable. Which data type should I specify when creating the package variable Thanks, Tom Max function returns in SQL Task returns the value as a string since string is the only data type in SSIS that can store the max value of all data types without loss of data. So if you do not cast the value in your SQL, you have to use string to store the max value. ...Show All

  • Visual Studio Team System Why is TFS not available to Empower Program subscriptions?

    My beef is that TFS isn't available to anyone with an Empower Program subscription (except in prohibitively expensive editions). The TFS Workgroup Edition comes for free with Team Edition MSDN subscriptions, but it can't be bought separately. If it could, I would have bought it by now. To me, this makes very little sense. Source control/configuration management is very much a grassroots sell (i.e. it's a decision effectively made by programmers rather than by 'bigwigs'), and making TFS widely unavailable means far fewer people able to sing its praises to their peers. I work with several configuration management tools, and I'm able to engage in intelligent discussions with clients about CVS, per:Force, even good old SourceSafe, but ...Show All

©2008 Software Development Network