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

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

dstorch

Member List

hcaihao
Kernel Panic
Alok Thakkar
Rattlerr
Gene R S
StyleStyle
Ilia
Mystagogue
rjevans
Javfarary
ElliotHC
kewpcg
chandrala
ShrikantBijapurkar
Vic02
laboremus
Raulsassaa
b182f117
kshill
John123
Only Title

dstorch's Q&A profile

  • Windows Live Developer Forums Daily Report

    Hi, Anybody can say me the reponse to the following question How I can receive whole daily report as when I tried to specify startDate = endDate, then report isn't respective with MSN UI Report... A gathered contains data lesser than in MSN... Should I specify date like 2007-02-15T12:00:00... Thank you Hi Shai,  This sample doesn't help me, as there isn't any information re HOW to recieve the daily report - the report that will include whole day... Serg   ...Show All

  • Windows Forms DisplayIndex of the DataGridView not properly working

    Hello, I am using a DataGridView control on my form (VB net language: I don't know if the issue exists in C#...) and I allow the user to re-order the columns. On the FormClosing event, the DisplayIndex of the columns is retrieved and saved for the user. So far, so good. My problem is when I try to obtain the DisplayIndex while the form is activated, the returned information is not correct; In other words, although the user moves the columns around, the DisplayIndex of the columns remain unchanged until the form is deactivated. It keeps the original ordering.... Is this a bug or am I missing something Thanks for any feedback, I really need to know... Hello Ken, Unfortunate ...Show All

  • Visual Studio Tools for Office Office 2007 - Interop - Excel

    Hi specialists, I 'm trying to create a graph in Excel 2007 using Office interop in Visual Studio. The intention is that I create the Graph .. save it as a Jpg and then show it in Visual studio. The code I have, which doesn't work is: This isn't really the right place, either. Interop questions should be posted to the office.developer.automation newsgroup . But first try putting your code into a Try...Catch block so that you can do some proper error handling and extract the best information concerning the problem you're seeing. Also, which beta version of Office 2007 are you automating ...Show All

  • Software Development for Windows Vista NLA API documentation

    Where can I find the latest information on the Network Location Awareness API for Vista The only document I can find is quite outdated (from WinHEC 2005 - April 18, 2005) Regards, Fernando Thanks Cathy, I'll check this out. Regards, Fernando ...Show All

  • SQL Server reading partitions when a dimension is being queried

    Hi, something I am not able to understand, I have a dimension which contains about half a million records and about 25 attributes, no hierarchies and all attributes are related to the key (have to change this). The dimension key is pointing to a fact table which is partitioned with one partition per day in the cube. in BI studio browser, if I drag and drop only one attribute of the dimension to the row field, and check the profiler it displays the following: MDSCHEMA_SETS: <RestrictionList xmlns="urn:schemas-microsoft-com:xml-analysis"> <CUBE_NAME>abccube</CUBE_NAME> <CUBE_SOURCE>3</CUBE_SOURCE> </RestrictionList> MDXQUERY: Drop visual totals for [abccube] MDXQUE ...Show All

  • Visual Studio Team System merge /discard command problem

    Hi, We have two branches "main" and "prod" in TFS. I have a question on running merge command after "merge /discard" operation. The followings are the steps to reproduce this: Two branches: $/Test/main/AssemblyInfo.cs $Test/prod/AssemblyInfo.cs Change version number on the both AssemblyInfo.cs files. In "main" branch, it is "1.1". In "prod" branch", it is "1.0". Run merge /discard from "prod" to "main" branch to discard this change. Change "prod/AssemblyInfo.cs" file to add a new line at the end of the file. Run merge command to merge this change to "main" branch. Both the new line and the version strin ...Show All

  • .NET Development NetworkStream.Flush() disabled at NET 2?

    Hi! My program sends more than one msg at a time, and I wanted to avoid the reciever to recieve it as one msg, eg: server.send("123"); server.send("abc"); the reciever would get "123abc".           <<<<<---- not wanted ! I tried to use Flush() but it seem not to be working, plus, in the function description it's says something like "This method is reserver for future use."...... Any suggestions good people I got a case where multiple clients may write on the same connection (like if clientA writes to the connection, ClientB as well as the server will receive the data). In this case we use CRC to check for message integrity but it seems I have an issue ...Show All

  • Visual Studio code window placement add-in?

    In VC6 this macro worked; sub Application_DocumentOpen(theDocument) [snip] theDocument.ActiveWindow.Height = 1000 theDocument.ActiveWindow.Width = 680 theDocument.ActiveWindow.top = 0 theDocument.ActiveWindow.left = 0 end sub Now I'm trying to do the same thing in VS2005 with an event handler add-in; Public Class EventsClass Public WithEvents DocumentEvents As EnvDTE.DocumentEvents Private Sub DocumentOpened(ByVal Document As EnvDTE.Document) Handles DocumentEvents.DocumentOpened MsgBox("Hello") [snip] Document.ActiveWindow.Top = 0 Document.ActiveWindow.Left = 0 End Sub End Class I get the event registered ok (confirmed with the Hello msg) but the window is placed ...Show All

  • Visual Basic try,catch, end try problem

    Since 2002 I've been using try, catch, end try just like all of you have.  I have many completed projects where it worked fine. Right now I've been reading a book of generics and started an example.  For the first time, I typed try, pressed enter and got the usual Try Catch ex As Exception End Try The problem is Exception is underlined and says a type is expected.  If I substitute a particular exception it works fine, but Exception itself demands a type. I opened up an old project and Exception wasn't underlined.  Below the block I type try pressed enter and Exception was accepted. Just as a test in the new example project I added a new windows form.  Here's the code Public Class ...Show All

  • Visual C# "PInvokeStackImbalance was detected" error when opening Crystal Report Viewer

    Hi, I am trying to load a crystal report using c#. My form has the CrystalReportViewer control on it. When the form is loaded, i get the following error: PInvokeStackImbalance was detected Message: A call to PInvoke function 'CrystalDecisions.Windows.Forms!CrystalDecisions.Windows.Forms. :: b' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling convention and parameters of the PInvoke signature match the target unmanaged signature. It occurs in the InitializeComponent method, on this line: this.crystalReportViewer = new CrystalDecisions.Windows.Forms.CrystalReportViewer(); Any ideas on how to fix this error ...Show All

  • SQL Server hopefully an easy one

    I need to determine the top 20 most frequent occurences of a value in a specific field using SQL. This query is from SQL 2005; select top 20 c . system_type_id from sys.all_columns c inner join sys.systypes st on c . system_type_id = st . xtype group by system_type_id   or something like this select top 20 st . [name] from sys.all_columns c inner join sys.systypes st on c . system_type_id = st . xtype group by st . [name] ...Show All

  • Visual Studio Team System Setting for URL in Reporting services

    Hello, When viewing the project portal and drilling down into the Work Items report, the ID links href is not showing the fully qualified URL. It links to: http:<servername>:8080/WorkItemTracking/Workitem.aspx artifactMoniker=xxx instead of http:<servername>.ucr.edu:8080/WorkItemTracking/Workitem.aspx artifactMoniker=xxx I have looked all over the server in XML and config files, Sharepoint and Report Server configuration, the database tables, and in the registry, but can't find where this value is being set. I have run TFSAdminUtil activateat, and that hasn't fixed it. Does anyone know where else I can look Thanks, James We are getting close James. It seems ...Show All

  • Microsoft ISV Community Center Forums VBA Outlook - File Stream issues

    I am trying to write a script triggered from an Outlook email to parse the email (as a text file) and then update an excel spreadsheet with specific data extracted from the email. The email is a form email delineated by a "/" for field breaks and "//" for end of line. However, when I create a text stream to read in the data, the returned string does not include these delineations. Here is a copy of the code I am currently using to open and read the file. I don't want to open the entire email as a new workbook, so I can't use the workbook function. Set fs = CreateObject("Scripting.FileSystemObject") Set ts = fs.OpenTextFile("file.txt", ForReading, TristateTrue) check = True Do s = ts.Readline endlinepos = InStr(s, "//") Do While en ...Show All

  • Visual C# Debugging a multithreaded app

    Hello all I have an app which is divided into two main components which are decoupled from one another by the use of an event mechanism. The only way the two components communicate with one another is by firing and responding to events (one component is consistently the caller, the other is consistently the callee). You can find more background on this particular app's issues in this post but some of that information is now outdated. Basically I have a static object in the caller component which fires an event to the callee component which results in the callee loading a component in a COM DLL via an RCW assembly. Originally, the COM DLL was not being properly released at the end of execution but after moving the 'unloading' code up into t ...Show All

  • .NET Development XmlSchemaSet and ref attribute

    Hi, I'm trying to add a xmlschema to a xmlschemaset using XmlSchemaSet sc = new XmlSchemaSet(); sc.Add(null, "pingSchema.xsd"); But it doesn't work unless I skip the ref attribute in the schema. This does not work; < xml version="1.0" encoding="utf-8" > <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="PingMsg"> <xs:complexType> <xs:sequence> <xs:choice> <xs:element maxOccurs="unbounded" name="ping" ref="CTES_Ping" /> <xs:element maxOccurs="unbounded" name="pong" ref="CTES_Pong" /> </xs:choice> </xs:sequence> </xs:com ...Show All

©2008 Software Development Network