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

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

Alastair Q

Member List

yanivpinhas
fleo
Dan Rough
cdemez
Kevin Barnes
P R W
andrewdobson1
lizital
Henrik Karlsson
SQLScott
Alex Stankovic
Mike Herrick
Stardust25
Whoisit
RPKJBP
chandrala
anubisascends
MyoZaw
Jay K
carbontrans
Only Title

Alastair Q's Q&A profile

  • Visual Studio 2008 (Pre-release) "DLL version not correct" when loading an image from the assembly

    This is referencing the May CTP (beta 2): Some users of my application are getting crashes: Error at element 'BuddyList' in markup file 'DefaultUI;component/contactlist/contactlist.xaml' : '/DefaultUI;;;component/Images/icon.ico' string is not a valid value for 'Icon' property of type 'ImageSource'. Error at element 'BuddyList' in markup file 'DefaultUI;component/contactlist/contactlist.xaml' : '/DefaultUI;;;component/Images/icon.ico' string is not a valid value for 'Icon' property of type 'ImageSource'. Error at element 'BuddyList' in markup file 'DefaultUI;component/contactlist/contactlist.xaml' : Cannot convert the string '/DefaultUI;;;component/Images/icon.ico' in attribute 'Icon' into an object of type 'System.Windows.Media.ImageSou ...Show All

  • Software Development for Windows Vista In July CTP, using StateMachineWorkflowInstance to obtain CurrentState freezes workflows in that State

    Dear all, I have a working StateMachineWorkflow hosted under asp.net 2.0. I have written a simple routine (shown below) to interrogate the current state of a workflowinstance: public string WfCurrentStateDescription(string WorkflowInstanceId) { // Get the workflowRuntime which was started in global.asax WorkflowRuntime wfRuntime = (WorkflowRuntime)Application[WorkflowRuntimeKey]; StateMachineWorkflowInstance wfInst = new StateMachineWorkflowInstance(wfRuntime, new Guid(WorkflowInstanceId)); return wfInst.CurrentState.Description; } I find that, once I have called this on a workflowinstance, that instance gets "stuck" in the current state and never transitions to the next state, even though code appears to get c ...Show All

  • SQL Server 64 bit(part II)

    In a recent post, I've read that Jet Provider is only provided with 32-bit. I wonder, is there any problem if you run a SSIS package 32-bit which read from Access and then call another SSIS package 64 bit We've got quite 2000 dts which pulling data from MDB and within a time it'll disappear in favour 2005 environment . Another question, what sort of Providers don't offer us 64-bit versions Any link or thought will be as usual welcomed The msdaora drivers also don't function in 64bit. This is a bit of a hassle since the oracle provided 64bit drivers don't work correctly. ODBC is also a bit tricky since you have to create dsn's for 32 bit and 64 bit since the desinger is 32 and the runtime is 64. ...Show All

  • Architecture what is more performatic? a single join or multiple selects?

    In my app we have some methods where we start it by selecting a whole bunch of information (in DB), compute a lot of of things and then fire some save commands to update this new information in DB. Well my question is what to choose when I have 2 options: 1) to query a huge SELECT command joining all needed tables all at once. Then all information I might need would be brought in this select. 2) to select the main table and then in each step of the iteration, based on what I really need, I go selecting information in other tables, passing the IDs I brought in the main table. Why would I choose one or the other What is more performatic I am using an ORM, which, for the moment, does not work directly with joins, so if this wou ...Show All

  • Visual Studio Tools for Office Document View Used to Be There When I Click FileName.dot

    I am using VS.Net 2005 and a VSTO Word Template solution. I used to be able to click on the .dot file name in the solution pane and see the document as if word was open. This is important to me as I must add the autotext entries this way. Would anyone be able to tell me why the document view might disappear I can no longer access it. Hi Janet what items are listed if you right-dick the Word object in the Solution Explorer Is there one containing the inlaid "Designer" If you start a new Word vsto solution does the Designer appear for that ...Show All

  • Software Development for Windows Vista Multiple FilterGraphs

    Hello, I want to play three different videofiles at the same time. I use VS 2005 and created windowless VMR9 Filter. With two graphes and two videofiles everything works fine. But when I open the third graph and render a file, a new window opens and I don’t see the video, only a mix of colors. When I change the order the first two graphs always work fine and the at last occured the new window. Has someone an idea, what went wrong. Or did I reach the maximum of running Filtergraphs at the same time Thanks ...Show All

  • SQL Server Query RowVersion in SQL Server 2005

    Hello all, I am new at SQL Server 2005 and have been reading everything I canfind about the new optimistic concurrency control mechanisms. As far as I can tell, the Snapshot Isolation Level is based avoids the use of shared locks using rowversioning instead. To control rowversions in SQL Server 2000 I was using an extra column in each table containing a rowversion datatype. Is it possible in SQL Server 2005 to avoid the use of this extra column What I mean is, if the Snapshot Isolation already manages rowversions in TempDB, is it possible for me to query those versions using some stored procedures or functions given by SQL Server 2005 system What functionalities does SQL Server 2005 gives me for that (any documentation pointer ...Show All

  • Smart Device Development I want a button that will navigate to the My Document folder when pressed

    I want to have Buttons in a VB Form navigating to places like,My Documents, Network Places, My Pictures etc. Does anone know code for me to be able to do this... Thanks Could you help me with the GetfolderPath code. IS the this the code I would need to accomplish what you are saying. I want to access the my document folder and the SD card. Example code from VS2005 ' Sample for the Environment.GetFolderPath method Imports System Class Sample Public Shared Sub Main() Console.WriteLine() Console.WriteLine("GetFolderPath: {0}", Environment.GetFolderPath(Environment.SpecialFolder.System)) End Sub 'Main End Class 'Sample ' 'This example produces the following results: ' 'GetFo ...Show All

  • Microsoft ISV Community Center Forums Excel Chart: How to change chart data source formula when object "Series.Formula" is too short?

    How to change chart data source when Formula object is too short I know that: I can assign data source 1) Series.Values=Range(...) - suitable 2) Chart.SetSourceData souce:=range(...)... - suitable 3) Series.Formula/FormulaLocal="" - not suitable because string is too short I can read data source 1) x = Series.Formula/FormulaLocal - not suitable because string is too short The question is: How to read data source not using Formula object Greg - You need to set up dynamic ranges, which in turn are used as the chart series' data source: http://peltiertech.com/Excel/Charts/Dynamics.html - Jon ------- Jon Peltier, Microsoft Excel MVP Tutorials and Custom Sol ...Show All

  • Visual Studio Team System Dual Server App Tier System Health Check Fails

    I was able to install the TFS Data Tier but I am stuck when I attempt to install the App Tier. I followed the TFS Install Guide and created the dedicated TFS user accounts and installed SQL Server Reporting Services on the App Tier. My current problem is when I attempt to install the App Tier, the System Health Check fails. I get the following error message: "SQL Server 2005 Reporting Services service is not installed". Do you know the SQL used to verify the SQL Server Reporting Services install Any help is much appreciated. Thanks for the quick response Kathir. >> ....but did the Reporting Services and all other services are all set to >> Automatic and Started...bef ...Show All

  • Windows Forms DirectoryInfo.Exists error

    DirectoryInfo . Exists (myDir) give exception if I run the exe though a mapped drive, what might the problem be I tried, but It works fine all the time. Will you please post more information BTW, the Exists is a property of DirectoryInfo class What's your envirnoment I tested on .NET Framework 2.0 in VS2005 ...Show All

  • Software Development for Windows Vista Testing each executable for UI thread problems

    Test Case 32 is about how the UI thread of each application executable handles exceptions. The word "each" is bold and underlined, still: System Services and Command Line applications do not need to have an UI thread. Also, some command line apps may be finished within milliseconds, giving no chance to insert anything. What to do about those I have an answer on this now.... Even non UI executables must meet this standard. For executables that run only a second.... The method of testing is to: break the executable into the debugger, grab the thread and attempt to inject the crash into the thread once released by the debugger. In other words " You could set a breakpoint, inject the crash, and ...Show All

  • SQL Server Time zone conversion

    Hi, My sql server 2000 database stores the date in GMT in the tables, is there a simple query/function that I could use in a query that converts the date column values from GMT to EST/PST Thanks simple query you have to do it.. For EST subtract -5 Hours from the GMT For PST subtract -8 Hours from the GMT Select DateAdd(HH,-5,DateColumn) as EST, DateAdd(HH,-8,DateColumn) as PST From YourTable. ...Show All

  • Windows Forms UserControl with ComboBox

    My aplication needs a usercontrol consisting a combobox. So I have to provide the commonly used propertiesfor the comboBox for this usercontrol as well. I build this UserControl DLL and using in some other Windows Forms, but then some problems arises. I have few problems in that: 1. There is a property called "FormatString", I have attached the editor "FormatStringEditor" also with this while declaring this property. But when I try to use this property in the "property-pane" I am getting an error Object Reference not set to an instance of an object" 2. I have also exposed the property for "Text" and "Items" and attached these properties to the ComboBox corresponding prop ...Show All

  • SQL Server SQL Server Mobile 2005 Merge Replication Problem on Windows Mobile 5.0

    Dear ppl, I am writing an application for a device (MDA Pro T-Mobile) having Windows Mobile 5.0 using -MS .NET Compact Framework 2.0 SP-1 -SQL Mobile 2005. -VS 2005 .NET The application uses Merge Replication. The error occurs in the Synchronise() Method of the SqlCeReplication object. " SQL Server Mobile encountered problems when opening the database." repl.AddSubscription( AddOption .CreateDatabase); repl.Synchronize(); I don't understand why I am having this error. It does create the database on AddSubscription() method but it is failing opening the database on Synchronise(). I have also tried uninstalling and then reinstalling all the SQL Mobile components in the following order. -sqlce30.wce5.armv4i.ca ...Show All

©2008 Software Development Network