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

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

StuartPreston

Member List

patmur
Alexander Lowe
mikeroberts23
ckris
atame
Gareth Welch
ilia7
JRusty
ACHawk
The Edge also develops software
Zilla
James D. Wright
xlthim
ltaylor934
Zoheb Vacheri - MSFT
anders_o
bmaupin
SamLowry
Pedro Silva
Rick B.
Only Title

StuartPreston's Q&A profile

  • Visual Studio Adding DataSource to a ReportViewer dynamically

    I have a ReportViewer in which I dynamically loaded a RDLC file (Local Processing mode). I need to provide the data to the ReportViewer so I try to add a new ReportDataSource object to the ReportViewer.LocalReport.DataSources. All I get is an ArgumentException with the message "Value does not fall within the expected range" sqlConnection1.ConnectionString = ConnectionString(connectionRef); sqlCommand1.CommandType = CommandType.Sto ...Show All

  • Visual Basic VB Excel Macro - saveas filename with current date attached.

    Hi, on the general forum I posted my question asking how I could do a 'saveas' file name that included the current date. A solution was suggested to me but it doesn't seem to work: ActiveCell.FormulaR1C1 = "0001" Columns("I:I").Select Selection.AutoFilter Selection.AutoFilter Field:=1, Criteria1:="Pending" Cells.Select Selection.Delete Shift:=xlUp Columns("I:I").Select ChDir &q ...Show All

  • Visual C++ How to link to the correct STL library when a third party dll is based on VC6?

    I have a third party dll targeted for VC6 and .net 2003. It worked well with my old MFC application. After it was migrated to VC 2005, it throws an exception of access violation whenever the stl string information in the object is accessed. Accessing other members of the object is OK. I guess it might be linked to the stl.net library instead of the old stl library that the dll is based on. Anyone knows what is the problem  and how it c ...Show All

  • Windows Forms Challenging question on transparent windows forms controls

    I have two controls, whereby one control is covered "on top" of another, and the controls on top is transparent, or can be translucent. I design in this way because the control below is a third party activeX control, which does not have generic events provided. I also want the top control to physically intercept the mouse events. The top control should be capable of drawing simple shapes like rectangles or lines. I make th ...Show All

  • Visual Basic lists in a loop

    I have a program that is going thru a tag line .txt file line by line and in this loop it checks the contents of this line to see if a member of a list, ListOfBoundaryFileVariables, is in it. while.. If CurrentRow.Contains(ListOfBoundaryFileVariables( Any )) The problem is I want to write Any like above but that doesn't work. Any ideas on how to check it this way Steph So a line might be Help me ...Show All

  • Visual Studio 2008 (Pre-release) .xaml.cs files cannot be edited after installing orcas

    Hi I use VS 2005 RTM + Jan CTP SDK + orcas to build WPF applications. I have a strange problem - the .xaml.cs files are hard to edit. They will not accept most keystrokes unless I type a lot of times (strange but true and not a problem with my keyboard), but some keys are always accepted (for example: DELETE key and also CTRL+C, CTRL+V - copy&paste works). Any ideas I'm told: This * sounds ...Show All

  • Visual C++ ...: error MIDL2337 : unsatisfied forward declaration : ...

    I'm getting a MIDL2337 error in VS2003 on something I'm pretty sure worked in VC6.  I get the MIDL2337 error: f1.h(37): error MIDL2337 : unsatisfied forward declaration : ISmRecordList [ Parameter 'recordList' of Procedure 'RLTest' ( Interface '_IMyInterface' ) ] Here's the details stdafx.h: ... #import "smreclist.tlb" no_namespace ... f1.h: [odl, library_block, uuid("9218D0D4-2067-427b-9C14-51F1849FAC6A"), dual ...Show All

  • Microsoft ISV Community Center Forums unable to register comsvcs.dll

    Hello, I have a VB application that has been evolving for several years. I have installed and used it on work stations running win95,98,NT,2000 and XP. The developement computer has evolved from a win95 to win2000 machine. Recently, I have begun to experience "an error occured while registering the file ... comsvcs.dll" when installing it on a win98 work station. winxp installs fine. I have always installed dcom98 and mdac prior to the ...Show All

  • Windows Forms New whitepapers for building DataGridView custom cells and columns

    Hi all, We just posted two new whitepapers about building custom cells and columns for the DataGridView control: Building a custom RadioButton cell and column for the DataGridView control ( Source and Sample Code ) Building a custom NumericUpDown cell and column for the DataGridView control ( Source and Sample Code ) The docs, source code and sample code are under http://www.windowsforms.net/WhidbeyFeatures/default.aspx P ...Show All

  • Visual Studio Express Editions Help me!!!

    I have been trying to make a calculator in visual basic express editopn 2005 and am having some problems. After cursing for hours on end I have decided to plea for help. Obviously you need at least 2-digit numbers and I am trying to do it with buttons. So - I think I need some code and that takes the infornmation out of the textbox and makes that information a variable. I know the code to add the number on the end of this variable and add ...Show All

  • Visual Studio Team System Agile / XP Templates

    Does anyone know of initiatives to develop a proper agile / XP type process template for VS 2005 I can't seem to find one and the MS one isn't really XP, so any links would be appreciated. Have you checked the "SCRUM for Agile Development". Its in Beta at the moment, but we've founf it pretty stable. http://www.scrum-master.com/vsts Hope this helps. ...Show All

  • Visual Studio Express Editions SOS:VC2005 B2 Express VC++ Directories Problem

    I downloaded and installed VC2005 B2 Express, I can't set "VC++ Directories". screenshot: http://member.netease.com/~lilong/temp/VS2005ExOpt.jpg is this bug this is a BIG PROBLEM!! How about removing C++ Beta2 ane replacing it with Beta1   Will this work   I am thinking about trying it.   ...Show All

  • Visual Basic how to make .dll and call it from Windows Form?

    i need to know how to make .dll and call it from Windows Form please help! If you create a class library project in VS, then you can add it to your winforms project using the add reference menu item in the solution view. You can now call all the methods in your dll, just as if they were part of the main project. ...Show All

  • SQL Server how to get the sum of a group and not the whole column?

    example: Account Sales New John Doe 1,000,000 George Bush 2,000,000 Juan Luna 3,000,000 6,000,000 Old Michael Tell 5,000,000 Billy Banks 2,000,000 7,000,000 where Account and Sales are table columns, New and Old are group names. i want to display the total of the group. ...Show All

  • Smart Device Development Can't Settle Title of Dialog in PPC2003

    I have an PPC2003 application and I use dialogs. I am trying to set the Title of the Dialogs using SetWindowText("HELLO"); But for some reason, the title refuses to show. Anyone have any suggestions Thanks, Norm SetWindowText takes LPCTSTR as its argument. Try SetWindowText(L"HELLO"); I hope it helps. ...Show All

©2008 Software Development Network

powered by phorum