Ljubica's Q&A profile
Visual C# Nullable Value and Generic
I want to mark a generic class to support nullable value. The following is my class public class DataField<T> where T:System.Nullable<T> { public T Value; } But it can't. Why Please help me.... 1. string is not actually valid. Nullable<T> has a struct constraint so only value types can be used with Nullable<T>. As far as I'm aware there is no way to use constrain ...Show All
.NET Development Transaction Locking
When I do a BeginTransaction() in ADO.NET then fire off a update command for example. UPDATE [t_Client] SET [ClientName]='Sample Name' WHERE [ClientID]=1 Where ClientID is the primary key. What kind of locking is performed Table, Page, Row How would I set it to be row locking. You may be asking why not lock it inside the SP that performs the update and the reason is I have to update multiple tables using many different SPs and int ...Show All
Architecture SOA message design
Hi, I'm developing a system using web services with SOA principles. But I have doubts about the design of a message. For example, I want to expose a product catalog so the signature of my method would be: public FindProductResponse FindProduct(FindProductRequest request){........} FindProductResponse will return a collection with all the products that meet the criteria specified in the FindProductRequest object. But I don't know how to ...Show All
Visual Studio 2008 (Pre-release) child XAML as like Child window.
I am a begginer Avalon programmer. I am learning this, and I noticed it is different with MFC program. I am trying to make a simple preogram, It need to include a child window, the child window will change dinamically. SO I need to make a main window (Main.XAML / Main.XAML.CS) and it need to include Subwindow (sub.XAML / sub.XAML.CS) . How can I make this. I can add some controll or Other element. but How can I add other XAML . ...Show All
Visual C++ c++ compilation strategy
Well .. this is probably not specific to C++ language. It is a more general question on the requirements of including headers, etc, and so sort of basic, of compilers. I have been looking at translation units and linking, etc. I learnt that there can't be duplicate identifiers in all of the translation units combined. If there are duplicates, it's a linking error. It can be avoided by using extern keyword for all the duplicate declarations of th ...Show All
Visual C# problem in adding reference to a DLL file
When trying to add a reference to a DLL file (made with ANSI C++) to a VS2005 C# project, by right click on references, add reference, I receive the following error in both of them: "A reference to 'dllFileName.dll' could not be added. Please make sure that the file is accessible, and that it is a valid assembly or COM component." Now When I try to use the TlbImp on a .dll file the follow ...Show All
Visual Studio Express Editions Graphic in VB 2005
Please, how to make graphic in VB 2005 Express I need only to make field of coloured rectangles, but so effective, that painting 400 x 300 rectangles takes only few miliseconds so changing all viewfield will be like animation even with scanning near fields (i need to make rendering for programm Life) please show example of code hi, you can check GDI+ tutorial for that http://www.bobpowell.net/ ...Show All
Visual FoxPro MySQL and VFP9.0
Hi. I don't know how to make a connection to MySQL. I used Connector/ODBC 3.51.12 to connect to MySql with no responce. When I clicked on OK after I set up parameters a massage was displayed like User Cancled. Don't know what to do... Can anybody help me Has anybody experience with connectivity with MySQL I have an idea. Can you make a sample project with a database connected to a MySql database. I was told via Connector/ODBC 3.51.12 it'll ...Show All
SQL Server Unexpected failure during the setup of SQL Server 2005 Standard Edition
Dear All When I was installing the SQL Server 2005 Standard Edition on Windows Server 2003, the following problem occured. How can I solve it Thank you so much! TITLE: Microsoft SQL Server 2005 Setup ------------------------------ There was an unexpected failure during the setup wizard. You may review the setup logs and/or click the help button for more information. For help, click: http://go.microsoft.com/fwlink LinkID=20476& ...Show All
Visual Studio Advice on installing Visual Studio 2005 Professional and SQL Server 2005 Developer
I've downloaded from MSDN the released versions of VS2005 Professional and SQL Server 2005 Developer editions. Does anyone know the proper sequence to install these products TIA, Richard I installed SQL Server Dev first, then installed VS, but when VS loads, there are no SQL components listed on the splash screen, just VB, C# and VWD. A colleague installed the other way, and has some SQL components listed ...Show All
Visual Studio Tools for Office vba excel compiling / creating library
Hi, I created a lot of tools in Microsoft excel and microsoft access using VBA. Is it possible that i can convert it to executable files or creating (.dll) library for security of my macro Can I do it in Visual basic or Visual C++ and How to do it Hi, If you are worried about security, are you aware that Vba has a protection option to prevent your macros from being viewed In the macros IDE, you can select Tools.V ...Show All
Visual C++ linking C++ with mySQL
helo all, I don't know if that is the right place to post my comments, since the site is very large anway, how could I link C++ with MYSQL THanks all One big thing, you have the libraries and headers to program mysql come with mysql itself, or at least the older versions had them. So why would you have any problems unless you want to explicitly have ODBC OleDB or ADO. ...Show All
Visual Studio Express Editions Installation of VB Express Edition 2005 Beta.
Hello! I am new here and just got a copy of Visual Basic Express Edition 2005 Beta. The problem was, everytime I tried to install it, it said it would need .NET Framework 2.0 Beta to be installed. I installed it, but after I tried again installing VB, it said the same. Am I doing something wrong Thanks in advance! I don't have VS2005 and I did have Framework 1.1. I uninstalled it and download ...Show All
SQL Server Reportdefinition is invalid ... undeclared namespace (rsNotACurrentReportDefinition)
When I create an .rdl file with VS 2005 RC Reporting Services component it has a namespace like this: <Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/ 2005/01 /reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner"> When I try to upladoad this rdl to a Reporting Server 2000, SP 2 I get this German error message: Die Berichtsdefinition ist ungultig. Uberprufen Sie, ob fur die Beri ...Show All
Microsoft ISV Community Center Forums Accessing Tables in Access 2000 that are linked from an SQL Server using VB code
Hello, I am not sure if I am posting to the correct forum, but here it goes: I am trying to create an Access 2000 application to pull data from a table that is linked to a SQL Server Database using VB code. However, I cannot seem to get it to work, as I keep getting type mismatches and object not defined errors. I would post my code, but I have made a complete mess of it. Would anyone be able to show me simple code to accomplish setting u ...Show All
