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

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

Sticky0002

Member List

Douglas H. Troy
engloon
Peter van der Veen NL
meconnell
zhihao
Hatzi74
techsavvy_pat
Zoe Elmo
Keith Hill
David W Hart
kawing0510
Sam Jost
thiers
Galin Iliev
Helen54999
Michael Klucher - MSFT
RMS
Scheinka
StairCounter
devnull444114
Only Title

Sticky0002's Q&A profile

  • Software Development for Windows Vista Design: Loops and Workflow

    The performance hits for while and other canned loop activities are a concern. This brings up a general design question: is WF suitable for enterprise level processing of thousands (possibly millions) of items in loops The performance guidance says to write custom activities for this sort of thing, but that kind of takes away a lot of the benefit of using WF vs. "just code" in the first place. Any thoughts Anyone processing a 2 million line flat file using WF What is a good approach for this using WF or is it not a suitable technology to drive the looping sequence Thanks! I happen to feel confused while reading the book "Essential Windows Workflow Foundation". If " The new chil ...Show All

  • Visual Studio Report with subreport works fine on development server - "Unable to connect" when deployed

    I'm using ASP.NET 2.0 and whatever version of the CrystalReportViewer that comes with Visual Studio 2005. I have a report that uses a dataset as a report source. It includes a subreport with a parameter that links it to the data in the main report. It's nothing fancy - just what gets generated from the "Subreport Links" dialog. Everything works great on my development machine. However, when I run it from my deployment servers, opening the report throws an error: "Error in file <temp file name>.rpt. Unable to connect: incorrect log on parameters." I've traced it down to the Subreport Link. If I don't include a subreport link in the report, everything works great on the server. Of course, I need that link to make my ...Show All

  • Commerce Server Failed to marshall data into the commerce dictionary

    I have extended the OrderAddress class (created MyOrderAddress class, changed OrderObjectMappings.xml and OrderPipelineMappings.xml as detailed here: http://blogs.msdn.com/vkumar/archive/2006/06/28/649896.aspx However, when I start up my site and get to the point where I run the basket pipeline I get the following exception: Failed to marshall data into the commerce dictionary. For more information refer to trace logs. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: Microsoft.CommerceServer.Runtime.Orders.OrderFormMarshallingException: Failed to marshall data i ...Show All

  • Software Development for Windows Vista TransactionScope fails

    Hi, I am using transactionScope and it is failing. I tried DTC Ping as was recommended in another post and it fails to. On the computer I try to ping: ++++++++++++Start Reverse Bind Test+++++++++++++ Received Bind call from DEVELOP Trying Reverse Bind to DEVELOP Error(0x2AFC) at nameping.cpp @62 -->gethostbyaddr -->11004(The requested name is valid, but no data of the requested type was founError(0x6BA) at ServerManager.cpp @453 -->RPC reverse BIND failed -->1722(The RPC server is unavailable.) Reverse Binding to DEVELOP Failed Session Down And on the computer doing the pinging: ++++++++++++Validating Remote Computer Name++++++++++++ Please refer to following log file for details: C:\dtcping\DEVELOP2916.log Invoking ...Show All

  • Windows Forms My .NET form goes behind others after COM goes away

    I have a .NET form written in C# (VS2005 SP1) that instantiates a COM object. That COM object brings up a VB6 form. When I close the VB6 form, my .NET form disappears behind any other forms that happen to be open such as Windows Explorer windows for example. I have to click its icon on the taskbar in order for in to come back to the front. EDIT:  It appears that its not that the form is going behind, but that the window where the task was launched is brought forward, and given focus.  If I run from the debugger, VS2005 gets the focus, and if I run the EXE from a Windows Explorer, then WE gets the focus. Is there a way to keep my .NET form in the foreground Thanks! ...Show All

  • .NET Development return argument has an invalid type

    I'm having some trouble with a .net remoting issue. Our code connects to an Active Directory DB in which records are stored. There are two spots that we have to do this. First there is a Windows Forms User Control that is sitting on a form. The second, and you're going to love this, is the same forms user control embedded into a webpage through an object tag. The scenario with the control and form works without a problem. We are able to connect to AD and transfer information. The web scenario though fails on us everytime. The main exception that we are getting is: System.InvalidCastException:Return argument has an invalid type at System.Runtime.Remoting.Proxies.RealProxy.ValidateReturnArg(Object arg, Type paramType) at System.Runtime.Remot ...Show All

  • Visual C++ what after win32 api? and general programming advice!

    Hie , i'm nearly 16 , i started programming in flash and javascript when i was 13.I moved to VB when i was 14 and also recently made a full fledge application in VB6 .Then i moved to VC 6 some time ago.I know C but NOT C++.I made a few SIMPLE applications in VC using C and win32 API only.and i did'nt forget flash.. i'm still keeping myself updated there! now i got VCE 2005 , and some explained to me that i need to install the PSDK to have win32 api support. I'm still not well versed with VC so i'm reading charles petzolds book on windows programming.Now my question is .. where do i go next.Should i learn C++ and MFC , and when should i move to C++ immediately after i finish this book i have bruce eckel's : thinking in C++ , but does any1 ...Show All

  • Windows Forms Disable/Enable Tab Page

    I read the thread containing information of how to accomplish disabling a TabPage by using OwnerDrawing methods.  Problem is that for some reason, my "disabled" tab is apparently too small for the text.  As such the text ends up getting wrapped to a second line, messing up the text positioning on the tab itself.  How do I increase the size of the actual "tab" of the TabPage Note: I tried adding spacing to the Text property of the TabPage if I found that the TabPage was disabled, but apparently changing the Text property fires off the DrawItem() again, which ended up putting me into an infinite loop. The original thread I found was: http://forums.microsoft.com/msdn/showpost.aspx postid=13047&siteid=1 Actually, ...Show All

  • Visual Studio Tools for Office VSTO 2005 SE - Outlook 2003 Addin - Deployment problem

    I followed every point shown on: http://msdn2.microsoft.com/en-us/library/2ac08ee2(vs.80).aspx On my machine with WinXP prof, VS2005, addin works fine. But on the other machine (test machine, WinXp Prof, VSTOruntime, Office 2003 prof, O2003PIA, .NET FW.2.0) is didn't want to start. I used setup (created with VS05 O2003Addin solution) to install my plugin. I double checked every registry entry and they are fine to me. Could anybody tell me what's wrong Please give me any idea where to start. You might try a machine policy, i.e. -m instead of -u Also check before you restart Oultook in TaskManager if Outlook.exe has really exited when you closed it. -- SvenC ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. persistent backbuffer OR renderTarget (on 360) possible?

    I want to disable backbuffer clear. Though I have removed the Clear from my draw func it still gets cleared to black on Xbox360. Run the same thing on PC and the mystery clear doesn't happen (stuff I'm drawing correctly smears across the screen). I also tried to workaround w/ ResolveBackBuffer to a texture and draw this back at the beginning of each frame but thats not working for me either. In this case my Draw() looks like: Draw Backing Texture using Quad Draw new items ResolveBackBuffer -> Backing Texture I even tried double buffering the backing texture w/ no luck. Thirdly, I tried RenderTargets, but they also seemed to be getting cleared each frame as well! I would think there's gotta be a way for rendertarget contents ...Show All

  • Smart Device Development Why are ListViewItem's and ColumnHeaders so limited

    I just got done creating a BindableListView control in the full framework with a full designer interface one would expect in a 2.0 bindable control. I wanted to port it to the compact framework (where i need it the most) and when doing that I find that 1. CF yells at all my deisgn time only attributes. 2. ListViewItemCollection and ColumnHeaderCollection both do not have constructors and thus I cannot inherit them to give VS the ability to add them via the designer. I can still use my BindableListViewItem and BindableColumnHeader classes but all programmatically and not visually like I wanted. I guess I'm just wondering why those two classes were given no constructors and thus made unable to be inherited The metadata lists a bunch of vir ...Show All

  • Visual Basic HELP

    i need help making a text box with scroll bar i cant find a way to make it every way i find does not work for me The scrollbars will appear if you set the mulitline property to true AND when the text exceeds the size of the textbox. You can also change to multiline on the form by selecting the textbox. You will notice a little triangle in the upper right. Click on it and you can check the multiline box. ...Show All

  • Windows Forms VS 2005 applet deployment

    I've developed a small console application that imports data from a group of Excel spreadsheets using ADO.net, that are spread across a shared network drive . The application works fine when I use it on my workstation with WXP pro. But I try to schedule it and use it on a Windows 2000 Pro Server I get import errors, as if the application is not reading the number values from the spreadsheets. I've checked the ISAM versions and their the same so I'm stuck. Any Help would be appreciated Thanks HC Thank you for your quick response. The application all it does is upload Excel data to a SQL db , for whatever reason in WXP Pro it will read the numbers and the strings from cells on the Spreadsheet, but ...Show All

  • Visual C++ GUI Development

    Hello guys, I have a plan and i want to know if its possible using visual c++ .net 2005! Any input will be welcomed! My Plan: I want to create a GUI for a microcontroller in which i can write the codes, compile, debug, drag commands to editor windows with pop up information, bind simple data files containing parameters of the different devices i want to write codes for,make some wizards(for clock settings etc). Has anyone tried this using visual c++ .net 2005 express edition Is it Possible to do this Is there a integrated source code editor or i have to use an external one Help me... Thanks Ritchie! Can you please be a bit more specific what extra work do you expect in this regard...co ...Show All

  • Visual Basic Open and Close DB Connections

    Hi there people, I am in the process of creating a DAL for my application. I have created all the functions to query\insert\update the data in a set of modules for each table. My issue\question is. I cannot decide how to handle the connection to the database..i.e. the open and close of the connection after each query\insert etc has fired. here is a brief layout of my module i have created public SQLCON for connection and SQLCMD for the command objects then I call them from each function. Is that an ok efficient way of doing it or is there another way, although this works with no problems I am not convinced it’s the correct way. Imports System.Data.SqlClient Module pathsDAL Public SqlCon As New SqlCon ...Show All

©2008 Software Development Network