Corby111's Q&A profile
Visual Studio 2008 (Pre-release) PNRP service under Vista Ultimate (RTM) version is very instable !!
PNRP service under Vista Ultimate(RTM) version is very instable !! I'm on a project about WCF P2P. Under Windows XP(PNRP V2) everything fine. But under Vista Ultimate (RTM), I have to always restart PNRP service manually after some P2P testing. Anybody knows why Hi Chris, What you are seeing is a Teredo "feature" where by it goes offline/dormant after a while - so when the chat sample starts, Teredo is in the "qualified" (online) state and things work - but it is possible that it goes offline, and then the address that Peer channel has been using is no longer valid - and we end up throwing that exception. Like I suggested to Hailong, it's a good idea to catch ...Show All
SQL Server logins
How can I write a script to generate the list of SQL users that have sysadmin privileges. I would also like to do the same for the windows accounts as well. Please let me know. Thanks. Note that both queries in the above answers will miss Windows users that are not "directly" sysadmins, but inherit their sysadmin property from a Windows group to which they belong. Thanks Laurentiu ...Show All
Game Technologies: DirectX, XNA, XACT, etc. xna and any world editor
hello, i 'm making a game with xna gse and i want to know if there are some world 3d editor to make a level of the game, any sugestions There's no editor built in or that's directly compatiable with XNA. You can create your levels using whatever you want and export the data to a format that XNA can use (.x, .fbx, etc.). ...Show All
Visual C# Substract 2 Dates, DateTimePicker, DateTime, TimeSpan
hi, how can i substract 2 dates from 2 dateTimePicker's, i tried all these methods like TimeSpan, DateTime, Substract, but it doesent work. Here's how i tried to do it : dateTimePicker5.CustomFormat = "yyyy,MM,dd"; dateTimePicker6.CustomFormat = "yyyy,MM,dd"; DateTime d1 = new DateTime(long.Parse(dateTimePicker5.Text)); DateTime d2 = new DateTime(long.Parse(dateTimePicker5.Text)); TimeSpan d = d1.Subtract(d2); i know problem is in LONG type but i don't know what to do now..... and one more question, the result from this ( number of days ) i have to send to textBox, but when i tried this code without dateTimePicker it worked, but besides number of days, i got time too time, (like d = 30 , 00 ...Show All
SQL Server Microsoft.ReportingServices.Designer
Hello all, After reinstalling several times the MSSQL 2005 express, and the SP1 when I'm trying to create a project with the BIDS I've got an error: Could not load file or assembly Microsoft.ReportingServices.Designer Version=9.0.242.0 .. or one of its dependencies. System cannot find the file. But it exists!!!What can I do Many thx! I installed Visual Studio 2005 on my D:\ drive and indicated that Reporting Services should be installed on D:\ as well except the installer places some of the files on the C:\ drive anyway. I expect there is some directory configuration in Visual Studio which could be pointed back to the C:\ drive as a better temporary fix, does anyone know where/how For now I just copied the files like every ...Show All
SQL Server Tools to generating database creation scripts.
Hello, there are a tools, or a "ways" to generating "database creation scripts" from a MDF files Thank you for help. Bye Toni Here's another free one: http://www.elsasoft.org/tools.htm it will generate scripts for all objects and data in any 2000 or 2005 database, a separate file for each. It's good for getting your database objects into source control if they aren't already. ...Show All
.NET Development .Net Silent Install?
can i get the .net framework to install silently so the user has no interaction with it, besides obviously accepting the EULA, then i can throw a progress bar up so they can know it hasn't frozen and is doing something. Also, there are some additional unattended installation options for the .NET Framework 2.0 described at http://blogs.msdn.com/astebner/archive/2006/07/02/655011.aspx . Thanks! Aaron ...Show All
Windows Search Technologies Windows desktop search - no results
I've just downloaded Windows Desktop Seach, and it has indexed around 51 000 items. I've checked all my settings several times, and all seems OK according to the Help Menu. But whenever I type in a Search word, I get a message saying Search Complete - no items found. At the beginning, I did not ever get a message saying installation of the programme was completed. And I wasn't asked to reboot. Do you think that it may be that the programme was not correctly installed (Web search works fine - get directed to Google Search, with results listed.) Hi, I just have installed MS Office 2007. Outlook search function uses the WDS 3.01 engine to find emails. When searching for "test" from the ...Show All
Visual Studio 2008 (Pre-release) Reliable Session problem
Hi, I know that after 10min without receive data the session is lost, so I have a time from client to send any data(i.e simple `KeepAlive()` method ) to server each 7min. But, sometime the server show this error : ---------------------------------------- Error Error: 100 : Timestamp: 10/15/2006 9:08:17 PM Message: HandlingInstanceID: c40e9081-16ba-4982-acf3-061a88d902cf An exception of type 'System.ServiceModel.CommunicationException' occurred and was caught. ------------------------------------------------------------------------------------------ 10/15/2006 18:08:17 Type : System.ServiceModel.CommunicationException, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 Message : The sequence has bee ...Show All
Visual Basic VB.net connection to SQL server and inserting data
SqlConnection = New System.Data.SqlClient.SqlConnection("workstation id=VANPC62757;packet size=4096;integrated security=SSPI;data source=MTLASR74;persist security info=False;initial catalog=vanLMS") SqlAdapter = New System.Data.SqlClient.SqlDataAdapter( ) i m trying to connect to a table in the Sql server lets say the table is called SQLTABLE do i need a dataset in order to insert stuff into sql server can someone show me a few sample line of how to insert data(or datatable) into the table in SQL server thx in advance No - you can create an ADO.NET command object and then simply call it with the SQL Insert Statement. http://samples.gotdotnet.com/quickstart/ ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Confused About XNA and DX10
I am confused about the differences between XNA and DX10; is that correct: 1- XNA will have both fixed function and shader programming and effects also 2- DX10 will have only shader programming with no assembly, no fixed function and no effects. 3- DX10 will be on Vista only, since it is shader programming will Shader 3.0 (DX9.0 C and L) is compatible with Vista shader 4.0, so a program written on Windows XP DX9.0 C will run on Vista DX9.0 L but will not run on Vista DX10 shader 4.0 But why it will not run on DX10 Vista runtime if the program is only shader with no effects is that because shader 4.0 will not be compatible with shader 3.0 or it will run regarding windows controls with DX: 1- can we build application ...Show All
.NET Development Access Database and x64 OleDB Connect
Hi, i've written a programm wich access an .mdb Database with OLE-DB. Under Win x32 everything works fine Under x64 no Database is found. Is there no way to access an mdb Database from x64 Hi, First, thanks for a nice clear answer. I've been hunting for this all day. However... WHAT The only 64-bit ODBC driver I've so far found is for SQLServer. My options seem to be: 1) Install 35Mb of SQLServer Express on every client PC (this is a standalone app, not networked); 2) Write my own RDBMS with compiles to 64-bit, then re-write my app to use that instead What is the recommended way for a C++ app with a small database requirement to go Thanks, Jim ...Show All
Visual Studio Express Editions project creation failed
I just got a new laptop with Windows XP Media Center edition on it. After getting rid, stopping, uninstalling, etc, all the extra stuff that the OEM fells compelled to install, I downloaded the VC ISO image and installed Visual C++ 2005 Express Edition - I used all the defaults, so I got MSDN and SQL Server Lite as well. However, when I try and create a new project, I get a dialog box that says "The operation could not completed. The specified module could not be found." This occurs regardless of what template I use - General/Empty or CLR/CLR Empty or any other CLR combo. I've tried re-installing several times with no luck. After searching here, I found a thread that blamed IE7 for this and that Service Pack 1 fixes this problem - I in ...Show All
Visual Studio 2008 (Pre-release) Data binding to a control's own properties - best practicies?
Hello, I'm just getting started with WPF and Xaml, and I'm trying to figure out the proper way of dealing with what I thought would be a common situation. If I have a control, for example something simple that is supposed to just show the name of a colour on a background of that colour: <UserControl x:Class="WPFTest.Test" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <TextBlock Text="{Binding Path=Color}"> <TextBlock.Background> <SolidColorBrush Color="{Binding Path=Color}"/> </TextBlock.Background> </TextBlock> </UserControl> Firstly, is ...Show All
Visual C++ help needed for multithreaded animation in VC++ 6.0
Hello! I was trying to develop an animation in Visual C++ 6.0 on WinXP when i came across this problem: i was trying to run animation inside a thread: DWORD WINAPI AnimationThread(LPVOID param){ for(i=1;i<15;i++) { ................................. ................................. //AniProc1 and AniProc2 are functions to create animations SetTimer ((HWND)param, ID_FLASH,100, AniProc1); SleepEx(2000,1); SetTimer ((HWND)param, ID_MOVERIGHT,5, AniProc2); SleepEx(2000,1); ....................... ....................... .................. } All of a sudden the animation stops (during 12th loop ...my code contains no special condition related to the 12th loop in particular) Plz hel ...Show All
