Boatman's Q&A profile
.NET Development WebClient.DownloadFileAsync
Hi Guys, Really strange problem I am experiencing... I have setup a virtual directory with Read Only permissions on an ISA/IIS server (SBS 2003). In that virt. dir., I placed 1 file (setup.exe). I then use WebClient.DownloadFileAsync (.NET 2.0 Pro.) and all downloads well including progress bar indicator, bytes received, etc... Here is the problem: When I replace the file (setup.exe), with a different, larger file, it still downloads t ...Show All
SQL Server Express Manager
When will the express manager be available for the msdn version that is scheduled to ship later this month. If express manager isn't going to ship then what tool will allow me to create users in my express 2005 database. I'm wondering that also. I think I heard something about MS dropping Express Manager. ...Show All
Visual Studio 2008 (Pre-release) A question on xbap
When I open a xbap (formally wab) in IE, a progress bar is displayed indicating that the application is being download and the application will be loaded after the download ended. Since the WPF Jan. CTP has been installed on my machine, I am wondering what will happen if there is no WPF installed on the client machine. Does it promopt the end user to download the .NET Framework 2.0 and corresponding WPF Components Thanks! Nope ...Show All
Game Technologies: DirectX, XNA, XACT, etc. MDX Matrix.RotateX not doing what I expected...
I wrote this code: Matrix Test = Matrix.Identity; Test.RotateX( ( float )Math.PI/2.0f ); Test.RotateY( ( float )Math.PI/2.0f ); expecting it to rotate 90 degrees in X and then in Y. But the second rotate call (RotateY), simply replaces the matrix with a Y rotation. I expected it to post-catenate the Y rotation and createa compound rotation. Is this the intended use of RotateX etc. The help says that Matrix.RotateX "Rot ...Show All
Windows Forms Show Error provider on error in row
I have a datagrid, I want to show that same error icon (for when you don't set a non null column) when someone either adds or edits a row. So that it validates the row and if it's bad will show the Icon. I want a tooltip&nbs ...Show All
Windows Forms how to select then next node in treeview control?
I have a form with treeview control loaded from xml document,text box, two buttons named "Find" and "FindNext" and my treeview which looks like below. Details |__ policy status |__ created by |__ cover type Risk address |__Line1 |__Line2 |__Line3 |__Line4 Proposers |__ForeName |__Initials |__Surname |__Company |__DOB Drivers |__ForeName |__Initials |__Surname |__Company ...Show All
Visual Studio MSBee cannot find the FW1.1
Hi Everybody, I've just installed MSBee and as I tried to run it for the very first time I got an error saying that my PC was missing the FW1.1 I checked in c:\windows\Microsoft .NT\Framework\ and I found it! Can you help me Kind regrdas, Giulio Guilio, Could you provide me with the exact error message My guess is you have Framework 1.1 Redist installed but not the Framework 1.1 SDK. You c ...Show All
Visual C# Move textbox around on my form in run-time
Hey howzit I would like to beable to move a textbox that is on my form with my cursor to anywhere on the form in run-time Is this possible, could you perhaps give me a code snippet I am very new to C#! Thanks! Textbox has Left and Top properties, you can move the textbox by reassigning values from these properties. textbox1.Left = < new value>; textbox1.Top = < new value>; Regards, -chris ...Show All
Visual Studio VS2005b2 automatic attribute code generation
Hi there! I'm writing my own C# component to be used with the Windows Forms Designer. This component has a DesignerSerializer attached. Within my CodeDomSerializer I would like to generate additional attributes that get noted infront of some form controls. Like this: [My.ActionSourceAttribute("APP17", "New.Action", "")] private System.Windows.Forms.Button button1; I really could manage all that to get the attribute generated at the right ...Show All
Visual Studio Express Editions multiline textbox
Hi everyone, Im quite new to visual basic and stuck on a part of a windows application. i have a multiline textbox where different numbers are to be entered on each line. I need to insert each of these numbers into a different formula. I have all the form, code and formulas done for everything else. i just have no idea of the code to extract the information in each line to a integer or array, whatever the case may be, so i can use it in th ...Show All
SQL Server How can I get or set a foreign key's 'on update cascade' or 'on insert cascade' by SQLDMO?
Hello,everyone! I have a problem with sqldmo's KEY object,please help me! When creating a foreign key constraint with 'on update cascade ' or 'on delete no action ' by T-SQL,we can do like this: ALTER TABLE [dbo].[myForeignTableName] with nocheck ADD CONSTRAINT [FK_mykeyname] FOREIGN KEY ([myForeignColumn]) REFERENCES [dbo].[myPrimaryTableName] &nb ...Show All
Visual C++ Indenter etc. for VC++ 2003
I have been handed almost 15,000 lines of C and CPP code (almost 350 functions) that are left justified and no spaces within the lines other than the necessary ones. I'd like to have the code indented and have it also spaced about to make the code easier to work with. Is there a free or very inexpensive indenter/beautifier/prettier available that works inside VC++ 2003 (as tool etc.) that will indent and also pretty the code with spaces e ...Show All
SQL Server Problem in Off-line report generation
Hi, I have rendered some time-consuming reports programmatically in HTML 4.0 format (Off-line report generation). The reports are rendered and the .html file is stored in a specific folder (shared). The problem is, the whole report is generated into 1 single HTML page (huge in size) with <HR> tag as peagebreaks. It takes long time to load in the browser. Also, I cannt display this .html page along with ReportViewer toolbar options li ...Show All
Smart Device Development Activesync fails to sync after installing vers. 4.0
Hello to all, I have upgrade activesync from version 3.7.1 to 4.0 in order to deploy my application in VS2005 beta2 to the device. After doing that, activesync stops to work: although the AS icon show connection (green) when the PDA is in the cradle, is is not possible to get the main screen of activesync ; and, when trying to explore the device, I get the following error window: " Critical communications services have failed to ...Show All
Windows Forms Challenging ClickOnce problem... can't write to the data store
Ok, I have a program whose solution is composed of (3) projects. I am using ClickOnce as my deployment method and have set the Security Zone to Full Trust. My configuration.dll, which is one of the (3) projects compiled in my solution, tries to write a config.xml file to the ClickOnce data folder. FYI: The file does not already exist, so it must create it on the fly. The problem: It doesn't create it on the fly. It tries to write the file t ...Show All
