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

Software Development Network >> mae ann's Q&A profile

mae ann

Member List

Priyanka Choughule
TJ2007
Andrius Bolsaitis
craven50h
Andrew Mercer
L Bailey
BrentHecht
Wellnow
Amit Online
Gliksman
Mike Wachal - MSFT
ZopoStyle
twaltz
Steve Strong
Zhen
Viktor78
Abelard
Johan Nordberg
LeoXue
Pepp
Only Title

mae ann's Q&A profile

  • Visual Studio 2008 (Pre-release) FlowDocument text leading

    Hello, any of you know how to change the leading (space between lines) of the text of a paragraph in a FlowDocument. Thanks a lot !!! change the paragraphs margin and padding to 0 ...Show All

  • SQL Server RECEIVING from QUEUE by ConversationHandle

    Is it possible to receive from a queue by a conversation handle In the documentation there is an example that show you how to do it. Yet, if you "read" the whole document it says that the conversation handle can not be an expression. The WHERE clause of the RECEIVE statement may only contain search conditions that use conversation_handle or conversation_group_id . The search condition may not contain any of the other columns in the queue. The conversation_handle or conversation_group_id may not be an expression. Here is what I'm trying to do: ; RECEIVE TOP ( 1 ) @MsgBody = CAST ( message_body as XML ) FROM ProcessingLetters WHERE conversation_handle = @Conversation_Handle It doesn't seem to mat ...Show All

  • SQL Server List SSRS2005 items on treeview

    Hi all, I'm creating a Custom web interface for SQL Server reporting services 2005. What I want to do is populate a "Navigation Treeview" component in asp.net 2. How would I get all the catalog items and items from the web API and populate my treeview Thanks Any chance you could provide the code used for LoadTree I'm stuck trying to figure out how to programmatically build the nodes from the CatalogItem. Thanks, Kel ...Show All

  • Visual Studio Tools for Office RibbonX - gallery like the styles one?

    Hi, maybe I'm blind a little bit, but how can I make the gallery like Styles in Word 2007 - that is, having the items on the Ribbon rather in drop-down menu Thanks, Jan Hi Miloush Have you tried discussing this question in the office.developer newsgroups There are a few people over there with a fairly good grasp of the Ribbon who never come by here... You'll find a list of some of the groups (that will get you to the interface) in the " Please Read First " posting at the top of this forum. ...Show All

  • Visual Studio Team System Web projects transferred from VSS to TFS give mapping error

    I am in the process of moving a solution from VSS to TFS. The solution consists of a number of projects, and one of these projects is a web project for remoting. When I try to bind the new TFS source control, the web project will not bind, and when I try to open the soulution I get the error "There is no working forder mapping for <local machine path to the place in the web tree>. Can anyone tell me what is happening here and how to correct it Do I have to remove the web project and recreate it TIA Ron L Here's what I always do to ensure Web projects are downloaded from source control to the correct location and NOT to c:\inetpub\wwwroot. Create the local folder that maps to the Web project and maps to source ...Show All

  • .NET Development ProcessStartInfo ENVIRONMENT & UseShellExecute

    I am setting UseShellExecute = false in order to redirect stderr and stdout. This flag then tells Process.Start()  NOT TO USE the cmd shell to launch the process. However I am seeing that it (UseShellExecute = false) also has the side effect ignoring any environment varibales that are set in  the ProcessStartInfo (psi)  variable associated with this process. I understand that it will IGNORE psi.WorkingDirectory, the documentation says that.  I was hoping if I set PATH using psi.Environment.Add("PATH","C:\somedir") that when the process is launched would look in "somdir" when launched and I would not have to explicity set the path to "C:\somdir\myprocess.exe" in order to execute it. I guess I am askin ...Show All

  • .NET Development Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool

    Hi My application is working with a DataBase server which is connected through VPN. Some time i get an exception like... "Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached. Inner Exception:>>" Can you please let me know if you have come across any such scenario in your application & any solution for it You need to do 2 things to fix the issue: 1) Increase the Connection Timeout. By default it is 30 seconds. You can assign your own value to it. 2) As other than timout you are also getting the error that "the The timeout period ela ...Show All

  • Visual Studio Express Editions problem with assigning values to cells in excel

    Hi. VB don't want to asign values to excel cells, this is my code: Dim oExcel As New Excel._ExcelApplication Dim oWorkbook As Excel.Workbook = oExcel.Workbooks.add oExcel.Visible = True oWorkbook.Worksheets.Add() Dim xlws As Excel.Worksheet = oExcel.oWorkbook.Worksheets.Item(1) xlws.Cells(1, 2) = "Number" Please help me!!! Any sugestions hey DMan1 it works so far I'll replace the code and see what I'll get. Thanks a lot. PS: Program worked on my computer but when I installed it on another that stupid error with excel came out. Why is this happening We both use office 2003 ...Show All

  • SQL Server Lookup transformation using effective dates

    Hi, I need to perform a lookup based on a business key and a date in the source that must be between an effective from and effective to date in the reference table. I've been able to achieve this by updating the SQL caching command on the advanced tab but the performance is very slow. I have 6 lookups of this type in the data flow with a source SQL statement that returns approx 1 million rows and this package takes over 90 minutes to run. The caching SQL command now looks like this select * from (select * from [ReferenceTable]) as refTable where [refTable].[Key] = and BETWEEN [refTable].[StartDate] AND [refTable].[EndDate] and I've set up the parameters so that the business key is the first parameter and the source date is the ...Show All

  • Smart Device Development Windows mobile 5 - using tapi

    Hi, I try to use tapi.dll to manage modem connection. Here http://msdn.microsoft.com/library/default.asp url=/library/en-us/wcetapi/html/cmconTelephonyAPI.asp I found some information about tapi.dll and coredll.dll. I'm quite confused which dll I have to use. I wrote this code [ DllImport ( "Tapi.dll" , EntryPoint = "lineInitializeExW" , CharSet = CharSet .Auto, SetLastError = true )] private extern static Form1 . LineErrReturn lineInitializeEx( out IntPtr hLineApp, IntPtr hAppHandle, LineCallBack lCalllBack, string FriendlyAppName, out System. UInt32 NumDevices, ref System. UInt32 APIVersion, ref Form1 . lineinitializeexparams lineExInitParams); But ...Show All

  • Visual Basic VB Upgrade Wizard problem

    Hi, Am having issues upgrading from VB6 to VB.Net 2003. I am getting error messages and the following output (the names have been change to protect the guilty ): < xml version="1.0" encoding="utf-8" > <UpgradeLog Upgraded = "True" > <Settings> <Setting Name = "LogFile" Value = "test.log" /> <Setting Name = "GenerateInterfacesForClasses" Value = "FALSE" /> <Setting Name = "ProjectName" Value = "test" /> <Setting Name = "OutputName" Value = "test.vbproj" /> <Setting Name = "OutputDir& ...Show All

  • Visual C# error message: An object reference is required for the nonstatic field ....

    I am getting the error 'An object reference is required for the nonstatic field, method, or property ' when I attempt to run my client application. I am not sure what is wrong and the documentation on this error (#CS0120) in the VS.NET IDE is confusing to me. Does anyone know what I am doing wrong MY code is below. People is a collection class and myPeople is obviously an instance of it. Because the error appears to involve the client code and not the class library with the implementation of People, I did not include that code. I could if it would be helpful. Thanks for any help. using System; using PeopleLib; namespace Ch11N01 { /// <summary> /// Summary description for Class1. /// </summa ...Show All

  • Visual Basic Generate Email

    After the user click on a button, the system will compose the email content and title and send it according to the provided email address. May i know how to do this Thank you. Hi, See this thread.>> http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=115803&SiteID=1 It is also so popular it is on the right-side of this area's window as a link too. Regards, S_DS ...Show All

  • Software Development for Windows Vista Breakpoint not being hit while debugging

    Hi, I'm working on a POC using Workflow Engine. Its a sequential workflow. I'm instantiating the workflow on selection of a list box item. The problem is that, I'm unable to debug the workflow. I've put a breakpoint on one of the activities to debug through the code. The Breakpoint is not being hit by the debugger. Please help. Thanks Matt, but what if I want my Windows application & not the workflow project, to be the startup project Actually, I'm starting the workflow from my Host Application (Windows Application), in some event handler. ...Show All

  • Software Development for Windows Vista Bug? InvokeWorkFlow activity used with Sequential Workflow hosted in Console App

    I've been experimenting with InvokeWorkFlow activity and found what I think might be a bug with the logic in hosting code for the console app.  In the Main method, the WF runtime is instantiated and the started passing in the type for WorkFlow1.  Before it starts the workflow however it wires up a handler for the WorkflowCompleted event that when called sets a AutoResetEvent which the main thread uses to terminate the WF runtime and end the app.  So here's the problem.  I have a workflow that uses InvokeWorkflow activities to invoke 3 separate workflows that I want to run asynchronously.  However, after calling the InvokeWorkflow activities, the Workflow1 sequence ends firing the WorkflowCompleted event.  Thi ...Show All

©2008 Software Development Network