Answer Questions
Selim Yucel Newbie Layout Question
i am trying to develop a sample WinForm application. I want the application to have a list of links down the LHS which will act as my menu. Whenever a user clicks on a link, I want the RHS of my application to refresh, showing the new content that they have selected. My background is in web development, but for an ASP.NET application I would most likely develop a page with 2 frames. In Frame 1 I would load in my menu page and in Frame 2 I wou ...Show All
Malla ListBox right click that selects item
I need to capture the right click event for a list box and first select the item the mouse was over when clicked, then process the event. How do I raise the MouseClick event with the button argument set to left from within an ev ...Show All
Tanveer Rashid Outlook Style Custom List Control
Hi, I'm relatively new to .net, but I'd need to make a list control that looks a bit like Outlooks mail list. E.g the one in the middle showing from, subjects and some icons... What I need to have is few labels and few icons, on ...Show All
Dan Jimenez Datagrid: Photo's
I'm trying to fix up my boss's work (am not really an expert in VB but I know a bit). We already have the ability to load photo's into the database (and they work fine). However, when I click the "Load" button I get the&nbs ...Show All
C#_Worker Business Objects or Dataset?
I am getting ready to develop a Win32 application, and I can't decide whether or not to use custom business objects or use a dataset. Can anyone give me some insight to help base my decision I know the dataset has built in fun ...Show All
kharera Drag and Drop Button with Outline on Windows Form
I've seen numerous examples of how to dynamically position a control on a Windows form using Visual Basic 6's .Drag and .Move methods, such as the code below: Private XOffset As Integer Private YOffset As Integer Private Sub Command1_MouseDown(Button As Integer,& ...Show All
Etienne2005 Accessing Child form function/procedure from MDI from using events and delegates.
Hi folks, Recently only i have joined in this form, for a long time i have been struced by this problem thats why i have posted our folks for good solution. Below i have listed my requirement. I have one MDI form name myMDI and two MDIChil ...Show All
yukuai send message to other process
Hi:( The problem is: I have two winform processes A and B. When form A is closing I want him send a message to form B, so that form B can save the data. How can I do that Thanks in advance. Thanks for your reply. I do not want to do it with socket, I think it cannt be so complex. Can I just first catch the handle of process B,and if it isn't null A would sent a message to B. Do you know how can I do this Looking fo ...Show All
FireSon How to: Webbrowser NewWindow and Navigating equivalent to axWebbrowser
At first, I enjoyed the new webbrowser control but then I noticed that the args provided by the events NewWindow3 and BeforeNavigate of the axWebBrowser had not been implemented in the new control. Arg. Good news, the guys from Microsoft gave us the a workaround recently in C# and said they will publish a sample soon on MSDN. In the mean time, here is some VB.net code inspired from Microsoft's C# that will give you 2 new events an ...Show All
John_NewSys how to manipulate Listbox
Hi, I've been working on creating Windows Form program. I'm struggling to write a code within Listbox. When I open a players name list from file, they display on Listbox. If I click one of the players in the Listbox, it shows on firstName textbox, lastName textbox, position textbox, and age textbox respectively. I'd like to make a code like if I want to modify the player on each textbox but same name, then click Update, the player's informati ...Show All
Federico_Star need help in progressbar...
i really no idea how to use a progressbar... i have a button which when i click it, it will download the html page .....because the file i going to download is big, so i want to use progressbar to show tat the downloading is in progress....how can i do tat help is appreciated... Hi, I never used WebClient to retrieve a website, in fact, I never retrieved data from a website so right now I can't tell you ...Show All
OM$ Viewing a word doc within a Windows Forms Application
I would like to display a word document within my windows form application. Currently I am using the IE activeX control and passing it the word doc location. There must be a more elegant solution. The DSOFramer work fine also with c#. 1. Register dsoframer.ocx (regsvr32 "path/dsoframer.ocx") 2. From your project in VS2003 make& ...Show All
shade29450 STAThreadAttribute problem in managed c++ windows forms
hi, i m developing a windows forms application using MC++, when i do debug the project , it fails in the line of ' openFileDialog1->ShowDialog(); ' and gives an error like that : An unhandled exception of type 'System.Threading.ThreadStateException' occurred in System.Windows.Forms.dll Additional information: Current thread must be set to single thread apartment (STA) mode before OLE calls can be made. Ensure that your Main functio ...Show All
Murli How do I retreive the contents of a field from current record in BindingSource?
In VB6 all you had to do was reference DataControl("fieldname") to get information from the current record in the database table. How do you do the same thing in VB 2005 with a BindingSource Good ! Good ! Good ! I got my problem been fixed. Thanks very much for your help. I tried ...BindingSource.GetItemProperties(null)...and got errors that null is not supported, u ...Show All
Adarsh Sridhar Listview Add Item
I am trying to find the best approach to add 2000+ items to a listbox. Is it possible to load say....the items in "chunks" ex) load the first 200 items onto the listview and display them. so right now the first 200 should&nbs ...Show All
