A.Russell's Q&A profile
Visual Studio Would like to organize Help Favorites in Visual Studio 2005
Every time I add a new "Favorite" to Help Favorites in Visual Studio 2005, I increase the hodgepodge of links I want to keep. Aside from moving individual links up and down, one at a time, why can't the list be organized by the user like Favorites are in Internet Explorer I'd like to be able to organize my 'favorites' by topic into folders and sub-folders. Say one collection for ASP.NET application design, another for VB Windows Applications, a third for help with Regular Expressions, etc. Doesn't anyone else wish this capability was available beyond wishing the capability was available, i don't understand the lack of it. pretty soon, i will have to have a help-favorites favorites! ...Show All
SQL Server SQL 2005 fails to install workstation components and tools
Hello. When I install SQL Server 2005, it all goes well except that it fails to install these two: - SQLXML 4 - workstation components and tools When I try to install these two from the CD in the Setup folder of the CD 2 with the files sqlxml4.msi and sqlRun_Tools.msi (if I remember these names correctly), it gives me an error: 'Ce package d'installation n'est pas pris en charge par ce type de processeur' Sorry. My SQL CDs are in french, but it roughly translates to the message: This installation package is not taken by this processor. I thought that my hardware configuration does not meet the requirements. But I have a Pentium 4, 2Gig RAM, over 100Gig free HD space. Also I tried to install on other computers to no ...Show All
Visual Studio How to hide existing submenus
Hello, I'm starting to program add-ins. I wanted to hide some existing submenus from File menu, as "New WebSite" or "Recent Files", so when I run the add-in it only show a few. I've tried to get the File CommandBar but I haven't found a way to get its submenus. Can someone help me Thank yo in advance and sorry for my English. First, I think that it is a bad idea that a single add-in hides menus, I hope that this add-in is for your own use or for your internal use inside your own company, but not for the public. Second, the Recent Projects menu is so used that there should be no need to remove it. About the New Website project, you can set as policy not to install the Web Developer part when your developers/a ...Show All
Visual Studio 2008 (Pre-release) i WCF, netNamedPipeBinding, and Citrix - BUG?
We have an interesting issue on our project. We are hosting several WCF services as netNamedPipe, hosted in the same process as the Windows UI. When run locally (Windows XP or Server 2003) everything is fine. However, when run under Citrix, we have found that the Citrix user must be granted the SeCreateGlobalPrivilege in order for the application to run. I believe this is because the netNamedPipe-bound services are creating a named pipe without the "LOCAL\" prefix in their name, which, by default, creates a global pipe. Has anyone been able to run a client that hosts a netNamedPipe service locally on a Terminal Services or Citrix system without setting the SeCreateGlobalPrivilege privilege It seems like this should not be nec ...Show All
Windows Forms Problem with Clipboard class
I am doing the following in my code // print screen SendKeys .SendWait( "{PRTSC}" ); // get the image Bitmap memImage = Clipboard .GetDataObject().GetData( "Bitmap" ) as Bitmap ; However the dataobject returned by Clipboard .GetDataObject(). is always null. If I open mspaint and do a paste (Ctrl + V), it shows me the captured image. Can someone on this forum please help me with this Thanks ...Show All
Game Technologies: DirectX, XNA, XACT, etc. StreamWriter text file - load Vector 2 and enums
I'm making my own tile map game. It's similar to the tile tutorial from Jaegers, but class based (each Map has Screens and each Screen has Tiles which, in turn, have properties). Saving to an XML file is just too big (3 megs+ for a 5x5 screen map), so I'm changing over to saving a text file, but having problems loading the Vector2 and an enum TileList {grass, desert, water}. The save code works fine, but I can't figure out how to convert the stream when its loaded. Is it even possible to do this Or is there a better way to save data besides XML public static Map LoadTextMap( string fileName) { StreamReader reader; reader = File .OpenText(fileName); Map tempMap = new Map (); tempMap.Version = Convert .ToI ...Show All
Windows Forms Dataview problem
Dim tmpTable As New DataView( myDataSet.Tables( BindingSource.Current( "TableName" )), "" , BindingSource.Current( "RecordIDfield" ), DataViewRowState.ModifiedCurrent) Dim RowIndex As Integer = tmpTable.Find( BindingSource.Current( "RecordID" )) With the above code: myDataSet.Tables( BindingSource.Current( "TableName" )) Returns the Table "VAT" BindingSource.Current( "RecordIDfield" ) Returns the field "VatID" (unique index) BindingSource.Current( "RecordID" ) Returns the value "1" The "VAT" table exists and the field "VatID" exists, there is only one row in this example and t ...Show All
Visual Studio Express Editions Handling Multiple forms
I have Form1 which is my main form and is a clone of the Free Cell game. When the game is won, I have Dim N As New GameWonBackground N.Show() The second form is a background on which I will display a 3rd Form which asks the user if he wants to play again, select a game, etc. In the Load procedure of the Background form, I call the 3rd form Dim W As NewGameOver W.TopLevel = False W.Parent = Me W.Show() I got this from another discussion on the forum and it works fine to bring up the 3rd form on top of the Background form. I do a couple other things in the Load procedure for the Background form such as set the pictures for the 4 kings in the correct order, but there are no other procedures or click ...Show All
Windows Forms Is this really possible????
According to Murach's C# 2005 (P772) you can publish a windows application on the web, is this really possible Would this be the same as using ASP.NET but since its a windows application, it would have all of the designer features of a windows app Thanks!! My understanding of this is, when you publish a windows app to the web you are loading the install on the internet. Then the user can install from the site and the app can also check for updates. ...Show All
Smart Device Development C++ in PDA development
Hi all What is the advantages using C++ language for PDA development instead of vb.net and c#. Correct, it can’t. You're probably thinking of C++/CLI which is not supported on devices, only native C++ is available. Even on desktop I would advise against using C++/CLI unless you have to expose legacy C++ code to other managed applications. If you wonder why just go through list of drawbacks above and see which one would be applicable to C++/CLI. See my point By the way, time to market with C++ would be longer even if you can use .Net libraries because it’s harder to use and it’s more error prone. I mean, there’s abundance of libraries for C++ and yet it might take you a w ...Show All
.NET Development HttpPostedFile has no constructor
I'm working on unit testing some code that handles an uploaded file, the method I need to test takes a HttpPostedFile as a parameter but I don't seem to be able to construct one in order to call it. Anyone Thanks in advance ...Show All
Visual Basic Save data from a listbox to a .CSV file.
Hi, I am pretty new to Visual Studio, but know enough about SQL. I am working on creating some applications with VB to access my SQL database. I created a listbox that is extracting some data from a table. I am trying to Save that data to a .CSV file, but I am having major issues. I would really appretiate it if someone could help me and explain why my code is not working. I used examples to get to this code, but lack of experience is helping me to get stuck at this point. Thanks!!! Code: Try With sdlgTextFile .AddExtension = True .CheckPathExists = True .CreatePrompt = False .OverwritePrompt = True .ValidateNames = True .ShowHelp = True .DefaultExt = "txt" .FileName = filename .Filter = _ "CSV Fil ...Show All
SQL Server How do I break a sql column in to three? please help!!!!!
I have a column look like this Name ---------------------- John^Smith^P^^^^ Peter^Johnson^M^^^^ Joe^Tedone^^^ I want to break this column in to three as follow FirstName LastName Middle ----------------- ----------------- ------------- John Smith P Peter Johnson M Joe Tedon '^' is the delimiter, how can I do this some one please help me out, thanks a million Please take a look at the link below for few generic solutions: http://www.sommarskog.se/arrays-in-sql.html You can use one of those for example to split the value. ...Show All
Visual Studio Tools for Office Access Controls in Word (VSTO 2005)
Hi, I would like to access at a later state my controls (textboxes and a dateTimePicker), which I have previously generated dynamically. For an unknown reason, I can't access the Item property in the ControlCollection class ! I have also tried to pass through the GetEnumerator() method like this: System.Collections.IEnumerator en = Controls.GetEnumerator(); while (en.MoveNext()) {en.Current} But when I have the "en.Current" object, I don't know how to access the property of the control. Can anybody help me out Thanks a lot! Claudia I know, I have seen already some examples doing exactly what I have described in the previous message... but I can't find! Any suggestions Thanks, Claudia ...Show All
SQL Server How to specify datatypes for Excel columns?
So I have Excel Source in my dataflow - so I do a simple transform and try to save it to db and guess what - a freaking error message: Columns blahblah and BlahBlah cannot convert between unicode and non-unicode datatype. I cant figure this MS stuff out - why the heck is this data from excel unicode to begin with & I just dont feel it is right to always use the derived columns to convert datatypes when dealing with Excel data. Am I missing something again or is it another one of those MS gotchas -- Note - all profanity in this post is replaced with words like freaking, stuff, gotcha and so on by the author TheViewMaster wrote: Jamie Thomson wrote: Why do you have an issue with Derived ...Show All
