Hegbom's Q&A profile
Visual Studio Team System How can I define a common set of rules to be used by others.
It is possible to define a common dictionary, but I can't see how a can define a common set of rules. What you do here is save an FxCop project w/the relevant rule set selected. This project can be pulled in on the command-line via the /project switch and an arbitrary set of targets can be added via the /f: switch. We're looking at adding a project template feature in a future version of the tool. Michael ...Show All
Smart Device Development device lock
On my window mobile phone there is an icon on the today screen called device lock...what is the name of the .exe for that file I asked in another thread, but I'll ask here too, what model are you using There's a lot of OEM-specific deployment configuration to take into consideration ... ...Show All
Windows Forms Webbrowser Control Memory Management Question
I have a C# application that uses the webbrowser control. I've noticed that as I load more web pages through the webbrowser control my program continues to consume more and more memory. (It starts at 9MB and quickly climbs to 40MB by simply loading web pages.) My question is really two part: Q1: What is the reason for this compounding memory comsumption Web cache, memory leak, ... Q2: Is there some sort of garbage collection I should be ma ...Show All
.NET Development XMLSerializer - "key/selector" constraint ?
I'd like to serialize a class member with a key constraint. Is it possible to do that with XML attributes and the XMLSerializer Sample: < xs:element name = " Set " type = " Set " > < xs:key name = " UniqueEntryValue " > < xs:selector xpath = " Entry " /> < xs:field xpath = " @value " /> </ xs:key > </ xs:element > Thanks ...Show All
Windows Forms Reporting tools for Win and Web applications
I am writing a WinForms appllication that is very data intensive (almost 300 tables). I need to be able to create sophisticated queries as well as provide a way for the average user to create simple reports. The application will be installed in a few hundred locations (this makes licensing issues very significant). Can anyone recommend a good Reporting package that will be flexible enough for me to create advanced reports and simple enough fo ...Show All
Visual C# How can I use the timer properly??
To decorate my WinForm App,I used a timer to make the opacity of the form graduately transform when closing...but it did not work.,.wy Some one can help me You're close. What's happening is the form is closing before you have a chance to "dim" it. Try this... private void timer_Elapsed( object sender, System.Timers.ElapsedEventArgs e) { if ( this .Opacity>0) this ...Show All
Visual Basic trouble setting a max and min value
I have the following code: Private Sub numericTextboxKeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress Dim tb As TextBox = CType(sender, TextBox) Dim chr As Char = e.KeyChar If IsNumeric(e.KeyChar) And Not e.KeyChar = "-" Then 'If adding the character to the end of the current TextBox value results in ' a numeric value, go on. Otherwise, ...Show All
Windows Forms VB express DatePart in datagrid
Hello I use VB express to discover VB... I use a datetime picker to set a field in an SQL DB (sql express) After, i use a DATASET, DATABINDING, TABLEADAPTER as show in the tutorials to show a datagrid with all my info. Well, everything is running good excepted that the field "DATE" in my datagrid show the "complete" date "dd/mm/yyy hh:mm:ss" and I'd like to see only the DATA part "dd/mm/yyyy" I read a lot of posts in multiple forums but I couldn ...Show All
SQL Server Task Expression Evalutation Time
I have designed a package whose first step initializes several variables . Other steps in the package have expressions based on those variables. Example Expression for MyTask: PropertyName = "Disable" Expression = "@DoMyTask" Given this example MyTask will be enabled/disabled solely based on the value of @DoMyTask at the time the package execution begins. Changing the value of @DoMyT ...Show All
Visual Studio Team System Visual Studio 2005 Team System RC VPC
Hi! I download Visual Studio 2005 Team System RC VPC from MSDN Subscripbers dowloads site. When I try to start the VPC and login with: User: Administrator Password: pass@word1 the system deny this account. What wrong This account present in MSDN Subscription downloads site and in Readme.txt file dowloaded with VPC. Thanks. I should point out that the readme file that came with the MSDN download lists the password as pass@ ...Show All
Visual Studio Express Editions BindingSource Navigation
Hi, I've got a Winform with a number of controls that are directly bound to a bindingsource, I've also created a list box and a combo box that will be used for quick record selection. The problem is that both the list box and combo box, have a custom query source. What I would like to know is how to navigator to the selected record and how to change the other control to the same record. eg. If the user selects a record from the List Box, I want ...Show All
.NET Development Restricted User running Windows App accessing "ProgramFiles" folder
Hello, We have a windows application which needs to update the files through the autoupgrade process on start. Application is installed under "Program Files" directory. Now when a restricted user runs the application, the update of the files fails as Restricted user doesn't have access to "Program Files" folder. First of all if anyone has had similar problems, any suggestions, pointers to overcome the restricted user ac ...Show All
.NET Development Discard changes made to datatable columns of a Dataset?
Hello, I have a windows form with several text boxes. OnLoad, I use a DataAdapter which calls a SQL sproc to retrieve it's info. The sproc returns has 3 select statements so when all is said and done, the dataset ends up with 3 tables. (table, table1 and table2) Next I use databindings.add for each of the textboxes and bind them to the appropriate column in the appropriate tables. The textboxes are readonly by default and I have an Edit ...Show All
Visual Studio Express Editions data grid view update
what hapens with my program is simple ... datagrid view dont updates into database(acess)..but when i debug there is no errors: and my binding navugator was generated automactaly and it has code on it... Hi RQuaresma86, This could be caused by a number of things: For example, are you clicking the Save button on the BindingNavigator or are you expecting it to automatically update The DataGridView do ...Show All
Visual C# the filename, directory name or volume label syntax is incorrect.
I have been trying to start a new project in Visual C# Studio 2005 Express and keep getting the error: the filename, directory name, or volume label syntax is incorrect. (Exception from HRESULT: 0x8007007B) I have checked my volume label (WINXP) and the directory (E:\VS2005\) and even the filename that i have entered (MyProject) and can find no invalid characters or syntax in any of these. Yet each time I try to create a new project ...Show All
