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

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

DuncanP

Member List

ArgentinianGirl
HelpMePlease
ZAHID HUSSAIN12
Mitchell Vincent
TommieLand
Kevin Rodgers
Wolf Logan
Dimitris DOukas
Johan N
Sanjupan
nutty nyce
KevinInIndy
Jerry L. Winn
Norm Estabrook - MSFT
jinksk
Anand Kumar S.R
Frogblast.utfoo
Steeves Saillant
danielanvar
ravenhack
Only Title

DuncanP's Q&A profile

  • SQL Server Reporting Services 2005 : The report server cannot open a connection to the report server database

    Hi, I am getting the following error whenever I try to open the reportserver 2005 default web page http://home/reportserver Reporting Services Error -------------------------------------------------------------------------------- The report server cannot open a connection to the report server database. A connection to the database is required for all requests and processing. (rsReportServerDatabaseUnavailable) Get Online Help An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote ...Show All

  • .NET Development SerialPort Problem - Possible Encoding problem?

    Hi, we are using the SerialPort class and cannot seem to get it to receive any data. We don't receive any exceptions when starting up, just no data events. We have written a very simple test application to verify that there is indeed a problem. When using an application such as Hyperterminal or the old MSComm control, data is received just fine. We are using the release version of the 2.0 framework (not a beta) The serial port is a typical serial port in the back of a desktop PC (it's not a USB to serial or anything). The data coming across the wire is binary data - not text. Is there any sort of way to figure out what is going on This ...Show All

  • Visual Basic troubles getting TryParse to work.

    I have the following code: UInt16.TryParse(tb.Text, NumberStyles.Integer, Nothing, byteval) where tb is a textbox and byteval is a byte . First, I cannot understand the help files description that I found: ms-help://MS.VSExpressCC.v80/MS.NETFramework.v20.en/cpref2/html/M_System_UInt16_TryParse_1_ab261b7c.htm Second, I activate the method when the text of the textbox is changed. But, when the value reaches 999 it catches the exception. I click ok in the exception box i made then add another 9 (9999) and the exception is thrown again. After clicking ok in the exception box again I can enter as many numbers after that as I want. ...Show All

  • Windows Forms ToolStrips & Mirroring

    Hi WindowsForms use Gdi+ For drawing. But Gdi+ dosn't support mirroring like Gdi32 when window has WS_EX_LAYOUTRTL extended style. Now if ToolStrips draws with Gdi+ we can not use theme with WS_EX_LAYOUTRTL extended style. Toolstrips support RTL without Mirroring - the layout changes when you set RTL. There are bugs in this support in Beta1 mark ...Show All

  • Visual C# Generics and Interfaces concepts

    Hello, I am learning how to apply generics and when to use it. I saw an example somewhere showing how to use constraints in generics, where you can specity a Type which implements an interface, something like this: class MyClass<T> where T : IMyInterface { //here come all sorts of toying with T } Now to my question: what is the advantage of using generics here Why can't I simply refer to the interface After all I am limiting T to be an IMyInterface implementation. Am I missing something Thanks in advance, David. Just some literature for you to read ;) http://msdn2.microsoft.com/en-US/library/512 ...Show All

  • SQL Server Difference between Flat File Source Output ?

    Can someone tell me the difference between the Flat File Source Output - External Columns and Output Columns I always end up changing the datatype properities in both to make things work :-) Hi,   Have you tried setting the datatypes for the external columns using the Advanced pane of the Flat File Connection Manager What you set there ought to be carried through to the Output columns.   Andrew Watt [MVP] < cgpl@discussions.microsoft..com > wrote in message news:760e2f6b-3480-4430-850e-8b30237e462d@discussions.microsoft.com ... Ca ...Show All

  • SQL Server Custom Report Item example not rendering right?

    I'm trying to work with the custom report item example (PolygonsCRI.dll) from the latest SQL Server 2005 downloads. I've followed all of the instructions on how to deploy the report. The report is now available on my Report Server, and I can load the Polygons.sln report and view it in the designer. However, whenever I preview the report in the designer or view the report on the server, the polygon report items just show up as big blank spots - there's no image there and no indication of an error. The chart on the report renders just fine, though. Does anybody have any ideas on what could be causing this Thanks, Glenn Burnsider ...Show All

  • Windows Forms XP visual style compatible Tab Control

    I've seen a dozen, often complicated, solutions to this problem, but I really hope the Tab Control will be able to display using XP Visual Styles in the next VS.NET release It's pretty annoying to have a great-looking interface everywhere but in the Preferences dialog.. :-) i would type "i agree" a thousand times, but my hands are too tired from writing tab control functionality ;) ...Show All

  • Visual Studio Removing Shortcuts from the VS 2005 Set up

    Hi Is there any way of removing shortcuts from the VS 2005 Setup. I want to remove all the shortcuts from the start->menu->Programs->Microsoft Visual Studio 2005. we are creating customised package for our working environment. So any help is appreciated. Thanks Bhaskar No, there is no supported mechanism. You can however modify the MSI and delete those short cuts in the short cut table.  Ofcourse, if you proceed with that route, it's unsupported. I highly recommend not modifying the MSI unless you have a good understanding of setup technologies and the windows installer. ...Show All

  • Visual Studio Tools for Office The customization does not have the required permissions to execute.

    Well I have a word.dot file with C# behind, Office 2003 I am calling this file from a local web server, and I am receiving this error message: The customization does not have the required permissions to execute. One of the things that makes Linux less attractive are the tons of additional steps you need to do in order to get something working right, and I guess now Windows/Office is no different. I guess it is time to dump this garbage and to develop using something else. My confidence level in Microsoft was 100% until 2003, 70% in 2004, 20% in 2005, -15% now and keep going down. From a suc ...Show All

  • Visual C# How to global a variable in C#?

    Hello! How can I "global" a variable in C# Thank you! the checkbox is in another "private void" thingy I assume you mean the check box event is private.  It returns void.  Your checkbox cannot be void. it can't access another's private void'S variables  No function can access the variables that exist solely in the scope of another function. I take it the check box is on a different form to the text box.  If not, then the code you posted just needs to go into the 'private void thingy' which is the event for the checkbox check.  If it is, then you need to create a delegate. http://www ...Show All

  • Windows Forms Help me to getting value in another form (C#)

    I have 2 form: form1; form2 in form 1: textBox1 and Button1 code Button1_Click(){       form2 f = new form2();       f.show()} help me to get value in textBox1 (form1) at form2 thank you alot! ... I try in form1  public string getStringValue() {    return myText.Text; } Button1_Click(){    form2 f = new form2();    f.frm = this;    f.show(); } in form2: public Form1 frm; Form2_Show(){    MessageBox.Show(frm.getStringValue()); } that ok! ...Show All

  • Smart Device Development MissingMethodException while trying to direct access SQL Server throught Pocket Project on .NET CF 2.0

    Hi, URGENT! I'm receiving a missing method exception while trying to instantiate a object that contains simple SQL Client code on Pocket PC 2003 Projects. I'm using .Net Compact Framework 2.0 with Visual Studio 2005. The piece of code i post bellow is able to simulate the problem i'm talking about. I just can't see any problems. I've even declarated on the Pocket Project a reference to "System.Data.SqlClient" as a try to solve the problem, without success. I'm working on it for three days and I just can't see any other solutions then the ones i've tried. Please Help! ...Show All

  • SQL Server CreateProcessAsUser in SQLCLR

    I'll keep trying new threads here... sooner or later, I'm sure an expert Microsoft CLR employee will gladly lend a helping hand! The pieces: 1. SQL 2005, MS Windows Server 2003, Standard Edition, SP 1 2. .NET 2005/C# 3. Instance of SQL 2005 running locally. Trigger on local SQL2005 DB table INSERT calls 2 CLR Functions: 1. Retrieve data from SQL2005 DB table and populate local DBF through OLEDB 2. Call external 16-bit application (written in Clipper) that iterates through local DBF records (added from step 1 above) and populates DBF on domain resource. Step 2 detail: External 16-bit application is called b ...Show All

  • .NET Development <msxsl:script> issue

      Hello,    I'm using the Data view web part for SharePoint where it randomly takes one quote from a list and displays that quote. I'm recently realized that microsoft extends script usage for xslt using the <msxsl:script> tag to incorporate JScript. This is the code that I've created: <xsl:stylesheet xmlns:x=" http://www.w3.org/2001/XMLSchema "       xmlns:d=" http://schemas.microsoft.com/sharepoint/dsp " version="1.0" exclude-result-prefixes="xsl ddwrt msxsl"       xmlns:ddwrt=" http://schemas.microsoft.com/WebParts/v2/DataView/runtime "   &nb ...Show All

©2008 Software Development Network