mitasid's Q&A profile
SQL Server Changing Isolation Level.
Changing Isolation Level to Snapshot or Snapshot Read Commited resolve all problems from deadlock thanks In general - yes: switching to the new isolation levels with non-blocking read access somewhat helps reducing the likelihood of deadlock, but would not completely eliminate them. However, you should remember that if the application behavior implicitly depends on the blocking semantics of the old isolation levels as implemented in the SQL Engine, the application may stop working correctly when switching to the versioning-based concurrency model. Ideally you should carefully analyze all the transactions in your application and make sure that you don't rely on the subtleties of the implementati ...Show All
Windows Live Developer Forums Get Coordinates onclick
I'm fairly new to javascript, and, as such, I have what I feel like should be a simple question. I want to get the coordinates (either pixel x, y or latitude, longitude will do) of where the user clicks on the map. I want to place push pins where they click, and, ultimately, I want to allow a connect the dots type drawing where the user simply clicks and a line is connected from where he previously clicked. I was hoping this could be raised as an event, but it doesn't look like it. Thanks in advance. Nice helper function -- I like the conversions. For the map events, I use something similar, attached to the two functions like this so that every time the map is moved the status bar receives an update: map.AttachEvent( "onendc ...Show All
Audio and Video Development Sound card driver causes blue screen
I just don't know where to report, but i got beta for find and report bugs, so i do so. I installed driver for my creative sbpci 128 having ensoniq chipset, it works fine except if it is not disabled at boot vistabeta2 got blue screen, and reboot, if i disable sound card in safe mode, it boots fine, and if the sound card is enabled after boot it works, but i have to disable it before shutdown This is the problem called "squeal of death". Try search it on google. Many users of audigy 2 zs notebook have this problem. No solution yet. ...Show All
Visual Studio Can't find Class Designer
I have looked at the documentation but I can't find the Class Designer. I know that I need to add a Class Diagram to the project but I can't find a Class Diagram (in the templates) to add. I searched this forum and found Can't find Class Designer on IDE . I have tried the instructions in the documentation and that thread but I can't find a Class Diagram to add. We have VS Professional Edition installed. It is not a beta version. I did not install it so if it can be installed without the Class Designer then I would not have known that. Is that a possible explanation for why I can't find Class Designer When I try to add a Class Diagram to the project, I see templates only for VC. Is the Class Diagram template in a different Category ...Show All
SQL Server Importing Database from Analysis Services 2005 to SQL Server 2005 database
Hi all, How can I Import a database from Analysis Services database to SQL SERVER using SQL SERVER 2005. forexample the Adventure Works DW database from Analysis Services to SQL SERVER database. Any ideas will be higly appreciated. Thanx Ronaldlee Ejalu wrote: That Link does not help. Once again I need to migrate a database from Analysis Services 2005 to SQL SERVER database.2005. if i'm not mistaken, the as 2005 cube should've been created from a sql server 2005 db. does the original sql server 2005 db no longer exist ...Show All
Visual Basic Computer info?
How would I show PC info as in CPU(Name/GHz) RAM(total in MB) Sound(card name) Video(card name) Hi, try WMI. You will find script samples on MSDN script center, e.g. http://www.microsoft.com/technet/scriptcenter/scripts/hardware/devices/default.mspx .Net has some WMI functionality in the System.Management namespace -- SvenC ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How to distribute a PC-based XNA game?
I looked in the documentation about releasing a PC-specific game and all I got was XBox 360 distribution. I'm working on a PC game that has no need for the XBox 360, just to be clear. I'm curious in what runtime files I need I'm sure it requires .NET 2.0, DirectX 9.0c, but are there some extra dlls that I need Thanks in advanced. You might want to use the XNA Framework runtime install instead - http://www.microsoft.com/downloads/details.aspx FamilyId=EB14D73E-E6D8-4132-8032-3CB828DB5EFC&displaylang=en ...Show All
Smart Device Development Logitec External Hard drive (Japanese)
Bought a logitec LHD-EC250U2 hard drive in Japan and live in Ireland. can't get it to work. Won't even recognise the device when i plug it into the USB. Think it's something to do with Japanese Windows XP vs European Windows XP Also, when i try to install new hardware, I can pick the manufactureer Logitec and the hardware LHD stoarge device, I even have the japanese installation disk with the drivers, but installation fails because function device not found - or something to that effect. Can anyone help me Thanks This forum is smart device development related. Since your question is not related to smart device development, it's off topic here. If you’re having a hardware issue, ple ...Show All
Smart Device Development Dictionary<int,struct> and System.MissingMethodException
I have a problem with a Dictionary-Class on the Compact Framework 2.0. I created a struct with some primitive-type members like this struct myStruct { double a; int b; } and put it into a Dictionary-Class like this: Dictionary<int,myStruct> foo = new Dictionary<int,myStruct>(); The assembly where i use this Dictionary-Object runs under the standard NET Framework 2.0 whithout problems. But when i try to run it on CF 2.0, i get this error-message: System.MissingMethodException / couldn't find method: .ctor My.Assembly.Name.dll could not be loaded. (or something like that - on my pc the second line of the error-message is in german) after simply changing my struct-type into a class-type it runs on CF 2.0. Shouldn't i rather ge ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Loading and rendering .swm files
Does anyone have any code for loading an .swm file and rendering it on screen I'm just trying to get one of the space ships to work for now, I've copied the swm file, and the following classes from Spacewar: AssetCache MeshCache SimpleMesh SimpleMeshRenderer and then I'm calling this OnStart: meshes = new MeshCache ( this ); meshRenderer = meshes[ @"D:\\player.swm" ]; and in my Draw() method, I'm doing: meshRenderer.Render(); However nothing appears :( I can move the camera around, so I don't think it's appearing in the wrong place, I just don't think it's being loaded at all. I'm trying to keep the amount of code for this to a minimum, since it'll all be replaced, which is why I just copied all the above ...Show All
Visual C++ Connectiong Remote Sql server in vc++ 6.0
Hi All, I'm new user of vc++ 6.0 and sql server express as the database. Both the development and the database are in same machine as of now. i use Ado and connect the database using the connection string as "Driver={SQL Server};Server=AMJATHKHAN\\SQLEXPRESS;Database=TestDB;Uid=;Pwd=;" its working fine in my pc. when i try to run the same executable in some other pc in the same lan it wont work.. the sql server express is accessible to all machine in the LAN. then wat is the way to connect the remote sql server using vc++ plz help me. With Regards Amjath In order to create and check a connection string, you can try the Data Link Wizard available in Windows. &nbs ...Show All
Visual Basic Help with string manipulation in combobox
Hello, I have a combobox in which I populated as follows: John Smith - Count 24 How can I change that string in my combobox to read John Smith - Count 23 after I save a record ... and then John Smith - Count 22 and so on... I'm not sure if I could just grab the number value, and subtract it by 1 and then take the result and concatinate it back to the string... Thanks in advance. Hi Rashar, a possible solution is to create a integer variable and set that variables value as 23 dim countvariable as integer = 24 then set the combobox string as "John Smith - Count " plus the variable's value yourcombobox.text = "John Smith - Count " + countvariable.tostring put som ...Show All
SQL Server problem with xml data source
hi, i have a problem: i got a report to which i pass a xml string like <xml> <somedata> <somemoredata> value </somemoredata> </somedata> </xml> in the visual studio it works just the way its supposed to be, but if i upload it on a report server and execute it there nothing happens. even no exception is thrown. the screen remains blank. anyone got a solution or atleast a hint tia ...Show All
Visual C# Help needed please.
Hi here is my problem and im not sure how to fix it so any help would be great. Problem XP pro has just notified me that my system has dramaticly changed and i need to reactivate it. I have changed nothing and last install was C# Express. I have had a number of crashes in the past and had to reactivate to fix so i know im about maxed on this coppy of XP. I am presently disabled and unable to purchase a new copy should it be needed, not to memtion I dont feel i should have to sence i have changed nothing sence the computor was first build and this copy of XP Pro installed on it. Is there any way to fix this or a MS phone number for the proper part of saport i can call to remadie it before the 3 day limit Im now reciving ever 60 se ...Show All
Visual Studio Express Editions BindingManagerBase Position_Changed Problem
Hey Everyone, I have a program that has several textboxes bound to 1 dataset which contains only one table. When the form loads, the data is displayed in the textboxes allowing the user to add, edit, delete, etc., as well as navigate through previously entered records. However, when trying to navigate through the records, it doesn't do anything. The recordCountLabel, which keeps track of the record number that is displayed, changes, but the first record stays on the screen. Here is a little of my code. Protected Enum Record RecordNum DDate Shift ATO Vehicle End Enum Private Sub Form_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load 'Loads data into the 'TripSheetI ...Show All
