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

Software Development Network >> rusty coder's Q&A profile

rusty coder

Member List

Johan J
CJW99
John Risk
HenryWu
GinaK
mark1110
Justin.V
ejb111us
Serdalis
AlexBB
AndyPham
VBE_programmer
yadgor2000
andret1802
lee d
Kamii47
Helen54999
Peediaj
Rhubarb
MatthewVincent
Only Title

rusty coder's Q&A profile

  • SQL Server Conversations & Machine Restart

    Say I have a conversation established and the initiator server needs to reboot. Will the conversation automatically restart when the server comes back up If not, can I get it to with some setting If not, what is the best way to handle this Thanks - Amos Yes. Conversations are persisted and hence they should recover and continue working from the point the point the process was killed during restart. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Intercepting Exit

    Is there a way to intercept and abort the closure of the Game window when the user clicks the close button Something similar to the FormClosing event for a Form window, where FormClosingEventArgs.Cancel can be set to true, if the user decides to change their mind and save their location, for example. I haven't found it yet... I'm just hoping I've missed it. Alternatively, can I disable the close button Thanks, Paul Sorry about that. I guess I was thinking of the minimize/maximize buttons. And Leaf, it's very annoying when someone comes along and reminds me of what a moron I am. ...Show All

  • SQL Server Filtering In Merg replication

    Dear ... This is one of sql server 2005 's users. I put filter for one of my merge replicate articles .But it dosent work correctly .plaese help me to set my article correctly. Best regards R.Marandi I need to know how you setup the filter for your publication, what the publication looks like, etc. Technical details. I understand what you are trying to do, but if you have a switch set incorrectly somewhere, then we'll only be able to find it with complete technical details on your publications. ...Show All

  • SQL Server Fixed Header in Reporting Service 2000

    I want to create a report with SQL Server Reporting Service 2000 where I need to have a fixed header and one fixed column containg names of each row items. I tried to find "Fixed Header" property in table but could not locate it anywhere.Can anyone please kindly tell me where should i look for it Or how to achieve this functionality Thank you in advance. Bharat Gadhia. ...Show All

  • Windows Search Technologies Unistalling Windows Desktop Search 3.0 RTW

    I installed Windows Desktop Search 3.0 RTW. I have scoured the Internet to try and find answers on how to unistall it - with no exacting results. It is not listed under Add/Remove programs and to the best of my knowledge there is no uninstall file. Yes, I checked updates in Add/Remove, and yes I have looked for a spuninst file. The program installed and is operating fine but I just don't want it on my system. What I am asking is to get a list of the files and/or folders to delete, and what registry entries to delete/change that will totally remove this program from my system. Thank you in advance, ...Show All

  • Visual Studio Team System NullReferenceException while deleting a target

    I received a NullReferenceException while deleting a target (it happened to be the only target) from my project, using the release version of FxCop 1.35. Following is the message and stack trace: System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.FxCop.UI.TargetControl.Remove(TreeNode targetFileNode) at Microsoft.FxCop.UI.TargetTreeView.RemoveFileHandler(Object sender, EventArgs e) at Microsoft.FxCop.UI.TargetTreeView.DeleteItems() at Microsoft.FxCop.UI.FxCopWindow.DeleteHandler(Object sender, EventArgs e) at System.Windows.Forms.MenuItem.OnClick(EventArgs e) at System.Windows.Forms.MenuItem.ShortcutClick() at System.Windows.Forms.Menu.ProcessCmdKey(Message& msg, Keys keyData ...Show All

  • SQL Server InnerPackage.dtsx can not be accessed by the process!!!

    Hi, I have a package that I am running concurrently with different values. and sometime I'm getting following message for one of the running instances and it fails while the other ones are running. Execution failed with the following error: "ERROR : errorCode=0 description=Failed to save package file "C:\Documents and Settings\smiller\Local Settings\Application Data\Microsoft\SQL Server\Smo\InnerPackage.dtsx" with error 0x80070020 "The process cannot access the file because it is being used by another process.". helpFile=TableTransferGenerator Task helpContext=0 idofInterfaceWithError={8BDFE893-E9D8-4D23-9739-DA807BCDC2AC}". Any ideas what is the reason I have search everywhere for keyword InnerPackage.d ...Show All

  • .NET Development Underscore Problem?

    Ok, I'm trying to write what should be a simple regex to parse some information out f emails. The problem is well... strange. It'll be easiest to show by example. Here's the overall regexp: name:\s( <contact>[\w\s]*)\nemail:\s( <contactEmail>.*)[.\n]*community_name:\s( <location>[\w\s]*)\n Here is the text I am trying to match: name: Bob Bobson email: name@address.com community_i_live_in: apartment community_name: Vanilla Hills address: 101 Sprinkles St apartment: 302 username1: bbobson password11: texas1 password12: texas1 username2: password21: password22: phone: 555-555-5555 corporate_apartment: no corporate_id: Now, the regexp doesn't match this. However if I take part of the regexp and run the ...Show All

  • SQL Server Pre-Execute Phase

    What happens during the pre-execute phase Is there anything I can do to optimize it's execution I have a package that takes data from 2 SQL Server sources, unions them, and writes to a sql table. The pre-execute takes 20 minutes, and the execution takes 45 seconds. Thanks BobP This is happening on several packages:  1.  The example above takes 2 sql server source, with queries returning ~5,000 rows each, unioning them and writing them to a sql table, with no lookups.  The pre-execute takes 20 minutes. 2. Every once in a while, a job that I have that runs every night, will freeze on the pre-execute.  No errors, the job appears to be still running, but it is not doing anything, no processor act ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Rotating a bounding box

    I have a game with a bat of which you hit balls with. in terms of collision detection im looking at a bounding box. The bat is long and thin, and can be rotated, however there doesn't seem to be a way to rotate a bounding box. It would be very obvious if the bat was at 45 degrees but surrounding by a square bounding box. Is there any way to rotate the box, or is there a different collision detection method i can use The Xna BoundingBox type represents an axis-aligned bounding box (often abbreviated AABB), which cannot be rotated. We don't have any oriented bounding box type in the framework, mostly because those are far more complicated and expensive to check against, so they don't make such good "basic primitive" bu ...Show All

  • .NET Development Is it possible to enumerate a USB device ......

    hello.., I am doing a USB project in windows XP, in which i need to eject the any USB mass storage device which is plugged-in , for this i am using CM_Request_Device_Eject(). And it is working well. But when more than one device is plugged-in to the system, sometimes, there are cases that more than one device is getting the same deviceInstance, basing on which i am ejecting the device. Due to this the CM_Request_Device_Eject() is either ejecting the recently plugged-in device or ejecting the already ejected device by returning S_OK. To avoid this mismatch of the DeviceInstances, i want to enumerate the plugged-in devices for every minute. But when i do this, GetLastError() is returning NO_MORE_ITEMS. So, my doubt is.. Is this possible to ...Show All

  • .NET Development Hight CPU Usage on idle

    Hey guys, Could anyone please have a look at this code. As soon as the Listener is started the CPU runs up to +40%. Code: Imports System.Net Imports System.Net.Sockets Imports System.Text Public Class clsServer     Public Clients As New Collection     Private Listener As TcpListener     Private t As System.Threading.Thread     Private reader As System.IO.StreamReader     Private writer As System.IO.StreamWriter     Private Lock As String     Public Sub StartListening()         'We'll use the local IP (127.0.0.1) and port 2501         Listener = New TcpLis ...Show All

  • Windows Forms unzip & zip w/ SharpZipLib... plus ListBox Q?

    Hi all, [C#] I need to unzip a folder structure & save it to a location then zip it up again after the changes.  Is SharpZipLib the best option for the following. using ICSharpCode.SharpZipLib.Zip; FastZip fz = new FastZip();        fz.ExtractZip(zipFile, targetDirectory,""); ListBox question: So there may be a zipped directory with 2+ folders containing subfolders in it that has the file I need (foobar.xml...etc) ... how do I unzip these to a specific location (C:\WorkingFolder\) and add all the required files to the ListBox [WorkFolder] | Folder01   | SubFolder00     | SubFolder01        | SubFolder02    &n ...Show All

  • .NET Development AHHH serial port class

    OK, I have some basic code to send some commands and get some responses back from a serial device. One function calls SerialPort.Write(byte[], int, int), then I call SerialPort.ReadLine() after. This timeout on my serial port is 4 seconds. The data comes base in far less than a second. This process seems to work for about 7 send and receive calls and then starts timing out as if when I send commands after that, it doesn't get anything back, BUT it does. I know it keeps getting stuff back because if i close my app and run hyperterm when I connect to the serial port hyperterm flushes the input buffer and I get everything the .net 2.0 SerialPort class said wasn't there. can someone tell me what exactly I am doing wrong Does the serial ...Show All

  • Visual Studio Express Editions printscreening program

    Hey, I'm working on a simple remote control program. But now I stuck on the printscreen thing. My id was that you can see what the other is doing by taking screenshots and sending them to the host. (as compressed as possible) Now, my question is: "how do I make a printscreen program" dim b as new bitmap (screenWidth,screenHeight) dim g as graphics = graphics.fromImage(b) g.CopyFromScreen(0,0,0,0,new size(screenWidth, screenHeight)) This will create a screenshot and store it in a bitmap ("b" is the bitmap). ...Show All

©2008 Software Development Network