Software Development Network Logo
  • Visual C#
  • Microsoft ISV
  • VS Team System
  • Architecture
  • VS Express Editions
  • Windows Live
  • Visual Studio
  • .NET Development
  • Visual J#
  • Visual FoxPro
  • Smart Device
  • Game Technologies
  • Windows Forms
  • SQL Server
  • Visual C++

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

Murphy

Member List

Jie
Anatoly Baksheev
KristofferSjoo
Bogdan Trcek
js12
Lev Semenets - MSFT
mike93108
Harrelson
Wenyang Hu
Michael Hamling
mdfq10
AlinB
Michael Cramer
Mandypenny
Divyachandra
Leho
jls
s7ven
winformmaker
Eduardo Sobrino
Only Title

Murphy's Q&A profile

  • Windows Forms Novice Problems

    Hi All,  I am trying to do the following in a WinForm I need to run a stored procedure, read the values for each row, and then send an email. the columns being passed are  Name of Attachment Name of the Receiver  Subject So, I need to read each row, pick the attachment , pick the name of the person, and the subject and send the email. It  ...Show All

  • Visual C++ using GetLastInputInfo

    Hi i have applcation where i need to detect how much time system has remained idle. Now problem is that i am using VC7 in .net and XP as OS.....i am using the following code #include <windows.h> #include <winbase.h> #include <stdio.h> #include <winuser.h> using namespace std; void main() { LASTINPUTINFO lastInput; lastInput.cbSize = sizeof (LASTINPUTINFO); BOOL success = GetLastInputInfo(&lastInput); if(!success) { DWORD err=GetLastError(); // report error, throw exception, etc } DWORD lastInputTime = lastInput.dwTime; } Now when i build this pro ...Show All

  • Visual Studio 2008 (Pre-release) Factoring Interfaces

    I am embarking on my first WCF based service. This service will be evolved from an existing .asmx based set of web services that expose over 200 webmethods. My question is, what is the best way to (re)factor the .asmx interfaces in WCF I was considering a single IMyInterface containing the 200+ methods, and then perhaps partial classes for the implementation to maintain some modularity. Is this a bad idea Are there any best practices for factoring WCF interfaces in wcf,each ABC(Address+Binding+contract(interface)) combination will define the client side proxy If all these methods logically don't fit ...Show All

  • Visual Studio Express Editions WebBrowser as File Browser (Explorer)

    This is working but how will i change the view (Thumbnail, Details, List, etc.) Is it posible Private Sub Navigate(ByVal address As String) If String.IsNullOrEmpty(address) Then Return If address.Equals("about:blank") Then Return If Not address.StartsWith("file:///") Then address = "file:///" & address End If Try WebBrowser1.Navigate(New Uri(address)) Catch ex As System.UriFormatException Return End Try End Sub Let's stop and think things over for a second. Consider the controls that ASP has for web display. I ...Show All

  • Visual Studio Team System How to hook build engine to get sources from another server?

    Hello all, I want to interoperate the TFS with a server using VSS as repository. How can I go about it Environment: Presently clients are on VS .net 2003 IDE and server has VSS as repository. The project uses .NET 1.0 framework. What I want: I have introduced TFS server m/c which i want to get the project sources from the VSS server and build them. So, how can I hook build engine to get sources from VSS server Thanks in advance. Nike   Hi Nike, This is not a supported scenario for Team Build since our integration with the VSTS source control system extends to a lot of tasks and some intrinsic Team Bu ...Show All

  • SQL Server consolidating folders

    I have 8 folders with reports in each folder. I want to move those 8 folders into a single folder. Is there a way to do this without having to create the folder hierarchy from scratch and then upload all the .RDL's again Thanks for your help! frank You can do this through the Report Manager UI using the move button. You'll need to click the "show details" button on the right hand side of the toolbar.  You can do this programmatically using the MoveItem SOAP API. Hope that helps, -Lukasz --- This posting is provided "AS IS" with no warranties, and confers no rights. ...Show All

  • Windows Forms Memory Usage Help!!!

    What should my Max Memory Usage be when building .Net applications   If i use third party controls my Mem Usage can go up to 30,000 k or higher is this right or am i using to much of my computers resources    When i minimise my application all of my applications memory usage is freed.  Please some guide lines on the topic. Thanks Si ...Show All

  • Visual Studio ReportViewer - Programmatically Customize Chart Axes at Runtime

    Is there any way to access the chart inside a reportviewer to customize the chart Y-max at runtime. Some times my data has outliers and I would like the user to be able to specify the Y-max manually. Failing this, I'll have to generate an .rdlc dynamically and assign it to the reportviewer. I am using the ReportViewer Control for the first time and I cannot figure out what is wrong with what I am doing. I wish to generate graphs on my asp page. I am using the reportviewercontrol (local processing mode) which have the data sources being called from methods in DAL. ReportViewer2.ProcessingMode ...Show All

  • Visual Basic Object Visibility

    I am a new user to VB 2005 Express Beta 2. I have a form with two objects:  a button and a serial port. When data is received on the serial port, I would like to examine it and if appropriate change the status of the button. I am able to capture the data received event and examine the data received.  However, I am unable to change the button's property from within the data received event of the serial port object.  When I attempt to do so, I receive the error message "cross thread operation not valid: control XXX accessed from a thread other than the thread it was created on" I have tried changing both the button and the Seria ...Show All

  • Visual Basic VB vs C#. How capable is VB compared to C#?

    I need some clarification please. I am learning VB.NET right now and have a co-worker who has a very strong technical background and feels very strongly that learning VB is a "waste of time in all respects" compared to C#. I don't understand this point of view. Since VB is a .NET language does it not posses the same capabilities as C# Am I on the wrong track I really enjoy the VB.NET syntax and am picking it up quickly. Here's my background ( being totally honest ). I am self taught, I learned C++ back in the late 90's. From there, I moved to C# because ASP.NET is the best platform availabl ...Show All

  • Visual Studio Problem installing Visual Studio 2005 Beta 2

    I am attempting to install VS 2005 beta 2 and have run into a problem.  This is the setup I am using: Installing on Virtual Server 2005 with the following already installed: Sql Server 2005 CTP Foundation Server beta 2 I am trying to install from the en_vs_2005_team_suite_dvd_beta2.iso file. When I get the installer going it begins copying the files to temporary and stops with the following message: Setup has encountered a problem while trying to copy: D:\vs\Setup\VSSetupWatson\1033\DWINTL20.DLL Press Retry to attempt tp copy again. Press Cancel to cancel setup. Any help with this is greatly appreciated! Thanks Marc ...Show All

  • Visual Basic Round function

    I'm hoping that someone is able to clarify for me just what the Round function in VB does. According to the help file, Math.Round( value , digits ) returns a number which is value , rounded to the number of significant digits requested. I must be misunderstanding just what this means, because the results I get are unexpected. For instance, for Round(12.3456,3) I would expect to get 12.3 (i.e. 12.345 rounded to 3 digits). Or, for Round (1.23456E-15,3) I expected 1.23E-15 but I get 0.0. Rather than digits being the number of significant digits in the result (as stated in the help files) it seems to be the power of the rightmost digit in the r ...Show All

  • Visual Studio Team System Where to download MSFWinBuild?

    I'm in the process of customizing the MSF Agile Process Guidance.  I have been using the Process Guidance Customization Guide from the Visual Studio October SDK. This guide mentions that the MSFWinBuild Tool is useful to pre-render the HTML files.  The guide says that this tool can be downloaded from http://msdn2.microsoft.com/en-us/library/ms243893.aspx . However, I can't find the download.  Where can I download this tool from Thanks _____________________________ Sarah Cameron - InCycle Software Hi Sarah,    The MSFWinBuild site is  http://www.gotdotnet.co ...Show All

  • Visual Studio 2008 (Pre-release) Color Animation Problem

    hi I want to apply a color animation on my rectangle when I move my mouse over it. But I get a runtime exception when I attempt to do the same. This is what my xaml code looks like- <Rectangle Name="R1" Fill="Aqua" Width="100" Height="50" Stroke="Black" Margin="200"> <Rectangle.Triggers> <EventTrigger RoutedEvent="Rectangle.MouseEnter"> <EventTrigger.Actions> <BeginStoryboard> <Storyboard> <ColorAnimation Storyboard.TargetName="R1" Storyboard.TargetProperty="Fill" To=&quo ...Show All

  • Visual Studio Express Editions Printing a form

    After following the code found here   to print a Windows Form I now have this Dim memoryImage As Bitmap Private Sub CaptureScreen() Dim myGraphics As Graphics = Me .CreateGraphics() Dim s As Size = Me .Size memoryImage = New Bitmap(s.Width, s.Height, myGraphics) Dim memoryGraphics As Graphics = Graphics.FromImage(memoryImage) memoryGraphics.CopyFromScreen( Me .Location.X, Me .Location.Y, 0, 0, s) End Sub Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click CaptureScreen() PrintDocument1.Print() End Sub Private Sub ...Show All

©2008 Software Development Network