lym51's Q&A profile
Windows Forms How to change the mousepointer
How do I chage the mousepointer to the HourGlass shape (and back to the default) in VB.Net In VB6, the form has a mousepointer property but, I can't find an equivalent in VB.Net try{ &nbs ...Show All
Windows Forms Localization, string resource files and Windows Forms
I'd like to localize an existing application. App is written in C# and has been converted (automatically) to .NET 2.0 from 1.1. When the application was initially developed, there was some work done to [hopefully] make localization easier. Example of the project file layout: Project - Resources |- Messages.resx |- MessagesWrapper.cs - Form1 |- Form1.resx As shown above I have a project folder called Resources. In this folder I have a standard RE ...Show All
Windows Search Technologies no search results
I had been using WDS with no problem, but since replacing my hard drive (I did a full backup then restored the whole lot to a new drive) I have not been able to get ANY search results from it. The only other problem I had after the restore was with Office 2003, but after copying in the MSI files from the old drive this has been fine and I have had no other problems. I have re-indexed several times, moved the location of the index, removed ...Show All
Windows Forms A Terrarium Server is Up and Running at http://207.158.113.70/Terrarium
Enjoy! I'll try to keep it up as much as possible. Hi Alan. Unfortunately I'm not running this on a "server" platform. I seem to be experiencing some problems related to the number of concurrent connections. I've been working on an application that may be causing some of the trouble. I'll see what I can do to mitigate it's impact. The server is back up and running. If you experience any more trouble ...Show All
Windows Forms How to insert a row between two rows in a Datagridview
Hi there!. Im trying to insert a row between two rows in an attemp to get some expanded datasheet style. The datagrid view is data bound and a message is displayed "data bound grids doesnt allow rows.add command" Is there any way to do this Oh Oh. Please dont tell me that i have to populate the grid to make it data unbound. I would like the grid to be able to modify the database and this could be very complicated if i do an unbound ...Show All
Windows Forms Dynamic loading of UI controls
Are there any good articles out there on packaging up UI into control library and dynamically loading them into a main shell. With the main windows being a .NET executable and the UI library a dll. Thanks Pat JCasa - It will probably& ...Show All
Visual Studio its no longer possible to use a 'different' build configuration
i have one build configuration where all but one project has been turned off. all projects, however, are set to 'debug mode'. when i activate that configuration and hit f5, i receive the following error message: \WINDOWS\Microsoft.NET\Framework\v2.0.50215\Microsoft.Common.targets(1500,9): error MSB3551: Unable to load referenced assembly "C:\statik\library\framework.interfaces\bin\Release\framework.interfaces.dll". Could not load file or assem ...Show All
Visual Studio Team System Fail Team Project creation
After installing TFS Beta 3, everything seems ok. Can connect to it, manage it, etc. However I cannot create projects sucessfully. When I try to I get this (excerpt from log): Event Description: TF30162: Task "SharePointPortal" from Group "Portal" failed Exception Type: Microsoft.TeamFoundation.Client.PcwException Exception Message: Unable to connect to the Windows SharePoint Services at TEAMSYS1 Exception Details: The Project Creation Wizard w ...Show All
Windows Forms How can I add lines in a richTextBox in C# ????
Hi, I’m working Visual C# .NET 1.1 I have got a richTextBox control with 4 lines: Line 1 Line 2 Line 3 Line 4 Now I want go add one line between Line 1 and Line 2 for example. Line 1 New Line Line 2 Line 3 Line 4 But I don’t know how I can do it. I have tried with richTextBox1.Lines[1].Insert It is possible to add a new lines between others Any example Any help Thanks in advance !!!! ...Show All
Visual C++ stdafx.h(15) : fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
Created in VS6 Tried to compile in VS2005 Express and got the above error. Installed the latest Platform SDK which contains afxwin.h, but get the same error. Here is the code: // stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, but // are changed infrequently // #if ! defined (AFX_STDAFX_H__38F261C7_B9D0_11D1_94AA_444553540000__INCLUDED_) #define AFX_STDAFX_H__3 ...Show All
Software Development for Windows Vista MMDeviceapi
Hi all, I'm trying to compile some sample codes from the white paper. The sample codes enumerates the audio end points and print out the display name. I've included mmdeviceapi.h and propkey.h but got failures. The following are the linking errors error LNK2001: unresolved external symbol _PKEY_DisplayName error LNK2001: unresolved external symbol _CLSID_MMDeviceEnumerator error LNK2001: unresolved external symbol _IID_IMMDeviceEn ...Show All
Visual Basic user.config location
hi, my app stores some settings data in the user.config file. this one is located in InstallRoot%\Documents and Settings\ username \Local Settings or appdata. How can i modify this location of the user.config file (for example i want it always to be in the same dir of my app or a subdir of it. Havent been able to figure it out , anyone knows thanks, Bruno Darn. Writing my own SettingsProvider looks more complica ...Show All
Visual C++ conditional compilation; Intellisense doesnt seem to be working
Dear All. I am using VC 2005, writing a chunk of code like this... #ifdef USE_LICENSING #include<file1.h> code... code.. #endif the editor grays out the code between then ifdef and endif tags, I can use features like intellisense only if i comment out ifdef and endif tags.. anyone aware of this Satish Boston,MA. As long as USE_LICENSING is not defined in your code then it doesn't matter what you have in between and hence Intellisens ...Show All
.NET Development Running an Application remotely from the Server gives a Security Policy error
Running an Application locally works but if running from the Server,it gives a Security Policy error. Even tried making it a full trust application by going to the Security tab and checking off "Enable ClickOnce settings" and selecting - This is a full trust application. I get the foll error when I try to run it from the server. Details System.Security.SecurityException: Request failed. at System.Security.Code ...Show All
Visual Studio Express Editions How do you edit an existing row in VBE2005
In the application that I'm writing the user will enter data in certian feilds to create a Job Card, and if a field is left out the job card is set to pending. Now when the user has all of the data they need to update the job card and set it to complete. How can I go back into the data table and edit a spesific rows data I am using this code: Dim customRow As CentralDataSet.WorkOrdersRow Dim id As Integer = workordernumber ...Show All
