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

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

cshea

Member List

Tomas Galvez
Marlun
coachdunlop
supagu
nhaas
Jabber
EShepley
George1905
MosheDeutsch
Hayashida
PinTxO
TTris
Escape
luca82
pjc955
Shippa
MU786
benson81
LoveDanger
arse
Only Title

cshea's Q&A profile

  • Visual Studio Tools for Office Adding control at Current Cursor Position

    Hi all, I'm trying to add a Control like a TextBox or a ComboBox at the current cursor position, but I'm not able to find any properties or method of Globals.ThisDocument that return the current range Private Sub btAddControl_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btAddControl.Click Globals.ThisDocument.Controls.AddTextBox( Globals.ThisDocument.Range , 80, 10, tbTextName.Text) End Sub Could you help me Thanks I mean this two instruction... X = Globals.ThisDocument.Application.Selection.Information(Microsoft.Office.Interop.Word.WdInformation.wdHorizontalPositionRelativeToPage) Y = Globals.ThisDocument.Application.Selection.Information(Microsoft.Office.Interop.Wor ...Show All

  • .NET Development A transport-level error has occurred when receiving results from the server.(Provider:TCP Provider,error:0-The handle is inv

    Hi, I am using SQL Server 2005 as backend in my Web Application, while trying to retrieve data from the database; I am getting the following error: A transport-level error has occurred when receiving results from the server. (Provider: TCP Provider, error: 0 - The handle is invalid .) But I am getting this error randomly. Can some one help me out Waiting for your response Sudhakar Hi Ryan, No its not a linked server. We have hosted a website on our client server ...Show All

  • Visual Studio Express Editions After November

    After November will i have to pay for both the Express and the PSDK , or only for the express I also wanted to ask what does the .iso include. thanks in advance for your answers I cannot say with regards to the Platform SDK however I can tell you that the original 'free for a year' offer on the Express Editions was extended and the current wave of them are and will remain free. If that will be the case for the next version it is anyone's guess at this point. ...Show All

  • Windows Live Developer Forums Problem with polylines in Firefox with 2 maps

    I found a bug of VE in Firefox when i add 2 or more maps in the same html page; when i add polylines to both the maps, panning the first map causes misaligning of the polyline. This happens only on the first map, the second one works fine. Are there any workarounds The code is below: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head > <title>Pagina senza titolo</title> <script type="text/javascript" src="http://dev.virtualearth.net/mapcontrol/v3/mapcontrol.js"></script> <style> <!-- .MapDiv ...Show All

  • SQL Server Upgrade 2node cluster

    Hi There I have upgraded many standalone sql server instances however never a cluster. I have an active active 2 node cluster. Each running an instance of Sql Serevr , 1 default and the other a named instance. All i can find in BOL is " How to: Upgrade to a SQL Server 2005 Failover Cluster (Setup) ", however this does not tell you how to upgrade and existing cluster. Is there anything different Will the upgrade detect the cluster and upgrade binary files on both nodes automatically etc In other words is there anything different i have to be aware of when upgrading sql server instances cluster Thanx Once I found the Setup Help and read through the sections on clustered serve ...Show All

  • Visual Studio Global/Module level properties?!

    hi,i'm creating build file for our project. i've created a property group containing some default values: <PropertyGroup> <BaseDir>$(MSBuildProjectDirectory)\..</BaseDir> <CodeDir>$(BaseDir)\Code</CodeDir> ... <BuildConfig>Debug</BuildConfig> ... </PropertyGroup> now, i've created 3 targets: release, debug and build. the build target is doing the real work: <Target Name="Build" DependsOnTargets="Prebuild"> <Message Text="Compiling '$(BuildConfig)' ..." Importance="High" /> <MSBuild Projects="@(ProjectFiles)" StopOnFirstFailure="True" Properties="Configuration=$(BuildConfig)" Targets="Bu ...Show All

  • SQL Server Reporting Services 2005 on a separate server

    I recently installed an instance of SQL Server 2005 on a server that didn't have IIS. I received an error notification in the install logs that some components of SQL Server would not work. This lead me to wonder if Reporting Services 2005 truly can be installed on a separate server and run efficiently, so I pose the question to anyone out there who has had success doing so. Does IIS need to be installed on a server running an instance of SQL Server 2005 even if Reporting Services is not installed and is intended to be installed on a separate server Any installation recommendations in installing RS 2005 on a separate server Hi, some short answers, I hope they are suffiecient to your questions: RS needs IIS ...Show All

  • Visual C++ Singleton syntax for managed code?

    Is there an appropriate syntax for a singleton for managed code The classic, basic singleton is: -- [code] class Singleton { public: static Singleton* Instance(); protected: Singleton(); private: Singleton(const Singleton&); static Singleton* xinstance; }; //implementation: #include "Singleton.h" // Implementation Singleton* Singleton::xinstance = 0; Singleton::Singleton(){}; Singleton::Singleton(const Singleton&){}; Singleton* Singleton::Instance() { if (xinstance == 0) { xinstance = new Singleton; } return xinstance; } [/code] How does the aboive change for managed code beyond adding the "ref" keyword before the class declaration I'm not sure what you're try ...Show All

  • Windows Forms Acquiring Deployment Info from VB

    I've created a simple project in Visual Studio .NET 2005 Professional according to the information from the following link: http://msdn2.microsoft.com/en-us/library/49b92ztk(vs.80).aspx I've added various steps to the installation side of things and would now like to be able to acquire customer details etc from the vb code. Can someone kindly provide me with a link to a working example or even better still, kindly show me how Thanks in advanced It's a bit tricky to customize it much further. There are some things you can do with custom actions, but once you go there you are kind of on your own to make sure that your custom actions do appropriate things and by the rules. With a VB or C# cus ...Show All

  • SQL Server MDX Calculated Members with Reporting Services

    Hi all, I have an analysis services 2005 cube with a lot of Calculated Members (for example I have a "Sales Volume in kg" and a "Sales Volume in squaremeters (m2)" and a calculated member "Sales Volume in g/m2" with (kg * 1000 / m2), and so on. This Measures should be shown with a hierarchical Product Dimension in which I can drilldown from a level1 to a level 4. Sales Volume (g/m2) -------------------------------------------------------------------------------- Level1 Level2 Level3 Level4 Level4 Level2 Level3 Level2 I can select them all with a MDX Query in the Data-part of reporting services. In the layout-part, I have a matrix-control ...Show All

  • Visual C# overloading == operator in c# fails checking for null values

    Hi, I have developed one class called CProductInfo providing == and != operator features. I have one problem. When I use this class in my program, say CProductInfo product = null; and later, when i check for emptiness, if (product==null) it returns false as if the product instance is not empty. I tried various ways to eliminate this run-time error, but it just does not happen. Also I don't think there is use full tips on net for this. Can someone help Thanks in advance - Constantine <<<< THE BRIEF SOURCE CODE FOR CProductInfo IS BELOW >>>>>   using System; using System.Data; using System.Data.SqlClient; using MyDataLibrary; namespace ProductManager2006 {  public ...Show All

  • Visual C# Thread Synchronize Question - Event Flags?

    I have a thread that waits to be kicked into action by one of 2 other threads. And depending on which thread kicked the thread it will take different actions. I have looked at the Monitor, Semaphores and Mutexes but none of them seem appropriate as they will . I know in some RTOS there is an event group that has a set of flag bits that can be set, and based on the bit set the kicking thread can be determined. Any Suggestions Mario, I have been playing with the WaitHandle.WaitAny() and this looks like it will accomplish what I need. Although I am still trying to determine where best to store the array of WaitHandle[]. Thanks for pointing me int he right direction. Liam ...Show All

  • .NET Development XML Serializer Web service show files and folders

    i am having difficulty in making a web service that show files and folders on the CD in CD Rom , i am trying to return files names and extension but it returns an error which is System.IO.DirectoryInfo cannot be serialized because it does not have a parameterless constructor. I Dont have any idea about serialization Any help or suggestions would be much appreciated. Thanks WebService (ASMX) use XmlSerialzier to read/write WebMethod parameters and return values, this put restrictions on what types you can use in your web method definition. One of the requirements, imposed by the XmlSerializer design is the presence of the default (parameter less) constructor, so because t he DirectoryInfo does not have the requi ...Show All

  • Visual Studio Express Editions Left side solicits unassigned variable error

    When assigning a value to a variable, I get the error Use of unassigned local variable 'outgoing' The compiler is complaining that the variable on the left side of the equals sign has not had any value assigned. I have two problems with this: First: I understand that the new used in the class should set all array members to zero. And second, this is on the receiving end of the assignment. What does it matter if it has not had a value assigned. Its getting one now. I used the same structure as the incoming argument in that called procedure Update_Raw_Data() and it compiles without error. This is the only error in the project. There simply must be something I cannot see. Please clue me in. If needed, I can zip and email the e ...Show All

  • SQL Server Can't get IntegratedSecurity with JDBC driver

    Hi; I used SQLServerDatabaseMetaData (which requires a connection to return this data which seems unnecessary) to get: name: Microsoft SQL Server 2005 JDBC Driver version: 1.1.1501.101 Passing a url of: jdbc:sqlserver://localhost:1433;DatabaseName=Northwind;IntegratedSecurity=true I get the error: Oct 7, 2006 3:46:09 PM com.microsoft.sqlserver.jdbc.AuthenticationJNI <clinit> WARNING: Failed to load the sqljdbc_auth.dll Exception in thread "main" com.microsoft.sqlserver.jdbc.SQLServerException: This driver is not configured for integrated authentication. I copied over x86\sqljdbc_auth.dll and then it worked. I assume this is required with the jar file. This leads to a couple of questions: What are the files ...Show All

©2008 Software Development Network