Seppe001's Q&A profile
Windows Forms Load data after show the form
Hello all I am working in a big windows forms project and we are getting troubles with the load times of some objects. In some situations, the view going to background to appear again when the data is already loaded. My question is: Is there any way to give priority to the paint method of the view and then begin the load process Is it a design problem of our system Thanks in advance to all. Cheers Hi. I have a windows application with a similar problem. The application contains many tabs with many controls that are bind to a DataSource. what I've done to minimaize the long loading is to load controls and data only when needed. When the user opens a selected entity, it loads only the first tab ...Show All
SQL Server Flat File Connection Manager HeaderRowsToSkip not modifiable at runtime?
I have been working with flat file connection managers for a while now, and I have found it very useful to set properties on all types of SSIS objects using expressions that are set to SSIS package variables. We have recently moved towards using a centralized application configuration infrastructure, so we are now loading up all application configuration information from our own system -- it's actually based off of the 2.0 ConfigurationManager. I have developed a custom control flow task that will retrieve all of the SSIS variable information from our own application configuration system and set all of the SSIS variables as the first step in a package. When I have been using this to set the SSIS Variables which are used in exp ...Show All
Visual Studio Express Editions Locking Mouse
Hi ive been looking for days to find the code that will lock "Block" the mouse move event from being processed... So far i've tried the code: actHook= new UserActivityHook (); actHook.OnMouseActivity+= new MouseEventHandler (MouseMoved); public void MouseMoved( object sender, MouseEventArgs e) { Cursor .Position = Ace; } where Ace is the point that the mouse was at last. This doesn't work unfortunatly as i can still move the mouse around... That event is hooked with a class called UserActivityHook (declared as actHook) (not my class) UserActivityHook public event MouseEventHandler OnMouseActivity; I'm thinking that Cursor .Position is only repainting the cursor and while the mouse ...Show All
SQL Server Schema changes no longer replicated to subscribers
Hi to all, I have a merge (pull) replication between SQL Server 2005 and SQL Server Express clients. Data synchronisation is ok, and I already made some schema changes (like adding new columns) at the publisher database which were applied to the subscriber as they should. Now this doesn't work anymore. New columns added at the publisher (with ALTER TABLE or Management Studio) are no longer replicated to the subscribers. I don't get any error messages, and I can't find any hints in the logs why this has stopped working. The "Replicate_Schema_Changes" is still set to TRUE (in general, none of the publication options had been changed). I tried sp_enumeratependingschemachanges to find out any "bad changes" ...Show All
Visual C++ MS VS 2005 Issue
Hi all, Ok, so the thing is, when one would press crtl and spacebar (in MS Visual Studio 2005 Code Editor) a list apprears which shows all the classes and methods .... right .... but for some or other reason mine doesn't want to work ! I have tried a reinstall but that was a time waster... Does anyone have a solution plz... Thanx in advance Programm3r Are you talking about this Or this ...Show All
.NET Development SQLDataadapter.Update Issue
Hi All, I am trying to update parent child table data into Database. For example I have Order and OrderDetails table. I have added 2 records into both the Datatable and trying to save to the Database using Dataadapter.Update (table) interface. When I first call update method with Order table, all the rows in the OrderDetails table change their row state to "Modified" hence insert command does not execute when I call Dataadapter.Update with OrderDetails table. Can anyone help me with this, why should order details table rows state should change ...Show All
Windows Forms System.Windows.Forms.pdb
Where can I get the System.Windows.Forms.pdb debug Symbols to debug into windows forms. Is it true that once I have the symbols all I have to do is load them in my solution to be able to debug You could set up Visual Studio 2005 to use the Microsoft symbol server . But, I don't think the debug symbols you're after are publicly available. ...Show All
Windows Forms why invoke IComponentChangeService.OnComponentChanging method did not work?
hi all. i now create a custom designer for my custom component Type. and the designer implement IRootDesigner , IToolboxUser.. when i modify the component properties then invoke IComponentChangeService.OnComponentChanging method ,but it did not work why? please help me... thanks. my code like below... MyComponentBase _com = this.Component as MyComponentBase; _com.Names.Add(new Class1(tool.DisplayName)); IComponentChangeService _icc = (IComponentChangeService) this.m_component.Site.GetService(typeof(IComponentChangeService)); _icc.OnComponentChanging(this.m_component, TypeDescriptor.GetProperties(this.m_component)["Names"]); Hi. It is not clear to me WHEN do you ...Show All
Visual Studio problem installing uninstalling vb express and vs
I bought vs2005 and last night before installing it I tried uninstalling vb express well I let the uninstall run overnight and this morning found that it was locked up.I terminated it and tried again to uninstall and it told me that it could not because vs_setup.msi could not be found.So I tried installing vs and it tells me it failed because it could not install MSXML 6.0 parser. here is my error log [10/08/06,06:32:20] MSITOSIT: [2] CRootComponent::SetSourcePath() - Failed to access m_strSourcePath: c:\program files\microsoft visual studio 8\microsoft visual basic 2005 express edition - enu\vs_setup.msi [10/08/06,06:32:20] MSITOSIT: [2] CRootComponent::SetManager() - The Windows Installer package: c:\program files\microsoft visual s ...Show All
SQL Server How to create a .MSI file for a report pack?
Hi all, Does anybody have idea how to make a .msi file Sincerely, --Amde ...Show All
Visual Studio How to show a external data into CR
Hi, How can I get the content of a textbox in a form and then put it in a label in a crystal report Regards, You want to add a parameter field to the report. You can then place it in the report. Then in code you can set the parameter field by doing this. myReport.SetParameterValue("myParameterName", "ValueI'mPassing"); //myReport is a ReportDocument object ...Show All
Visual Studio Express Editions Database doesnt update?
I have the following code in my program to update my Excel database... It appears to work in that the message box funtions as it should and the record appears to be added as i can navigate back and forth with the new data visable, however when i exi t the application and check the database the new data is not there Try Me .Validate() Me .ContractsBindingSource.EndEdit() Me .ContractsTableAdapter.Update( Me .db1DataSet.Contracts) MsgBox( "update successful!" ) Catch ex As Exception MsgBox( "update failed, the data may already exist please check and try again." ) End Try Yes. I believe the copy is only made when your program is built. Not sure, I always said No ...Show All
Visual Studio Team System Future of TFS with Performance Point 200x
Hello - I work at a mid-sized development company and we have been using TFS in development for a little over a year now (yes, we started with Beta2). Everything related to work items, running builds, getting build reports, etc. is working great. But we are finding that without any clear direction in the way of project management tools integration we are having a hard time answering managment's questions/concerns regarding the use and future of TFS. We've recently hired a Project Manager Manager (yes, a manager of project managers) whose first responsibility is to standardize development methodologies across all products/groups by implementing MSFs,TFS, Project, PeopleSoft, etc. Looking together at how we are using TFS in ...Show All
SQL Server LocalReport - ClickOnce(Request for the permission of type)
Hi, I have a report that references a custom assembly. The assembly just return a string value. I have the main project security with 'Enable ClickOnceSecurity Settings' with 'This is a full trust application'. When i want to preview the report i receive this message: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. Note: I'm working with localreports. Thanks, I think I have the solution, We need to give permission to the directory used by ClickOnce in 'Microsoft .NET Framework 2.0 Configuration' in my case. Open 'My Computer' -> 'Runtime Security Policy' -> ...Show All
Game Technologies: DirectX, XNA, XACT, etc. A Simple 2D Map Editor
I've built a simple XNA 2D map editor for fun that mixes xna and winforms. It supports 20 layers, multiframe and animating textures, and has grid snap. It's very basic and small, intended mainly as a learning experience. Grab here: http://webpages.charter.net/kharza/WorldWalker.zip Enjoy! Kenneth This is a very helpful little tool. I think if you just worked out a few issues and added a few more small features people could make effective use of it. A few suggestions: -2D map editors typically snap to the tile size, so you should probably default to 32/32 rather than the current 1/1 -The default 1/1 scrolls speed doesn't seem to scroll at all -The first tile placed flickers endless ...Show All
