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

Software Development Network >> Martin Born's Q&A profile

Martin Born

Member List

Velimir
AlienRancher
Justin Lindh
CB83
help_seek
KSLCam
gablist
MiLambert
ShadowRaven
MKMV
Gabriel Gheorghiu
10e
mahalie
al_cenov
bnbkjj;k'l
Antonio
Shelly A
Michael McCormack - MS
78Spit1500Fed
TimmyGold
Only Title

Martin Born's Q&A profile

  • Visual C# "unable to load dll" in IDE but fine to run

    I have a UserControl which references a managed C++ assembly M, and M has PInvoke functions from unmanaged Dll U. All work fine in VS .Net 2003. In VS 2005, it can still run well, but when I open the Form Designer for a form containing that UserControl, it shows "Unable to load DLL U: The specified module could not be found." Those dlls are in the same directory, and the project can run without a problem. Just the form designer cannot find the Dll U. Any clue Hello qrli! I'm not completely sure that we both are experiencing the same problem, but I have a problem as well with the form d ...Show All

  • SQL Server Excel File Locked

    I'm building a package that has a Data Flow which reads an Excel File using the Excel Source connection - during development I hit errors in steps after the excel read.  This is causing the excel file to be locked up and the next run fails on excel connection problem.  If I go to Excel I can't open the file either.  I have to exit BIDS and then file gets released.  Is there any setting / different approach that would prevent this from happening thx I doubt there is a setting - its just unfortunate I guess. This probably won't happen if you run the package from the command line - so try that! -Jamie &nbs ...Show All

  • Windows Forms Save/Load ToolStrip Layout in .NET 2.0 with the ToolStripManager...

    Hello Forum Members, I can save and load the current ToolStrip Layout with the ToolStripManager: To Save, i am using  ToolStripManager .SaveSettings( this ); to load a layout, i can use  ToolStripManager .LoadSettings( this ); the ToolStripManager is doing all the work for me. So far, so good! But where is the Information kept Because i would like to export the Settings, for example. Or allow pre-defined Layouts after installation. I bet there must be an object somewhere, maybe even an XML String or something Thanks in Advance! The information is saved in you file system as an xml file. You sho ...Show All

  • Software Development for Windows Vista Is Microsoft working on the problems with the Vista handed out at the PDC?

    All, I tried to install Windows Vista with Virtual PC last evenning, following Ben's (Virtual PC Guy) instructions.  I however got stuck early on, it asked for my 25 digit activation code to do the install but refused to accept the one I was given in the book accompanying the disks.  Any thoughts E. Will Microsoft make a new Vista CD available Or will Microsoft publish a workaround I tried all possible posts on the web, nothing was successful. Is anyone from Microsoft working on this ...Show All

  • Visual Studio Disable updates in the edit window

    Hi, I have an add-in that changes the text in the file that is currently in the edit window of VWD. How do I disable the updates to the window while I my add-in is ruinning then enable the window and refresh it when the add-in is finished Thanks, Nick You can diable UI by setting the following property DTE.SuppressUI = False /Ole ...Show All

  • .NET Development Word files to *.aspx help

    What is the best way to convert word file to a *.aspx ( .net 2.0). I have articles written in this format that I would like to publish on my web page and reason why I need to convert them to *.aspx ( instead of htm) is : I want to use my master page so that layout is consistent within the website. How do I make this htm to use Default.master file of the application and make sure all the content of htm file goes in to ContentPlacHolder defined by the master file. ...Show All

  • Visual C# Open Files and Reading Certain Offsets.

    What I'm trying to do is create a tag editor for a game, now the problem is that I have no clue how to make an app read certain offsets, say 0x04, 0x08, 0x0C and 0x20, and then to get thoose offsets to display in a certain text box. before a tag is opened: after a tag is opened: The StreamReader.Read method allows you to specify the position to read from.  Your main issue will be turning that byte stream into the correct numeric types so that you get the right values.  Any decimal value will be more than one byte in length, for starters. ...Show All

  • Windows Forms Problem with lookup ComboBox

    I'm wondering if anyone has run into this problem, and whether or not they have a good solution. I have a class called Employee. In the database where all this is stored, it has a foreign key called CountryID, which links to the Country table. I have a Country class to represent this table. Now, my Employee class does not expose a CountryID property. Instead, it simply has a property of type Country called Country. It uses a lazy load mentality to get the Country object on the first get call. So I have a form that allows a user to edit employee's data. I want a lookup combobox for the Country property. The combobox is populated with a ...Show All

  • Visual Studio Team System Rules Name not appearing

    Hi, After building the custom rule and moving the DLL to the <Drive>:\Program Files\Microsoft Visual Studio 8\Team Tools\Static Analysis Tools\FxCop\Rules, I am able to see the rule in the project projecties\Code Analysis section. Name of the induvidual rules under the main rules folder are appearing. But I am not able to get the name of the main Rules folder (like what we have as Design Rules, Naming Rules). I am not sure where in XML should I be adding this attribute. Will some body please help me in this Thanks and Regards Prash Prash, I'm not entirely sure what you mean, but have you c ...Show All

  • Visual C++ Stack corrupt after managed callback (w/ parameter) from unmanaged

    I have a callback function that calls from unmanaged to managed code. Using code derived from the MSND article “How to: Marshal Callbacks and Delegates Using C++ Interop”, it works fine. When I change the callback function and the delegate to pass a parameter I get a corrupted stack. Could anyone offer a suggestion of why this is happening Any help a greatly appreciated. Here is a short sample program that shows the problem with the output. // CallbackTest.cpp : main project file. // compile with: /clr #include "stdafx.h" #include <iostream> using namespace System; using namespace System:: ...Show All

  • Software Development for Windows Vista When designing WF by xoml-only file, we can have a VS-generated code-beside.

    Hi, I just made a workflow console app project (using Beta2.0) and deleted default .cs files and add a single .xoml file (just add a text file and change its extension to .xoml). So, assume this is a xoml-only (test.xoml) and I just simply added a code activity to the workflow by coding xoml like this. <SequentialWorkflowActivity x:Class="test.Workflow1" x:Name="Workflow1" xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml " xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/workflow "> <CodeActivity x:Name="codeActivity"/> </SequentialWorkflowActivity> Now I ...Show All

  • .NET Development bug in serialport.close() ?

    Hi ! Here is my problem ... I developped in C# a class heriting from SerialPort. It contains functions structured like this : serialPort.open(); ....write....read.... ans so on; serialPort.close(); I use a timer to run theses functions every miliseconds. After a time, the application freeze. When i debug using "break all", i see a green arrow pointing serialPort.close(). When i press F11 to go to the next instruction, i can't see any yellow arrow. The green one disappear and my application stay freezed. When i break all a second time, the green arrow reappear pointing the serialPort.close() function etc.... The only solution is to ...Show All

  • Visual C++ VC++ 2005 - devenv.exe continuously reading the referenced assemblies

    Note: This post was originally posted here, but someone moved it to the CLR forum. I reposted it here, because this issue only happens when using Visual C++ 2005 (Windows Forms app or even CLR console app). -- Jason Pursell --- Is this a bug or by design My question concerns Visual C++ 2005 Apps (.NET only: Windows Forms Applications, Console apps, etc.) Description: After creating a new Visual C++ 2005 CLR application (WinForms or Console), devenv.exe continuously performs file IO on the assemblies referenced in the Project's Property Pages (Common Properties > References). Preparation: Obtain File Monitor fro ...Show All

  • Visual C++ Detecting Colours

    <BladeMaster@discussions.microsoft.com> wrote in message news:15b0c6af-d5d4-4dbb-8c2b-96cad754fa45@discussions.microsoft.com > Hello, I've been wondering if it is possible to detect the RGB value > of > specified pixels. For example, If I am viewing a blank internet page, > the colour in > the middle of the screen would be white, is there a way to find this > (In VC++) GetDC(0) gives you the HDC containing the snapshot of the screen image. From here, you can use any GDI function, e.g. GetPixel -- With best wishes,     Igor Tandetnik ...Show All

  • Visual Studio Adding new VSS DB (Internet) in VS.NET, why provide local srcsafe.ini path?

    I don't understand why you have to provide the UNC path to a srcsafe.ini file when you're trying to add a VSS database via the Internet.  Any news on this I'm sorry, I found my answer here: http://forums.microsoft.com/msdn/ShowPost.aspx PostID=115726 I was assuming the share given had to be accessible from the client's PC.  I didn't realize this share was expecting to already be logged into the server and more of a "security check" that you know where to look if you were on the system. ...Show All

©2008 Software Development Network