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

Software Development Network >> Chris Medlock's Q&A profile

Chris Medlock

Member List

Tadwick
Focus
TruePsion
Deco
xRuntime
vicarious
Marzullo
Marc Rush
skrajmohan
Rups11
Siraris
Markus B.
subzero27
byronatproto
Asim A
learnerplates
Woyler
Sergio Ordine
dustinto
rahsoftware
Only Title

Chris Medlock's Q&A profile

  • Visual Studio 2008 (Pre-release) WCF Client blues (MSDN Subscriber)

    Hello.  I have been trying to write a WCF client to consume a java-based web service secured by Apache WSS4J but have not been successful.  The web service requirements are: 1. Must be accessed via https (i.e. SSL). 2. Request must use SOAP 1.1 format. 3. The SOAP Body in the request must be signed, with the BinarySecurityToken (X509 certificate) embedded in the headers, per WS-Security 1.0 spec. 4. However, the web service itself does NOT sign the responses.  So, the client must NOT expect the response to have any WS-Security headers in it. First off, how would you implement your WCF client given the above requirements   If only someone can answer this question, I'd be in heaven.  ...Show All

  • .NET Development Software Remote application launching help needed

    We are programming on an application. I have to create a remote launcher kind of thing. Any ideas how can I launch one application on differenct parts of the world I am not talking about spamming on someone's system. We will use dedicated machines worldwide to test the performance of the application. Any help would be greatly apriciated. As a rule of thumb, you will have to run some of your software (an agent) on a machine that you want some more of your software to run on. You could, for instance, build a WCF service that is run as a Windows service and use that to launch additional applications. If you don't have any code running on the box, you can't start anything on the box. The only exception from this would be COM, but that's ...Show All

  • Visual Studio 2008 (Pre-release) Window.Resources access from another class

    I've defined a style in my XAML file under Window.Resources, and I would like to access it from another class. Is that possible If not, is the only work around placing the Style at the application level -- nerk Thank docBliny. I'm actually aware of that. What I was wanting to do is read use a ResourceDictionary (defined in XAML) from a non-UI class. In my case it was a class to handle printing and I needed access to the styles. I'm still interested in how this would be done, but for now, I've moved the styles into the Application.Resources dictionary. The post linked below does seem to answer most of what I was trying to do. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=289960&SiteID=1 ...Show All

  • .NET Development Adding a button to the taskbar?

    I'm sorry if this isn't the correct place to post this. There are so many different forums it could go in (Visual C#, Windows Forms, etc). However, I thought Interop Services might be a base class, so I decided to post it here because I am using Interop to access FindWindowEx and things. Anyway, I know how to get the task bar's handle, but I would like to "inject" a button onto it. Not a task button, but a button similar to the Quick Launch icons and the "Show Hidden Icons" button. I've been looking all over the place, but I just can't find a solution. I would also like to catch messages from this button so I know if it has been clicked. (I'm trying to do this in C#, by the way.) Thanks! I think what you'r ...Show All

  • Windows Forms How do i prompt an error if different format is used...

    I building a software that can play movie file. How do i make an error prompt in C# Coz now i have a button that open a dialog box to choose movie file coz my program only can play movie so if let say a user open format other than a movie format..eg. mp3,.wma a messagebox will appear saying "this is not a valid movie format" something like that.. can anyone help my source code for the movie: //----------------------------------------------------------------------------------------// //Video private void button1_Click( object sender, EventArgs e) { // Allow the user to choose a file. OpenFileDialog openFileDialog = new OpenFileDialog (); openFileDialog.Filter = "Me ...Show All

  • Visual Basic HELP!! getting list of users - Hibernate

    what actually i want is to get the list of user in windows who r logged in irrespective of whether they r active or not. thanx!!! thanx!! i m also searching 4 it. bye the way the code u hav provided hav errors. & hey do u know how to hibernate the system in vb.net. thanxx 4 ur help ...Show All

  • Commerce Server Discounts Algorithm

    I want to know what is the internal algorithm to determine how my discounts will apply there are many of cases can be faced, but documentation is not provide details.. Hello, Have you tried tweaking discounts using Marketing Manager UI and use the starter site as an example to see how discounts are applied A few things may affect how they are evaluated such as their start and end dates, whether they are approved or not. And don't forget the the discount priority affect the order different discounts are evaluated. Ning ...Show All

  • Windows Forms The DisplayIndex Of DataGridViewColumn Doesn't Work

    I can't specify the index of the column in DataGridView, I have tried to do as the following code and even DisplayIndex and the textbox displays -1. May i know how to solve it Thank you.               'Insert Link Columns             Dim DGVLinkColumn As New DataGridViewLinkColumn             DGVLinkColumn.Name = "Emp. No."             DGVLinkColumn.DataPropertyName = "emp_no"             DGVLinkColumn.ReadOnly = True        ...Show All

  • Commerce Server Adding a Category to a Catalog then exporting the Catalog - Category doesn't get exported?

    Hi, I've added a category using the business tools to the startersite. http://msdn2.microsoft.com/en-us/library/ms943107.aspx The category shows up in the site no problem, however when I export the catalog (using the business tools or the staging system), the new category does not get exported (its actually not in the XML thats produced). Any ideas, have a missed a step with adding new categories Thanks Hi Noureddine, Many thanks for the reply, I had indeed only created the category in the catalog manager and not added the category definition. Works fine now. Thanks ...Show All

  • Gadgets Sidebar gadget and IE interaction

    I'm having this problem between the sidebar gadget and IE: For example when I log in on YouTube with IE it reminds me logged in but when I try to access YouTube from my sidebar gadget I'm not logged in any more. But if I debug the gadget on the IE it works. Does anyone know why is this happening and how to solve Simplified, what I want to do is log in on IE and use this "login" on my sidebar gadget. Is this possible This is part of the new security in Vista. To verify this, turn off IE7 "Protected Mode" and see if it work. It can only be avoided by turning protected mode off. Can someone please confirm this. Ty ...Show All

  • Visual Studio 2008 (Pre-release) Knowing when my class (that inherits from ModelVisual3D) is added to the scene graph

    My lengthy subject says it all :) I have a class that inherits from ModelVisual3D (similar to what Daniel mentions in http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=397381&SiteID=1 ). I would like to know when it needs to be rendered, as it has a bunch of lazy initialization to get done (like generate its visual). This means I'd like to be notified when it was added to a scene graph that's about to be displayed, regardless of whether my class was added in xaml or programatically). Is there an event I can listen on Should I be inheriting from something else than ModelVisual3D Thanks! Wikipedia says the following: Retained mode refers to a programming style for 3D graphics where a persistent representation of ...Show All

  • Software Development for Windows Vista audio

    can anyone tell me why there is no audio in chat rooms Hello David, All audio was removed to protect the innocent. (just kidding) Can you elaborate a little on what Chat Rooms, etc Also do you have any audio such as can you play a MP3\WMA file Thanks, Louis Shanks AppCompat ...Show All

  • SQL Server Unlocking login on Status Tab always gets reset to Locked Out

    I've been having this issue lately with a new login. We have set it up to use the Windows Password and Expiration Policy and I give it an initial strong password. In testing this new account I would purposely input the wrong password into an application 3 times thus causing the login to become locked out. I would then go into the SQL Management Studio, go to the Status Page and uncheck the 'Login is locked out' flag. If I would then click the 'OK' button to close the properties, I would get an error message that the password is not complex enough. This is strange since I never changed the password in the first place, I just unchecked the 'Login is locked out' flag. That's issue#1. I then decided that I would give Management Studio the b ...Show All

  • Visual C++ Int to Byte Array

    Hey guys, Int to Byte Array, please! ! The byte array needs to be a fixed size of 4. array<Byte> ^byte = gcnew array<Byte>(4); and should be padded with 0x00's So if the incoming int = 18, I want the byte array to look like { 0x00, 0x00, 0x00, 0x12 } Thanks! See BitConverter.GetBytes Method (Int32): http://msdn2.microsoft.com/en-us/library/de8fssa4(VS.80).aspx ...Show All

  • Smart Device Development Comparing 2 images

    hi all, I want to check whether the 2 images are same or not. Wht can b done Should i read the content of the image, coz, i have to compare if the user have rotated the image left or right. Any help would b greatful. Thanx in advance.   Ilya Tumanov wrote: You need to compare image sizes. If not the same, images are different. Then compare all pixels one by one. If they are not the same, images are different. Of course it works only for identical images, won't work for similar images. If you figure out how to compare two similar images reliably, I would suggest filing for a patent immediately as current methods (probably also patented) are not that good.  could ...Show All

©2008 Software Development Network