CostasZ's Q&A profile
SQL Server Chart in Report Builder
hi there I am just designing a simple chart in Report Builder - but when trying to drag any field into the value field of the chart (it doesn't change colour and won't accept any field). If I drag a field into the category or series the curser changes and on approaching the chart properties they seem to change colour. Can someone help to what can be wrong thanks Dianne Items added to the value fields area in a chart must be aggregates. Dropping non-aggregates to the value area is not allowed and would give you the behavior you are seeing. You can identify aggregates in your report explorer by looking for the aggregate icon which has three stacked yellow boxes and a curly brace. In the report ...Show All
Visual Studio Express Editions inserting in an access db problem: The field is too small to accept the amount of data you attempted to add. Try inserting or p
Hi everyone, I'm trying to insert data from visual web developer using vb.net to an access db, but I keep on getting that error: The field is too small to accept the amount of data you attempted to add. Try inserting or pasting less data. there is my code : Function insertMeeting(ByVal meetingId As String, ByVal confRoom As String, ByVal da As Date, ByVal startTime As Date, ByVal endTime As Date, ByVal requestor As String, ByVal host As String, ByVal attendeesAmt As Integer, ByVal attendeesUserId As String, ByVal purpose As String, ByVal agenda As String) As Integer Dim connectionstring As String = "Provider=Microsoft.Jet.OLEDB.4.0; Ole DB Services=-4; Data Source=C:\Documents and Settings\Dominique\My Documents\Visual Stu ...Show All
Visual Studio Express Editions How to get MAC Address on remote Computer using VB.NET
How to get MAC Address on remote Computer using VB.NET. The line Dim theSearcher as new ManagementObjectSearcher = (theManagementScope, theObjectQuery) is wrong. We should delete "=". Dim theSearcher as new ManagementObjectSearcher(theManagementScope, theObjectQuery) ...Show All
Visual Studio Team System CA1062 Warnings when using a Guard class
I have created a Guard class, as I have seen in many of P&P deliverables, that for example have a method called ArgumentNotNull. I use this class to validate the parameters passed to my methods. When I turn on code analysis in VS 2005 I get CA1062 warning me that I haven't validate the parameter. What is the recommended solution for this problem Is there any way to set an attribute on my ArgumentNotNull method or Guard class to indicate that they are doing the validation or do I have to use SupressMessage Is it recommended to set the SupressMessage for the assembly or for each method in that case Thanks in advance, Eric Unfortunately, this rule does not do inter-method analysis, so it does not understand that your ArgumentN ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Transparent Texture Mapping
Hi all, I know this forum probably isn't for general graphics programming techniques, but since I'm using XNA I was wondering if perhaps I could get some pointers on what to search for on the web :-) What I'm trying to achieve is basically this, I have a texture (png) with a transparent background. I would like to apply this texture and have the areas textured with the transparent section to be ... well ... transparent :-P Right now, the sections that are supposed to be transparent are showing up white. Thanks for any help you might be able to offer. As you want only some keywords you should looking for "Alpha Blending" and "Alpha Test". ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA Subscription != MSDN Subscription?
I have a MSDN Liscense subscription w/full access to the MSDN Subscriber downloads, support, etc. Its expensive (as most here know). My question is, does this not include access to the 360 XNA studio creators club Do they really want another 99 bucks out of me after paying 2 grand I'd be real surprised if this was the case. I thought MSFT MSDN Subscription would break this barrier. Joe $99 is a heck of a lot cheaper than the price of the Xbox 360 Dev Kit that you would otherwise have to buy to do Xbox programming (even with your MSDN subscription). ...Show All
Windows Forms Drawing parts of an Image
Hi - quick question. I need to use DrawImage/DrawImageUnscaled to draw certain source areas from a certain Bitmap, using a Graphics object, many times. I've tried many variations of the call and they all are very slow... 30~50 iterations takes almost a second. There's nothing I can do about the size of my image file either, unforunately. Making it a small-size PNG doesn't help at all. Also, I really want to avoid using DirectX here for the reasons of simplicity, load-up speed, and also the fancy advanced features like gradient brushes, etc. that I really need. So, to my actual question - is there any other way to greatly improve my speed without using another technology than GDI+ Thanks in advance... P.S. I should add that I can't reall ...Show All
Silverlight (formerly WPF/E) Javascript calls from events
Hello all, Forgive me if this question spaws from my lack of in-depth XML knowledge, but is it possible to have more than one script call for an event in the XAML file For instance: MouseLeftButtonUp = " javascript:change_image " is one script call for the button up event. But if I wanted to have more than one script call fire for a given event, is that possible For example: MouseLeftButtonUp = " javascript:change_image; javascript:move_image " Thanks, Doug No, not at this time. You'll need to call your additional event handlers in your main javascript event handler. -mark Program Manager Microsoft This post is provided "as-is" ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Font troubles
Im a new to XNA so please be patient with me. I'm feeling really frustrated trying to get my own fonts to draw on the screen. Ive found classes that will take their example image and draw with those fonts. But I dont want those fonts. I want mine. I know that I have to have an image with my letters of my font on it. And that image has to get parsed. Im trying to avoid having to create my own classes and tools to do this. So I downloaded the Bitmap font generater from Angle code. The classes I've found, both here in these forums and at angle code, that suppose to work with this Angel code tool do not correctly parse the .fnt. At first I was getting exceptions. So I debugged through it and got passed that. But i ...Show All
Visual C# how to write a function to read string (or byte)from right side
help me please... Well, if you are going to use a for() (as opposed to a foreach()), you might as well use it to your advantage: public static string ReverseStringWords( string input) { StringBuilder sb = new StringBuilder(input.Length); string [] words = input.Split(' '); for ( int i = words.Length - 1; i >= 0; --i) { sb.Append(word[ i ]); sb.Append(' '); } if (sb.Length > 0) sb.Length --; // remove final space. return sb.ToString(); } Of course, as I was writting that, I thought of this met ...Show All
Visual Studio Express Editions Reading PST File
Hi Forum Members, I am trying to read the outlook files "pst" and load them in my application, I dont know where to start and how to start. So is there any body that can give me a start point and help me doing this I would like to do this in C# (VS 2003). Regards, QAKiani. Hi QAKiani, Can i know whether you got any output on accessing the PSt file If so Please let me know so that it will be very much helpful for my job of doing the same as yours immediately . Regards, Chandru ...Show All
SQL Server Executing Dynamic SQL larger than 8000 characters
Can anyone tell me if there is a way to get around the 8000 character limit for executing dynamic SQL statements I have tried everything I can think of to get around this limitation but I can not figure out a way around this. Here are a few of the things that I have tried that have not worked Using VARCHAR(MAX) instead on VARCHAR(8000) Using NVARCHAR(MAX) instead of NVARCHAR(4000) Using nTEXT (BLOBs are not support for variables) Executing the statement via .NET using the SqlCommand.CommandText (it accepts a data type of String which is limited to 8000 characters) I can't believe this is sooo hard to figure out. I know somebody has run into this before. All help would be greatly appreci ...Show All
SQL Server replication hangs on one table
publisher - sql2000 sp4 distributor - sql 2005 sp1 subscribers - mix of sql2005 sp1 and sql 2000 sp4 we have a database with around 300 tables and replicate it to around 10 different subscribers. some in the same datacenter and others in different offices. We have around 50-60 different publications for this. Some have 20 or so tables others have only one table if they are large tables. Tables range in size from a few hundred rows to over 20 million. Some tables replicate a few commands, others 100000 or more commands on a daily basis. Around 6 weeks ago we started having problems with one table. It's 1.4 million rows and replicates around a few thousand commands on a daily basis. We saw a backlog of around 150000 to 400000 commands. We ha ...Show All
Audio and Video Development namespace support
Hello Everybody Can some one (from microsoft i suppose) guide about the extent of namespace support they have provided or will provide Thanks Thanks Mr Torr umm...i have a question Does the prefix "style" is bound ("hardcoded" ) to uri "http://www.dvdforum.org/2005/ihd#style" similarly are the bindings "state" :: "http://www.dvdforum.org/2005/ihd#state" and "ihd" :: "http://www.dvdforum.org/2005/ihd" fixed. and the default namespace is always "http://www.dvdforum.org/2005/ihd" or can we do something like this Can i do somwthing like this <ihd:root xml:lang="en" xmlns:ihd="http://www.dvdforum.org/2005/ihd#stat ...Show All
Visual Studio Express Editions DataGridView Update Error
Hi guys. I'm new at your forum but I really need your help! I'm working with DataGridView and put Update() method of my TableAdapter in the RowLeave event of my DGV. So when I add a new row it works perfectly but when i try to update some other row created before it gives me an error like this (translated from italian): Update requires a valid UpdateCommand when a DataRow collection is passed through this method I just use this construction: this .ticketsTableAdapter.Update( this .customersDBDataSet.Tickets); Can someone help me Maybe somebody knows another WORKING method to update DataGridView content. Thanks a lot. Looking forward to your suggestions :) Hi. first of all thnx for yo ...Show All
