Joseph Wee's Q&A profile
Windows Forms Hiding items in StatusStrip inadvertently hides other items
Easy to reproduce. Make an empty form, add a StatusStrip, embed it in ToolStripContainer and add the following items to it (layed out from left to right): 1. Label with some text 2. Label with no text, set Spring to true 3. Progressbar 4. Label, set IsLink to true 5. Label with some text 6. Label with some text Now add a button to the form and in the click handler set Visible to false for items 3 and 4. Notice how items 5 and 6 disappear too. No ...Show All
SQL Server Need help splitting out columns for each row into new table
Let's say I do a select statement and the results are Acct # Zip Phone Addr 11223 23232 333-444-5555 6556 Duns Rd. 12345 34343 222-444-3333 1000 Aspire Blvd. I need to create a record using the Acct # and column for each column as well a ...Show All
Smart Device Development Remote tools for Windows Mobile
Hello, EVC3 and eVC4 included remote tools such as registry editor, zoomin, process viewer, etc.. However I cannot find such tools on VS2005 or any way to sintall them. Are they still available How can I install them Many thanks for the help. Best, Alessandro Hi Alessandro, The tools should be available from the start menu, they just aren't integrated into the IDE. Check out http://blogs.m ...Show All
Visual Basic Brushes? How do I pass a "Brushes" as a parameter?
Hi I want to fill a rectangle with a Colour. Graph.FillRectangle(Brushes.AliceBlue, x + 1 , y + 1 , W - 1 , hgt - 1 ) That works fine so whats my problem Well i don't want to use the same colour all the time so i wrap it in a method and pass the color in as a parameter. But How i tried something like Dim myBrushes As Brushes myBrushes = Brushes.Aquamarine 'to try and pass this as a parameter ...Show All
Windows Forms How to display Child Form besides a tree-view column.
Hello: I have a question of present tree-view control and a tree-node correspondent Child Form side by side in an MDI Form. I tried to use Split-Container with tree-view on the left side and wish the Child Form Window correspondent to the selected tree-node on the right panel. However, the Child Form can not be shown in the Split-Container panel. Would there be a way to design this User Interface Thank you very mu ...Show All
Visual C# Compiling a native C DLL for use in VC# using DllImport
Hi Group! I'm a C# newbie (real wet and raw) as well as a complete newbie to Microsoft OS programming. Normally I use native 'C' on Posix complient platforms - which I've been doing for many decades. Scruitinsed this BB for an answer but can't find anything close. Also burrowed around in Visual C# IDE for clues - none forthcoming. For reasons of speed and size I want to write a suite of routines in native 'C' and encapsulate them in an external ...Show All
Smart Device Development Opening Windows media palyer
Hi, The problem is i should be able to open windows media palyer programatically through a button when i click on the button.Is there any built in function available in C#...i am trying this in C# .NET CF 2.0. can any ine help me out... Thanks for reading.. can u help me in..how can we pass a url for this media player to play a file if we open it like that... thanks for ur help..it worked ( System.Diagnostics.Process.St ...Show All
Visual Studio Express Editions Can I install Web Developer Express along with Visaul C# Express?
Hi all. I already installed Web Express, and want install Visual C# Express side by side with Web Express on the same computer. But MS instruction manual says I need remove all "previous versions" , including "Microsoft SQL Server 2005 Express Edition" and other componets that I've installed. MS did not define what "previous versions" are, and when I run autouninstall, it wants me to remove Web Express compo ...Show All
Visual Studio VS2003 ->VS2005 Addin not adding Macros
I've got a Visual Studio Addin that adds macros to the user's environment. It worked fine in VS2003 but is broke in VS2005. I get an exception saying "Item can not be added to a project when multiple or no items are selected in the Solution Explorer." It seems the AddExistingItem method no longer works for adding Macros. Below is some sample code that throws an exception on the last line: private DTE2 _applicationObject; ...Show All
Windows Forms Printing Children
How can I set my menu to print a child if it is open If the child is not open, I don't want it to print. In fact, I want the print option disabled. Except, of course (for those reading this later), it didn't--you&nb ...Show All
SQL Server Renaming files for subscription
I have a subscription set-up and I now want the file to be re-named based on the paramter selected. Currently the file uses the name of the report. This is not sufficent because the paramter type selected will determine what the report represents. Is there anyway in which i can change the file name. ...Show All
Windows Forms Problem using FolderBrowser control in Setup project
Hi All, I am using Microsoft Visual Studio .Net 2003. I'm experiencing some problems using FolderBrowserDialog control in a Form run by an Installer class during the Setup process of an application. I have to ask the user to choose a folder for a one specified file during the Setup process. When I try to Browse for Folders, I get a Window showing only OK and Cancel buttons, the description and nothing more (the treeview does not appear) An ...Show All
SQL Server date time format
I want to retrieve a date time field from SQL server. The format I want it to be retrieved is: YYYY/MM/DD-hh:mm:ss:lll (l = millisec) example '2006/06/21-15:26:39:994'. Can somebody please tell me how to do it. I know how to do it in Oracle, but not in SQL server. SELECT CONVERT(NVARCHAR(10), getdate(), 111) + '-' + RIGHT(CONVERT(NVARCHAR(23), getdate(), 21),12) Or SELECT REPLACE(REPLA ...Show All
Software Development for Windows Vista How to load workflow assembly from a specific directory?
Our application generates workflows programmatically. Since the number of workflows (DLLs) can be quite large we would like to store the DLLs in a special folder so that they are not mingled with the application files. The problem is that when the application tries to execute a workflow, the runtime cannot find it. I have seen similar questions and the recommendations were to put the workflows in GAC or program folder. If we were to put them in ...Show All
Windows Forms ClickOnce Deployment from Web and IE "File Download - Security Warning" Dialog
We are deploying via ClickOnce from an IIS web source (.Net Framework 2.0 & VS2005). Have signed deployment and application manifests using VS2005 signing tab with Verisign-issued certificate. After adding public key to the client's Trusted Publisher store, security dialogs have been suppressed, with the exception of one last (simple) case - the "File Download - Security Warning' dialog, prompting the user to save or run the file. Any ...Show All
