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

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

itsryan

Member List

Sam_2
dxx
Cyril839
dork
Kevin Rodgers
Nic OConnor
Peter Doss
PRMARJORAM
Hassan Ayoub
bbyrd
SWBliss
JCopus
Tom25
Martinp23
ProgramLeaner
ChillyWilly
Sully65
swg
Paul Marriott
db_guy
Only Title

itsryan's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Custom Content Manager - Generics Question

    Greetings & Salutations: I am trying to put together my own kind of "Content Manager" as the current one appears to only work with content that has been added to the project, and not with say, a file on a network drive somewhere. I really like how the "XNA ContentManager" uses generics, and was trying to implement it myself, but encountered some errors. I looked on the net but couldn't find the answer I was looking for. Basically, I would like to be able to fetch any kind of asset from my own content manager, regardless of what it is . The following function does not work as it is written. Could someone point out the proper way something like this is supposed to be implemented (PS. The content is stored in dicti ...Show All

  • Smart Device Development debugging script code on smart device

    Hi, I have a full version of VS .net 2005 team edition for developer. Now I need make a web project compatible with windows mobile 5.0. The problem is I cannot debug script code with smart device transport. When I attached IE mobile process in windows mobile 5.0 by .net 2005, there were only "native code" and "managed code" in "attache to" list box, no script code. Is there any way to fix it This forum is smart device development related. Since your question is not related to smart device development, it's off topic here. If you’re having a hardware issue, please contact hardware manufacturer or reseller. If you having an issue with 3r ...Show All

  • SQL Server Changing default parameters cause postback\refresh

    I think it has been discussed previously that having default parameter values based on expressions, e.g. a default parameter value of =Split("Bug",",") in multiple parameters will cause a postbacl whenever a user selects different values from the list. Is this by design Its a bit of an annoying thing. The refresh\postback doesnt happen if you have basic defaults like ="All" but only when an expression of some sort is used in more than 1 parameter. Does RS think they are linked or something, why does it need to psotback\refresh I have a similar problem with cascading parameters in reporting services. If the user selects an option from from a cascading parameter dropdown, it ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Drawing Bitmaps to IDirect3dSurface9

    Hello, first of all i want to render a video stream to a IDirect3dSurface9 (in the beginning on the primary display device later on a secondary monitor) so at first i'm trying to draw a simple bitmap on the surface... i've created IDirect3d, IDirect3DDevice9 and IDirect3dSurface9 objects... and i've got a window that i've registered and created. It doesn't matter if the bitmap/video is in the window or not. better would be if it were in the window. how can i do it i've tried it this way: pPrimary->BeginScene(); pSurface1->GetDC(&hdc); hdcMem = CreateCompatibleDC(hdc); old = (HBITMAP)SelectObject(hdcMem, hBitmap); GetObject(hBitmap, sizeof(BITMAP), &bm); BOOL tmp = BitBlt(hdc, 0, 0, bm.bmWidth, bm.bmHeight, ...Show All

  • Windows Live Developer Forums Keeping map view with GeoRSS

    Is it possible to load GeoRSS - Data with keeping the map view I use following code: function AddMyLayer(type, source) { VEPushpin.ShowDetailOnMouseOver = true ; VEPushpin.OnMouseOverCallback = null ; var veLayerSpec = new VELayerSpecification(); veLayerSpec.Type = type; veLayerSpec.ID = layerID; veLayerSpec.LayerSource = source + ' RandomKey=' + Math.random() * Date.parse( new Date()); veLayerSpec.Method = 'get' ; veLayerSpec.FnCallback = OnFeedLoad; map.AddLayer(veLayerSpec); layerID++; } Nothing else is done but my map changes the view. I am currently having an issue with Internet Explorer (7.0) caching any calls to my .ashx page that generates the XML file. I've noticed in ...Show All

  • Software Development for Windows Vista how to restart workflow runtime after IIS restart

    My question is for workflow exposed as web service through webserviceinputactivty/webserviceoutputactivity. My impression is that workflow runtime is only started after the first web service call. My test workflow has 3 activities: webserviceinput, webserviceoutput, delay. SqlPersistence service is enabled. The workflow is activitied through a web call. When executing the delay activity, it's persisted to the database. Then I shut down the web server (ASP .NET development server). When the web server restarted, the timer already expired but the workflow was not resumed. Only after I made another call to the web service, the timer fired. I did an experiment in a winform application. When the application starts next time, the timer fir ...Show All

  • SQL Server OpenQuery() to Linked Server hangs, leaving SPID with open tran, then templog.ldf grows without limit.

    Hi, We have a customer that is using SQL Server 2000, and experiencing the following intermittent problem -- occasionally templog.ldf will grow and grow until it fills the entire disk. This is a rare problem, it has happened less than 10 times in the past two years, for a job that runs once a minute. But it has happened on 3 different SQL Servers, (two production servers, and one test server). Our suspicion is that the root cause is an OPENQUERY() to pull data from a linked server (Oracle database on Unix). We have seen that these OPENQUERY() statements occasionally hang and cannot be killed. The OPENQUERY() is used to populate a local table, and when we originally populated permanent tables with OPENQUERY(), then there would be a ...Show All

  • .NET Development System.Data.SqlClient

    Hi All, Background: I am looking at writting a wrapper application that would capture querries connecting to SQL Server or any other database via ADO.NET for analysis prior to their execution and am wondering if there is a way to modify/replace the base class, put in place my wrapper to do its work and then call the original class library for the actual datbase connection. If this is possible, it will allow me to easily integrate my wrapper with any other compiled application using ADO.NET to access a database without updating references in the application source code and recompiling it; I really need to avoid the extreme amount of regression testing that this would require me to do. Question: Is it possible to make modificati ...Show All

  • Windows Forms Slow painting, flickering on complex forms

    Okay, I've tried double buffering (Control.SetStyles et al). I've played around with Win32 APIs such as SET_REDRAW and LockWindowUpdate, but I cannot get rid of the apallingly slow painting that is Windows Forms. Try this: Create a form with about 50 labels on it. Make the BackColor of the form the usual windows grey - and leave the labels as is. Run the app. Alt-Tab back and forth from another app (preferable one with a white background - such as MS WORD). On my (average spec) PC there is a noticeable flickering and you can actually see each label paint its background first white, and then grey. What am I doing wrong - or is Windows Forms just reaaaaal sllloooowww when painting forms with any complexity Help ...Show All

  • .NET Development Trouble Iterating through htmldocument links in VB 2005.

    I'm learning Visual Basic 2005 and have come to a problem I'm not sure how to solve. I have a web browser that pulls up a web site and I'm trying to iterate through the htmldocument.links collection. Here is a little bit of code to show how I was trying to do this. Public Class Form1 Public IE7 As New Person Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load Me .IE7.CollectWebPage( "http://en.wiktionary.org/wiki/Special:Allpages" ) End Sub End Class Public Class Person Public Function CollectWebPage( ByVal Address As String ) Form1.WB.Navigate(Address) While Form1.WB.IsBusy End While ...Show All

  • .NET Development How to create a file watcher window service to look in a folder for new file??

    Goal of the filewatcher window service: to look in a folder named ‘Watcher’ for a particular type of file. Whenever a new file arrives in the watcher folder, service should pick up the file, read contents, then delete the file from the folder and move it in another folder named ‘Processed’. I am using filewatcher’s oncreated event for this. Whenever a file arrives, the oncreated event is fired. The problem I am facing is that the service is not able to read the file. The exception received is: The process cannot access the file '\\WATCHER\abc_1959537.xml' because it is being used by another process. I tried to manually paste the files in ‘Watcher’ folder as well as in automated manner by a console application the result is same. ...Show All

  • Visual C++ std::string insert

    Hi, When trying to insert a string within a string (both std::string type), it seems the second part of the original string does not copy back at the end of the concatenated string. The case where the problem was encountered is like following, OriginalString = "()"; ToBeInsertedString = "(ABCDEF)"; OriginalString.insert(1, ToBeInsertedString ); Then the end result would turn out to be "((ABCDEF)", rather than "((ABCDEF))". Any insight!!!! Reza Bemanian, 3I Control Systems Hi, Also I realized this afternnoon, using the length function for a std string provides erroneous reading for the number of characters in the string. This is only a string ...Show All

  • SQL Server any differents and advices about connection manager

    first set up data source from solution explorer,then new connection from data source from connection managers directly new ole db connection or ado.net connection etc by right clicking from connection managers At the end doesn't matter how you created it; the connection manager will work exactly the same. The only diffrence is that with the first approach you only have to create a connection manager once and then can use it in multiple packages. Rafael Salas ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Globtrotting and Creators Club and DreamBuildPlay

    I've been working on a windows version of an XNA game for a while now. I'm to the point where I want to get a creators club membership and move it to the 360. I've also been waiting for the details of the DreamBuildPlay contest, so I can plan the rest of the project. Also depending on the contest details I've been waiting to buy tickets to Japan and Australia. To my question: If I get a creators club membership and get my game going on the 360 here (US) then go to Japan for 1 month and bring my laptop/360 can I use my creators club over there Same with Australia Also are the ethernet connections the same in all 3 countries How about the power Today is the last day I can get cheap tickets to Japan, so I'm going to get them, but if the ...Show All

  • Visual C# How to read current active IE window's html content

    Hi there!, I really hope someone can help me with this issue... it is really cracking my brain up:S What I want to be able to is to load the html content of the current active IE window by a simple IE Frame or console application. Not using the webbrowser component. That is possible but I just don't know how to do it. Maby with the HtmlDocument I have googled and googled.. I found this example http://www.codeproject.com/vb/net/ByPassAutomation.asp which is VB, but other than that the example does NOT work.. well I have IE 7.0 so maby it's because of the tabs.. can anyone please help me Regards, Qawi using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; ...Show All

©2008 Software Development Network