Software Development Network Logo
  • Microsoft ISV
  • IE Development
  • Visual FoxPro
  • Smart Devicet
  • Visual Studio
  • VS Team System
  • Visual C#
  • Visual Basic
  • Windows Forms
  • Windows Vista
  • SQL Server
  • Audio and Video
  • SharePoint Products
  • Visual C++
  • .NET Development

Software Development Network >> CODUDE84's Q&A profile

CODUDE84

Member List

R8VI
Setse
Zafar Ullah
ivanw
adisciullo
MyBoysCanSwim
julie s.
ahmedilyas
Robert Winter
clint 2
Andijk
Simone1
Alex Merchant
neha5607
0xDEADBEEF
Bjorka
coder2k
csann
A W Garland Sr
peteyy
Only Title

CODUDE84's Q&A profile

  • SQL Server Cluster failing connections with SSL error message

    We recently migrated our production environment from a win2k3/SQL 2000 EE cluster to a new 64 bit win2k3/ SQL 2005 SP1 Cluster. Cluster works fine for a while (3-6 hours), then our logins start failing. We recieve the following error in the event log: "The server was unable to load the SSL provider library needed to log in; the connection has been closed. SSL is used to encrypt either the login sequence or all communications, depending on how the administrator has configured the server. See Books Online for information on this error message" The only way to resume connectivity is to offline and online the sql service in the cluster. The only reference to this error that I can find has something to do with a hotfix tha ...Show All

  • Visual Studio Express Editions AccessViolationException was unhandled

    Sometimes when I run my program I get the above error message displayed, other times the program will start fine. The message shows after my splash screen has gone and the main form is supposed to show. The message has become alot more frequent, if anyone can help my correct the issue with the exception detail I have pasted below, I'd be very grateful. Andy. System.AccessViolationException was unhandled Message="Attempted to read or write protected memory. This is often an indication that other memory is corrupt." Source="System.Drawing" StackTrace: at System.Drawing.SafeNativeMethods.Gdip.GdipDrawImageRectRectI(HandleRef graphics, HandleRef image, Int32 dstx, Int32 dsty, Int32 dstwidth, Int32 dstheight, ...Show All

  • Visual Studio 2008 (Pre-release) Bug in ItemsControl?

    Hi there, The ItemsControl seems to have problems with item selection whenever the items in it override Equals(object) such that the behavior is not reference equality. For example, if you a bunch of Int32s to a ListBox and some of the ints have the same value, selection is broken. Here is some XAML to demonstrate the problem: < Window x:Class = " ItemsControlBugRepro.Window1 " xmlns = http://schemas.microsoft.com/winfx/2006/xaml/presentation xmlns:x = http://schemas.microsoft.com/winfx/2006/xaml xmlns:col = " clr-namespace:System.Collections;assembly=mscorlib " xmlns:sys = " clr-namespace:System;assembly=mscorlib " Title = " ItemsControlBugRepro " > < Windo ...Show All

  • .NET Development problem of callback function call C# to C++

    Hello, My problem is the following : - I have a DLL in C++ which is called by my application in C#, a callback function pointer is passed to this DLL in order to be called later for progress purpose. - It seems to be OK but when the C++ DLL call back the C# application using the callback function pointer, an error is raised. It seems that the prototype of the callback function is wrong here is my code sample : { // callback prototype public unsafe delegate int PROGRESSCALLBACK( int reader, void* pUserData, int progress, int status ); // C++ DLL function called [DllImport( "ePerso.dll" )] public static extern unsafe int ePersoRead( int iReader, int iBlock, [MarshalAs( UnmanagedType.FunctionPtr )] PROGRESSCALLBACK pFnCallBack, void* p ...Show All

  • SQL Server Shrinking databases or files

    Hi, I have some doubts about Shrinking databases or files. while shrinking a file, I learned that we are alllowed to shrink more than the minimum size of the file, does not it bring damage to the data in that file Most databases require some free space to be available for regular day-to-day operations. If you shrink a database repeatedly and notice that the database size grows again, this indicates that the space that was shrunk is required for regular operations. In these cases, repeatedly shrinking the database is a wasted operation. Can anyone give an example about this regular day-to-day operations database will naturally grow as times progresses in most cases. A database that does not grow is of limited use. So it ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Has anyone thought of making XNA screen savers?

    Now I know XNA is supposed to be for game development, but its ease of use should also allow for very simple screen saver programming. In only a few hours I've got a completely working version of the Windows Starfield screen saver up and running, and I'm sure other people here could come up with stuff that's a ton more creative than that. What would be hard about turning these into completely working screen savers Well, let's look at what goes on with a screen saver: 1) The program gets sent one of 3 switches: /c - which should bring up the Options menu, /p - to bring up the preview window, and /s to actually run the screen saver. These are easy to handle. 2) The program closes itself upon mouse movement or a key press. This is just as eas ...Show All

  • Windows Forms Web Deployment questions

    Hi; If this is not the right place for this can someone point me at the right forum I have this installed and it seems to work fine. However... Instead of getting 1 file, I am still getting a ton of files when it builds. What is going on with that The one file it creates, can I call signcode and then sn on it so it is signed as well as strongly named Do I want to use APTCA or not I haven't found a clear answer anywhere on this. I would like to actually ship 2 files, web.config and everything else. How can I set it up so that web.config is seperate (we create this file as part of our install process) thanks - dave ...Show All

  • Visual Basic KeyDown Repeat Delay

    Just what it says...when using the KeyDown event it delays just as if a key was held down in a text application. Of course I can change this rate in Windows itself, but I'd like to change it on run-time with my program (then of course have it revert back when the program closes). Is there a simple code which will change the delay/repeat rate to a set value Thanks! Wow...well I knew there had to be a way, but does it change only the applications delay or the Windows delay as a whole whilst that application is open I discovered a work-around method...to set a variable with keydown then change it with keyup, and have a timer checking the variable. It gets around that delay but I'm not sure it's the most eff ...Show All

  • Visual C# SQL VB.NET 2003 code and C# code

    I need to query a very large database on each user's keystroke. In order to speed up records fetching I want to replace my old VB.NET code to C#. I want to know whether code written in C# has high performance and low memory consumption as compared to VB.NET i think you search in the wrong direction convert your code from vb.net to c# will not give you the performance that you expect both language compiled to IL you need to look to Your Database and your code for database optimize queries .table relation look for execution plans etc and for your code do not return alot of recored that you do not need ,caching,pooling etc microsoft published a performance guied called you can download it from Improving .NET Applic ...Show All

  • Visual Studio Team System BUG: Checkin of binary file not detecting a difference... no way to force it???

    I have a binary file under version control. It's .dat file which is the a BCP output of a table from a database. We have hundreds of these TFVC and have not had problems until now. We have added something like 9 new rows to the table. We checked out the .dat file, BCP'd the data out generating a new .dat file over the top of the old one. The date stamp is updated, the file's bigger and if I restore that .dat into my local DB the new data is there... I know the file is updated. However, when we go to check this file in, TFS doesn't detect a difference and so it undoes the checkout. A) This seems like a bug. The binary file is clearly different. B) How can I force the check-in. I want to ignore the diff. check and just get the file int ...Show All

  • SQL Server How can I Port Driver and OAL code of Windows CE 5.0 to Windows CE 4.2

    How can I Port Driver and OAL code of Windows CE 5.0 to Windows CE 4.2 If anybody have idea about this, kindly give me suggestions. ...Show All

  • Visual Basic How to use serializer.Deserialize with a string?

    I currently use this logic to get xml from a website, and it returns a string. Case System.Net.HttpStatusCode.OK Dim responseStream As System.IO.Stream = webResponse.GetResponseStream() Dim responseEncoding As System.Text.Encoding = System.Text.Encoding.UTF8 Dim responseReader As New StreamReader(responseStream, responseEncoding) Dim responseContent As String = responseReader.ReadToEnd Return responseContent So it returns a string. Then I need to deserialize it using: Dim serializer As New XmlSerializer( GetType (export_documents_response)) Dim ResponseDocument As export_documents_response ResponseDocument = CType (serializer.Deserialize("c:\file.xml"), export_documents_response) So I ...Show All

  • Smart Device Development problem in accessing the data

    hi all, coming rite to the question.. well i'm passing  arrays of string from my managed code to my native code .. TCHAR* a[20]; //globally declared int i=0; //global extern "C" _declspec(dllexport) int passstring(TCHAR* f) {       a = f;  / / other codes to process the data       i++; } extern "C" _declspec(dllexport) void shownum() {      for(int q=0;q<i;q++)     {         MessageBox(NULL,a[q],TEXT("prnting_num"),MB_OK);      }      }              i'm ...Show All

  • Visual Basic Reusing Forms

    Greetings I am converting a VB6 program containing multiple forms into a 2005.net VB program. In the old VB6 program I use a modal form and then I want to re-use the same form but but change some of the labels and make visible a control that was invisible the first time around. In the VB 6 version I was in, say, Form1 and executed the following code: Unload Form1 Form1.Show 1 This re-did the Load event and I used a counter to customize the form in its second life. Is there any way to do this simply in VS2005 VB Application.OpenForms is a method/function in .NET that gives you a collection of opened forms in the application and you can access it by the index or form name http://msdn2.micr ...Show All

  • Visual Studio 2008 (Pre-release) VisualBrush of an Expander after expanding/collapsing

    Problem: When I create a visualbrush of (an initially) collapsed Expander (with no explicit Height set) The "first" render of the visualbrush will render the header only. After I expanded and collapsed the expander back. The visualbrush renders the header AND the whitespace the Expander control took when it was expanded. It "remembers" the height someway. Is there a way that the visualbrush only renders the header again I prepared a little test xaml to show the problem. Just expand and collapse the Expander. The rectangle will be different from the original one. <Window xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x=" http://schemas.microsoft.com/winfx/2006/xa ...Show All

©2008 Software Development Network