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

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

alan1963

Member List

David Parreira
Bubba Bill
your evil twin
Devinder Singh
sanchita
BoshBuy
TLunsf
Escimo
Jack T
Big Rob
JNG
Neurothustra
gpai
Staf-fan
Golm
Guillermo Serrato - MSFT
thiagooooo
The Other Dennis
Doctor Steve
PvR_NZ
Only Title

alan1963's Q&A profile

  • Visual Studio 2008 (Pre-release) Border arround a Rectangle and Polygon

    Hi all, Can anybody please tell me how I can draw a border arround a rectangle and a polygon Both are parts of a ControlTemplate. Thx!!! It's not particularly good but is this what you wanted to achieve <Page xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml " Width="215" Height="106"> <Page.Resources> <Style TargetType="{x:Type Button}" xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml "> <Setter Property="Template" ...Show All

  • SQL Server Replication between SQL CE 2.0 and SQL Server 2005 not working

    Hi, I've been trying to get my merge replication to work with a sql ce 2.0 on sql server 2005, but it keeps generating shapshot scripts my pocket pc can't execute. Example of my table.sch file in my snapshot folder: drop Table [dbo].[Application] go SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[Application]( [AppID] [nvarchar](20) NOT NULL, [AddOnInfo] [nvarchar](50) NULL, [MaxClients] [int] NULL, [AppName] [nvarchar](255) NULL, [NbrDaysHistory] [int] NOT NULL CONSTRAINT [DF_Application_NbrDaysHistory] DEFAULT (10), [NbrDaysFuture] [int] NOT NULL CONSTRAINT [DF_Application_NbrDaysFuture ...Show All

  • .NET Development xml to sql server using .net 2.0

    This article uses Xml2OleDb to insert xml into sql server, http://aspalliance.com/477. What classes would be used in .net 2.0 to perform the same task. Thanks Danny you can use the exact same classes unless you want to save XML directly into, say, a field of xml data type in SQL Server 2005 also look into SqlXml, for example, see SQLXML 4.0 Programming http://msdn2.microsoft.com/library/ms171779.aspx Using SQLXml Managed Classes http://www.eggheadcafe.com/articles/20020626.asp ...Show All

  • SQL Server unattended execution account

    Hi, I am having trouble displaying images that are being accesses through URLs in my report. The warning I get in while still in Visual Studio is: Images with external URL references will not display if the report is published to a report server without an UnattendedExecutionAccount or the target image(s) are not enabled for anonymous access Basically the setup is this: the database where an image URL is stored as string has its own set of credentials, then the server on which the images are located has its own set of credentials. I am confused about what access has to be free of credentials in order for images to be displ ...Show All

  • Smart Device Development Cannot add multiple menu items _and_ treeview hung

    Thanks :) another Q if you don't mind, how many menuitems does the .NET 1.1 support if i add an 8th item, or there abouts, it throws me a null reference exception when it's loading the form (or some other exception) but as soon as i take it out, it's fine! it also appears that if i delete a couple of menu items and add a new menu item, it will still throw the null reference exception :( so I can't really add/remove and add a menu item on my app form one last Q: the main one: if i put a treeview on a form and populate each item in an arraylist (string) into the treeview... it hangs straight away! This is even if i create a new project, a ...Show All

  • SQL Server Why is sort so slow?

    I set up a sample sort data flow that is attempting to sort 11M records totalling about 3GB. It ran for four hours and then I killed it. How can it be so terrible Am I missing some hidden tuning parameter DIdi you try to put an index on the sort column (the best would be a clustered index though this one is physically order by design), that should be helpful. HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Smart Device Development Threading on NETCF

    I am looking for a replacement of .NET's Monitor.Pulse(), PulseAll(), Wait(). Has anybody found a nice work around for that (in my opinion) silly limitation in Compact Framework Thank you very much for any help, Roland AlexY wrote: http://www.opennetcf.org/sdf The monitor in this compact framwork is not like the .NET Framework does. The monitor is block a state object inside the class. But the monitor in .NET Framework is blocking the object that we defined. The usage is not like Monitor.Wait(obj1), this will put obj1 in mutual exclusion and wait for a pulse on obj1 to. But on SDF usage ...Show All

  • Visual Studio Tools for Office VSTO 2005

    I want to develop a solution which is used by multiple users at the same time. All the data is stored in a centralized database. I need to query this data and create different sections in Word. These sections consist mostly of tables but could on occassion consist of text also. The data gets pulled in based on a webservice or a direct call to the database from ADO. The tables can also be refreshed with the latest data at a later time depending on user preference. Please keep in mind, this is a multi-user solution so its not for just one document. Should I create a template and provide a link to the template on each user's desktop Should I c ...Show All

  • Visual Studio Express Editions First website using Visual Web Developer will not show

    Hi - I have just started using ASP.NET technology, previously a PHP/MySQL buff. Anyway, I have just completed my first website with the Visual Web Dev software and when I upload to the web server it does not show up by default when I type in the URL. I have to type in the complete URL with the home.aspx extension. What do I need to do to get it to automatically go to the home.aspx page Thanks You'll need to configure the home.asp file as your default page on the server. That configuration is done differently depending what web server software you are using. ...Show All

  • Software Development for Windows Vista Custom activities in designer control

    hey guys this is in re: to the workflow designer control example. first of all, great job - this sample worked the first time i ran the project. now i have a custom activity called TaskActivity stored in an assembly called Task. i wanted this to be loaded into the designer control so I added the Task assembly reference to the designer control project and added this line to the ToolboxItems.txt: Task.TaskActivity, Task However the Toolbox.cs could not figure out the TaskActivity;  It wouldn't even find the assembly through the referenced assembles (line 719). I had to add "using Task;" to the Toolbox.cs class and ...Show All

  • Visual Studio Express Editions Repeater Component for VB Studio Express

    I am creating a Winforms application that tracks clients. I would like to display the clients in a way similar to Outlook Contacts Address Card view instead of using a grid view. Is there a component available for doing this. I think this is a Repeater control that I want but I am not sure. I am working with VB Studio Express Edition and .Net 2.0. The database is Sql Express. Any suggestions Thanks Gary, Thank you for the informative reply. I will check out the link! ...Show All

  • Visual Studio Team System Rule provided an empty or malformed Url

    Hi, in FxCop 1.35 beta i got a FxCop message on FxCop start for every user defined rule like this: Rule provided an empty or malformed Url: file:\\xxxx\yyyy\FxCop\HtmlHelp\RuleDescription\zzzzz.html The Url works and i couldn't see any problem there. Is this a bug in FxCop 1.35 beta or what i'm doing wrong Thanks for support Hubertus Hi Hubertus, I just tried the url above on FxCop 1.35 and didn't see the error you're describing. Can you send the full rule xml that was causing the problems Regards, Jeffrey ...Show All

  • .NET Development Rethrowing exceptions from a background worker

    Hi, I'm using a backgroundworker (in VSE2005 for C#) and have the following problem : In the 'dowork' method I have a try/catch that handles exceptions that might occur and then rethrow them for the 'workcompleted' method have aproper error state. The problem is that when an exception occurs, I get an unhandled exception error message pointing to the 'throw ex;' in the catch block (see code below), because of course ex is not being handled, at least not right there. The problem is that in order to test for the error status of you background _dowork method in your 'workcompleted' method you rely on the RunWorkerCompletedEventArgs ...Show All

  • Windows Forms Form Closing event NOT firing

    Hi Im trying to trap the shutdown of windows in VB.NET 2005 using code in the FormClosing event. The e.CloseReason can be CloseReason.WindowsShutDown but when I shutdown windows the form closing event doesn't even get called (I had a messagebox.show at the top showing e.closereason). If I just click the X on the form it does get called ok and with correct reasoncode. Any ideas why when either shutting down or closing from the Task Manager the form closing event does not fire Thanks Hi, When you stop your application from TaskManager, the process is killed instantly and there's no chance fo ...Show All

  • Visual Studio Express Editions Cannot load VB Express Edition on my Computer will not install no error message

    Please help. Cannot install VB Express Edition on my Computer. Have Windows XP, 2003 Professional Edition. Can you help with what might be interfering> No error messages whatsoever. Thank you, supermsd Hi, I moved this forum from VB Express so that your post will have a better response. Thanks! ...Show All

©2008 Software Development Network