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

Software Development Network >> Dirk Reimers's Q&A profile

Dirk Reimers

Member List

Luis Elizondo
kementeus
W Wong
Maarteke
JFTxJ
MainePaco
shamim
Stefan Burwitz
Rob Mauii
bhargavpatel
iffishah
Aqib
dguillory
LuckyAbhishek
S-cal
CodeHaxor
David465465454
dipeshnepal
Gombly
VDA
Only Title

Dirk Reimers's Q&A profile

  • Visual C++ UpdateResource

    Is anyone able to tell me how to replace ONE string in the stringtable resource of some external exe or dll In this example the ID number of the string I wish to update is 2001 At the moment I am able to call LoadString after calling LoadLibrary to get a handle to the external module (the exe / dll). My code looks something like : LoadString(hFileModule, 2001, newBuffer, MAX_PATH); and sure enough the text of the string resource 2001 gets copied into newBuffer. However, now say for example I wish to change the string and overwrite the string resource 2001... how do i do it Using BeginUpdateResource in conjuncti ...Show All

  • Windows Forms New and open

    hey, in order for me to be able to do new and open options on my text program, I need to know how to make it so the program has a certain text file type for it's documents...how do you make this with Visual studio 2005 express ya, so when you press Open it opens the open dialog, then you can chose from all files, .txt, .yptf, and so on... .yptf if the main file type for my program that I want to "invent"... I dont see a FileDialog.Filter property ...Show All

  • Windows Forms Binding error: Invalid cast from 'DBNull' to 'Guid'

    I'm currently experiencing some problems with the binding source component: I've a procedure that sets the value of a uniqueidentifier (guid) column in a datarowview to DBNull. The datatable, from which the datarowview was created allows dbnull for this column. The column is bound to a property named "selectedvalue" of a control that I've written (derived from user control). The property's type is "object". The binding works fine until I enter my control and try to leave it. The validation event is fired and I receive the following bindingerror: "Invalid cast from 'DBNull' to 'Guid'" I tried to set "selectedvalue" to nothing befor ...Show All

  • Visual Studio Team System Baseless merge ?

    I've been told a couple of times to workaround problems with branching via a Baseless Merge.  Now I'm pretty sure I can guess what this does based on the name, but I can't find any way to accomplish this through the VS2005 UI. I've read all the docs I can find and I've searched google and all I've come up with is the command line option to do "h.exe merge /baseless" from MSDN and the reference from Buck's blog. The description in the docs being : /baseless - "Performs a merge in the absence of a basis version" Am I missing something in the UI or is it just not in there yet Excellent. Thanks, Richard ...Show All

  • Visual Studio Must uninstall VS2003?

    Installing VS2005 beta 2 gives me an error at setup.exe saying I must uninstall VS2003 pro.  Just to restate, it's not asking to uninstall 2005, it definately says 2003  What's up with that !!!! I am doing some investigation here to see if we can repro this problem.  I believe there should be no block for VS2003 ENT and that the only blocks should be for VS2005 previous builds. Can you try running Aaron's tool to remove old WHidbey builds and then see if install works   I think we may just have the incorrect error message in the UI and that the actual problem is that we are detecting ...Show All

  • SQL Server rtrim function

    hi, for example; select field1 from table field1 value=codesample I want to change field1 value with rtrim function than field1 value must be codesam. How can I do: Hi, sorry but I didn't understand your request, what do you want to achieve, could you please describe this again HTH, jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Smart Device Development Pocket PC: VS2005 designer does not allow set proper size to TextBox control

    Hi, VS2005, CF2.0, Pocket PC project(2003 or 5.0). According to Pocket PC UI Guidelines TextBox should have: - 9pt Tahoma font - 20px height If TextBox has 9pt Tahoma font, VS designer always sets its size to 21. How can I set TextBox size to 20 Is it a bug Thanks, Tom. Hi Tom, The designer of TextBox normalizes the height of textbox depending on the current font. With normal font size on windows, 9pt Tahoma has a size of 15px. While normalizing the height designer adds fixed margin of 3px (both above and below the text in textbox) to make the textbox height 15 + 2*3 = 21Px. If you set ...Show All

  • Visual Studio Team System Excluding Warnings in FxCOP

    In the December CTP you could right click on a warning and exclude it but not, apparently, re-include it later. Am I right that despite the documentation in Beta 2 saying Exclude it has now become Supress Message If not, how do I exclude Can I now unsurpress message or re-include If so, how SuppressMessage is not relevant to PREfast errors, they are suppressed using a different mechanism (a #pragma). We'll be looking at providing an auditing story for in-source suppressions in a future version of VS. For now, you could definitely go the route you've mentioned, it would be straightforward to write a tool that scanned binaries for the Su ...Show All

  • Visual C# C# Programming Challenges

    I was wondering if anybody knew about a website that give programming challenges to try figure out. One of my friends says they have websites like this but I can't find any. If you know of any such sites please post back. you may look a this webpage: http://www.topcoder.com/ ralph ...Show All

  • Visual C# How to Display Image From Byte

    I have already received the byte [] of a jpeg image but it won't display. I am using asp.net 2.0. I was wondering what the correct way of displaying an image from a database is (I have seen the asp:DynamicImage but when I try to use it, on the build it says it is an unknown server control). Here is my code: File: DisplayImage.aspx //Here is the code that I use to call from the control <asp:Image id="eventImage" runat="server"/> eventImage.ImageUrl = "~/User/Image.asp ImagePath=" + evnt.ImagePath; File: Image.aspx <%@ Page Language="C#" %> <%@ Import Namespace ...Show All

  • Windows Forms linklabels in middle of a text

    Hello, I'm in need to grab news from a website, those news can have multiple links anywhere in the text and the link's name must be kept to still have a logic message displayed. I was wondering how to do it, and I couldn't figure out how. Thanks for any help / ideas you could provide. Indeed, but from what I know, the links  ...Show All

  • .NET Development How to give an exe the permissions it wants

    I'm trying to write a c# CGI app. When i simply use Console.WriteLine to output my results, everything is fine. But I want to use HTMLTextWriter and when I do, I get the following error below. When I run the program in a console it works fine, but not when I access it from a browser. The directory has read/execute permissions for the IIS user account, and I've explicitly stated [ AspNetHostingPermission ( SecurityAction .Demand, Level = AspNetHostingPermissionLevel .Minimal)] [ AspNetHostingPermission ( SecurityAction .InheritanceDemand, Level = AspNetHostingPermissionLevel .Minimal)] In my program. How then do I give ...Show All

  • Visual Studio Tools for Office Why is a hidden VSTO document grabbing input focus?

    I use a number of command line tools to manipulate Word Documents with attached VSTO 2005 assemblies via COM Automation. I am having issues with these VSTO documents grabbing input focus, despite running in an invisible Word instance. Automating non-VSTO 2005 documents (i.e. VSTO 2003 docs or "regular" Word docs without any customization assemblies) do not exhibit the same issues. I am aware that the VS 2005 Debugger (xxx.vshost.exe) sends messages to Word whilst it is running, and this can result in momentary loss of focus to the debugged instances of Word, however I am experiencing these symptoms when running a release build o ...Show All

  • Windows Forms .Net application via Terminal Service

    I am building a VB.Net application that will be run via Window Server 2003 Terminal Serivce, I have much of the application working. A new requirement is to be able to know the Machine Name of the remote desktop that is running the application. I tried System.Environment.MachineName and it provided the machine name of the Terminal Server, not the remote&nbs ...Show All

  • SQL Server Multilingual Support in Analysis Services

    Hi Currentely i am using analysis Services with SQL SERVER 2000 OS:- Windows 2000 Server Datasource:-Oracle We need to show the data in the cubes for multiple countries. But we are not able to show the data for diferent languges at the same time becoz in windows 2000 default language on the server can be set to only one language and the data in the cube can be shown in same language Ex Let say we wud liket see the data in the cube for Russia and turkey on the same server.If we set the default language of the server as "Rusia" or "Cyrlic" We are able to see data for Special Russian cha ...Show All

©2008 Software Development Network