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

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

piportill4

Member List

Stas Kravets
Oleksiy
Fiddel
ILV
chas2003
Tone Southerland
Fradam
cb3431
Jim Carnicelli
JasW
Prasong
Arkady Frenkel
Bjorka
Ti
Tonito01
Josh Smith
Rashar
Faraz_Ahmed
redneon
JamesE
Only Title

piportill4's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. XNA 2D Collision Detection using Quadtrees

    I've seen a few posts on collision detection, and though I'd post an article on how to write a collision detection engine for your game. Take a look at: http://mbebenita.blogspot.com/ I'll follow it up with some source code as soon as I get a chance. Michael B.   MilliBong wrote: Hi, I read through your article, I liked the idea im just wondering how it would deal with having more than two objects that occupy exactly the same space Thanks! Jon In fact, the simpler case is just having several objects that overlap in any way.  You'd need to have some bailout logic to handle this sort of situation.  More than likely, if you try to subdivide a sect ...Show All

  • Software Development for Windows Vista [Win32/Qos] Prioritizing empty TCP ACKs with Traffic Control API

    Hi! Surfing the internet I encountered an interessting read at http://www.benzedrine.cx/ackpri.html . Now I'm trying to accomplish the same thing under Windows using it's Traffic Control API. Problem is I don't know how to correctly set up my patterns in the TC_GEN_PATTERN structure. The only ones which come with the SDK are IP_PATTERN and IPX_PATTERN , and IP_PATTERN is declared as: typedef struct _IP_PATTERN { ULONG Reserved1; ULONG Reserved2; ULONG SrcAddr; ULONG DstAddr; union { struct { USHORT s_srcport,s_dstport; } S_un_ports; struct { UCHAR s_type,s_code; USHORT filler; } S_un_icmp; ULONG S_Spi; } S_un; UCHAR ProtocolId; UCHAR Reserved3[3]; } IP_PATTERN, *PIP_PATTERN; Now, according to the TCP ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA and DirectX 10

    Is XNA will use Directx 10 when becomes available thanks The same question was asked only a few posts below yours. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=711869&SiteID=1 Sorry if I sound harsh. ...Show All

  • Software Development for Windows Vista can an activex be elevated(not an executable)?

    Hi, Thanks to Chris, I was able to elevate an executable file and call it from my test activeX. Now that I've tested this procedure works(activeX calling ShellExecute), I'm trying to apply the same procedure to our win-xp application. Our website runs an activeX with some arguments. Our activeX performs some admin-required actions(write on program files and registry). Then, it executes another executable. I am still thinking how to perform the same work on vista. Easiest solution would be our website runs a dummy activeX with arguments, the dummy activeX calls our original ActiveX(also has to be elevated), the 2nd activeX runs the final executable. In other words, I would prefer the above solution because it's the simplest. If that doesn't ...Show All

  • Visual Studio Tools for Office ThisApplication_Startup not being called - ie. plugin not loading

      I have written an outlook plugin using VSTO. The plugin loads fine and works great if the user clicks on the outlook icon. On the other hand, if outlook is started via automation and then outlook is opened, the plugin does not load. These cases are described below. When the user signs on to windows xp with activesync set to run on startup. ActiveSync syncs with outlook by starting it through, AFAIK, automation. Now when the user opens Outlook by clicking on the outlook icon,  the plugin is not loaded. Another example is when the user has Outlook closed and they click on an oft file on their desktop, and then open Outlook, the plugin is not loaded. Please advise. Thanks. ...Show All

  • SQL Server SQl 2005 Setup failure for cluster

    Installing SQl2005 into on Win2003 2 node cluster, at the very end of the setup receive a message 'Remote Setup failed'. Referred to some sql logs and found this; Error: Action "LaunchLocalBootstrapAction" threw an exception during execution. Error information reported during run: "C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\setup.exe" finished and returned: 1603 Aborting queue processing as nested installer has completed Message pump returning: 1603 I've seen some similar errors on the web and suggestions about the Task Scheduler being started on both nodes, but I ensured these were both started before the install. SQL2005 does seem to be ok on the node1 where the install was made, but ...Show All

  • Visual Studio Team System TFS Migration to a new server

    Has anyone been successful in migrating a TFS server to a new machine with a new name We are currently still using the RC, but I was surprised at some of the problems I had during a migration. Specifically Sharepoint, I don't know if its been improved with the RTM, but the restore procedures I saw were just wrong. The 1st trial I did had Sharepoint completely messed up. I finally fixed it, but it took my own understanding of Sharepoint, not the backup\restore procedures provided on msdn. Has anyone else had these issues I'm sorry about the delay in getting back to you, job change sort of had me preoccupied. Short answer, no you can fix it but its not all that nice. Long answer, uninstall TFS, delete the databases (make sure yo ...Show All

  • Visual C# Extracting data from html file.

    I have a html file, I need to retrieve from it specific value: <some html code> <tr> <td class="textCell">Internet IP Address</td> <td class="textCell"> 82.2.118.114 </td> <some html code> I need to retrieve IP address. For that I need some how to locate this portion of code (by searching for Internet IP Address), and then to extract the IP. How to do that Yes you could use Regex. In fact this may be a better idea! For Regex - serch the net - Several options, the one below is from: http://www.codeproject.com/dotnet/RegexTutorial.asp Here is a sample - I did not try to compile or run the code, but this is a general outline str ...Show All

  • .NET Development Invoke web services and SOAP

    Hi ... I have a general question about web services in dot NET : Is SOAP responsible for invoking web services If not , could someone please refer a tutorial or url on how is a web service invoked Thank you Evrim Evrim, Yes and No, Actually SOAP is just a protocol that defines the contracts under how a client and a server communicates using XML messages. However you may think that SOAP is responsible for invoking web services as web services responds to a SOAP call with an XML response. You can think this just like web pages.... in where the web server will respond to a HTTP call with an HTML.... in this case, you also perform an HTTP call to the server but you also send a S ...Show All

  • Windows Forms Detecting word wrapping in a rich text box?

    Is there a programmatic way to detect where a RichTextBox control is wrapping the text contained within it I'm currently attempting to use TextRendered to measure the text and then determine that wraps occur the accummulated length would be at the box's width. This works for 98% of the words, but occassionally, my rpedicted model will wrap a word or two early. A fudge factor on the width seems to fix it, but for the final release, I would like the list of wrap points to be perfect. katesune You can use the .NET 2.0 GetFirstCharIndexFromLine() method to find out where each line starts. Which will tell you too where the text got wrapped. ...Show All

  • SQL Server How to query an remote excel file using OPENROWSET

    Hi, can anyone help me out this problem. i want to query an excel file which at remote location through openrowset. Select * from openrowset(.... thanks Sunila, give it a try. It should work assuming the security is in place to allow you to access the remote directory or the services (SQL Agent, etc) have proper security if you are running this from a job... ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Multithreaded Resource Loading

    Can I create VertexBuffers, IndexBuffer and Textures in a separate thread and then use them for rendering within the main thread Or can I at least fill those resources with data from a background thread It would be nice if I could, in addition to loading files in the background (with is reasonably simple using Stream.BeginRead() and Stream.EndRead() ), also set up my GraphicsDevice resources in the background while the user is, for example, watching an animated loading screen. -Markus- The .Net Compact Framework definitely has threading support, we'll have to wait and see how it works on the 360. Regarding DirectX(1) and multithreading, generally you should only access the graphics device from a single t ...Show All

  • .NET Development Blue Question mark in Solution Explorer

    All of a sudden I have a blue question mark next to each of my web services in the Solution Explorer. Can some one let me in on the secret handshake What does this icon mean, and how do I get rid of it ...Show All

  • SQL Server Replication Timeout Issue

    Greetings! I am running into this error when running Replication: The response message was received from 'https://replia.websitename.net/replia/replisapi.dll' and is being processed. (f) The process could not connect to Distributor 'OURDATABASE-DB'. (f) The process could not connect to Distributor 'OURDATABASE-DB'. (f) Unable to complete login process due to delay in opening server connection ******************************************************* 01/11/2007 18:26:09 - Error during FINAL DB Replication. The process could not connect to Distributor 'OURDATABASE-DB'. I am running Replication on a Windows XP Pro laptop, with 1 GB of RAM, 1.83 GHz CPU. Any ideas, suggestions and/or help would be appreci ...Show All

  • SQL Server Enable and disable websync.log

    Hi, is there a way how to enable / disable logging on web merge synchronization into the file websync.log The file exists in the ISAPI folder, on some machines there are some messages, on others there is nothing. There are Timeout messages on the client during synchronization and we need to find where is the problem, if it is on the server side or if it is a network error or something else. Thanks, Pavel The web sync log should be enabled by default. On the IE replisapi.dll diag page, what do you see the status as ReplIsapi Settings: Property Value SNAC version (sqlncli.dll) 2005.90.1399.0 Logging Enabled TRUE Log Severity 2 Current Log Size 6735 ...Show All

©2008 Software Development Network