Wasif235288's Q&A profile
Audio and Video Development Markup Performance
I wrote a complete menu (including scrolling chapter menu with rotating images) in pure markup. The XMU file has in total about 1500 lines. Unfortunately I notice that it runs quite slow on HDiSim and in Players. Are 1500 lines too much for xmu Hi DrumAllDay Can you please elaborate why the above improves performance. In my understanding , both options as presented should have same performance. thanks ...Show All
Visual C# question marks in parameter list
I have a Fill Method and when i mouse over it the parameter list reads int, bool, string....this means nullable right How do i pass values to nullable types....when i pass it 12, false "hello"....It tells me that the arguments i have specified are are invalid for this method any help with this..... As Frank said, Nullable types support a value type that can be assigned a null reference (Nothing in Visual Basic) like a reference type. Nullable types can represent all the values of an underlying type, and an additional null value. Nullable types are declared in one of two ways: System.Nullable<T> variable -or- T variable Here some references: http://msdn2.microsoft.com/en-us/library/2cf6 ...Show All
SQL Server Problems with sql:overflow-field and sql:datatype="xml" in XML bulk load
I am bulk loading data from an XML file into three tables in SS2005. All is well except for a section that I would like to load into a column of type XML in the table. I have tried using sql:datatype="xml" and it does load into the XML column but there are two problems: 1) It adds two namespace tags to each element which I don't want. 2) It does not include the outermost tag <Form> but starts with the next tag in. I then tried using sql:overflow-field and have a problem with it, also. 1) It includes the parent tag <Study> which I do not want. If I try to put the overflow annotation on the <Form> tag I get an error that it sees that as a column. Here is the XSD: < xml version="1.0 ...Show All
Visual Studio Express Editions How to suppress radiobutton click or another approach?
New user of VB 2005 Express. My application has a form that contains a few radiobutton groups. The user selects the desired buttons and eventually hits an OFF button and his selections are written to a file. The next time the application is executed, the form is opened and the file is read, setting the buttons to the values they had when the last execution terminated (this is done in the form Load event). All works well, but the click event for the radiobuttons is being executed as I set the "checked" . That causes some other program actions to occur which are undesirable at this time. Question is: how can I set the radiobuttons via the code without triggering the click event As an alternative, is there some way that I can ...Show All
.NET Development CustomAttributeData.GetCustomAttributes throws exception when type has a WebService attribute
Hello, I'm trying to access the CustomAttributeData of a class that has the WebService attribute defined. If the WebService attribute has a Namespace parameter + any of the other WebSercice parameters defined (Name or Description), it throws a CustomAttributeFormatException "Binary format of the specified custom attribute was invalid." exception. If the WebService attribute has only the Namespace parameter defined, it works. If the WebService attribute has does not have the Namespace parameter defined, it works. The code bellow reproduces the problem, does anybody know if there's a workaround or a hot fix for this Thanks Gabo ------- using System; using System.Collections.Generic; using System.Reflect ...Show All
Visual Studio Express Editions Add Form Created in Access to Project
I have managed to create a form for my database using Access and the provided Wizzards which includes buttons etc. My question now is how do I include this form into my project If youve create a form in Access then you cant bring that form into VB or vice versa. The forms are tied to the respective product they were created in. Create a form in VB if you want to use VB for your application, create a form in Access if you want to use access for your application. You can create forms in VB and use the access database to store you data - in which case you are using the VB Forms for you applications and access becomes just a database. ...Show All
.NET Development Dictionaries and invalid keys: return the key in the exception?
Dictionary<TKey, TValue>.Add throws an ArgumentException if the key already exists. Dictionary<TKey, TValue>.Item throws a KeyNotFoundException if the getter is called and the key does not exist. Why do neither of these exceptions contain the key that's causing the error It seems like it would be easy to do by using Exception.Data, or at least providing the key in the KeyNotFoundException class. Another subtle reason is that exceptions should be serializable. There is no (good) way to gaurantee the key passed into Dictionary is acutally serializable therefore they can't include it in the exception. ...Show All
Visual C# exercises in c#
Hi everyone, I am looking for exercises in C# for beginners. Any idea where can I find some Thanks Eran Gross Please visit the following URLs: www.codeproject.com www.csharpfriends.com www.csharphelp.com www.c-sharpcorner.com There are lots of such sites and list above is an exhaustive to name a few of them. Hope this may help ...Show All
SQL Server comparing two integers and returning a third
I am having difficulty trying to figure out how to compare two integers stored in a table to return a third. I have two integer fields in one table and two in another like this: Table1.SomeNumber1 = 1 Table1.SomeNumber2 = 2 Table2.SomeNumber1 = 2 Table2.SomeNumber2 = 1 I need to be able to compare the first number from the first table to the first number in the second table. If the values are different I need to set a variable or field to 0. If the numbers are the same I need to set my variable or field to 1. I need to follow the same procedure comparing the second number in the first table to the second number in the second table. In addition, I need to be able to do it in a single select statement. Does anyone have ...Show All
Visual Basic Running a function in another form
Hello Everyone, I'm having a problem in Visual Basic .NET 2003. I'm creating a basic XML Database (an Address Book) with two Forms. Form1 lists the contacts from an XML file and opens Form2 Form2 adds a contact to the XML file At the moment, Form1 opens Form2 and Form2 can write data to the XML file. I want to run the function "refreshData()" in Form1 when Form2 modifies the XML file (ie: when the "Save" button in Form2 is clicked). Thanks for your time, Hayden hi Hayd3n, try using event handlers to solve your problem. here's a short example: in form 2, define a friend event to be called by Form2 when saving to activate the refreshData() in Form 1: Friend Event MyRefreshEvent(ByV ...Show All
Visual Basic Setting Dataview Rowfilter or Sort has no effect
I have a really weird problem in my code. I have the following piece of code. Dim MyDS As DataSet = dsOrder.Copy Dim dvOrderJOT As New DataView dvOrderJOT = MyDS.Tables(1).DefaultView 'Point 1 dvOrderJOT.RowFilter = "ItemLogistics=2" dvOrderJOT.Sort = "ItemSupplier" After Point 1, the dvOrderJOT has 3 rows, two of them has ItemLogistics as 2, one has it as 1 (this is an integer field). After the RowFilter is executed on the following row, the dvOrderJOT still has the same 3 rows. How on earth is that possible I've used the same technique elsewhere in my App with great success, although then the dataview was bound to a Datagrid and the filter was set on a string field. How could I debug ...Show All
Software Development for Windows Vista No data written by WMAsfWriter after a Pause operation - capture-device specific
Hello, I'm new to DS and am trying to fix/work around a pesky problem in which the Pause operation suspends my graph properly, but subsequent unpausing does not save any more data to the output .wmv file. The problem seems to be capture-device/driver specific. For example, using a Logitech QuickCam Pro 5000 with version 10.x of the Logitech software exhibits the problem, but using the 9.x version of the Logitech software (or older cameras from Logitech, Creative, etc.) enables the Pause command to work properly. Using the UScreenCapture filter from Unreal (which is presumably completely independent of the Logitech driver) also causes the problem. I've been able to recreate the problem in GraphEdit, which causes a "Graph canno ...Show All
Smart Device Development Using DirectDraw in Windows CE 4.2
My work is Nevigation system developing. This system's OS is Windows CE 4.2 and CPU is armv4i. Tool is Embedded Visual C++ 4.0(sp4) at my desktop. And important thing is I must use Directdraw. First, I used 'ddraw.h','ddraw.lib' in DirectX SDK. But in Embedded Visual C++, that didn't compile. So I searched all my hard disk, and found out those files in 'Windows CE Tools\wce500'. Second, I used those files, complie and build are success. But when I moved execute file to Nevigation system, that didn't work. Message was '.... can't find some linked files....' (this message is not accurately, because that was written by Korean) I think that is 'dll' problem. Third, I searched 'ddraw.dll' in my hard disk, and fo ...Show All
Visual Studio Team Explorer Client question
Hi all! I have installed Team Explorer Client within Visual Studio 2005 Professional in order to manage a project that is hosted by CodePlex. In the past days I have made some troubles by renaming, moving and deleting the projects of the solution which is under source control. Now, in the Visual Studio "Pending Changes" window there are entries concerning files that, actually, doesn't exist anymore in my solution. If I want to perform a corrent check-in, I must disable the checkbox near to these files, otherwise I obtain an error message. It is possibile to remove these entries from the "Pending Changes" window Thanks in advance. Marco Minerva, marco.minerva@tiscali.it Yes, there is a "Filter By Sol ...Show All
Visual Studio Team System What the Visual Studio 2005 Team Edition for Database Professionals Can Do for You
For the benefit of those who didn't see Rob Caron's recent blog posting, I thought it was worth pointing out that my new article "What the Visual Studio 2005 Team Edition for Database Professionals Can Do for You" has appeared on MSDN at http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnvs05/html/TEDBPro.asp I've written it from the point of view of how this new Visual Studio edition would have been useful to me on my last real-life project. Tony Loton. ...Show All
