Simone Poste's Q&A profile
Windows Forms Advice requested: Windows Forms Binding:
I have been trying to get the following Windows Forms binding working, without success. The following Code, successfully populates the GridControl, and both combo boxes with data. The two comboBoxes represent: SalesOrderType, and SalesOrderStatus. There six SalesOrderTypes, and five SalesOrderStatus values. The GridControl contains all of the Sales Orders. My Problem: I want the comboBoxes to display the same value that is in the DataGrid, ...Show All
Windows Forms Custom dialog box
I want to make a searchbox in my application. Now I do that with a custom dialogbox. The problem is that I want to work with 'Find previous' en 'Find Next', but when I click a button my dialogbox closes. When for example the button 'find next' is clicked, the function 'search' in my parentform should be performed with the text entered in the dialogbox. The dialogbox should not be closed. How can i solve this problem Can I return the ...Show All
.NET Development form is lost
Hi. I am trying to do simple graphics here using 2 forms: 1 main form which executes form 2 (graphics) in a seperate thread. form 2 on load basically has a for loop and in it will increase the opaticy of the form by 0.01 to give a fade in effect however once this is shown, the form is then lost! if i do not put this in a seperate thread created in the application it's fine, the form is there. but since this type of graphic "freezes" the previous ...Show All
SQL Server Missing Text in Notifications via SMTP
Hello, We are seeing portions of text missing from our notification emails using NS 2.0 and the built in SMTP delivery protocol. The notification looks fine in the MS notifications table -- no missing text in the field that becomes the email body, so it may be a bug in the xsl transform code where the text disappears. Our xslt is very simple and it has been tested. The field is plain text. We run perhaps thousands of "short" ...Show All
Windows Forms How to start a ContextMenu for columnheaders in ListView
Hi all, I'm using the ListView class and want to start a ContextMenu, when the user clicks with right mousebutton on the columnheader. Unfortunately the event passed to the OnColumnClick method does not allow to identify the mousebutton, the user has used to click. It's an instance of the class ColumnClickEventArgs, which provides only the column index as relevant information. All other mouseevents for the ListView itself, where the mouse ...Show All
Windows Forms How to make UserControl as a container
Hi I create a UserControl with a GroupBox, but this GroupBox is not a container, I get a idea from microsoft website. Add this attribute to the Class, then it is a container. [Designer("System.Windows.Forms.Design.ParentControlDesigner, System.Design", typeof(System.C ...Show All
Windows Forms How print all record/selected record in data grid?
How print all record/selected record in data grid pls provide any codes how to use this class.. im new here.. tnx so much ...Show All
.NET Development The SqlConnection.ConnectionTimeout Property =0 doesn't cause effect
Hello, I have a stored procedure which returns a resul tset , but it spends more than 15 seconds in process the information and return it. (executing it directly in the QueryAnalizer spends about 36 seconds) I have modified directly the connection string property, but the message exception continues even if the value is 0. ConnectionString: "Data Source=172.17.30.5;Initial Catalog=infoaccess;User Id=user_infoaccess;Passwo ...Show All
Smart Device Development C++ DLL and #define
I have a C++ DLL that I call in VB. Linked to the DLL project is a static library. I need to define 'FIXED_POINT' and I did it by placing #define FIXED_POINT in my DLL project's CPP file (right after the #include's). When I opened some files in my static library, I saw that the code between #ifdef FIXED_POINT was grayed. This means it doesn't see the definition of FIXED_POINT right Where should I place the definition so that the library project ...Show All
SQL Server ADOMD.NET 8.0 dependencies for connecting to both AS 2000 and AS 2005
I've got a C# application developed with Visual Studio .Net 2003 which uses Adomd.net (8.0) to access cubes on SQL Server 2000 Analysis Services as well as SQL Server 2005 Analysis Services. In the MSDN reference page I noticed that I can set the connection parameter "ConnectTo=Default", and now, after installing the SQL Server 2005 Client Connectivity components, I can make connections to both AS2K and AS2K5 from my development machin ...Show All
Visual FoxPro [URGENT] help extracting FoxPro DBF Encrypted fields
Hi everyone. I'm working with a Foxpro DBF database, but I'm not using Visual Foxpro to read the data. I'm doing this from C#.Net. In fact .. I've never really used Foxpro before. My problem is as follows: In C# and Crystal Reports .. a lot of the string fields simply return blank strings (i.e. "") When I view the table in FoxPro, they are fixed-width character fields, and browsing the table shows that they contain a bunch of special A ...Show All
Visual Studio Team System User name in a workitem
When we have fields related to users in a workitem (ex.: assigned to) it shows his Login Name at team explorer. Here, we use ID numbers as Login Names (things like 10001, 140345...). This is obivious hard to track, so we use the Full Name attribute instead of Login Name in our day by day. Sadly, I couldn't find a way to configure this in team explorer. It shows only the Login Name of the users. What can I do Change Login Name of our users is not ...Show All
Visual Studio 2008 (Pre-release) Solution for /TemplatedParent/TemplatedParent?
Is there a known solution for converting RelativeSource=/TemplatedParent/TemplatedParent from pre-Feb CTP builds The new RelativeSource element does not seem to have a direct equivalent. This question seems to have been asked but no answer has been posted that I could locate. Hi Michael, Try that: < Button Width = " 400 " Height = " 200 " > < Button.Template > < ControlTemplate > &l ...Show All
Visual Studio Express Editions Windows Picture and Fax Viewer...
Hi, i'm not sure if i'd should be posting in this forum but i coulnd't find an off-topic forums and i have a vb question aswell... My problem is is that windows picture and fax view dosn't work. I tried open with>windows picture and fax viewer, I set the windows picture and fax viewer (shimgvw.dll) to be the default application (from tools > options >files types) to run when a .jpg, bitmap is clicked on but when i click on one nothin ...Show All
.NET Development how to prevent modification(deletion, rename) to an assembly?
hi , suppose i have an application which uses a assembly "***.dll" and it loads the assembly using reflection and creates a object of it that too using refelection. now i want that if the assembly is loaded nobody should be able to delete it or rename it.how can that be done.more specifically how to lock that particular assembly dll. thanks and regards ramneek .NET does not provide that type of security. You mu ...Show All
