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

Software Development Network >> Steven Rosenthal's Q&A profile

Steven Rosenthal

Member List

Andreas Asterlund
Mark Macumber
tenchyz
Sai A
Brad Roberts
Ash McConnell
JD653687
Jason Jaegers
Rick_Parker
Yorker
A Bodnar
Fradam
tfrazier
Chris D Jones
ga2006
R1ZWAN
Pete Davis
NMTrinh
JulianRidley
Bill Gates II
Only Title

Steven Rosenthal's Q&A profile

  • Visual Studio Express Editions Reading data from database and updating textboxes

    Can anyone tell me what I am doing wrong I have a combobox that I use to select materials from an Access Database. When I select the material it reads the value in "design_temp" textbox (which is a user input and the desired field name in the database) and selects the correct value and puts it in another textbox "allow_stress". However in some cases I leave the material as is and be able to change the value in "design_temp" and have the value in "allow_stress" updated. When I put the line of code that is highlighted in the program crashes. Any Suggestions Thanks in advance Private Sub Main_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles My ...Show All

  • Windows Forms Publishing to a Folder

    I am a little confused about Publishing. When I publish my project I specify the location where I want the setup files to go and then I choose the option 'From a CD or DVD rom' . Everything works fine and VB Express publishes a project setup file exactly where I wanted it. The problem is that when the end-user installs the program, I want it to install to a particular folder of my choosing. I have went through the whole process and everything works correctly, I just cannot figure how to accomplish this. I am sure there is just some simple point that I cannot seem to grasp about publishing. I would appreciate it if someone could explain to me how to accomplish what I want or at least tell me what it is that i cannot seem to grasp h ...Show All

  • SQL Server Report show "#Error" on Pop Preview Window in Reporting Services (please reply me urgent)

    i am using Assembly in RDL report. i add the reference of the assembly in report. and take a instance of assembly in report properties -> code tab. and in text box expression in get the value from assembly. when i click the report preview tab. its run fine and display my desired result. but when i run the project for pressing the F5. it show "#Error" on Sepecified textbox. i have assign rights to assembly for modify the two files "rssrvpolicy.config" and "rspreviewpolicy.config". ihave write the code group in both files is written below: < CodeGroup class = " UnionCodeGroup " version = " 1 " PermissionSetName = " FullTrust " Name = " M ...Show All

  • Visual Studio 2008 (Pre-release) How to draw a horizontal or vertical line?

    I would like to draw a horizontal and vertical line for my xy-graph control. These lines should be independent of the zoom factor. And I would prefer not to change the lines every time the zoom factor is changing. My idea was to use Double.MinValue and Double.MaxValue as xy - coordinates: Line horizontalLine = new Line (); horizontalLine.X1 = Double .MinValue; horizontalLine.Y1 = 0; horizontalLine.X2 = Double .MaxValue; horizontalLine.Y2 = 0; horizontalLine.StrokeThickness = 1; WPF isn't drawing the line. The values has to lay between [-60000; 60000] with StrokeThickness = 1 that WPF is drawing the line on a Canvas. How can I draw a horizontal or vertical line <Line X1="0" ...Show All

  • Windows Forms performance issues with invoke

    it's generally known that invoking to the UI thread is expensive, and should only be used when necessary. the application i'm writing process data coming through the serial port, and processes the information to display it to WinForm controls. this happens very fast, and sometimes i have to draw data coming in 6 times a second. so, i end up using a lot of InvokeRequired, Invoke style design patterns. i'm starting to think that this is making my application run slower because i am invoking more often than i need to. i'm wondering if writing a backgroundqueue type of class would be more efficient. basically, here's what it would do. [code] class BackgroundQueue { private Queue<Delegate> _queue = new Queue<Delegate>; private boo ...Show All

  • .NET Development referencing multiple databases in .net for a stored procedure

    alright, I have a piece of this stored procedure below.... update LIVE set LIVE.brandCode = PROD.brandCode, LIVE.brandName = PROD.brandName, LIVE.brandDesc = PROD.brandDesc, LIVE.factoryID = PROD.factoryID, LIVE.addDesc = PROD.addDesc, LIVE.brandHasWebsite = PROD.brandHasWebsite, LIVE.brandDefaultEmail = PROD.brandDefaultEmail, LIVE.brandCsEmail = PROD.brandCsEmail, LIVE.brandMarketType = PROD.brandMarketType, LIVE.brandCreatorID = PROD.brandCreatorID, LIVE.brandContributorID = PROD.brandContributorID, LIVE.brandCreationDate = PROD.brandCreationDate, LIVE.brandModifiedDate = PROD.brandModifiedDate, LIVE.brandStatus = PROD.brandStatus, LIVE.siteAddress = PROD.siteAddress, ...Show All

  • Visual C# Enumerator on a linked list

    Hello everyone! I'm trying to get an Enumerator to work on a linked list but I'm not sure how to do it. MSDN documentation says that at first the enumerator should be positioned before the first element/node in the collection. Any tips on how to do that in a linked list I thought about setting it to null but then when the MoveNext() method is called I can't do current = current.Next since current is set to null. Should I save the firstNode, then in the MoveNext check if current is null and then do current = firstNode. Seems a little bit messy. Any tips Thanks in advance! -Marlun Once again, thanks! :) I had not seen the operator before, very nice. This looks really good. Not as good as using yield retur ...Show All

  • Visual Studio Team System Coded webtest datasource problem

    Hey all, I've generated a coded webtest from a webtest that works just fine. When trying to run the unmodified newly generated coded test, I'm getting this error: Error WebTest1Coded WebTests Could not run web test 'WebTest1Coded' on agent 'MachineName': Object reference not set to an instance of an object. I've found that the culprit has something to do with this attribute: [ DataSource ( "TestData1" , "Provider=SQLOLEDB;Data Source=ServerName;Integrated Security=SSPI;Initial Catalog=DatabaseName" , Microsoft.VisualStudio.TestTools.WebTesting. DataBindingAccessMethod .Sequential, "TableName" )] If I commit out this line, the test runs fine...but I can't access my test data. Any ideas ...Show All

  • Windows Forms How to catch general exception properly in Windows form?

    Hi All, I have a windows form which allow users to query or update a table. I'd like to catch all the exceptions and present a customize messagebox to users Q1 )Is there a way to do this in the "windows form Level" such that the windows form would remain after the messagebox has been closed Q2 ) Is this a proper way of handling exceptions I've tried the following methods but they does not seem to work as desired. 1)Catch the exceptions in the static void Main function . Test Case: Disable network connection Result: The exception was caught. But the windows from was closed after the user closed the messagebox. 2)Catch the exceptions in the form constructor . try{ InitializeComponent(); } catch(Exception e) {... } Test ...Show All

  • Visual Studio How to download VSTA SDK?

    Hello, So far, I was not able to locate any information about where to get the released bits of the VSTA SDK. I have already scanned through these pages: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=908415&SiteID=1 http://msdn.microsoft.com/vstudio/extend/vsta/ http://affiliate.vsipmembers.com/affiliate/downloadfiles.aspx Thank you, Adrian Adrian: The VSTA RTM bits can be found in the VS SDK 3.0 (August 2006 CTP). KD Hallman, the Microsoft General Manager of the Developer Division, posted the following on November 9th: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=908415&SiteID=1 For further information related to getting the VSTA RTM bits check out the following: http ...Show All

  • Visual C# Click a button to load WMP?

    Is there anyway that i can click a button and then it load WMP in a new controlled window not the WMP player itself, but more like a popup of an activewindow that been embedded with WMP. Yes there is and it is easy! There is a great Software Developers Kit availabled for Windows Media Player that allows you to add an Windows Media Player control to a Form in your application. A great short article about this can be found here: Using Windows Media Player with .NET . You can find the Windows Media Player SDK here: Windows Media SDK Components . Please let me know whenever you have problems with this solution! ...Show All

  • Smart Device Development How to set app to be always in foreground?

    My app should be the only interface for the user, since the phone is used as a watchdog device. How can i make sure, that it stays always in the foreground Only after hitting a special sequence of keys the app should terminate. Any idea how to implement this with SmartPhone 2003 Thanks Hans Hi Vladimir, thanks for the great and very detailed response!! I'll try this approach! Regards Hans ...Show All

  • Visual Studio Team System Reload is forced when another person checks in his changes

    Scenario: Bob works on a solution in VS.Net bound to team foundation. Jane works on a project in the same solution as developer A. She adds some file to a project and checks it in. The next time Bob tries to debug/run his copy of the solution after the changes to the project has been checked in by Jane, he gets this following message without trying to get the latest version: File modification detected The project has been modified outside the environment Press reload to load the updated project from disk Press ignore to ignore the external changes. The changes will be used the next time you open the project Is this perhaps some setting on the team project I've googled it, but to no avail... Bob should not be prompte ...Show All

  • SQL Server Using a sproc as a source within Dataflow

    I was wondering what has worked for all of you in regards to using a sproc as a source within a dataflow.  I have had limited success doing this, but maybe there is a workaround I'm unaware of.  Basically, using a SQL command in an OLE DB Source, I run an EXEC statement that returns a resultset from a stored procedure.  I've noticed that depending on how the sproc is structured, I will either get metadata info in the columns tab of the OLE DB Source or not.  Without this metadata of course I can not link it with a destination, since the destination believes that no data is being returned, even if this is not the case.  This all seems to depend on the "final" select statement in the sproc being at the very top of th ...Show All

  • .NET Development tcplistener and guest login

    This is the source file that i am having trouble with. When the user is logged in as guest (built in account guest) the ListenToServer function isnt accepting connections. I tried to impersonate the administrator, everything works fine if logged in as an admin. Please take a look and see what i am doing wrong using System; using System.Collections.Generic; using System.Windows.Forms; using System.IO; using System.Net; using System.Net.Sockets; using System.Threading; using System.Runtime.InteropServices; using System.Diagnostics; using System.Security.Principal; namespace client { static class Program { [ StructLayout ( LayoutKind .Sequential, Pack = 1)] ...Show All

©2008 Software Development Network