anderson andy's Q&A profile
Visual C# dissapearing shapes, ponits
Welcome Hi I have a problem. I have to do a program in which user can draw many different things (something like paint). The problem is that when i minimize or move outside the desktop it all dissapears. I know there must ba a way to remember things. How can i do that is there something to remember this drawing area I must admit that i don't want to do any list of functions to redraw everytjing from every time. i don't need undo too. I just want ...Show All
Windows Forms I need help setting up a printer on a local network
We have a network of 4 desktops and 1 wireless hub. I have a HP LaserJet connected to 1 of the desk top computers, I want to print from the other 3 desktop systems and from the wireless Laptop too. I install the printer but won't print. Asks for \\server\printer\ but I have no idea what to use for that information. Right now 2 of the desktop systems work but the 3rd and the laptop won't. What am I doing wrong Please reply to this thread or to me ...Show All
Visual Studio Team System Do not have all services for MS SQL to run setup...
Do not have all services for MS SQL to run setup... I installed the april version but it does not seem to have all the services... Could anyone give some help... I have a DVD of MS SQL but it just will not stay in my DVD drive heh it just pops right back out... More info My OS is WindowsSvr2003 Enterprice (Downloaded) and I used to have Windows XP Home but when my computer stoped working I had to delete all portions and format my hard drive clea ...Show All
SQL Server XML source
I used a URL to xml feed as source and it worked great. A nother URL I visit requires me to add the lastvisited time to the URL. Any suggestions how to do this in SSIS (Assume I can select time lastvisited from database but how do I add it to the url and make it execute every 5 min for example) Regards, Throstur Thanks Jamie. You have been a great help. Regards, Throstur ...Show All
Windows Forms MenuStrip and "joint" rectangle area color
Hi, I am working with the MenuStrip and ToolStripProfessionalRenderer to create my own look and feel for my application and it works really well. However, I am meeting an issue that I couldn't find any solution for yet by browsing the web... Let's say: 1. You have a MenuStrip that hosts one MenuItem for instance "File" 2. You created some MenuItems above the "File" one for instace "New", "Open" and "Quit" 3. You create your own ToolStripProfessi ...Show All
Visual Studio 2008 (Pre-release) Dynamic load of GeometryModel3D Objects
Hello, In my application I am loading dynamically some 3DModels. These models are stored on separate files on disc. At run time, I am creating some 3DModel objects from these files via a XAMLReader, like this: XmlTextReader content .... load the xaml file in the XmlTextReader... Model3DGroup model3DGroup = XamlReader .Load(content); The 3DModels stored in these files are defined like: ...Show All
Visual Studio IScanner, scanning order, using Managed Package Framework.
I've noticed that IScanner can jump around a file seemingly at random when SetSource() is called. This is OK for some circumstances, but a language I am implementing (using the Managed Package Framework) supports nested comment blocks, basically: /* blah /* nested */ blah! */ When my IScanner is updated sometimes the colorization goes to hell. Is there any way to force anything calling IScanner to only call it "top to bottom" (AKA, if you're g ...Show All
Visual Studio Team System Adding Default web part fails
Using: TFS RC on W23K SP1 with VS2005 on a Single Server Deployment, Sharepoint Services SP1 I've created a MSF for Agile Software Development and I'm trying to add a Web Part from the sites gallery. However this fails each time, irrespective of the webpart I select (e.g. Events, Contacts etc) The error I get tells me that 'An unexpected error has occurred'. I've Googled as much as I could and found one post about upgrading the web.co ...Show All
Windows Forms Replicating VISIO Functionality (IMPORTANT)
I have to replicate VISIO's ability to create the FLOWCHARTS using VB.NET. Please provide me a basic roadmap, as to how should I proceed . I am new to GDI and am going through the basics through the material and source code availaible ove ...Show All
SQL Server How to import data from Text file which contains header?
Hi there, How to import data from such text files into a specified table http://www.geocities.com/salan_alani/outputlog.txt The data I want to import is only the last 5 lines (for instance) shown in the above text file. So, I want first to ignore the header in the beginning of the file, and the other thing that in my row lines (last 5 lines shown in the text file) there is no specific delimeter but each field has a fixed size and positi ...Show All
.NET Development SqlCommand class sealed!
To .net dev team, Why is the SqlCommand class sealed If there are member functions that cannot be overridden then it should be the functions that are sealed, not the entire class! I want to log the sql statements that were executed and it could have been something as simple as inheriting from SqlCommand with the constructor logging the SQL and it cannot be done! In fact, I'd argue that the only times when a class should be sealed is when t ...Show All
Software Development for Windows Vista High contrast settings not taking affect in color scheme change
I have an issue with the Color scheme settings in vista. When I change the schem to a high contrast selection not all the applications pick up the new setting. in fact the ease of access doesn't even notice that the color scheme has changed and the checkbox to turn on the high contrast setting remains unchecked. Many applications check for the : SystemParametersInfo(SPI_GETHIGHCONTRAST, sizeof (HIGHCONTRAST), &hc, 0); To determine o ...Show All
Windows Forms Bootstrapper problem.
Hi, im trying to create a setup for my win application that provide automatic deployment of .net Framework thru dotnetfx.exe. i read how to by the following sites: http://msdn.microsoft.com/library/d...eoperations.asp http://msdn.microsoft.com/library/d...edistdeploy.asp when i launch my setup boot ...Show All
SQL Server Help With Error
I keep getting these errors all the time : Msg 5009, Level 16, State 1, Line 3 One or more files listed in the statement could not be found or could not be initialized. Msg 5123, Level 16, State 1, Line 3 CREATE FILE encountered operating system error 5(Access is denied.) while attempting to open or create the physical file 'C:\2003Q3.ndf'. everytime i try to execute this : ALTER DATABASE AdventureWorks ADD FILE ...Show All
Visual C# proxy problem
Hi all, VS 2003, windows application that uses Internet. I create an application to merge pdf files downloaded from Internet (which give me one file for one page). I'm behind a proxy server. The problem is: when i request a file, the web site creates a temporary file with the page (xxxx.pdf, where pdf are numbers). So these files are also on proxy server and sometimes i have some error because (i think) the page is got from proxy server ...Show All
