MindlessDrone's Q&A profile
Visual Basic using code written in C#
Hi. I'm trying to use a code library written in C# in visual basic, but i cant figure out how to do it. Here's the library: i want to be able to use the functions in it in VB. I've tried compile it into a class library and then add it as a reference in visual basic, but it still doesn't work. mattias Where is the library There is no reason why you shouldn't be able to import and call a C# libra ...Show All
Visual Studio MSBuild vs NAnt
Please share your thoughts about comparison between those two Before delving into the differences, I'd like to point out that NAnt is wonderful. We love the fact that there is a lot of community involvement around NAnt and NAntContrib in enabling everyone to "build" .NET applications. We certainly expect both NAnt and MSBuild communities to interop nicely, and so yo ...Show All
Visual Studio Hosting the VS Web Browser
Hello, I was wondering if there's a way to host the VS web browser inside an editor window. What I'd like to do is use a custom page with links that can interact with the IDE. For instance, if I click on a link that says "show tool window x" it will display a that tool window. It has to be in html and from what I understand, the VS web browser is designed to allow VS automation. Thanks in advance. ...Show All
.NET Development source code protection options
Hi all, Could somebody give me any resources that discuss options on how to protect source code from any efforts to reverse engineer it from the built executable I've read about the Dotfuscator utility that comes with the visual studio 2005 beta... I'd like to learn about how to encrypt the exe, and any other techniques out there. Can anybody help me Thanks, cope22 Hey try my software http://www.pelock.com it's ...Show All
Windows Forms Need tool addin to VS.Net 2003 generate source code
i need a tool addin to VS.Net 2003, it can generate source code property in C# Can you help me thanks Your request is totally unclear. What sort of source code are you hoping to have generated for you Most add ins generate some sort of code, to speed things up, and most have facilities similar to code snippets in VS2005, if that's what you want to reproduce. Whole Tomato Visual Assist X, and Resharper are two that spring to mind. ...Show All
Visual Studio 2008 (Pre-release) Custom data source provider
I want to implement a custom data source provider and I have a couple of questions: 1. How should I make the data retrieval asynchronous Should I launch another thread in the BeginQuery() and when the operation is finished, should I call OnQueryFinished And if yes, OnQueryFinished must be called in the UI thread 2. I need to be notified when the data retrieval throws an exception. I presume I have to catch the error and call OnQueryFi ...Show All
Visual Studio Team System Troubles accessing TFS on VPC from host computer
This worked for me with TFS Dec CTP. What I'm doing now: I've set up a new VPC machine with Windows 2003 Server Standard and installed everything on it per the checklist. There were no errors. TFS is installed in workgroup mode with local accounts. I can connect to TFS with Team Explorer on the VPC machine and have successfully created a project. I have been using the TFSSETUP account. My problem is that I cannot connect to TFS from the ho ...Show All
SQL Server Add a DateLoaded column to input data
OK, I *know* this is trivial, and please feel free to giggle, but after years of DTS 2000 my poor brain can't make all the jumps neccesary to cope with SSIS 2005. I have a Transfer data task. Source input (non SQL Server) has x columns, SQL Destination has x+1 columns, where the extra column is a non-null smalldatetime column DateLoaded. This will be populated with the Date & time the row was added. In DTS I do this either by adding a ...Show All
Visual Basic Processing Serial Data
I need the reduce the processing time in a uMicrocontroller to allow faster sampling times. This has creates a problem in the data collection routine in VB. The old system collected the analog data a converted it to a decimal format before sending it to the serial port. This data is collected and saved using Hyperterminal. The VB program would, when run, would open this file and process the decimal data by graphing it. What I need ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Alpha Maps with the Sprite class
Does anyone know how i would use an alpha map with the sprite class i was using dated texture image editors... my only bmp option is 24bit I loaded the bmp into the dx texture editor and then loaded the alpha map and saved as dds. Thanks for the help Dustin_H ...Show All
SQL Server SQL Server Mobile Bug?
We've migrated a .NET CF 1.0 App with SQL CE 2.0 to .NET CF 2.0 and SQL Server Mobile and we were wondering about the new behavior. A sample to reproduce: create table persons ( id int identity primary key, firstname nvarchar(100), lastname nvarchar(100)); create table logins ( id int identity primary key, personid int not null, password nvarchar(100)); insert into pe ...Show All
SQL Server Insert / Update Trigger based on a column's value
I am new to triggers and surely could use some help. I can create a trigger to insert related records based on the main tables ID and insert that value into other related tables fine... but... How do I create a trigger that can insert a record into one table for a columns given value and then insert a record into another table for another given value For instance: New row... Table1, Column1 (PK) has a value of 101 Table1, Column2 has a value of ...Show All
SQL Server Errors reported by uninstall tool for SQL Server 2005 (Tools) Express Edition CTP
Over time I've updated VSTS through a couple of versions and finally want to uninstall the RC1 to install VS 2005 Pro (RTM). Ran the uninstall tool a few times (reboot included), but I keep getting a failure only on two items-- any ideas Microsoft SQL Server 2005 Express Edition CTP The setup has encountered an unexpected error in datastore. The action is RestoreSetupParams. The error is :Failed to read property "InstallIds" {"MachineCon ...Show All
Software Development for Windows Vista about "StateMachineWorkflowInstance.EnqueueItem "
what's the meaning of " StateMachineWorkflowInstance.EnqueueItem () " when and how could i use it Victor - all of the communication between a Workflow host and a workflow instance is done via a system of low-level queues. EnqueueItem is used to send a message to one of these queues. The HandleExternalEventActivity is actually a higher-level implementation based on interfaces built on top of this queueing system. You'd u ...Show All
Visual Studio Error when building solutions
I created an MSBuild project that builds a solution. It seems to build fine, but at the end, MSBuild encounters the following error: An unhandled exception of type 'Microsoft.Build.Shared.InternalErrorException' occurred in MSBuild.exe Additional information: Internal MSBuild Error: The number of projects officially loaded at the beginning of the build should match the number of projects officially loaded at the end of the build. Any ideas as ...Show All
