ShadowLingerer's Q&A profile
Windows Forms Should the order controls are added matter?
I've created a suite of custom controls/components, following a "plugin" architecture. I have 3 assemblies, as follows: - Definitions.dll: This contains classes and interfaces that are common to the other 2 assemblies. There are no controls/components in this dll - ControlA.dll: Contains the "root" control. Only has a reference to the Definitions dll - ControlB.dll: This&nb ...Show All
Windows Forms How to populate a listview?
Please help, i want to populate my listview from a datasource, how do i do that all i can find in the web is adding single listitems and subitems, i'd appreciate any help. and also, deleting multiple items.. thanks in advance. Just iterate through your DataSource (i.e., DataTable), and inside the loop, apply the same method you found in the web in adding ListItem (SubItem) in your ListView. As for deleting multiple items, you need to loop through your LitViewItems (Items property) backward, and delete the item you want using the Items.Remove or Items.RemoveAt methods. Regards, -chris ...Show All
Windows Forms Duplicate component name 'iDKontaDataGridViewTextBoxColumn'. Component names must be unique and case-insensitive.
This is the error, which makes me cry. Everytime i work with datagridview, it makes this error in time. I remove every problematic Columns, but it doesnt work. It seems that designer sees something that no longer exists . For instance iDKontaDataGridViewTextBoxColumn was removed from the designer part of the class. ANd designer still says, that it is there. What may be the sollution of this I would like to continue my work without removing whole tab pages of my forms. Please help. Tnanx for every help. on that page is not possible to download the hot fix. Wow, wonderfull Miscrosoft. ...Show All
Visual Basic IE browser help object
I am new to vb .net and am trying to create a simple widows form that will display a message each time Internet Explorer is launched. I have the form create but don't know how to save as a dll file or register it. Can anyone help me find some sample code or instrucitons that will help I think you need to say more about your design. To save a DLL file you create a Class library project and build it. After writing and debugging, be sure change the configuration manager Release. To register it, use regasm.exe in %windir%/\Microsoft.NET\Framework\v2.0.50727 %Windir%\Microsoft.NET\Framework\v2.0.50727\regasm.exe YourDl ...Show All
Visual Studio Team System Changing transition rules, only reason to be changed
Here is the scenario: Person A opens a new Bug (State: Active , Reason: New) and assigns to Person B(Bug Manager) and Saves Person B(Bug Manager) wants to reassign this to Person C. We want the State to be Active and Reason set to Reassigned (custom) Im unable to create a transition rule of Active to Active. Is there a way to do this I could only do it by creating another state Active2 with Reason of Reassigned. Thanks, Staffan We cannot have 'Active' ->'Active' transition. If the State is changed then only it is considered as a transition. Here in this case, the field value f ...Show All
Game Technologies: DirectX, XNA, XACT, etc. 16 channel Real Time signal rendering: Should I go gor DirectX?
I'm refurbrishing an old VB6 application that displays up to 16 signals, at 100 samples per second, along with some icons on the screen. The user decides on the on-screen resolution by means of a zoom function key. Now in the design phase, I need some more information to decide on taking Direct-X or GDI+ path. I've been going through several sample applications, and so far, I've got the feeling that Direct-X is suited to heavily drive the graphics processor in order to render very fast moving sprites and meshes. Instead, GDI+ is a more generic interface layer in between the old API's and the application. Not as efficient as Direct-X. ...Show All
Smart Device Development How I can change the mouse position ?
Hi again, Im searching how to change the mouse ( Cursor ) position from the code, anybody knows how i can do it Many thx in advance hi macro. i m hassan mushtaq. i have same problem which u face a long time ago. and i'll able very thankful to u for helping me in this regardz. i m using VS 2003 (CF 1.0) with C#. i have a treevieew control. it has afterselect event from which i click on node and then a new form open. now i have to fo it with the context menu. but i m not be able to do that. can u help me or give me code. any help will be appriciated. regardz hassan mushtaq ...Show All
Visual C# All Access Variable?
Im new to C# with Windows apps, so please bare with me. I've got an app that requires a user to login. If their login is successful, then it retrieves their 'AccessLevel' from the DB. I'd like to be able to access this information from ANY of my forms because their access level will determine how their window is laid out for them. Can anyone tell me how I can do this The easiest way is to define a static value or property as part of a class (or in a class of its own). public static class AccessControl { private static int accessLevel; public sta ...Show All
Visual Basic Launch VB Program Instead of Default Browser
Is there any way to make Windows call a VB program instead of the default Internet browser What I want to do is to use a VB program with buttons down the left-hand side that when clicked will launch that URL in the browser windows of the form. This will prevent users from surfing in places they shouldn't but still allow them to get to the sites they need to get to for their jobs. These buttons could also change based on the username of the person launching the program. But it all depends on being able to call this program in place of the browser when they click on a link in a email or somewhere else. Thanks for the help, Jim ...Show All
Visual Studio Team System WIT (work item type) editor available?
I'm currently using Notepad.exe to edit work item type definition files. I'm wondering the WIT editor available from Microsoft You can use the one provided by " Imaginet Resources ". ...Show All
Smart Device Development POOM import/export vCard
Can we import/export vCard in compact framework. I can access contacts through poom api but want the vcard and also if i have a vcard file does outlook give any method to import it through code This forum is intended to deal with issues directly related to the .NET Compact Framework. It appears that this question can better be answered by someone on one of the newsgroups for Windows Mobile or Windows CE. In order to get a quicker and more accurate response, please consider reposting this question to one of the following newsgroups: Windows Mobile API : microsoft.public.pocketpc.developer ...Show All
Smart Device Development Dialog in win32 environment
Hi I am developping an application targeted for Smartphone 2005. I want to include a dialog form with textfields I can set values or get values from. I used to do that pretty easily for PocketPC and MFC as you can wrap dialog with a class, which wraps dialog elements with variables. Now I can't use MFCs under Smartphone 2005 so I have to use only win32 APIs. I just don't know how you wrap a dialog with a class and if it's possible. Are there other means to achieve that Thanks Hi, I didn't understand "Now I can't use MFCs under Smartphone 2005 ...", can you please elaborate on that VS2005 supports development on both PPC ...Show All
SQL Server what is [SQL-DMO]
in computer management, when i expand the branch of my sql2005 express, i got a error message. it seems i cant register my server, but i cant login in sqlcmd i also installed sql2000, and it works fine... could anybody help really strange This will never work. You need to use Management Studio (full or Express) to connect to SQL Server 2005. We have a bug file on our side to determine why the server is being registered. If we fix the server registration problem, you still will not be able to connect to SQL Server 2005 through this means. Peter ...Show All
Visual Studio Team System Sharepoint Web Part for VSTS Work Item Maintenance
Hi, I understand that adding, updating etc work items for VSTS is not currently supported in the Sharepoint Team Site for a project. Does anyone know about any third party web parts available to achieve this. Thanks JW You may want to take a look at TeamPlain Web Access , it's not a SharePoint web part, but a stand alone web application with work item management, reporting, documents and more. ...Show All
SQL Server How to sync database latest data with Analysis service
Hi, I am creating sql server reports using analysis service(using cubes and dimensions). After creation of cubes and dimensions for existing data I deployed it. Then I created reports on this data. Reports are generated properly for existing data. But the report is not showing newly inserted data to database (latest data inserted after deploying analysis service). Did I miss anything Or any new configuration required Newly added data is reflected in report when each time I process the cube and dimension and redeploying it. which is a manual process. How to auto sync newly added data into database with cubes Any he ...Show All
