Answer Questions
AlexeiOstrov The list that this enumerator is bound to has been modified. An enumerator can only be used if the list doesn't change
Hi, Can I pass a contrl as a function argument "by reference" in C# I want to make changes to that control in another class's function and want it to be reflected in the actual control, without returning any values. for example, in Proj ...Show All
Corey Mingo SIMPLE question for all you .NET geniuses
Not that I'm NOT a .NET genius!!!! I just want to make sure YOU ALL know!!! (OK ENOUGH OF THAT!) I'm a genius-WANNA BE Let's say we create a form, a class derived from the form class. Now, this form has buttons and everything in it. &nbs ...Show All
Todd Biggs - MSN Product Manager Obtain the control beneath the cursor
I'm writting some custom drag-and-drop code. I captured the mouse to begin the drag. During the mouse movement of dragging, I need to obtain the control (or window handle) directly beneath the cursor - the same way Windows dispatch mouse event to&nb ...Show All
vnkt_ravi C# Replacement for ActiveX
Has something replaced ActiveX Objects for C#.NET What I want to do is have a web page where a user clicks an "Install Now" button and has the standard ActiveX popup asking if they think its safe. When they click yes I insert so ...Show All
Jacaranda Correction to the above question
Hello, How to change selected index of combobox on one external exe using Win API That combobox style is dropdownlist. I tried to use SendMessage(GetDlgItem(hWnd, 301), CB_SETCURSEL, 2, 0) where hWnd=hWnd of exe 301=control id of combobox But it doesnt change the selected index, itonly changes the text portion of the combobox. Even I tried to use SendMessage(GetDlgItem(hWnd, 301), CB_SELECTSTRIN ...Show All
smobrien databinding a classic form header and datagrid
Hi, I want to be able to manually bind a standard parent-child dataset where my child data is in a grid. i'd like to be abble to move forward and backward to next and prev. header records and for the datagrids data to display according&nbs ...Show All
Danny NG Collection not adding the controls...
Hello, i'm writing a custom ToolBar inherited directly from System.Windows.Forms.Control and so i have written code for the nested class ToolBarButtonCollection... According to the documentation, the ToolBarButtonCollection implements IList, IEnumerable, and ICollection, so i decided to&n ...Show All
schmidtl_dd Where is sqlexpr32.exe?
I have built a C# application that I'd like to distribute on CD with all prerequisites included on the CD so that the end user doesn't have to download any of the redistributables. They include .NET framework 2.0, Windows Installer 3.1, and SQL Server 2005 Express Edition. When I initially tried to publish with the "Download prerequisites from the same location as my application" setting, I was presented with errors such as: Error 5 ...Show All
coolbiker Rowfilter with wildcard
Hi all, I'm coding a little window that will filter my database. In the textbox of that window, i can use the wildcards * and for a single character. The problem is when the user use the * it work number one, but when he use& ...Show All
rax how to open the setting in Settings.xml into textbox when the program starts ?
before i start i would like to say hello to all members ( this is my first post :P ) also im fairly new to programming / coding so be gentle - lol :) ---------------------------------- i have managed to add some code that reads and writes ...Show All
David Vestal Debugging ConvertTo method of an ExpandableObjectConverter
I have two struct properties for my control and both properties uses their own typeconverters (inheriting from ExpandableObjectConverter) which basically has the same implementation. The first one is just a Size type and the InstanceDescriptor inserted in Initial ...Show All
tao84 open an application from a windows service
Does anyone know how to open an application from a windows service I have an application that I have to run while passing command line parameters. I figured I could open up this application from a windows service while passing the parameters ...Show All
CitizenPips user32.dll Threads Issue from Upgrading from Vb6 to vb.net
Hi I have a module that handles threading with user32.dll Api. The problem comes when each window calls this pSetForegroundWindow subrrutine to set the Foreground thread. The windows is displayed active but is not refreshed or painted, stays unresponsive. Why is that Can someone help Would I have to declare a system.threading instance to substitute this module functionality And not use user32.dll in vb.net How can I do that I have an ide ...Show All
Andrej Benedik How to convert a .NET Application(WinForm) to Active X Control
Dear Friends, How to convert a .NET Application to Active X Control. is there anybody who can give me some guidence. Thanks in Advance Mukkesh Hi, I tooo want to know the answer....reply me pls You'd have to convert it into a VB6 active ...Show All
Polo Lee accessing resource from another assembly
I'm trying to access a resx file from another assembly. The thins is that when i add a resource to the resouce file ... it change the modifier of the class to internal ... but i want it visible so the other assembly could access it. Is there a way to tell the designer to put the modifier as public and not internal When i change from internal to public. Everything works fine. But as soon as I add a new string. it changes to internal... arrgghh ...Show All
