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

Software Development Network >> Casey Shaar's Q&A profile

Casey Shaar

Member List

ZebSoft
IrishAnto
Golobulous
Rhialto
Eldar Musayev
sean2078
NACSUS
ebc
SQLDiva
perrymans
RandyTheWebGuy
Mclarenvj
Frank Carty
dddon
ReportUser
wda
m_armstrong
zhaorui
JamesWood
Glenn Wellington
Only Title

Casey Shaar's Q&A profile

  • .NET Development File Size via FTP

    Is there a preferred way to obtain the size of a file stored on an FTP server using the 2.0 Framework The best I've come up with is to contact the FTP server via an FtpWebRequest object, with its .Method property set to W ebRequestMethods.Ftp. GetFileSize. This causes the size to be returned in the FtpWebResponse object's StatusDescription property.  But its preceded by the Status Code value, so I have to parse the StatusDescription to obtain the file size.  That's no big deal.  But oddly, the FtpWebResponse object has properties that return the parsed value of replies such as the file's date of last mod ...Show All

  • Windows Forms Background image resources cause VS error

    I have a few buttons on a Windows Form that I am applying an image to (or a background image). Things look fine in the designer, until I close the tab for that Form or leave it and come back. Then I get the following error message and I cannot view the Form in the designer: One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes. The designer then proceeds to give me an error for every image resource, along the lines of: MyProject.Properties.Resources has no property named ImageName Any idea what's wrong with ...Show All

  • SQL Server Null and Multi-value parameter possible?

    Does anyone know how to allow null values in a multi-value parameter The parameter is passed to a stored procedure which handles the null values. The parameter represents a hierarchy in which none, any or all values can be selected. However, the report parameters cannot be setup to be both Multi-value and Allow Null. When I try to submit the report it requires a value to be selected. I have also tried to add a Null value to the parameter list: SELECT NULL AS Level1ID, 'None' AS Level1Name UNION ALL ... But this doesn't show up in the parameter list, is the Multi-value filtering off the null How can I configure both multi-value and null to b ...Show All

  • Visual Studio Team System 'Unable to connect to BIS Server' when starting VS Client

    I have been using TFS successfully for a while, but keep receiving the following error: 'Unable to connect to BIS server' when I startup VS 2005 as it attempts to connect to TFS. In addition after successfully establishing the initial connection and attempting to submit a pending change I receieve an error stating the 'stream cannot be written'. At this point I cannot reconnect. I have made no permission/users changes since installation so do not see that this as a permissions problem. How cannot I test my connection/diagnose this problem Thanks, Nick I had similar issues when I came in to work this morning ...Show All

  • SQL Server Creating a Table Of Contents

    I would like to create a table of contents on the first page in a report I'm working on.  I've been looking around for a couple of days now and have come up with nothing.  I'm wondering if I can hook into the document map to create a custom TOC, if not how else might I be able to do this.  I'm currently using the June CTP.  Any help would be appreciated. Thanks, Brian Schmidt Did you find a solution I am also interested in creating a TOC to be printed from PDF. Do you know if Reporting Services for SQL Server 2005 has the functionality to create a Table of Contents in a report Thanks, ...Show All

  • SQL Server Multiuser Databinding in SQL Server 2000?

    Hi   I am developing one multi user application in windows environment using VC++ .NET with SQL Server 2000. How Can I create dataset for multi user data updating in my SQL Server 2000. Where I can get help and sample code   Thanks Jose Hi Thankyou for the nice explanation. One more question how can I write custom primary key value. for example (50710000001) like this. 5 is for year, 07 is for month, 10 is for place, and remaining is unique automatic generating number. How can I write program in SQL Server 2000. Regards, Jose ...Show All

  • Visual C++ Linker Error LNK1316: duplicate managed resource name ...

    Hi I've converted a managed C++ project from 7 to 8 (VS 2005beta2) and am now getting this error for which there is no online-help.... Error 1 fatal error LNK1316: duplicate managed resource name 'MyProjXY .resources' MyProj.XY Can anyone advise as to what this error means, amd possibly how to get round it Thanks Mark Hi! I have this exact same issue. If I check the "CommandLine" tab under Linker properties, there are NOT 2 occurances of ASSEMBLYRESOURCE however, and everything else looks fine. The when I build, it fails with the same error as described above. When I turn to the BuildLog-f ...Show All

  • Visual Basic How to use DataGridViewControlCollection in place of Control Array of MSFlexGrids

    Hello, I am learning VB2005 by rewriting a large VB6 program. My VB6 program used loads of MSFlexGrids in a single Control Array. Control Arrays are out with VB2005 so I was looking at a way of using DataGridView controls in the form of a collection. The MSDN documentation points in the direction of DataGridViewControlCollection but I cannot decifer how to add DataGridViews to form a collection and then how to access each one in a similar fashion to my VB6 Control Array. My VB6 program loads the MSFlexGrid's in this simplified fashion: For I=0 to MaxFlexGrid With MSFlexGrid1(I) Code to load cells Next I Is the D ...Show All

  • Visual Basic VB.NET 2005 RC - Datagrid issue

    I have an application which uses a datagrid to display a property listing.   The list will contain around a quarter of a million records so I need the user to have a simple way to search. I have built a search routine which allows the user to type some text in to a toolstrip bar and then performs a search through the dataset.   The issue I have is when the routine finds a match, I need it to highlight the row on the datagrid.   This is where I have the problem; I cannot see how to achieve this.   I have tried searching everywhere (Google/Experts Exchange etc) and have seen some pretty ridiculous solutions such as mim ...Show All

  • Visual Studio Express Editions Making EXE files and testing applications

    I am new to this version of visual basic. I am making a Active:Win32 application (just a little one, does nothing) and I want to make a application exe. I don't know how to. There is no thing that says make exe or anything. I used MS Visual Basic 3.0 once and it was easy to create. No debugging or anything I just want to create an exe application and the ability to test it. ASAP Hello. First you need to make sure you've saved your project. When you first create a project in VS 2005 it is temporary until you actually save it to disk. No more hard drive space chewed up by the litter of a thousand little test apps! Once it is saved there a ...Show All

  • Visual Studio Team System Add existing Team project button locks up VS on Beta3 Refresh

    My Add existing Team project button just locks up on Beta3 Refresh Any idea why I have one server connected and it seems to be working ok. Jeff I just figured out that the Add Team Project button locks up because of a multi-monitor bug. For whatever reason when I have two monitors (even thought I am only using the primary one for this) active the dialog is nowhere to be found. After killing VS and turning off the second monitor the dialog shows up. Jeff ...Show All

  • Visual Basic Window Service and SystemEvents.SessionEnding

    I would like to build a Windows service with the SessionEnding event but get the following error when I try to start the service using the following code. What am I doing wrong if this is possible. Protected Overrides Sub OnStart( ByVal args() As String ) AddHandler SystemEvents.SessionEnding, AddressOf SystemEvents_OnSessionEnding End Sub Public Sub SystemEvents_OnSessionEnding( ByVal sender As Object , ByVal e As SessionEndingEventArgs) oXML.LoadXml("<Tests><Test>Sinking event</Test></Tests>") oXML.Save("C:\test.xml") End Sub Failed to create syste ...Show All

  • Visual Studio Team System Integration with SharePoint

    First, I'd like to ask this: Does the installation of SharePoint Server Portal 2003 in any way affect Team Foundation Application Tier In other words, are there any known bugs about this Second, I want to know if SharePoint Services are integrated with Team System or not. For instance, can I check out a word document from within Visual Studio in my Team Project Thank you, Sammy Team Foundation Server currently support Windows SharePoint Services, not SharePoint Portal Server. By the time we ship, the context menu for SharePoint documents in Team Explorer will let you view (read-only) or edit docu ...Show All

  • Visual FoxPro AutoHideScrollbar Property.

    http://www.code-magazine.com/focus/article.aspx quickid=0404052&page=2 Hello Guys, While reading the above mentioned article i came across a problem. The article talks about the AutoHideScrollbar Property Value to be 2, but i have only two options in this property(0 & 1). Is there something wrong. Jitendra Shahani The 2 is definitely missing, and an exception is thrown if you attempt to set the value of the AutoHideScrollbar property to 2 in code.  That was either in the beta and removed in the release (I can't remember seeing it in the beta) or they were going off some erroneous inside info ...Show All

  • Microsoft ISV Community Center Forums licences for Open Src/non-profit projects

    What are MS licencing policies about: - for non-profit organizations - for Open Source projects (in Java) Can u give me any link What is the trial period for: - MS VS .NET 2005 Architect - MS SQL Server 2005 Enterprize Link on download More specifically I am interested on .NET, Office development tools and products Guennadi Vanine Here's the link to the Microsoft Volume Licensing site: http://www.microsoft.com/licensing/default.mspx You'll find a link in the right column under Next Steps to contact a licensing specialist. They would be the best resource to answer your specific questions. This page has details on the ...Show All

©2008 Software Development Network