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

Software Development Network >> Grant Holliday's Q&A profile

Grant Holliday

Member List

Rudemusik
marco.ragogna
Bruce Bukovics
skyway1217
Squirrelz
SuperJeffe
Nilkanth
Anton__
KitWest
Qube
forceinline
bsh17
Tom Hallmark
dougzhoez
ChrisMcCabe
nitinmehta
Danny Tuppeny
StuartGM
rr_rej
Peter McEvoy
Only Title

Grant Holliday's Q&A profile

  • Visual Studio Visual Studio 2005 SP1, what has been fixed ?

    I successfully installed Visual Studio 2005 SP1 on my Visual Studio 2005 Standard Edition. Now I am curious what has been fixed, in the various Visual Studio 2005 categories, by this Service Pack. Has this information, or will this information, be made available to end users If SP1 will not install on your machine, how do you know it broke anything I know of bugs that were not fixed by SP1, but that is different from saying that it broke functionality that previously worked properly. Also if you could not install SP1 on your machine, you should enter that as another post, and hopefully others can help you. ...Show All

  • Smart Device Development WebBrowser Problem

    I'm currently developping a netcf 2.0 application for wm 5.0 devices. I've embedded a webbrowser control but i have three problems with it : 1- when i do webbrowser.document = "htmlcode" and there's pictures in the html code, the web browser start flicking. 2- The hyperlink in the browser does not seem to work. The navigating and navigated event are not fired when i click on a link. 3- I would like to be able to move the webbrowser to a specified anchor (#part1) using .net code but the navigate method only accept uri... if i try to open the html file + anchor ( \\temp.html#part1 ) the document is opened ignoring the anchor. Does anyone have a solution Thanks a lot, Elie Rodrigue Unfortunately, this is a ...Show All

  • Visual Studio Express Editions C# Newb - XMLSerializing a List

    Hi, I'm pretty new to C# and am trying to write a class with data in it that i can save and load from an XML file, are there any built in Generic Containers/Collection, something like List or Stack that XML can serialize, my code is below, but whatever container i use i get an exception complaining about how it can't serialize the collection i am using (List) in this case. How do i have to go about serializing a collection of objects Is it something that can be done with a similar amoutn of code as below or am i dreaming namespace Test { public class ClassA { public List<ClassB> Events; public ClassA() { Events = new List<ClassB>(); Events.Add(new ClassB()); } #region Load/Save Code ...Show All

  • Visual Studio 2008 (Pre-release) Binding to Custom Property

    How do I bind to a custom property More specifically, I'm trying to bind the Fill color of a Path to a property of the Window. The Window property is defined in the CS file. I'm not sure whether it should be a Brush or a string at this point... Seems simple enough, but this doesn't work: < Path Fill = " {Binding ElementName=myWindow, Path=fillColor} " Data = " F1 M 53.795410,18.108398....Z " /> You do not need to do anything to make it refresh. The binding system should update the property on the Element and that will be propigated to the render tree. The binding should be bi-directional by default, so unless you did something special that should not be an issue. You ca ...Show All

  • SQL Server Creating a Yes/No field in SQL Server

    hi, i need to create a yes/no field in a SQL Server database table. I know that i could previously do this in Microsoft Access and i believe that SQL Server now uses Boolean(0 or 1) for this. Does anyone have any ideas as to how to convert these 0 or 1 to yes or no with a default of yes I am taking the output from this table and displaying in Excel as yes or no not 0 or 1. Thanks If you are using a SQL Server BIT datatype and you import data into excel, the provider will tell Excel to convert this into Yes / No Value, or the appropiate language equivalent for the machine. HTH, Jens Susmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Software Development for Windows Vista Regdump utility in Vista 64

    I am trying to setup systems for the Certified for Windows test cases. I am trying to use regdump.exe and I am getting a lot of: RegOpenKey of properties has failed in ..... Access is denied. Is this normal I am running as an administrator. Regards, Kelly So does this mean that even with all those errors, i can continue testing Or do I need to run it without errors How do I run it without errors I have logged on as an administrator and ran the command window as an administrator. ...Show All

  • Visual Basic MDI Parent to external app

    Hello, Is it possible to use the mdi parent to load an already created app within (else i guess i will have to start rewriting :( ) Suggestions would be useful. Thanks MP this is really very useful for me. But i am getting error "Object reference not set to an instance of an object." as app.CreateInstance( "PFIPL2.demoForm" , True ) evelutes as Nothing And if i am using the following method then the error is: Dim type As Type = Assembly.LoadFrom( "E:\\PFIPL2.exe" ).GetType( "Form1" , True , True ) Could not load type 'Form1' from assembly 'PFIPL2, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Please Solve my probl ...Show All

  • Smart Device Development Disable ActiveSync Networking?

    How can I disable networking over ActiveSync There's no option in ActiveSync 4.1 to disable it. I need to debug a networking problem that only occurs using the device networking. When the device is plugged in to the PC and ActiveSync networking is used the bug doesn't occur. These steps don't work because I cannot connect to the device over IP without ActiveSync. The device doesn't have an IP address yet at the point where I need to debug it. Is there no other way ...Show All

  • Windows Forms stop datagridview updating

    Hi Can someone please help I want to stop a datagridview from updating. I've created a strongly typed dataset that contains 1 datatable, when my from loads it initializes the datatable and gives it a couple of rows. I then set the datasource of a datagridview equal to the datatable and then dispose of the datatable. Each row contains a set of variables which I edit from their default values, I then add each row to a list(of dataset.row). These variables are then used to do some calculations, the result of which changes the values in a column, however this slows down the calculation time. If I set the datagridview.datasource=nothing the calculation time shortens, but all the values disappear. Does anyone know of a way to k ...Show All

  • Visual C# How to design these classes?

    Hello all I currently have quite a large project that contains several classes that relate to various objects in a database. For example, the Orders class contains methods that have anything to do with orders. At the moment I think I've designed it in a very simple way, for example: public class Orders { public Orders() { } public int CreateOrder(int storeId) { // Code to create an order and return the ID. } public OleDbDataReader GetOrder(int orderId) { // Code to return the order record. } } Basically, to use any of the methods, I first create an instance of the Orders class, but this doesn't seem like a very good way of doing things. Would it be better to have static methods for things like CreateOrder() and non- ...Show All

  • Visual Basic zip files

    I need my app to deal with compressed files (any format will work, zip, gzip, rar, ect) I need to -Take several files, add them to a compressed file, with a non-standard extension, instead of making it something like .zip make it something like .app so the file can be associated with my app. OR Take several files, add them to a compressed file with encryption & user specified password, with a non-standard extension, instead of making it something like .zip make it something like .app so the file can be associated with my app. -Attempt to extract the files to a temp directory for use as if they weren't encrypted, if it works then its done, if not my app will need to know then it can prompt the user for the pass ...Show All

  • Software Development for Windows Vista Inheritance from custom activity

    I wish to make a custom activity that inherits from another custom activity. My first activity "Activity1" inherits from System.Workflow.ComponentModel.Activity. My second activity "Activity2" should inherit from "Activity1". In the designer I attempt to change the "base class" attribute of "Activity2", but for some reason I cannot choose "Activity1" to be my base class. In other words, the <Current project> folder is empty and I can only choose from Referenced Assemblies. If I put "Activity1" in another Workflow Activity Library and reference that library from my other project it seems to work just fine. I do not however understand why I can't inherit from activities in my current project, and I would be very happy if ...Show All

  • Visual Basic how to create user control...

    Hello, how I create user control Line same as Line control in vb.06 Help me please. t must'nt in a rectangular The Line and Shape controls of VB6 are rather special. They are "windowless" controls, they paint directly on their container. Windows Forms doesn't support that, all controls must have a window. The VB.NET team is reportedly hard at work to provide an upcoming PowerPack that will provide a substitute. I'm rather curious what that is going to look like. It would have to be a component with some pretty fancy designer code. Meanwhile (don't hold your breath), the only way to replace Line controls right now is to use the Graphics.DrawLine() method in the container's Paint event. Yell if you need code. ...Show All

  • Software Development for Windows Vista Hang with InvokePattern - Invoke

    Hi guys, I'm having a problem with the invoke functionality. I made a small test application which contains one button. The code in the click event is the following: Thread .Sleep(1000); MessageBox .Show( "MSGBOX1" , "MSGBOX1" ); Now from my other application that uses UIAutomation, I click the button with this code: InvokePattern ctrl_invokepattern = ( InvokePattern )control.GetCurrentPattern( InvokePattern .Pattern); ctrl_invokepattern.Invoke(); MessageBox .Show( "Hmmm it doesn't get here " , "MSGBOX2" ); The code to click the button works, but the 'Invoke()' functions DOESN'T return So when the next line would be: click the OK button on MSGBOX1, this doesn't work! I first have to manually click on the ok button of MSGBOX1 ...Show All

  • Visual C# Wrong overload being called

    I have a class with two methods, one of which overrides a base class method: public override void Write (byte[] b) public void Write<T> (IList<T> b) Then make the call: byte[] bArray = new byte[] {1,2,3,4}; myClass.Write (bArray); ... but it is the Write (IList<T>) which gets called, even though Write (byte[]) is an exact match. This seems very wrong! Full compilable example below: using System; using System.IO; using System.Collections.Generic; p ublic class TestClass : BinaryWriter {   public override void Write (byte[] b) {     Console.WriteLine ("Write(byte[]) called");   }   public void Write<T> (IList<T> b) {     ...Show All

©2008 Software Development Network