John Paul Cook's Q&A profile
Windows Forms Designer support for embedded components
Hello, I have written a control. This control has an embedded component property. Example: public MyComponent:Component { .. // some properties here } public class MyControl:Control { public MyComponent embedded { get{...} set{...} } } The problem ...Show All
SQL Server Loop through tables names to use with update
Hi, I have a group of tables that need to be updated with all the same colums name. I want to make a SP then pass the name of the table to it. Is this possiable if so how do I do this Thanks Please do not use the undocumented stored procedures. They are meant for internal use and any dependency that you take on undocumented SPs/functions is risky for your code. It can be broken anytime due to a change whe ...Show All
Visual Studio Managed package using managed resources
Hi, I am trying to use managed resources instead of unmanaged for my managed package. I got my cto file, and I have added it to the managed resources manually under the name CTMENU as described by the vsip doc. I've set UseManagedResourcesOnly to true, and I've run devenv /setup after registration. However, the menu items do not show up at run-time. The same cto file would work if it's in a satellite dll and have UseM ...Show All
Visual C# No. 117 on board
Javier Luna wrote: Nice rules... nice code... Hello Rob... i am here... posting on Community Server...!!! Javier Luna http://guydotnetxmlwebservices.blogspot.com/ where do you find this emoticon: Filiberto Selvas MSFT wrote: Yes; noticed that issue earlier today but thanks for pointing it out. We will soon have a forum for issues with the forums platform. Congratulations...!!! Great idea. Javier Luna ...Show All
SQL Server INSERTs given me the BLUES
cstring = cstring + "VALUES('%" + txtWatchID.Text + "%','%" + txtcenter + "%'" & _ cstring = "INSERT INTO tblNEW (watch_id, service_center_num, repair_envelope, store_number" cstring = cstring + "date_purchase, transaction_num, cust_fname, cust_lname, product_code" cstring = cstring + "value_watch, failure_date, service_date, failure_code, repair_code" cstring = cstr ...Show All
Windows Forms Office 2003 look & feel - howto skin my own application?
Hi, anyone know any good articles or links on howto change my win forms application look & feel into Office 2003, or even XP, look & feel Thanx, Lavinder Hi Lavinder, To get XP Look and Feel: - in your static Main method add a& ...Show All
Visual Studio Team System Project Creation Problem: Unable to connect to the Windows SharePoint Services
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
Visual Studio Team System Application Designer Error
I've receive this error from AD. The diagram in now in Lock state. Synchronization for element ResourceType failed. Reason: An error occurred creating the configuration section handler for windows: The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) (C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\Config\machine.config line 31) Any Help Thanks I believe this is a known bug i ...Show All
Windows Forms .net framework?
hello can i install the .net framework on windows 98 thank for the time hello i need this because i have made an application which contains crystal report and i want to make something to work on windows 98 without installing the VS ...Show All
.NET Development How to unload DLL files that are in use.
Hi, i wonder if its possible to unload a DLL file that i allready added in "References" in C#... and then if its possible to load it again after i unloaded it.. It is possible if you change the way you load the DLL. If you do not link the DLL you want to use statically to the application, but instead load the types e.g. by the fully qualified name, the application is forced to lookup the assembly. You ...Show All
Visual C# VS 2003 Tabs switching
Hi I have a question about MDI tab switching. In VS 2003 IDE, if I have more than four MDI tabs, and these tabs can be switched using Ctrl+Tab. When I try to switch the tabs for the first time, it works fine. i.e., from left to right. However, if I try this action again, it switches in the random order. Is this behavior a known one or I am missing something Thanks, Hi James, Thanks for your help. Cheerz ...Show All
SQL Server Transfer logins from sql2000 to sql2005
Hi, I'm trying to transfer my logins from 2000 to 2005 (last CTP) and recieve error: [Transfer Logins Task] Error: Execution failed with the following error: "Cannot apply value null to property Login: Value cannot be null..". Any one I assume you solved this problem by now, or it went away with RTM code. Please reply back if that's not true. Paul ...Show All
SQL Server Installation of SQL Express
I have Visual Studio 2003 and SQL 2000 installed. I now have to Express Beta for everything including SQL Express Beta, it will not install and states that I have to uninstall Visual Studio and SQL and .NET frame work. I do not want to uninstall this. I already had all the other Express Beta Installed. Is there a work around for this. Thanks. Dee You will have to make sure that you are running the ...Show All
Windows Forms BackColor Property for TabControl
Wouldn't it be nice if THIS property worked You're exactly right. I do understand that I have the option of using the paint, GDI, or graphics but the precision required to make it look good is higher than my abilities or pati ...Show All
SQL Server Changing data type
Use databases a bit, but new to SQL Server. We just want to change a column of existing SQL Server 2005 data from a string data type to one of the UNiCODE data types, such as DT_WSTR or DT.NTEXT (such as one can use for various data mining tasks, etc.). It seems to do this one needs to "the data conversion transformation editor". To use that one has to have a package and a project Does any one have a full script or set of steps to ...Show All
