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

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

janverge

Member List

Brent Snyder
SpiderX81
Nick Guerrera - MS
Dave181
pierguido
Elf
Siraj Salim
LYx
C# d0t NeT
richard wolfe
Gleydson
Sukirman_J
Jacob Bolan
Piotr_S
TheGreenGenie
fishfree
Simon Temby
Lei Jiang
Raviraj_bh
rahulMCA
Only Title

janverge's Q&A profile

  • SQL Server Using CC and BCC in Notification Services

    I'm trying to set CC (CarbonCoby) and BCC properties of an email notification. The SMTP protocol element of my ADF looks like this: <Protocol > < ProtocolName > SMTP </ ProtocolName > < Fields > < Field > < FieldName > Subject </ FieldName > < SqlExpression > SubjectText </ SqlExpression > </ Field > < Field > < FieldName > From </ FieldName > < SqlExpression > FromAddress </ SqlExpression > </ Field > < Field > < FieldName > To </ FieldName > < SqlExpression > DeviceAddress </ S ...Show All

  • Visual Studio Express Editions add numbers

    I have the following code answer = number1 + number2 * number3 in number1 I have (3) in number2 I have (5) in number3 I have (10) I think I should get an answer of 80, but it is giving me 53, If 53 is the correct one, plase explain to me how des it get to 53, and if 80 is the correct one, why is it shwoing 53. Thanks it practically works the same way as when you put it all on a graphics display calculator... very nice if that is what you are used to, also easier to work around than if its not... I had that problem while trying to create a calculator in VC#... ...Show All

  • Visual Studio 2008 (Pre-release) Bitmap&amp;lt;-&amp;gt;BitmapImage conversion

    1. System.Drawing.Bitmap -> System.Windows.Media.Imaging.BitmapImage : Bitmap source; BitmapImage destination; IntPtr hBitmap = source.GetHbitmap(); BitmapSizeOptions sizeOptions = BitmapSizeOptions.FromEmptyOptions(); destination= System.Windows.Interop. Imaging .CreateBitmapSourceFromHBitmap(hBitmap, IntPtr.Zero, Int32Rect.Empty, sizeOptions); Can anybody say how to convert BitmapImage to Bitmap Thanks. The only way to do this is to CopyPixels from the BitmapSource, and then create a System.Drawing.Bitmap using the image bits… ...Show All

  • Windows Forms Minimize/Restore Form

    Hello, Could anybody please tell me how can I restore a form to its previous condition when it is minimized Just setting FormState to Normal won't do it, if the form was previously maximized. So the real question is how would I detect the user's attempt to minimize the form, so that I can store its condition Thank you in advance, Kostas You need to check for the Resize event: protected override void OnResize(EventArgs e) {     base .OnResize(e);     if (WindowState == FormWindowState.Minimized)     {   // Minimized      ...Show All

  • Windows Forms Saving location of database in the app, not the database

    How can I save the location (Path) of the MS Access database I want to connect to in my app without having a second database local to the VB Client. Obviously, the client needs to know the path to the database in order to connect, but where can this path be stored so as to not be hardcoded A further note to my pos ...Show All

  • Windows Forms PictureBox GotFocus/Enter events

    I have a Picturebox and TextBox on a usercontrol.  I want to draw a border around the the usercontrol when the usercontrol (or anything else in it) is selected.  I have a sub that draws the border around the control.  The sub is called from the Enter event of the UserControl and the TextControl.  However, when I try to do the same thing with the PictureBox, I don't see an Enter event listed for the PictureBox (strange as it is inherited from control) and while the GetFocus event is available, it does not seem to fire.  Do I have to enable the focus events in the PictureBox somehow   The PictureBox is already set ...Show All

  • Visual Studio Team System Why can't I create a report

    When I want to create a report. I got a " rsLogonFailed " error message. The windows application event log is like below ================================================ Event Type: Error Event Source: TFS Services Event Category: None Event ID: 3031 Date:  2005-12-8 Time:  21:27:38 User:  N/A Computer: MSRAIT-TRAINING Description: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff. Technical Information (for the administrative staff): Date (UTC): 2005-12-8 13:27:38 Machine: MSRAIT ...Show All

  • Visual C# get Fibonacci sequence number base on user input

    hi all, in my application, i want to return the n-th number in a Fibonacci sequence to the interface by asking user input. e.g. user inputs 5, and click on a button, it returns the 5th number in , which is 3. please help. Here is one solution (maybe not optimal, but it works ): private int fibonacci(int userInput) { int sum=0, a=1, b=1; int i=2; if (userInput == 1) return 1; else { if (userInput == 2) return 1; else { while (i != userInput) { sum = a + b; a = b; b = sum; ++i; } r ...Show All

  • .NET Development How do I Install the .net framework 1.1 onto a removeable drive

    Hi I have written an application on a standard desktop using Vb.net 2003 running under XP Pro SP2.  I am trying to install the application onto an embedded Pc which uses a Compact Flash drive (4 GB Microdrive) as the boot C drive (running same XP Pro SP2). The problem I have is that when I start to install the dotnetfx redistributable .net framework 1.1, the installation fails half way through. (it asks for the CD .net framework 1.1) If I use the same installation CD on a standard desktop the installation is successful.  It has been suggested that the problem maybe that the .net framework cannot be installed onto a remov ...Show All

  • Software Development for Windows Vista VS6 C++ Compile error using "GetAddrInfo"

    Hi, Windows XP SP2. Platform SDK recently downloaded. VS6 C++ SP6. I am using the 'GetAddrInfo' function ( DLL Ws2_32.dll) Header ( Ws2tcpip.h) When compiling I get the error "c:\program files\microsoft platform sdk\include\wspiapi.h(45) : error C2265: '<Unknown>' : reference to a zero-sized array is illegal " I believe there is some 'compatability' issue between IPv4 and IPv6 functions !! Not sure how to sort it though. IS it because the SDK stopped being compatible with VS6 sometime ago Can anyone offer some ideas for what is I believe a not unique issue ! Thanks, Jon. Can ...Show All

  • Visual FoxPro Active Foxpro Pages Setup Problem

    I tried to install the Full Setup of Active Foxpro Pages (afpages) on my Windows 2000 Server. It gave errors of not being able to locate gdiplus.dll or msvcr71.dll. When I tried going into the Active Foxpro Pages control center, I got an error that "Cannot locate the Microsoft Visual Foxpro support library." This is a computer without any native Foxpro installed. I then tried installing both the VFP7 run-time files and the VFP 9 files, but it did not help. The VFP 9 download also gave errors about msvcr71.dll. I tried copying those 2 files from the backup folder in the AFP3 directory into c:\winnt\system32 and registering th ...Show All

  • SQL Server Help Complete This CLR Code?

    Using the tutorial at: http://msdn2.microsoft.com/en-us/library/ms131094.aspx I've determined that the code I need to follow is: Imports System Imports System.Data Imports System.Data.Sql Imports System.Data.SqlTypes Imports Microsoft.SqlServer.Server Imports System.Data.SqlClient 'The Partial modifier is only required on one class definition per project. Partial Public Class StoredProcedures ''' <summary> ''' Create a result set on the fly and send it to the client. ''' </summary> <Microsoft.SqlServer.Server.SqlProcedure> _ Public Shared Sub SendTransientResultSet() ' Create a record object that r ...Show All

  • Visual Studio Team System How can I delete a Team Project

    Hi for every one, I want to delete some team projects, any idea how can I do that , i Can't deleting for source control, so any idea Thanks! You'll need to use tfsdeletproject from the command line. http://msdn2.microsoft.com/en-US/library/ms181482(VS.80).aspx Buck ...Show All

  • Smart Device Development GetSelected not supported?

    I have a listbox on my compact framework form and I am trying to call the GetSelected method. I can find nothing on MSDN saying the cf does not support this call but my Visual Basic code has the blue line underneath the call and the Intellisense text says GetSelected is not a member of System.Windows.Forms.ListBox. Am I doing something wrong or is it just a case of MSDN not mentioning nonsupport of this issue If the latter, is there a workaround Thanks!! Here is what I am trying to do: If lstOptions.GetSelected(Counter1) Then Here is a replacement: Public Function GetSelected (index As Integer ) As Boolean If lstOptions. ...Show All

  • Visual Studio Express Editions Visual Web Developer 2005 Express

      I have worked for weeks on this problem but must by missing something.   I cannot open the ASP.NET Configuration tool From the Website Tab of the Menu bar I receive the following message:   An error was encountered. Please return to the previous page and try again. The following message may help in diagnosing the problem: System.ArgumentException: The parameter 'PhysicalDirectory' is invalid. Parameter name: PhysicalDirectory at System.Web.Configuration.VirtualDirectoryMapping.set_PhysicalDirectory(String value) at System.Web.Configuration.VirtualDirectoryMapping..ctor(String physicalDirectory, Bo ...Show All

©2008 Software Development Network