Douglas Harber's Q&A profile
Visual Studio uninstall Microsoft device emulator version 1.0 beta 2 - ENU
Hi all, Help me, I want install the last ctp of VS 2005. I have all previous version uninstall. But I can't uninstall the 'Microsoft Device Emulator 1.0 Beta 2 - ENU', I have no buttom to remove in the Add/Remove program on the control panel. Any have a ID to help me TIA philippe Solution, I have used the Regcleaner Utility to recover the registry infos, and then Remove this with the contraol panel Add/Remove prog. Best Regards, philippe ...Show All
Visual C# .Net 2.0 Terrarium Status
What is the status of Terrarium for .Net 2.0 There is a better play to ask this question, in the terrarium forum: http://forums.microsoft.com/msdn/default.aspx forumgroupid=2&siteid=1 ...Show All
.NET Development Connection String problem with MSDAORA.1
Hi. I have two connection strings for my application, one using Microsoft ODBC Driver for oracle, and another using Oracle ODBC Driver. I am getting "Object not found error( ASP)" when I use MSDAORA.1. I am using oracle 8i. Thanks. Sandeep Chanda wrote: Hi Paul, Its every line which has a CreateObject call. I'm sorry but that isn't enough information. What object are you trying to create Code would help. In any event, if this can't be resolved in the next response or so I think you're going to have to follow David's suggestion since this isn't really a .NET question. As much as I ...Show All
SQL Server User-Defined Datatypes based on abstract classes
I am trying to create a set of spatial datatypes for SQL Server 2005. Each datatype inherit from the abstract class "Geometry". ie. public class Point : Geometry public class Line : Geometry public class Polygon : Geometry ...and several more. The reason for using the abstract class Geometry, is that they all share a common set of functions that return a Geometry object. For instance Geometry Intersection(Geometry g1, Geometry g2) bool Geometry.Within(Geometry g2) Polygon Envelope(Geometry g) etc.. The problem is that when I deploy the assembly to the database, I'm told that the Parameter "Geometry" ...Show All
SQL Server Trigger on insert
Hi, I have SSIS package that takes in data from an excel file and transfers it to a sql 2005 table. I have a trigger set on the table in the sql 2005 db. However the trigger does not work when the package executes. Am I missing something If your destination component is a SQLServerDestination, then there is a checkbox called 'Fire Triggers' in the Advanced Pane. Make sure this is checked. ...Show All
SQL Server Data driven subcription tab : How to concate a label and a field in the filename textbox ?
I have defined a web service on which I get the list of companies I want to use to set up the data driven subcription that launchs a report. The data source and command used to define the dataset needed to the subcription works fine, I can see the list of the fields published by the web services in the subcription tab combo box. My question : I would like the report filename looks like 'report_' & company, where company is a field from the web sevices. How can I concate a label and a field in the filename textbox ...Show All
Visual Studio Team System Extensibility Kit
Is there anywhere to grab this since the vsipdev website is down now If not, can someone post a link/send me a copy of the Authoring WorkItem Types.Doc Thanks The beta 3 extensibility kit will be available on that web site by the end of the week. I was unable to log into the web site tonight, so it looks like they are having some issues after changing how it works. I'm sure they'll have it straightened out shortly. Buck ...Show All
SQL Server OLEDB versus ADO.NET for UPDATE statement using parms
In SSIS, I have an Execute SQL Task that runs a direct SQL statement as follows to update an MS/SQL database table: Update auditTable SET PackageName = @pkgname In the parameters mapping, @pkgname is mapped to the System variable System::PackageName (as input). This task runs fine if I use ADO.NET as the data source without any error. But if I use OLEDB as the source it fails miserably and requires that the @pkgname variable be defined (as if it's a user variable, when in fact it was intended as a parm for the update statement only). Any idea why that happens Thanks Tommy For ...Show All
Windows Forms ComboBox problem (NullReferenceException)
Hi all. I have a problem with a ComboBox. When I leave my form I always get this Exception. I already wasted a lot of time trying to find out whats happening. If the control is correctly initialized why I always get this exception when I close the form Any ideas Besides this the event SelectedIndexChanged is thrown a lot of times even when the user dont change nothing. Any ideas about when this event is thrown during the control lifecycle Thanks in advance for any help. Best regards LFS Hi, I'm using C# and Visual Studio 2005. I provide a sample of the code I'm usi ...Show All
Visual C# database
Hi, How can i store information in a database And then when i want to read information from 1st id, how can i do it Sorry for being idiot, Guilherme Take a look at common task samples for ADO.NET in .NET Framework SDK. Here's link to online version of it: http://www.asp.net/QuickStart/howto/doc/adoplus/overviewcontents.aspx If you run into specific situation/error let us know. ...Show All
Visual Studio Express Editions Print a pdf from VBE
Can someone show me how to print a PDF file from VBexpress using the adobe activeX control I this the best/only way to print PDF's from VB Thanks... ...Show All
SQL Server Deleting Files using SSIS Scripting Object
I am utlizing a scripting object in my ssis to combine two text files into one final file, and then I want to delete the original files. To do this I am utilizing the FileSystemInfo namespace and associating the file names, then utilizing the DELETE functionality. The creation of the final file works perfectly...unfortunately, my base files do not delete, and I do not get a failure message or indictator. Here is my code: ' Microsoft SQL Server Integration Services Script Task ' Write scripts using Microsoft Visual Basic ' The ScriptMain class is the entry point of the Script Task. Imports System Imports System.Data Impor ...Show All
.NET Development eMail Question
Hello Im searching an overview of "eMail Compose" or "How To create an eMail". I have written some code (it works only with simple Text). But I look at Outlooks creation of email with HTML and an attachment, I retrieve a MIME Content multipart/related with the attachment and a mulipart/alternative with HTML and text. So my question: why related and not mixed Are there any rules to fallow, while creating mails Is there any overview with "if want send this so create eMail like this" Thanks and Regards Tony This is all about the MIME and how it is defined. Yes they are all different and you need to use the righ ...Show All
Visual C++ how do i compare each character in a string with something
Hello. Please help me. How would I compare a character in a string with something. For example, I have the following string. "Hello, world!" And then I'd check if each character is == to ",". If it's right, I want to replace "," with "\n". How would I do this Thanks. Hi! C#: string.Replace(",", "\r\n") C++ .NET: I think the same as C# sample C++ without .NET: strrep() or something alike was there, if you use MFC - check CString methods, I'm sure there was Replace() version. ...Show All
Visual C# Get primitive type
Forgive me if the answer to this is pretty obvious - but I've been searching google and can't find it. I need to be able to detect if a primitive is a string, decimal or an int. I have a struct like so struct Token { public int Type; public object Value; } Value can hold anything, and does hold anything. I'm now writing the data to a file using binary output. With each token, I output the Type (int), and then a string containing either "int", "str", or "float" depending on what Value is, so I know what to read in next. Is there a way to do something like IsInt32() IsDecimal() IsString() Thanks in advance. ...Show All
