Zlatin's Q&A profile
Visual Studio Express Editions Q: URI datatype in DataSet
hi, How can i set a constraint to a column in my dataset as URI , what i know is that dataset is XSD file, and xsd has a datatype xs:anyURI, but i didn't find this datatype in the dataset datatypes ,is there any idea if that is not possible or not recommended how can i make constraint for textbox entery to be a valid uri or to convert the text that the user entered to uri will be thxfull for any help thx, fox after lo ...Show All
Visual C# Why can't I recast a generic list?
I don't know if I am looking at this problem in a completely wrong way but I have the code listed below and would like to treat a generic list sometimes as List<Swatch> and sometimes as List<ColorSwatch>. I have many other types of swatches too - so I don't want to have to duplicate the common code. When I try and build the code I get errors telling me I cannot convert from type List<Swatch> to List<ColorSwatch> or vic ...Show All
SQL Server unhandled exception when using management studio
Hi guys am getting unhandled exception when scrolling thru objects in object explorer in sql server management studio. it happens intermittently when i click different objects like diagrams,tables etc., any help on this much appreciated. BTW previously i had RC1 but now i have standard edition.i used get similar error with RC1 also. the error i get is "Unhandled exception has occured in a component in your application.if you click continue, the ...Show All
SQL Server Unable to attach to devenv.exe to debug
Before I start peppering this forum with questions I'll start with one that might help me figure out others... I'm trying to debug a custom component I'm developing. All the texts I've read state that the first thing I should do is attach to the devenv.exe process. When I choose this, the window that lists the available processes I can attach to does not contain devenv.exe. Is this a security issue Any other ideas I'm an administrator on the b ...Show All
Visual Studio Tools for Office Avoiding security alert in Outlook while accessing Contacts in VSTO 2005
I am trying to access Items programmatically within a VSTO 2005. When I try to access the 'magic' properties such as email1address, I get the security warning within Outlook. I do not want to go back to redemption - that's why I am using VSTO. How do I avoid the security warnings when doing something like the following: private void Form1_Load(object sender, EventArgs e) { LoadContacts(); } private void LoadContacts() ...Show All
Visual C++ Win32 Modal Dialog Box
I've made this custom control (as I often do) but this thing relies on WM_CHAR and it appears that modal dialog boxes don't translate messages because the custom control doesn't get WM_CHAR when in one. I looked around and couldn't find any solutions or similar problems, but a test-bed reveals this is not a problem specific to my project. Thanks for any help in advance. P.S. Yes, I realise what is causing the problem; modal dialog boxes have th ...Show All
Architecture Does Windows Workflow Muddy The Water?
I have been trying to get excited about Windows Workflow Foundation from an architectural perspective but after having a conversation with one of my colleagues I sort of started to question the value of such a framework. Here's why.... 1. Does Windows Workflow run the risk of allowing line of business applications to deliver workflows that might actually be valuable to an entire enterprise In other words ... if I have a true workflow and I d ...Show All
Windows Forms Will someone please respond!!!System.NullReferenceException
I installed and compiled the source on my server at work and everything works fine if I install the downloadable client msi and change the cfg file to point to my server . If however I compile the client source into a client setup&nb ...Show All
Visual Studio Team System Getting Constructor Passed Parameters
I've cast an SqlParameter Newobj opcode's Value parameter to an InstanceInitializer class. I'm trying to find out if the second passed parameter in the constructor is of type HttpContext. I could do this by walking the IL around the Newobj instruction, but I'm wondering if there's a simpler way using the Parameters collection of the Instance Initializer class. I have tried: InstanceInitializer createdObj = methodInstructions //emoticons/e ...Show All
Visual Studio Team System Need help with reconnecting sharepoint databases for TFS!
Hi! I'm currently trying to upgrade my TFS server from BETA3 to the Refresh version, but it dosen't work that well :( My problem is that I uninstalled all old TFS related things (SQL Server, TFS, Sharepoint) to reinstall it together with the new TFS. And when I tries to reinstall everything and reconnect all dependent databases I'm not able to connect to the sharepoint part of TFS! I have reconnected the database before I installed TFS, ...Show All
Windows Live Developer Forums Accessing MSN Search Web Service from Perl
I've been trying to build a MSN Search API client with Perl using SOAP::Lite to interface with the SOAP server. I'm not an expert using Perl or SOAP so any help would be appreciated. Perl Code use SOAP::Lite +trace; my $appID = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'; my $msn = SOAP::Lite->service( 'http://soap.search.msn.com/webservices.asmx wsdl' ); my $response = $msn->Search( ( 'Request' => ( &n ...Show All
SQL Server Cannot deploy SSIS package on 64bit SQL Server
I have a SSIS package, which get data from oracle 9i, and dump into sql server 2005 64bit itanium, its running fine. When I am deploying the package on SQL Server 2005 its showing me the error with connection. on 64bit Oracle Net manager showing its able to connect oracle successfully. I think actually the problem is with encryption, as the package is developed on 32bit machine, therefore all connection strings are encrypted for that machine ...Show All
Visual C# setup.msi
hi, i create a setup project . when i execute the setup.msi it shows a message saying ".net framework 2.0 is not installed do u want to connect to internet and download the .net2.0 redistributable" i changed the bootstrapper option to where the program should look the prerequsites and change it to: "download prerequisites from the same location as my application" but it does not seem to work. strange! ...Show All
Visual Studio is the IVSSItem Child public property used ?
Hi guys, I need to extract the child VSSItems of a certain VSSItem i am referencing currently, however when i tried to extract the child associated with the current VSSItem, i can't find the .Child property. VSSItem myChild = parentVSSItem.Child // the child property fails to exists. May i know if the Child property is implemented I encountered a similar problem with the Close method of the DatabaseClass where fellow forumtie ...Show All
Visual Studio Tools for Office VB2005 Viewing Access Report
Hi, beginner needs help, I am currently working on a project that connects to a MS Access 2003 Database, the problem is that I need to be able to view the pre-set reports I have created in Access via my project, everything else works great. 1. Is there a method to pulling up the Access reports through a command click event 2. Viewing the Access report would be great but if this is not possible what are my options 3 ...Show All
