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

Software Development Network >> Sharon.Danino's Q&A profile

Sharon.Danino

Member List

gudel
Michael Vanhoutte
Jose76
dumian
David J Oldfield
Chilá
bjkaledas
MirnaHAnna
AdrianAi
Frances83
Scott Miers
Lance77035
NaudePaul
georgeob
Santiagon
Chuff
Cavetroll
Will Merydith
HSBF Lewe
beefeater
Only Title

Sharon.Danino's Q&A profile

  • Visual Studio 2008 (Pre-release) How do I open legacy structured storage files with IO.Package?

    We have some structured storage files that we want to be able to access with managed code. I am trying to avoid the PInvoke and/or Interop - and came across the IO.Packaging with the internal compound file stuff already done. I tried to use it but it defaults to xml package - and so I error - and I am wondering if it is possible and if someone has a sample of how to use these API's to open and read any compound file Thanks You may want to start at http://windowssdk.msdn.microsoft.com/en-us/library/system.io.packaging.aspx , it has some samples. Depending on how your storage is structured, you may have a concrete Package implementation that already handles it (i.e. Zip). If not, you always can ...Show All

  • Visual Studio Team System Team Foudation Server Scheduled Backup + Disaster Recovery Scenarios

    Hi, We have Team Foundation Server installed in our premises. We arranged with all the people working on TFS to make sure that their connection to TFS is closed before they leave work, so that to enable our SQL Server Full Backup Schedule to work correctly at around 03:00 AM. Our questions are: 1. Do we have to back up the Reporting Services Encryption Key every night as well Or we do that only once in a life time 2. Is there anything else to backing up TFS - in order to gurantee successfull recovery in the case of a hardware crash - other than backing up TFS databases and RPT Service Enc. Key 3. Can we still reuse the files that exist in users' worksapces in the case of a TFS crash I mean after we recover/restore TFS , ...Show All

  • .NET Development Securing my assembly

    Here is the thing. I have a component freeComponent which references coreComponent. Its like this: coreComponent | | V freeComponent I want to give my freeComponent to another user but that will mean that coreComponent.dll should also be given to him since my freeComponent.dll references it. I want to prevent him from using my coreComponent alone. I mean he should not be able to add coreComponent.dll as reference to his own projects. Is that possible by signing that asssembly with a strong name and private/public key pairs Any help will be appreciated. Thanks. Well, not really. Once it's on his PC, he can do anything. But you can raise the bar. See http://msdn2.microsoft.com/en-us/library/0tke9fxk.a ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. 70 Balls colliding, physics sample

    Have fun going through my code but maybe you can get something out of it useful. Does pixel perfect collision and 'as good as I can make it' physics ball engine. 70 balls is about the max with the current setup, if you want to see the collisions better change the number of balls at the top. Let me know what you think. http://www.dxxd.net/keith/SpriteTesst.rar Yeah, I started off making a general collision detection and the balls were just what I played with first. I had some blocks and odd shapes in there too which would not work with what is posted above. ...Show All

  • .NET Development The status of a running process

    Does anyone know of a way to determine if a process running on the local machine is hung, or not responding I'd prefer to do this in C#, anyone Thanks to both for the input. The reason I asked for assitance is that I am building a customizable system monitoring tool, and I'm checking running processes and services, and running stored procedures to check the integrity of the data in database. Every xxx minutes - for each proc/svc/procedure, the monitor checks what it's supposed to and alerts someone to errors if there are any. Since I'm monitoring, I don't need access to the other process itself, only to know whether or not it is behaving normally. Since I can't call a function IsApplicationHung() or something, I need a more heuristic ...Show All

  • Internet Explorer Development IMarkupServices

    How do I make use of this interface to delete a text element from a browser in frontpage 2002 Any sample codes ...Show All

  • Smart Device Development Application loses focus when closing a Form - but only on one Form it happens...

    Hi all, I have this strange problem/issue that I have had bothering me for a while now. I have an application where the users browses through Forms to perform various bits of functionality, and then closes the form to return back to the previous form (the Form from which it was openned), and the Focus is right back with the Form that openned the closed Form (if you know what I mean :)). Now this all works fine in my application apart from in one place, where when the called Form is closed, the calling form (or my Application even) doesn't get focus back until the 2nd tap on the application with the pen. The Windows start button and Input control on the MainMenu are focused and can be activated from the first click on them, but not my appli ...Show All

  • Windows Forms Thread Killing (That do some Extensive Work)

    Hi, I am intantiating thread that do more extensive work, i.e. executing query on FoxPro 2.6 through ODBCDataAdapter with VisualFoxPro driver. Since the query executing is Complex and navigating through 870000 records and taking a time about 2-2.5 minutes. Once the thread is started and goes for data retrival. Meanwhile if I try to close the form. The thread is still running. I have also added Code for killing thread in Closing event of form using Abort() method. But it does not kill the thread. Instead the threadstatus returned is AbortRequested. Please help me in this regard, as Closing event fire the thread should returned and leave the resources. Thanks MaqboolHussain wrote: Thank you Sir, After this long discussion I concl ...Show All

  • Visual Basic Lock And Unlock Form

    I have one form and i call out another form from there, i am able to set focus on that form but i want to lock the other form. Only user close the second form then only the previous form can be unlocked. May i know how to do it Thank you I think lucerias wants there to be no taskbarbutton for the modal form, so try this (with wei82's example): Private Sub ShowForm2Button_Click(ByVal sender As System.Object, _     ByVal e As System.EventArgs) Handles ShowForm2Button .Click              Dim F2 As New Form2()              F2.ShowInTaskbar = False            ...Show All

  • Visual Basic implementing ftp through webrequest.create

    i am trying to implement ftp through the webrequest functionality. previously i got the error 'uri prefix not recognized'. i copied some code from http://support.microsoft.com/default.aspx scid=kb%3Ben-us%3B812404 but now i get another error. it is the object reference error and i understand why it is happening but i dont know what to put in the Public Overrides Function GetResponse() As WebResponse 'Override End Function 'Override section CAN ANYONE HELP Imports System.Net Imports System.IO Imports System.Net.Sockets Public Class NetworkCommunication Dim pResponseIdentifier As String Dim pIPAddress As IPAddress Dim pTimeOut As Integer # Region "Pr ...Show All

  • SQL Server MSDE 2000A Upgrade to SQL Express SP1 with Merge Replication

    Hello, I have the following scenario. An application using SQL Server 2000 SP3 on the server side and clients using MSDE 2000A (SP3a) on the client machine. Since the client is offline quite often merge replication is used to keep the clients in sync. Now we try to upgrade to SQL Server 2005 SP1. The publisher and distributor upgrade (on the same box) worked fine and all clients could still synchronize. Fine :-) Now we try to upgrade the clients to SQL Express SP1. Now the problems start :-( 1) After the upgrade the entry within the Synchronization Manager is gone (we can overcome this by using sp_MSregistersubscription or by manually disable and enable Synchronization manager on the subscription properties) 2) Initial Synch ...Show All

  • .NET Development dataset.merge .NET 1.1

    Hey guys Got trouble with dataset.merge in .NET 1.1 . I did 8 query with the sql database and tried to merge those tables to one dataset. it simply doesn't work. It gets 7 datatable and doesn't merge the 8th one. I wrote a simple for loop and it does the same. mycode: DataSet dts = new DataSet(); for (int i = 0; i < 10; i++) { DataTable dt = new DataTable(); dt.TableName = "table"+i; dts.Merge(dt); } dataGrid1.DataSource = dts; Result: adds table0 till table6 and after tht doesn't add anymore tables. I display the results on a datagrid. Please help!!! is this a bug Or constraints on DataSet.Merge ...Show All

  • Visual Studio Express Editions Strange ObjectDisposedException

    Something really strange: protected void WaitForData ( ) { if ( this . SocketCallback == null ) { this . SocketCallback = new AsyncCallback ( OnDataReceive ) ; } ServerSocket state = new ServerSocket ( ) ; state. Socket = this . Socket ; this . Socket . BeginReceive ( state. buffer1 , 0 , state. buffer1 . Length , SocketFlags. None , this . SocketCallback , state ) ; } public void OnDataReceive ( IAsyncResult result ) { ServerSocket socket = ( ServerSocket ) result. AsyncState ; int bufferOffset = this . Socket . EndReceive ( result ) ; if ( bufferOffset > 0 && bufferOffset != socket. buffer1 . Length ) { byte [ ] temp = new byte [ bufferOffset ...Show All

  • .NET Development Exception: DataTable internal index is corrupted: '5'. on ...

    Hi, I have a problem with bindingsource component in framework 2.0. I have a combobox bound to a bindingsource which is also bound to a dataset with 2 related tables and a datagridview bound to the same bindingsource. What I want to do is : When the selectedindex property of my combobox changes, the corresponding cell value must be changed in the datagridview. But although the value in bindingsource changes, datagridview does not display the new value. That value is displayed after I move the mouse over that cell and make it invalidate its region manually. Another error I caught is the one that you can see as the subject of my post. I do not know why i have that message when I try to change the property of ((DataRowView)mybindi ...Show All

  • SQL Server T-SQL to delete files from Backup Device

    I created a backup device and a job to backup a full dbs and transaction logs. When I first created the backup statement it was created with RETAIN DAYS = 10 Its been 15 days and the ones created after 10 days appear to be marked for deletiong but I am obviously missing a statement in my backup statement or in another job I need to schedule to come through and delete the old files from the backup device. Please help me figure out what this statement needs to be. All the backups and T-log backups are written to one device which is one file. Thanks Scott TSQL does not have the ability to strip an individual backup out of a file containing many backups. Generally, it is more manageable to ...Show All

©2008 Software Development Network