kppraki's Q&A profile
Visual Basic Changing Font of Menu Items
In form1.resx, I have < data name ="MenuItem2.Modifiers" type ="System.CodeDom.MemberAttributes, System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> < value > Assembly </ value > The text property is "User Manual". I have extra room on the form. Is there any way for me to increase the font size of the menu items Hi, I think this is a system property. You would change it in the system properties not in your code. Thus affecting all other programs. That is if you're using the menu provided in visual studio. If you want your menu to system dependent, ...Show All
SQL Server Merging cells in a column utlizing Reporting Services 2005?
Hello, I am wondering if somone could help me to figure out if it is possible to merge cells in a columm below called Question. I know how to merge two columns together but merging cells in a column seems challanging Thanks for any help! Question Sub Question Responses N Total Percentage 1. Hours paid employment 0 108 595 18.2% 1 to 10 hours 41 6.9% 11 to 20 hours 68 11.4% 21 to 30 hours 38 6.4% 31 to 40 hours 198 33 ...Show All
Visual Studio Express Editions problem with vb2005 express registration
I don't know if it is hear, I have a problem for registring Vb 2005 beta 2, becouse I haven't got internet conection at my home. I would like that somebody help me how can i register it. Is there a link where i can obten my pwd , pleae response to my e-mail: taiboabelenda@yahoo.es or one notification which I can view. Hi Taibo, I moved your thread over to the "Visual Studio Express Editions" forum. People here ar emore likely to be able to help with your registration problem. Regards, JJustice [MSFT] ...Show All
Windows Forms bug in datagridview Visual Studio 2005 release candidate, solution found
I have datagridview which is associated to a typed dataset. The dataset contains three tables a, b and c. The datagridview has table a as its datasource. There are two dropdowncolumns x and y in the datagridview. X has a column in table b as its datasource and y a column in table c. The dropdowncolumn x associated to table b is OK. It fills in the correct values in the dropdown, and everything works fine, saving and fetching data. The other dropdowncoulumn y does not work as expected however. That is, as long as the value of the corresponding column in table a is null, it is correct, the dropdown shows ...Show All
Visual Basic Visual Studio 2005 Professional Tools for Office
I'm trying to install VS 2005 tools for office but I can't see it anywhere when I do a custom installation. I have VS 2005 Professional. Can anyone help me with this Ok, I have figured out the problem. What I wanted to do initially was to declare a variable to be used for manipulating an excel file. The variable I wanted was this: Dim wb As Microsoft.office.interop.excel.application The problem was that it wouldn't recognize it. So I did a lot of research and I found that you have to create a reference to the excel library. Project--add reference--Com tab--Microsoft Excel Library(possibly the name, can't remember at this point) ...Show All
Visual Studio Tools for Office Excel BeforeRightClick TransparentProxy
When VSTO was in Beta 2 the Excel "BeforeRightClick" event handler would receive an instance of an Excel.Range type. Now, instead of the range it receives a Transparent Proxy that consequently causes my Application.Intersect() method invokation to fail ( "No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE))" ). I'm not sure where the Transparent Proxy came from, it was not in the Beta 2 code, but it seems like when I try to use it, the Intersect method now fails. Can anyone help out Thanks, - jim The TransparentProxy you're seeing is part of the VSTO solu ...Show All
Visual Studio protected internal
Is there any particular reason why there is no protected internal access modifier Robert C# supports FamilyOrAssembly which corresponds to "protected internal". C# does not support FamilyAndAssembly modifier (besides IL, C++ is the only language I know which supports it). I.e.: C#: Public -> public Assembly -> internal Private -> private Family -> protected FamilyOrAssembly -> protected internal FamilyAndAssembly -> ups... C++: Public -> public: Assembly -> public private: Private -> private: Family -> protected: FamilyOrAssembly -> public protected: ...Show All
Visual Basic How can I show Text including picture?
I want to preview and edit some text files which include pictures, color texts and finaly some linktexts(such as a hyper link text). How can I do this For example you think of a MS-Office Word Document which has text, color text, pictures and somwhere a linkable text(BookMark). consider that I don't want to previw a word file. I want a SPECIAL TEXTBOX to help me. It doesn't exist. You can either use Word as a control, you can use a rich text box, to the degree that does what you want, or you can write one. ...Show All
Visual Studio Difficulty setting ReportParameter
I am running into issues with setting the ReportParameter method. I am dynamcially setting an ObjectDataSource that is connected to a class object, and dynamically setting a ReportViewer Object. I am running into issues setting the parameters for the report dynamicallly. Here is my code: ------------------------------------------------------------------------ public partial class ProductReport : System.Web.UI. Page { protected ReportViewer reportViewer = new ReportViewer (); protected ObjectDataSource objDataSource = new ObjectDataSource (); protected System.Web.UI.HtmlControls. HtmlTableCell tdRptViewer = new ...Show All
SQL Server SQL Server 2005 Management Studio Error
Hi guys, I just installed SQL Server 05 Dev. Edition on my test server but after trying to open the management studio/SQL profiler I am getting the following error (Please assist): ************** Exception Text ************** System.InvalidCastException: Unable to cast object of type 'Microsoft.SqlServer.Management.UI.ConnectionDlg.Personalization' to type 'Microsoft.SqlServer.Management.UI.ConnectionDlg.Personalization'. at Microsoft.SqlServer.Management.UI.ConnectionDlg.Personalization.LoadFromDisk() at Microsoft.SqlServer.Management.UI.ConnectionDlg.Personalization.get_Instance() at ...Show All
Visual Studio Express Editions menustrip
I'me trying to search a menustrip to find out witch are checked with the function autochecked = true. How can I do this. Thanks for help You can check the checked property of an individual menu item. Likewise, you can iterate through the Items collection of a menu strip item and check each one for it's checked property. Here is some sample code using recursion to walk sub-menus. Sub Check() For Each i As MenuItem In Me .MainMenu1.Items MenuChecked(i) Next End Sub Private Sub MenuChecked( ByVal i As MenuItem) For Each item As MenuItem In i.MenuItems Me ...Show All
Visual Studio Sharing Files\unsharing files
I noticed in Sourcesafe that some up my forms had what looks like the shortcut icon on them. from another thread I have seen it looks like this might mean they are shared. They shouldn't be as there is only one project in sourcesafe. How do I get them to be unshared Thanks. If you move a file from a folder to another in VSS (by dragging the file), the file is actually shared between the two folders. So the most common thing you can do is go to the source folder and delete the file, so that it exists only in the destination folder. However, the shared icon will not go away since the file was only deleted fro ...Show All
Visual Studio 2008 (Pre-release) Avalon Beta with Current Visual Studio Relase
Hello, Can I use Avalon with current Visual Studio Release (Express or Professional). Thanks, Mustafa ELBanna Hi Arik, On a related note... I'm having a problem with the Nov CTP on VS2005 whereby when I run a very basic application all I get is a black screen in a browser window. It seems to work on a fresh reboot (sometimes) and will not work again. I'm noticing others having the same problem... http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.windows.developer.winfx.avalon&lang=en&cr=US Any clues ...Show All
SQL Server SQL SERVER 2005 beta2 installation problem.
Hi, I've installed the Microsoft SQL Server 2005 Developer ed. on my XP SP2 Eng. I selected the full install. The installation does not give me any error but a lot of thing are not installed (or not in the menu). For example the books online, the SQL Enterprise manager. The only application installed is the Surface cofigurator. The server is installed but I'm not able to find the tools to manage it. Where are them I tried to reinstall it and the result was that "FEATURE YET INSTALLED" appears. Any tip Regards, Marco. Check the installation log SQLSTP.LOG from the directory or search for it. Als ...Show All
Windows Forms OpenFileDialog Working directory?
In my VB2005 programs, I like to have an "Last Used Folder" setting so the next time the program is used, the OpenFileDialog boxes will show the last folder used. I can do everything but figure out how to get the Folder Path out of the OpenFileDialog once the user has selected a file. I have pulled it out of the "Filename" member in which I would have to write code to manually remove the filename from the string. Is there an easier way to do this One way to do it is to have a single OpenFileDialog object during all your application's lifetime (make it a field in your MainForm c ...Show All
