Answer Questions
Pete Verrone Custom menu items serialization ...
Hy! I have build in VB .NET a custom menu which displays icons to each menu item. The StyleMainMenu inherits MainMenu and StyleMenuItem inherits MenuItem. For StyleMainMenu I have a toolboxbitmap and I can choose to insert directly from toolbar a style menu to the form. But, at design time, when I add menu items, they are made as "new MenuItem", not as "new StyleMenuItem". Question: how can I make that, by design time, the menu i ...Show All
Sunil Agarwal Changing Parent Items From Child
How can I change parent items such as menu items from a child >>I believe you'll have to cast the form to the exact type of form that it is though to >> get it to compile >> CType(Me.MdiParent, MyForm).SubRo ...Show All
Kasim Husaini RichTextBox.ReadOnly = True
I am developing a chat application and I'm using a richtextbox to display the content of the conversation. I don't want the user to be able to modify the text in that field so I set the ReadOnly property to true. When I run the app, the richtextbox control is colored beige as if the Enabled property were set to True as well. Is this action normal for the ReadOnly property If so is there another way to make this field read only through code whi ...Show All
chiang Smart forms vs remoting
How are smart forms changing the way that developers are designing their apps. I know that in 1.1 for users of the program to get an update a re-install was required. With the smart forms this has simplified on the part of the user and the developer, but I am wondering how that affects how the program is structured. To limit the number of updates a user would have to perform as there was a lot of code that resided on the server and the program w ...Show All
BrettM Problem with UserControl Showing up in IE
I have a user control I've created. On a remote machine it is getting downloaded and shows up in IE fine. On my Development machine, where I am serving the page and object from, I intermittently run into problems with it not showing up in ...Show All
phenshaw How to programatically select a TabPage
Hi, How do I programatically select a TabPage I have a TreeView on the left of my screen and a TabControl filling the right hand side of the screen. When a TreeNode is single clicked or selected, I want the "View" TabPage (on the TabContr ...Show All
XImplosionX DataGridViewButtonColumn does not render?
What's the trick to making a DataGridViewButtonColumn render correctly in a DataGridView control I've added the column and set the text property and can even click the cell and cause the cell clicked event to fire but all I see is a blank white cell. Any ideas Thanks. It seems that your button column has its FlatStyle set to FlatStyle.Popup. Consider changing it to FlatStyle.Standard. Here is a sample of a data grid view which contains&nb ...Show All
Acoquinar DataGridView Filter
Hello, I'm using DataGridView to display about 50,000 records. I've added a filter to the dataview, tried to use various implementations, but all of them work very slow (same implementation on .net 1.1 gave a much faster performance). I've tried RowFilter, RowCount, etc. I understand that there is an option of using VirtualMode in DataGridView for a large number of records, but have found no way of filtering when using it... Can you please ...Show All
nbhatia a splash screen
How Can I do the application splash screen in Visual Studio 2005 Somebody told me the splash screen is setting in the Project Properties, but i don't know how. Please help Thanks Visual Basic includes an ability to select a Splash Screen in the Project Properties using its Application Framework. However, C# doesn't provide this ability. If you're interested I've post a sample project on my blog showing how ...Show All
Sumabobby access windows forms from a web service
i have a windows form that i want to access from a webservice. the web service resides on the server where the aplication is running. i want to be able to access some of the methods of the windows form remotly using a web service residing& ...Show All
txc43 Connecting to a Remote SQL Server via windows forms
Hi I am trying to find the best practice to connect to a remote SQL server from a windows forms application. The SQL Server does not belong to same network or domain and has been configured for mixed authentication. I know we can encrypt the connection string within a config file but do we ensure that the credentials are not passed as clear text along the wire in a secure format. Configuration: SQL 2005, ADO.NET 2.0, VS.NET 2005 What ...Show All
moto822 Socket Question
Are sockets available as objects that you can drag into a form If they must be created from code, what headers do I need to include (I suppose specifically for winsock). How do I use SSL for my sockets Where would I include the headers The main .cpp file I tried including winsock.h in stdafx.h but every build failed with it not being able to find such a file. I tried including it in my main Project.cpp I don't get the missing file error, but I ...Show All
Ubuntulover Triger Function In SQL2000 VB.NET?
I would like to design as function that can tell me the infomation when a record is inserted into DB. Are Triger function of DB and Window Service of VB able to make that Or can any other solutions reach that Hope to hear you soon. Than ...Show All
krysa Customize Listbox Items
Hi everybody, I have listbox object in my form. Now I want the first item I add to to be bold and the font color should be red. Then all the other items I add should be default. Is that possible If yes how If no, why not Thanks for your help !!! Got it, Thanx man. Hi all, working with this listbox, I have a problem if the size of item is bigger than size of listbox. Have you any idea thank ...Show All
Dan Handevik Control with transparent background
Is posible in Visual Studio .Net 2005 set transparent background to a control I want avoid, It covers the line in back. See example. example Thanks _________________ Hip Hop Directo De Chiste Hi, Controls typically do not support transparent backcolors. But if you have a custom control, you can get a workound by using the Control.SetStyle Method in the constructor. The SetStyle method of the Control class allows you to set par ...Show All
