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

Software Development Network >> Melvin McClurkin's Q&A profile

Melvin McClurkin

Member List

erikkl2000
Milan Jovanovic
Amos Soma
windflower
mishazh
michaelp
CPark72
BigErn782
Mike3983
deen
LML
mirolslaw
Jesudhas
Justin-M
Johnathan Seal
idos
tchen777
erikc345
XNA Rockstar
Kevin F Jones
Only Title

Melvin McClurkin's Q&A profile

  • Visual Studio Express Editions Case Select & message

    OK you wizzers, I have created a simple Case Select and passed my choice from a ComboBox List to a variable I do not get the message I have created from that choice thus: Public Class Form1 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim team As String Dim Message As String Dim Arsenal As String team = ComboBox1.Text Select Case team Case Arsenal Message = "Gunners" Case Chelsea Message = "Chelski" Case Liverpool Message = "Reds" Case United Message = "Red Devils" Case Else Message = "No Hopers!" End Select ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Render target save'n'restore

    I've a func that do some work including rendering into rt. So, i need to save old rt at the beginning of my rendering, and then restore it at the end ( when smb call my func, he may have rendering to texture enabled, or just rendering to the backbuffer, and he don't wont to worry about restoring his rt after call of my func ). Is there any way to implement such a behaviour using XNA On the Xbox, there is only a single render target. "Render to texture" is done by rendering to this target, then using an ultra-fast memory copy into the texture area. Thus, if you really need to save the screen render target, you have to do something like: 1) copy current screen to texture 2) render your stuff 3) ren ...Show All

  • Visual Studio Express Editions Distributing console app - problems with SP1

    Hi all, I've been having a problem distributing a command line tool written using Visual C++ Express and I'd like to raise the issue with the rest of you. VC++ Express, with SP1 applied, embeds the requirement for version "8.0.50727.762" of the CRT into the manifest (and hence embeds it into the executable). I ask users of my tool to download and install the VC++ Runtime from here : http://go.microsoft.com/fwlink/ linkid=65127&clcid=0x409 However this only installs the runtime version "8.0.50727.42". Normally I would expect such a minor difference in version to be acceptable but the policy installed with the VC++ Runtime only permits these "old" versions to use the instal ...Show All

  • Visual Studio Express Editions Making Drawing.Color by seting RGB values

    Hello, I'd like to know how to configure new System.Drawing.Color by seting RGB values. I need to make color from 3 ASCII converted chars. Following: sam = 115, 97, 109 to clolor is color.r=115 color.g=97 color.b=109 then I can set to the bitmap pixel with color made that way Now the only problem is, that r,g,b parameters are only readable :/. Is there any way to SET values of color.r, g & b Oh - i have one more question - how to reverse that operaction to get 3 numbers from color :) Cause like i said before txttext.Text = System.Drawing.Color.Black.ToArgb equals -16777216 ...Show All

  • Windows Live Developer Forums GetCampaigns returns errors. Does Sandbox has a problem now?

    Hi, Now we are receiving the errors at the time of get campaigns operations (and other gets) The URL is https://beta6.api.idss.msn.com/v2/CampaignManagement/CampaignManagement.asmx wsdl The Request is < xml version="1.0" encoding="UTF-8" ><SOAP-ENV:Envelope xmlns:SOAP-ENV=" http://schemas.xmlsoap.org/soap/envelope/ " xmlns:xsd=" http://www.w3.org/2001/XMLSchema " xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance " xmlns:SOAP-ENC=" http://schemas.xmlsoap.org/soap/encoding/ " xmlns:tns=" http://adcenter.msn.com/syncapis"><SOAP-ENV:Header><ApiUserAuthHeader xmlns=" http://adcenter.msn.com/syncapis "> <UserName>XXX< ...Show All

  • Visual Basic Form & Picturebox sizes

    I am trying to set the sizes for the form and the picturebox to the size of the image displayed.  The picturebox is set to a random varible from a listbox of images.  The code I know that works is below but the problem I'm having is that it sets it to size of the image before the current image and on and on.... Form2.PictureBox1.Size = Form2.PictureBox1.Image.Size Form2.Size = Form2.Picturebox1.Image.Size Here is the code I have so far for the rest of it... Static number As Integer = 1   <-- If Code is inserted here the same problem occurs Try Form2.PictureBox1.ImageLocation = ListBox1.Items(number) <--Inserted here same problem. Catch ex As Exception Timer1.Stop() MessageBox ...Show All

  • .NET Development Easy Question. How put scroll following abilities in Asp Menu ?

    I have one Menu in asp . But know i just want menu following if a scroll down or up. I see i can do this with javascript, but how can i put this have someway to use code asp in menu and put follow scroll Thanks You might like to check how your web menu gets rendered on client side. Having look at that you might be able to figure out how you can fit the required JavaScript to get the desired functionality ...Show All

  • Visual Studio 2008 (Pre-release) WSE 3.0 versus WCF

    i am confused about whether i should be writing our new web services in WCF or WSE 3.0. many of our CLIENT applications still run older operating systems, such as Windows 2000. do my client applications need to be running the .NET 3.0 framework to easily communicate with a WCF web service If so this means it will only run on WinXP SP 2 and Vista right If so, should I be considering WSE 3.0 instead then Or will this be getting phased out Me confused. WCF is part of .Net Framework 3.0 which runs on Windows XP or later. However, it seems like you already have your clients and you are only re-writing the server right If so, the server could run on a XP or later machine; but the client doesnt n ...Show All

  • .NET Development FileSystemWatcher Problem

    Hi, I am using FileSystemWatcher to copy sound files from a network path to my local path. I have 4 network paths configured and I start watching a network path in a new thread. Now, for 2 of my paths, I am having no difficulty in copying completed files. But for the other 2 paths, I am not able to distinguish when the file is completly written. The same code works for the first paths, by the way. The first 2 paths are on same machine, say A. The second 2 paths are on other machine, say B. The sound files created on A use some recorder ( i dont know the exact one, since i cant access the machine as a whole, but do have access to the network path, since it is shared for me ). The sound files created on B use some other recorder. Now, wha ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. A few XNA questions.

    Now with XNA will you be making the game right in XNA, or do you like make it with another program using different code and then just use XNA to make it playable on the 360 Thanks! Correct. You use XNA GSE to code (on your PC) and debug (remotely on your 360 or on your PC for a Windows version) your game. The assumption, I believe, is that you have a network in your house that both your 360 and PC are hooked up to. ...Show All

  • Microsoft ISV Community Center Forums Testing for a Null date/Time field

    This is driving me mad, it should be all so simple, I have a date/time field on an Access form that I want to test if it is unfilled (null), if so put a check in a checkbox field, so .. if me.reminded = null then is what I'm doing, but it seems that the field is NEVER null (even though it is, str(me.reminded) gives an "Invalid use of Null" error) Someone help before this laptop goes through the window ...Show All

  • SQL Server SMO within C# procedure

    Is it possible to use SMO within the context of a CLR procedure or is this only available through a job Specifically I am wanting to script out all procedures for a server to individual files. I have the syntax working within Visual Studio but have seen no examples of tying the functionality to a job or other structure. Any help would be greatly appreciated. Thanks, W SQL Server will not let you load the dependent assemblies to use SMO from within a CLR procedure. Specifically you will need to load: Microsoft.SqlServer.Smo Microsoft.SqlServer.SmoEnum (most likely) Microsoft.SqlServer.ConnectionInfo ConnectionInfo unfortunately references Batchparser90.dll, which is half managed, half unmanage ...Show All

  • Visual C# ManagementScope.Connect taking 20 seconds

    In the code listed below, I am attempting to do a ManagmentScope.Connect to do a WMI query on a remote machine. While this connect only takes milliseconds on most machines on others it takes up to 20 seconds. One the ones that it takes 20 seconds on I recieve the following error: ERROR: System.Runtime.InteropServices.COMException (0x800706BA): The RPC server is unavailable. (Exception from HRESULT: 0x800706BA) I am OK with the failure, but I cannot have the failure taking 20 seconds to return control back. I attempted to set the ManagementScope.Options.Timeout value to 500 milliseconds but still doesn't return back control for 20 seconds. Any help would be greatly appriciated! Vincent Fournier public string GetW32_Compute ...Show All

  • Visual Studio 2008 (Pre-release) How to use a DataTemplateSelector without a list

    I have been running into this problem for several months now and it has really bugged me. However, I have created workarounds and more workarounds to solve it rather than asking here. But now it would be so helpful to know how to do this, that I just can't resist asking -- how can you create and use a global DataTemplateSelector that doesn't apply to a list, or what other methods of achieving the same ends are there For example, I have a data element that I have been displaying with data templates throughout my program -- but they aren't in a list and rightly so -- I would be creating lists for just a single item each, which seems pointless. However, based on their data properties, I want them to appear differently, hence a DataTemplate ...Show All

  • Visual C++ MsiProcessMessage

    I’m trying to execute MsiProcessMessage in a visual c++ 6 custom action as in examples from msdn: MsiProcessMessage(hInstall, INSTALLMESSAGE(INSTALLMESSAGE_ERROR|MB_ABORTRETRYIGNORE|MB_ICONWARNING), hRecord); I’m getting this error: error C2664: 'MsiProcessMessage' : cannot convert parameter 2 from 'enum tagINSTALLMESSAGE' to 'enum tagMSIMESSAGE' Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast) Error executing cl.exe. The code will compile if I use MSIMESSAGE instead of INSTALLMESSAGE but in that case no messagebox is displayed. Any ideas It seems the declaration (and probably the features) ...Show All

©2008 Software Development Network