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

Software Development Network >> Jon Stroh's Q&A profile

Jon Stroh

Member List

SavitaHK
ClydeCoulter
iortizvictory
Alex2200
BALASUBRAMANI
Angry Coder
Spankmaster79
Telemann
87jerome
.net sukbir
erikkl2000
Jim Perry
Hawkeye7
KDS 1000
Michael Ruminer
Michael Lutz141607
Subrajit
CraigInCalifornia
Ronan PB 2006
kata.
Only Title

Jon Stroh's Q&A profile

  • Software Development for Windows Vista Accessing workflow instance members from WorkflowInstance (runtime event handlers)

    Hi All, Is there a way to retrieve a strongly typed reference to the actual running workflow from a WorkflowInstance instance More details: I have a runtime event handler (loaded, idled) that receives a WorkflowEventArgs parameter. In that method I would like to access some of the instance properties (DependencyProperties) of my own workflow class. The only object I have in that method is a WorkflowInstance with an InstanceId. So the question is, how can I get a MyWorkflowClass instance if I have an InstanceId Thanks in advance. Hello Serge, Thanks for the reply but unfortunately it does not work . There is a GetWorkflowDefinition() method, but it returns a workflow template and not the ...Show All

  • SQL Server Accessing dataset with custom code

    Hi, Need a little help on the code here. How can I import values from an RSS dataset I will store them in a hash table and then call the function to check for dups. An example or pointer or article reference would be appreciated. Thanks. Thanks for all the help. This stuff is pretty much new to me. I'm mostly familiar with VBA, Classic VB, and T-SQL but we'll see where this leads. ...Show All

  • Visual Studio Express Editions re date difference

    Hello i am writing to a database, it worked fine with no error until i added the time /date difference. Can you tell me why the datediff is not working please Many Thanks here is the code from the button Private Sub Shift_logBindingNavigatorSaveItem_Click_1( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Shift_logBindingNavigatorSaveItem.Click Dim jOB_TIME As Integer = 0 Try Me .Validate() Me .Shift_logBindingSource.EndEdit() Me .Shift_logTableAdapter.Update( Me .Glat_shift_logDataSet.Shift_log) jOB_TIME = DateDiff(DateInterval.Minute, Time_startedTextBox, Time_finishedTextBox, FirstDayOfWeek.Monday, FirstWeekOfYear.Jan1) MsgBox( "job took " & jOB_ ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XAudio <--> XACT API?

    So I've gone through the various multi-threading presentations from the GameFest downloads trying to understand how best to structure my game. All is well so far, the concepts map over to the managed world pretty easy ... and I've even gotten myself a creator's club sub, so I'll get to try all this on the 360 shortly. One recurring thing that I noticed in the "Case studies" of existing/shipped games that one of the presentations did is that many of those games dedicated an entire core to "XAudio". So I was wondering if, for an xna game of similar complexity, one might be able to follow their lead. If so, how would one ship the audio processing to the other core ... is it as simple as having a thread that calls the upda ...Show All

  • Visual C++ Problem usage CImage and Clipboard

    When I do this, I got ASSERT inside CImage::ReleaseDC(), What's wrong HBITMAP hBitmap = (HBITMAP)GetClipboardData(CF_BITMAP); CImage m_CImage.Attach( hBitmap ); CWnd::OnPaint() { CPaintDc dc(this); CRect rect; GetClientRect( &rect ); m_CImage.Draw( dc.m_hDC, rect ); //ASSERT inside! } michot hi, You should propably provide more code, so we would be more accurate of what is happening. There are many cases of the error's reason: - first if the program executes two times the 'm_CImage.Attach' without execute the 'm_CImage.Detach', assert occurs. So you must be ensure that 'Attach' 'Detach' exeuted in pairs. - Then provide check for 'hBitmap' handle. If it is NULL then assert may occur (pro ...Show All

  • Visual Basic Vertical line at col 80

    Hello everyone! I'm wondering if it's possible to add a vertical line at column 80 in the editor Thanks in advance! -Martin See this blog post: http://blogs.msdn.com/saraford/archive/2004/11/15/257953.aspx ...Show All

  • Visual Studio Team System Multiple Solutions for one Team Project

    Hi all, I setup a new Team Project and now I want to add 4 different solutions into this project. The first 2 worked fine and are now checked in, but when I want to check-in the 3rd i get this error message / warning: (Imageshack) Does the third solution contain any projects that live under Solution1 or Solution2 If so, that is where the message is coming from. Visual Studio / TFS Source Control like to have all of the projects in the solution residing physically beneath the folder that contains the .sln file. - Steve ...Show All

  • Windows Forms loading large image in picturebox

    Hello. I'm working with large pictures (one of them is 4021x3123) and I want to load them inside o PictureBox so the user interacts with it (draws on it). The problem is after I load the picture, when I use the scroolbar to move around it, it has that flicker effect and also the interaction with my application has a delay (it takes about 1 sec for the other controls to react). I'm guessing my problem appers because of the large picture I'm loading, so is there a way not to load the entire picture inside the PictureBox and only load that portion of the picture that is currently dispayed by the PictureBox Is there a better solution to that Thanks. PS: I'm using C#. Thanks. I'll take a look at it. ...Show All

  • SQL Server how to find the edition of SQL Server 2000/2005 through registry?

    Hey, I need to understand what version of SQL is running on some machine. How can I do it looking through the registry. I know you can do it for windows and exchange but I don't know how to do it for SQL 2000. I know in SQL 2005, it tells you the edition for SQL, but how do you do it in SQL 2000. Also, I'm pretty sure, you can look at the Product ID and tell if it's an enterprise edition or standard edition and so on, but I don't have the information. Windows and Exchange do it like that. Can someone provide me with such info Thank you you don't have to go through the registry for that - look up the SERVERPROPERTY() function in Books Online. You can find a lot of information about the server using that fun ...Show All

  • Visual Studio Team System Web Test

    Is it necessary that my web test has to pass in order to make sure that the load test runs correctly..because even if my web test is failing i can run my load test and get results....will that be right ...Show All

  • Visual Studio Tools for Office Why Office 2003 Pro and/or the "Boxed" version of Word?

    I have had various individuals in my company question why exactly a Word VSTO solution requires either Office 2003 Pro or the "boxed" version of Word. Currently, my only answer to this question is: "That's what Microsoft says is required, obviously there are some components in those versions that are relied upon by VSTO solutions". This is apparently not flying so well with those clients that already have Office 2003 Std. Ed. So, if one of you knowledge VSTO types would be kind enough to "enlighten" me with the REAL technical answer, I would greatly appreciate it. Thank you kindly, Will a "boxed" upgrade to Excel 2003 be enough for VSTO I want to use the developers kit for Access ...Show All

  • Software Development for Windows Vista Property persistence inside workflows

    I have the following 2 questions about the workflow If I have a public property (eg. Title) on my Workflow, How do I persist its value when the workflow instance goes idle. Once I load my workflow instances from the persistence store how do I access my property's (eg. Title) value outside the workflow. I found an article on the internet which talks about Instance state and properties but I am not clear where/how I would implement that. I would really appreciate if anyone can help me solve the problem with some code samples. Thanks, Juma For passing data *from* a workflow to the host - you'd want a method and not an event. An event is for communicating from the Host *to* the workflow. So your host co ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How to compile to run on all Windows Machines

    Ok ive been doing quite a bit of Managed DirectX programming with c# and its great! One thing though, when i want to show a friend of mine what ive made, how can i compile it so that i dont get any errors. I always get some kind of FileNotFound exception or FileLoadException when i try to run it on another PC with Windows XP. Ive included the .dll files that are in my DXSDK/Developer Runtime/X86/Managed. Ive linked with the DirectX assemblies. So far ive only used Microsoft.DirectX, Microsoft.DirectX.Direct3D and Microsoft.DirectX.Direct3DX assemblies and ive included all 3 of those .dlls with my program. This problem happens any time i try to run the program on another pc without the DXSDK. My other pc that i tried it with has ALL windows ...Show All

  • .NET Development ExecuteReader requires an open and available Connection. The connection's current state is Open, Fetching

     cmd.ExecuteReader Run-time exception thrown : System.InvalidOperationException - ExecuteReader requires an open and available Connection. The connection's current state is Open, Fetching.  I'm having a issue with my program. My application does a search first, then the user has the ability to edit the search results. So first a datareader is created and the ExecuteReader is called and you know the rest. Then once the user is ready to submit their changes and executeNonquery is called and you know the rest. The code fails at cmd.exectuenonquery line. Here is my code First the user searches for records based off an id: Private Function RetrieveErrorRecords(ByVal ErrorID As String) As DataTable      ...Show All

  • Visual Basic How to open PDF documents in a RichtextBox ?

    I know that the only way to open pdf documents in rtb is the use COM .. but few questions I shud add reference to my project .. but with which dll file .. and do i need Acrobat Reader or Acrobat Professional A few lines code wud help. I have the Acrobat Professional 7.0 and the only part that is confusing me is the Add Reference part ..i.e which dll to use..And after that which class of the dll should i use thereafter.. Thanks for replying ...Show All

©2008 Software Development Network