Franck EMSALLEM's Q&A profile
Windows Forms Customizing DataGrid's columns captions
Greetings, The situation: Using visual studio .net 2003 I have created a windows forms datagrid which is connected to MDB datasource . The question is "Do I have to use the original database's fields names as datagrid's fields captions . " In other words isn't there any way to customize the fields captions in the datagrid or at least use the fields captions instead of names Thanks in advance. Oh.. I've just found it my self ...Show All
Windows Forms Close button problem...URGENT!
Anyone know how I can conrol what happens when a user presses the close button on the for ( the x int the top right corner). My problem is that the form doesnt close when the button is pressed. Please help!!!!! Fou ...Show All
Visual C# StreamReader & Console Apps
I am using System.Diagnostics.Process to execute an external process. When I set RedirectStandardOutput = true and attempt to read the entire stream either with ReadToEnd(); or looping with ReadLine(); the application freezes or waits continuously on the last read. What do I need to do to read the whole stream and continue with the application String data; Process proc = new Process(); proc.StartInfo.UseS ...Show All
.NET Development enum question
Hi. I am new to this and find it exciting but confusing at the same time. I have been told, from a great source, that enum is the best way to say, handle/manage error codes or let a method expect a type of Enum - it allows it to be more readable/managable and prevents any errors from occuring during development/testing. So you got to tie it down tightly, which I completly agree with. The way I used to do things was, if a method r ...Show All
Visual Basic Server Explorer - SQL Servers VS 2005 Beta 2
In VS2003 Pro in the Server Explorer I have: Servers Computername Crystal Services Event Logs Management Classes Management Events Message Queues Performance Counters Services &nb ...Show All
Windows Forms Removing controls from a Panel within code
MY vb.net winForms 2.0 app has a form containing a panel. Within code i add usercontrols to the panel which all appears to perform correctly (the panel's control count is correct). But when i try and remove the controls from the panel, I hit a weird problem. My code to remove the controls is this: dim objControl as control For Each objControl In Me .panelMyPanel.Controls Me .panelMyPanel.Contro ...Show All
Visual C# Transferring a resource into another namespace
I have an embedded resource (a cursor) and want to place it in the namespace that it is to be loaded in (which is not the default project namespace). I'm using VS2005. Does anyone know how I might achieve this You can specify the namespace of you embedded resource by selecting it in the Solution Explorer and press [f4] to activate the Property tab. Here you can specify the namespace. ...Show All
Visual Studio Express Editions Is Visual Basic 2005 Express interpreted or compiled?
I have looked through a lot of literature, but it seems difficult to find a clear answer to this question. I can see that VB generates P-code, which is interpreted and therefore executes much slower than compiled languages, but some literature indicate that it may be possible to compile the P-code and generate a fast executing program. C is a terrible language so I am looking for a good, strong alternative, but in practice it seems that th ...Show All
Visual Studio Team System witimport gives "Unexpected exception from server"
I added a couple fields, a new state, and a few new transitions to a work item type. Now I'm trying to upload it into an existing team project using witimport. It gives me an "Unexpected exception from server", however when I do it with the /v flag it validates fine. What is going on Can I find out more info about why its failing I have created a process template using this WIT and it created fine (haven't created any t ...Show All
Visual C# Performance Monitor
Hello All, I am developing a monitor application for our servers. Ideally this will have a minimum impact on the servers themselves (i could run from a workstation) and would monitor network connectivity, available memory and processor load as a function of number of cleints connected. I wouold like to use something like: PerformanceCounterCategory[] RegisteredCategories = PerformanceCounterCategory.GetCategories(); in ...Show All
Visual C++ int thisarray[19][14] in a class derived from cobject
I'm using VC++ 6.0 sp6 and I'm trying to create a class:public CObject If I declare an int array it crashes the wiz created SDI program, am I forced to use MFC CArray or CList What causes this Thanks in adv.!! MCRoberts wrote: I'm using VC++ 6.0 sp6 and I'm trying to create a class:public CObject If I declare an int array it crashes the wiz created SDI program, am I forced to use MFC C ...Show All
Visual Studio Express Editions VB.NET & SQL Server Installation Problems
Hi, Maby someone can help... I've just downloaded the .img installation file of VB.NET (the latest express edition) and extracted it and installed it. Before then, I uninstalled VB.NET Express edition BETA 2. On completion of the install of the latest VB, the SQL Server installation failed and when I started VB, there where absolutly no templats what so ever. I re-installed the whole lot again and check out all the advice that there was but s ...Show All
Windows Forms Design mode of custom control hosted in UserControl
Here's my problem. Throughout my code in a custom control I check to see if it's in design mode. If it isn't I don't do anything, if it's not then I do. (I have to do this because I'm using MSHTML and it works as soon as&nbs ...Show All
Visual Studio Team System Disappointed with RTM - so many bugs remain
It's great to finally have the RTM version of TFS - really, it is! Despite some bumps, the upgrade from B3R really went quite smoothely compared to previous upgrades. That said, I'm a bit disappointed by how many bugs - bugs that were known from early in beta 3 (or even beta 2) - are unfixed in the RTM version[1]. So far the bugs I've encountered are not serious or have easy workarounds, but after so much time, I'd hoped for better. How ma ...Show All
SQL Server HELP - Problem with Replication
Hello, I have transactional replication running between two SQL Servers. It's a push subscription and the distributor is on the local publisher. Recently after running for a year the replication stopped working and we get the following two errors. 1 - The process could not bulk copy into the table "History_Rep" String Data, Right Truncation. Error Number 22001. ----------------------------------------------------------- ...Show All
