Dickin's Q&A profile
SQL Server cant start the sql server services
Hi all After i configure the Merge Replication, my sql server services wont start again. The error show that "The request failed for the service did not respone in time fashion. Consult the event log or other application error logs for detail" Go to C:\MS SQL Server\MSSQL4 (or 3 something like that) There find a LOG folder and several log files which should tell you what exactly happend a ...Show All
SQL Server SQL Server Connection Irritations
We recently migrated from .NET framework 1.x to 2.0 with a code base that is 4 years old. The application is a mix between Windows Services, Web Application, and some internal WinForms tools. We never had a problem using framework 1.x and even the same code that fails in framework 2.0, pasted into a 1.x project succeeds every time. This is a C# 2005 project. All our servers are Windows Server 2003 and all our SQL Server databases are SQL Serv ...Show All
Visual Basic How Can I create a Sentence from an array in VB.Net?
I need the array to select from several different arrays of words to create a sentence. say array1, array2 and array 3 are some with words, array4 is the final one. dim rand as random dim i as integer dim array4(2) as string dim array1(5) as string dim array2(5) as string dim array3(6) as string i = rand.Next(0 , 5) array4(0) = array1(i) dim rand as random i = rand.Next(0 , 5) array4(1) = array2(i) dim rand a ...Show All
.NET Development Servers, Pages and their controls and HTTPWebRequest.
Recently I was asked how to push button on a web page control programmatically and I realized I didn’t know. For the last couple of weeks, I’ve been playing with HTTPWebRequest and getting the samples to work. That’s a wonderful class and it looks as if it exposes every possible thing that could be exposed, but I realized after all the code that I still don’t know how the pieces fit together. I have a single XP node and I’ve set up ...Show All
Visual Studio execution cannot be found?
Hi, I am using web reportviewer with server reports. report viewer uses windows security to access server reports I have a refresh button in my web page when clicked it will set report path call reportviewer.refresh() I kept getting this : execution can not be found Report server log has the following: Load snapshot: Item with session : user name 'mydomain\testuser' not found in the database please help! ...Show All
Visual Basic .Clear()
In VB 2003 there's a method .Clear(), what is it in VB 2005 For what class For example the listview, treeview, dictionaries and textbox all have a clear method in VS2005. ...Show All
Microsoft ISV Community Center Forums Defining a range according to the number of responses
Dear all, I'm a new user of Visual Basic (version 6.3) and need to write a Macro for use in Excel. I need the Macro to calculate Rank values for an unpredictable number of scores. The number of scores that need to be Ranked will vary and I don't know how to incorporate this variation into the Visual Basic Macro. In my current spreadsheet there are 11 scores (Sorted in descending order) in column DS (cells DS2:DS12). The Visual Basic cod ...Show All
Software Development for Windows Vista How to render video using AudioVideoPlayback in Managed DirectX window
I am using managed DirectX's CustomUI to develop an interface for project for school. I have the interface all setup and figured out how it works, my next addition is when I click a button it will clear the screen then play a video. Now I found some code that uses Microsoft.DirectX.AudioVideoPlayback. I would like to use this if possible because it is very simple. Now my problem is I am not sure how to setup the video device so it targets ...Show All
.NET Development Major bug/perfromance issues with .net 2.0 sockets
Ok I have spent a considerable amount of time debugging my project, and I have now been able to recreate the problem in a small console app which I will cut and paste at the bottom. So let me explain the bug and the performance issues with this console app, I bind a socket at port 8000 using tcp and then after calling listen I do the following: for ( int i = 0 ; i < 10 ; i++ ) { _listener.BeginAccept( new AsyncCal ...Show All
Smart Device Development referencing drawing2d using vs2005 cf 2.0 c#
Hi, i am a complete novice so please excuse me if this question is naive. I am creating a project in c# and wish to use graphicspath which is in drawing2d. The help files seem to suggest that system.drawing.drawing2d is referenced from within a project using c# and compact framework 2.0. I do not see this under the references and can find no sign of it in the add references screen. So my question is, is drawing2d.graphicspath available ...Show All
Visual C# reading file properties
how would I go about reading file properties like file name, ect... thanks I assume you don't mean file name, because without the file name, you can't read anything :-) http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfsystemiofileclassgetattributestopic.asp ...Show All
Visual Basic setup project can not build
Hi, I am using vs 2003 to build a setup project but got this error message "Could not find file ..., Not enough storage is available to complete this operation." I checked the path of the file, it is correct. After I remove this file from the setup project, I can build it successfully and the result msi file is about 250MB, the file I removed is about 260MB, is there any limitation about the size of the file in setup project or the tot ...Show All
SQL Server How can I skip an initialize snapshot?
Hence you have a database which huge tables and a transactional replication (push subscriptions). Now my question: 1. if I have to initialize a snapshot but I would like to do it without the snapshot agent, what methods are available 2. Usually the distribution agent will request an initialize snapshot. How can I tell him, that I would like to use an alternative method and that the distribution agent should NOT request a snapshot ...Show All
Software Development for Windows Vista LoadLibrary (regsvr32) fails without Visual Studio 2005
I've just upgraded from Visual Studio 6 to Visual Studio 2005. I've got the latest DirectShow stuff (in the platform SDK) and am using it. Everything builds and runs fine on my development machine (which has Visual Studio 2005 installed) but when I try: "regsvr32 "myfilter.ax" on a different machine (without Visual Studio 2005, both machines are WinXP Pro and up to date AFAIK), I get the error: LoadLibrary ("myfilter.ax") failed - ...Show All
Visual C# Nice Threads!
I could really use some help here... I am using C# 2005 and have created a splash screen that runs on a seperate thread. I can invoke the splash screen in the Main() method, but then I can't get rid of it! I am attempting to put a line in the Form1_Load (or maybe Form1_Shown) that calls a static method in the splash screen to close that form. But, when I do so, it complains about an invalid cross-thread operation. How can I get this screen to ...Show All
