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

Software Development Network >> Mike asp's Q&A profile

Mike asp

Member List

visting
thegrinch
jsidway
Rana Basu
moriarty
visc
SirThomas
Havoc
David d
Temple
TKDGirl2
Umberto
coconut113651
Frank zhou
Shailaja
Piotr Trojanowski
Kevin Irl
John T. Campbell
N Lyons
punkrock
Only Title

Mike asp's Q&A profile

  • Windows Forms Object not valid or not registered error?

    I have created automation process using console application. The app reads emails in outlook’s inbox folder, saves attachments, reads saved attachments (.xls file), copies values from attachments to text file and copies text file to FTP server. The app is scheduled to run at 7pm everyday. It works fine on my development machine. But when I install and run it&nbs ...Show All

  • Visual Studio Team System XslCompiledTransform.Transform throws private Exception (XslTransformExeption)

    This is a cross post from the "XML and the .NET Framework" group: I have come accross a problem (design bug ) in the XslCompiledTransform. If an exception occurs in the transformation it is of type XslTranformException. This exception is declared in Assembly System.Data.SqlXml and it is declared as private . Now: I have a unit test (Microsoft.VisualStudio.QualityTools.UnitTestFramework) that intentionally feeds the XslCompiledTransform false input to provoke an exception, but I can not declare the testmethod to expect this exception. I consider it a design flaw to propagate exceptions that are private. I will crosspost ...Show All

  • Visual Basic Counting Letters in a string

    Hello,  I am trying to get VB to count how many A's B's C's D's E's etc... that are in a  declared string, can someone tell me how to do this. thanks Ray RFeather[AT][NOSPAM]chstaffing.com Dim aCount As Integer =  0 Dim bCount As Integer =  0 Dim cCount As Integer =  0   Dim myString As String =  "aabbccc" Dim i As Integer For  i = 0 To  myString.Lengt- 1  Step  i + 1      Dim charAsLower As String =  myString(i).ToString().ToLower()      Select Case  charAsLower  & ...Show All

  • Visual C# SDK for software license keys?

    Hi, We need an SDK (or a method) for adding license keys for our software. We would like to provide trial versions and paid versions of our software. At this time, it does not need to be very advance, but we would like to restrict usage somehow. Can anybody suggest a good SDK (or way) to do this (Does this kind of tool come with Visual Studio or as a plug-in / extention ) Thanks :-) There are some nice tools availeble for this, for example: Software Shield . But you asked for a simple not to advanced trail version. Then you can create your own, just store the time of installation somewhe ...Show All

  • Visual Studio VSS Automation - VSSItem.Add problems

    Hey everyone, I'm sure this is a simple fix, but I just seem to missing something... I am using the C# COM wrapper with InteropServices. I have tried all the below calls, and they return the error below: tempParent.Add("C:\\index.html", "File promoted from DEVELOPMENT", 0); tempParent.Add("C:\\index.html", "File promoted from DEVELOPMENT", ( int )Flags.VSSFLAG_DELNO ); L07_Debug 7/25/2005 11:25:53 AM PC127782 SSEXP.EXE Testing Ciosor.GetItem - Creation Loop - ERROR: System.Runtime.InteropServices.COMException (0x8004D694): Error loading resource string    at SourceSafeTypeLib.IVSSItem.Add(String Local, String Comment, Int32 iFl ...Show All

  • Visual Studio 2008 (Pre-release) WPF/XAML for WinXP

    Hi, everyone! Question about WPF, but not about Vista. Whether any release of WPF/XAML for WinXP is planned With best regards, Dmitry     Do you mean - just a pack of WPF (without WCF, WWF components) SDK, Runtime - for Win XP ...Show All

  • Visual Studio Tools for Office PivotTable Total From Database

    hi, i'm trying to create a PivotTable in which I will be able to see totals coming from the database, not a calculated total field performed by the PivotTable. The data are structured with a hierarchical dimension for wich values are existing for each low level detail item and also for the high level detail item. Is it possible to create a PivotTable based on a ROLAP(with SQL query) access that provide this kind of result (with total from the database). For example, with the following table of data, I want to produced a PivotTable with 2 columns (E1Dim2 and E2Dim2 values) and 2 rows (E1Dim1 and E2Dim1 values). The PivotTable values are 100 ...Show All

  • .NET Development duplicated assemblies

    Help Please. Yesterday I had some issues with my Asp.net applications so , I decided to repair the .net framework 2.0 installation. I did this action in ADD AND REMOVE PROGRAMS in my windows2000 machine. Everything was very good.... but today I notice that I had lost 4GB of my hard disc, then I found that all this space is used by duplicated assemblies in my cache (c:\winnt\assembly)... I do not want to reinstall de .net framework because the last time I did this , I had to reinstall all the VS2005 and all the sql server2005 (many hours). The question is , how can I eliminate the duplicated assemblies and do not damage the rest o ...Show All

  • Visual C# Using a Timer

    Hello, Here's my problem, i'll write it in text code: now time = 18.00 turn on alarm = 20:00 start_program(); check_time() if (now time = time to turn on alarm) --> turn on alarm else if(now time = 30min to turn on alarm) --> make a sound else if(now time = 15min to turn on alarm) --> make a sound else if(now time = 5 min to turn on alarm) --> make a sound So I kind of want a timer that know what time it is, so when its 30 min left until the alarm shall be switch on, it'll make a sound. Is this possible   ANd one other thing, how can I say that a timer shall count down from 30 to 0, and when it reaches ...Show All

  • SQL Server Named Sets

    Hi, I defined 2 Named Sets, so as to filter my calculated members: NamedSet1: {([Dimension1].[MyLevel1].&[X]),([Dimension1].[MyLevel1].&[Y']),([Dimension1].[MyLevel1].&[Z'])} NamedSet2: {([Dimension2].[MyLevel2].&[A']),([Dimension2].[MyLevel2].&[B']),([Dimension2].[MyLevel2].&[C'])} It works well, but I didn't manage to use them in the same expression like Sum(Crossjoin([NamedSet1],[NamedSet2], [Measures].[TurnOver]), the result is wrong. Does anybody know how to do that   Regards   Ayzan I wrote a short sample for you that works with ...Show All

  • Windows Forms Prevent insert in a datagrid

    My first question: Is it possible to hide the '*' insert row in a datagrid    My second question: What's the best way to display an uneditable datagrid of a list of data   I won't need to edit it, but I would need to click on the column headers and sort it in the order of that column.   Kinda new to winforms; I miss my&nbs ...Show All

  • Windows Forms Install Error

    Wanted to install it and check it out and it wouldn't work for me (the client install) Got this error:  "Unable to locate the localhost database.  Please contact your network administrator and re-install this application" Then it rollsback everything. Anybody else get it working Do I have to install the server on the same box first or something ...Show All

  • Visual Basic VB Selecting the lowest Integer

    Hello again! The program is coming along great... I have a situation where I randomly generated 4 integers between 1-50 What I want to do next is have the program select the lowest and highest numbers from the 4 different dim integers. Can anyone out there lead me in the right direction thanks! Hey i want to be able to sort number into ther corect order i have the number 1-10 in text boxs out of order of course how would i make the compuer sort them into there corect order each time the go button is pressed ...Show All

  • Visual Studio Express Editions How to set a date field to null

    I have a bound text box showing a date field and I can enter a date into this no problem and save the changes. I have spent the past two days trying to find a way to allow the user to delete the date i.e. set the field back to null! I have found several articles on the net but nothing that provides an answer or explains why something that should be simple should be so hard!! DateTime is not a nullable type. If it's nullable in your db, you need to allow it to be set that way in your UI, and use DBNull.Value as what you pass into the DB if that condition exists, instead of a datetime. ...Show All

  • Visual Studio Express Editions Hourglass flickering in Visual Web Developer

    I get this problem constantly while writing ASP.NET pages in VWD 2005 Express. When I first start the program and open some aspx pages up, the hourglass stays off as it should. After a while, though, while the mouse pointer is held over the source code view of any open aspx page, the hourglass starts flickering on-off in roughly half second intervals, as if VWD is doing some syntax checking or something in the background. The only way to stop the flickering is to close and re-open VWD. This behaviour is of course very annoying, and I'm surprised to see nobody else appears to have posted about it... Please say somebody else has noti ...Show All

©2008 Software Development Network