Robert Campbell's Q&A profile
Visual C++ Dynamically bind to a library and function
Within my .NET managed class instance called LibraryFunction i want it to be able to: 1. Dynamically load a given library given it is not already loaded. 2. Dynamically bind to a function/method within this library. 3. Call this function with a given set of parameters. The binding is made possible by instance variables like mLibName and mFunctionName. My current unmanaged class uses code like the following: FARPROC f = (FAR ...Show All
Visual Studio Team System Help with FxCopCmd Loading an Assembly Dir
Hopefully this is a stupid question (as in, there's an easy answer.) Background: Using FxCop v1.32 My project file indicates to only check against 1 rule. It also indicates to ignore 3 Interop dll's that exist in the assembly dir. I'm trying to run FxCopCmd with the following arguments... /p:C:\Build\MyProj.FxCop /f:C:\Build\Bin /d:C:\Buil ...Show All
SQL Server triggers
what is the difference between for and after trigger. There is no difference -- the trigger is an AFTER trigger either way; FOR is just a different keyword you can use. -- Adam Machanic Pro SQL Server 2005, available now http://www..apress.com/book/bookDisplay.html bID=457 -- < dev_sriv@discussions.microsoft.com > wrote in message news:10c42a99-1ae7-4f8b-8132-f825add ...Show All
Architecture UI Design: Edit then List vs List then Edit
Today I was thinking about the way I build UIs (List the Edit) and the way most people I know build UIs (Edit then List) and the relation that the way you build you UI has with the way you store the data you manipulate in you UI. So I wrote an article about that in my blog: http://luxspes.blogspot.com/2006/04/ui-design-edit-then-list-vs-list-then.html And would like to hear opinions about it... and perhaps get ideas to build some kind ...Show All
SQL Server Measure Group ID
Hi, What is the thinking behind not allowing us to change the default value of the ID property of a measure group I really don't like the default - I'd like to choose my own. (If thjere is a way to change it in BIDS then plesae let me know!) This wouldn't be a problem except that the XML/A process command references the ID and I would rather have something in there that is intuitive - somehing that represents what the measure group i ...Show All
Visual Basic Inserting large numbers into a byte array
I have been dealing with this problem for months now and have basically been avoiding it. I have a program that can load a file into a byte array using the following: Public Class Form1 Protected b() As Byte Private Sub LoadFile(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button_LoadFile.Click Try Dim open As New OpenFileDialog() With open .CheckFileExists() = True .CheckPat ...Show All
.NET Development Unable to find assembly .... trying to deserialize a stored memory stream retrieved from SQL in a class all within the same dll
The Following Error Occured: 5 Unable to find assembly 'WOB_RE, Version=1.0.2242.14202, Culture=neutral, PublicKeyToken=null'. Current Context: Initialize Activities Grid: mscorlib --------------------------- OK --------------------------- '************** WOB_RE.dll is the application dll..... '******************* Here is the class code The error code comes on the line in RED Imports System.Runtime.Serialization I ...Show All
SQL Server Data transfer between Progress-SQL Server 2005-Oracle
This will be a long post, but it is a complicated problem. Situation: We have 3 databases involved. Progress is the production database. SQL Server is the data warehouse. Oracle houses the combined financial data between Progress (via the data warehouse) and our other Oracle databases. Problem: 1. Data is imported successfully into SQL Server from Progress using a SQL script written by an INFOR technician Example: IF object_id ( 'insi ...Show All
Windows Forms Question about ClickOnce
Hey all, I thought of using ClickOnce technology and its benifits to install an old VB6 application which is used by a website. The installation includes registeration of DLL's and COM objects. It also needs to place files under %programfiles%\company directory. I thought of using C# 2005 project to make a shell to: 1. MSI package which will do the job. 2. Create my own code of installation inside the project. What do you think Any tips ...Show All
Visual Studio Team System How to set playback browser's settings.
Hi, I run a test case which a recorded result is different from palyback result, i think My IE's settings is different from playback IE's setting, is there a way to set VS IE's setting. BTW, any one know how to read IE's settings programmingly, there are so many settings should be checked on browser. Thank you. Richard Yang. There is currently a problem with the web test playback in that the simulated browser doe ...Show All
Visual Studio How to get a reference to a model within code?
Another little brain teaser: As part of this problem of creating multiple linked models I'm looking for a way of getting a reference to a model that is not necessarily open in an editor. The scenario I am considering at the moment is where I am splitting a single model over many files (to support distributed development of the model and to support diagrams of small model sections) and this single model has some elements that must be common acros ...Show All
Visual Studio Custom .proj or VS.NET .sln file?
Hi, I am currently in the process of setting up a build server with CruiseControl.NET, SubVersion and MSBuild. Our developers will be using VS.NET on their dev machines. When calling MSBuild from the build server, should I use the VS.NET created .sln file or a custom build .proj It seems that a custom build .proj gives more flexibility but dosen't this make the .sln file redundant I would like the developers to have the same build process as ...Show All
SQL Server which algorithm to be used with symmetric keys
Hi, I want to create a symmetric key that will be encrypted by certificate key. Can u guide me which algorithm is best out of the following: DES, TRIPLE_DES, RC2, RC4, RC4_128, DESX, AES_128, AES_192, AES_256. I tried using AES_128, AES_192, AES_256 but it says ' the algorithm specified for the key are not available in this installation of Windows.' Pls tell me which else algorithm is best to us ...Show All
.NET Development ASP.NET
While creating Header and footer option in asp.net application which is a better option using DHTML Code or User Control And Why Check out http://www.asp.net for lots of information about ASP.NET 2.0 and you'll find some tutorials there on how to create master pages! PEte ...Show All
Visual Studio 2008 (Pre-release) Using custom base page in Browser app (February CTP)
Hi! I'm building a Browser app and would like all pages in my project to subclass my own implementation of Page (which is a subclass of System.Windows.Controls.Page). The only problem is that the class is partially defined in the "code behind" file of the XAML document, and partially in the .cs file generated by Visual Studio. If I specify my own base page as the base class of my page, the compiler gives me the folloing error: ...Show All
