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

Software Development Network >> R. D. Brown's Q&A profile

R. D. Brown

Member List

Jeremy Hurst
coewar
Sarev0k
AmolWankhede
Bishwajit Aich
TravelMan
melack
Tomas Martinez
Mark S. Milley, MCSD
allan521
maheshshinde2000
Tianlei
Shibu Shaji
flynn
danmga
Toomy Ling
jchan
JMMJ
J A Y
swqlin
Only Title

R. D. Brown's Q&A profile

  • SQL Server Syntax error - Parameters in a derieved query

    I am geting syntax error with the following query. I created a connection with SQL Native Client as Provider. I looks there is bug when we try to parameterise the derieved query Select [EvidentiaryDataDefinitionHistoryID] , EvidentiaryDataDefinitionID, Name, ModifiedUTCDate From HistoryEvidentiaryDataDefinition HEDD (nolock) Inner Join (Select max([EvidentiaryDataDefinitionHistoryID]) AS EDDHistoryID from HistoryEvidentiaryDataDefinition (nolock) where ModifiedUTCDate >= and ModifiedUTCDate < group by EvidentiaryDataDefinitionID,ModifiedUTCDate) T1 On T1.EDDHistoryID = HEDD.EvidentiaryDataDefinitionHistoryID Regards ...Show All

  • Windows Forms Test Certificate Signing problem

    Hi, I have created a test certificate using VS 2005 and installed it in the Trusted Root Certification Authorities and Trusted Publishers. I have set my manifests to be signed by this certificate. Then I am publishing it into an intranet zone ie http://<machinename>/<appname> When i try to download the application from the same machine, I get a "The publisher could not be verified" prompt, and the publisher name is coming as "Unkown Publisher". Is this a bug, because I have the certificate installed on the same machine, even if I get the prompt why am I getting an "Unkown Publisher" as the publisher name Thanks, Kunal ...Show All

  • Visual C# Deploying 2.0 Framework of an Intranet

    Fixed! Unfortunately most options will require a little bit of work on each PC up front, after that things would be far far easier. What about publishing your application with ClickOnce With it published to a (preferably) local web server, you need only install it to each PC and then in future when you make a change, you republish it and the next time each app is run it will automatically update itself. ...Show All

  • Windows Forms Flushing Binding from Custom Object

    I have different objects with different properties I wanted to bind. So I decided to create wrapper for this classes:  public interface IControl{         object Value{get;set;}  } So, with this when I bind, I bind all my controls by the same property:           - myCtl.DataBindings.Add( "Value" , DataSource, "TableName.DisplayColumn ...Show All

  • Visual C++ AfxMessageBox not working

    Hi, in Visual Studio 2005 I chose new project->c++->mfc. As Projecttype I chose Dialogbased. Now I have the problem, that following code does not work, that I put on the click event of the ok button: AfxMessageBox("test"); I get an error message that not all arguments could be parsed. But I found this code on MSDN just with an other text than "test". any ideas In VS2005, you're doing a Unicode build, which means you need this: AfxMessageBox(L"test"); a better way is AfxMessageBox(TEXT("test")); which works for both build types. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Debugging program that won't start

    Whenever I try to start my program, I get a dialog box saying "The application failed to initialize properly (0xc0000022). Click on OK to terminate the application". With the debugger, it does the exact same thing, giving me no opportunity to find out what is going on; if I try to break it once the dialog box is up, I get another dialog "Unable to break execution. Please wait until the debuggee has finished loading, and try again" The only vaguely informative piece of information is a message in the debug window: "Debugger: An unhandled non-continuable exception was thrown during process load" ...Show All

  • Windows Forms Referencing another form

    I can't figure out how to do this using VB.Net... I was able to do it using VB6: I have two forms (form1 and form2).  Form1 has a button that opens Form2 (on top of Form1).  The user clicks on a value in a flexgrid on Form2, and I want Form2 to close, and the value they clicked on to be populated in a grid that I  ...Show All

  • Software Development for Windows Vista Dual Boot Vista Beta 2 build 5231 bcdedit entry for XP Pro sp2

    After reading http://www.microsoft.com/technet/windowsvista/library/85cd5efe-c349-427c-b035-c2719d4af778.mspx I have still not find a way to dual boot with vista bootmanager and xp sp2. I have 2 drive C and D: On C I have Vista build 5231 on D: XP sp2. I am looking for the the path and exe to put on the path entry to put for booting XP sp2, Identifier: {75254f72-9c48-11da-a07d-000e7b474a19} Device: partition=D: Path: \windows Description: XP Professional Windows device: partition=D: Windows root: \Windows bcdedit /set {75254f72-9c48-11da-a07d-000e7b474a19} path \windows\ What exe I pu ...Show All

  • .NET Development Why does ArrayList not have a Get(int index) method??!

    Hi there, Why does ArrayList not have a Get(int index) method Java's version does and this is exactly what I need because I want to pick out certain objects in the list and make a new list from them. It seems silly that it doesn't. Using Enumerators is fine if you want to go through the whole list. But I want to look at individual objects in the list at random places. Is there another List class that I can use or another way I can do this Thanks, Chris Most collections in .NET work like this, with some kind of indexer property. It's a much nicer syntax over a get/set method when you get used to it. ...Show All

  • Visual Studio Express Editions Answer.

    Ok, my problem is very simple but since i'm only on my 3rd day of VB it's a little above me. What i'm trying to do is use a for loop to display a picture of a card in a certain place. i'm using Picturebox1 , Picturebox2, ect.. each picturebox 1 - 5 is in a differant location and I need to be able to contenate the I to Picturebox to figureout where to place the picture otherwise (I have to have 52 lines of code) for each Picturebox.... here is some sample code i'm using without the code I need. Public Sub showcard() ' If Deck(hand(i)) = 1 Then Me .PictureBox1.Image = My .Resources.A_H Me .PictureBox1.Image = M ...Show All

  • Visual Studio Express Editions Keep getting the error "Syntax Error in UPDATE Statement"

    I've worked with the older versions of Visual Basic and since moving to 2005 express I think I've gone a bit more crazy. I keep getting this error when the dataapdater.update statement is called. Here is the code that I am using and I've also thrown in the information from the syntax error. Private Sub EditMaterial( ByVal codepos As Integer ) Dim con As New OleDb.OleDbConnection Dim updateCMD As OleDbCommand Dim Sql As String , updateSQL As String , idtxt As String con.ConnectionString = "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data" & _ Source = C:\tmp\che ...Show All

  • SQL Server The target service name could not be found.

    Hi : I am creating a queue application using Service broker. I was able to send and receieve messages between 2 databases in the same instance. Now I am trying to communicate b/w 2 different instances. I am getting the following error... The target service name could not be found. Ensure that the service name is specified correctly and/or the routing information has been supplied.. The routing informations is as follows DROP ROUTE SERVERROUTE CREATE ROUTE SERVERROUTE WITH BROKER_INSTANCE = 'D6F1721F-E7A2-4497-8890-FD4C2AAD98FE' , SERVICE_NAME = 'SERVERSERVICE' , ADDRESS = 'TCP://10.23.3.12:602 ...Show All

  • Software Development for Windows Vista Killing WF Instance

    Hi all, I need to kill a WF instance from another instance. I have the GUID of the instance I wish to kill. This is because I retrived information from the instance I wish to kill and I no longer need it. Neither in memory or in the database. I just want to get rid of it. So, what's the best way to do this Txs. John Hi John, You cannot terminate or perform any instance operation on oneinstance from another. Only the host can attain and perform operations on instances. To achieve what you want, you can submit a request to the host to perform this operation for you (Terminate) and ...Show All

  • .NET Development Array.ConvertAll and List<T>.ConvertAll but nothing that works with IEnumerable<T>

    It appears there's an oversight in the design of System.Collections.Generic. Given an instance of an implementation of IList<T>, one cannot use generic algorithms because there is no static class which implements the generic algorithms (things like ForEach, RemoveAll, ConvertAll, etc.) for downlevel generic interfaces. For example, ForEach could be implemented on an IEnumerable<T>. Similarly, different levels of support for ConvertAll could be implemented for IEnumerable<T> (returning an IEnumerable<U> , ICollection<T> (returning U[] or List<U>, doesn't really matter). Am I missing something Should I ...Show All

  • Visual C++ PAGE_EXECUTE_READWRITE and the CLR -- debugging issues

    Hi -- I just compiled a C++ app with the CLR flag for the first time that I had previously only compiled to the native code platform. I did this so I could write debug information to the Output window, but I will want more extensive interaction with the managed environment in the future. In my app I allocate a piece of memory with VirtualAlloc with the PAGE_EXECUTE_READWRITE flag set and then proceed to generate some intel code to that memory. I'm finding that when I compile with the CLR flag I can no longer use the debugger to view my generated code in the disassembly window, which of course prevents me from setting breakpoints or tra ...Show All

©2008 Software Development Network