David_Reynolds's Q&A profile
Visual Studio Express Editions Need help with new application
Hello, I put together a small desktop cms application for a clients website. I am as it is just a novice programmer and have run into a problem. The application run great in debug and when I use the exe from bin/release it also works great. They do what they are suposed to do. When I try to use the published version, it will not work. At first it would not even open. It opens now, but still does not work. After trying it on my clients machine, the puplished version did not work at all. I even tried a copy of the bin/release version. With out any avail... Please I need help. Here is a link to download the source: http://julannadesigns.com/download/CMS.zip If some could please tell me what I did wrong. Why it will not work at ...Show All
Software Development for Windows Vista Windows Vista interface on XP
I have started using C# 2005 on Windows Vista and wanted to know how can i deploy my application to XP with the sane Vista's style and interface The june ctp brings us a step closer to allowing that look at this blog entry for more info. http://laurenlavoie.com/avalon/162 ...Show All
Windows Forms Cell BackColor change on edit
hi, I have an editable datagrid in my app. When the user edits a cell i would like the backcolor of that cell to change.This is to be done so that the user can easily review the changes before submitting them to the database Will i need to override PaintText . any inputs to point me in the right direction would be appreciated (Using 1.1 Winform DataGrid) thanks Rohan Wali You can change the back of the cell from any where not only from paint. DataGridView1.Rows[0] .Cells [0] .Style.BackColor = Color.Red; But before u change it make sure that you are able to catch correct rowindex and columnindex. This you can do in mousedownevent or keypress event And now after getting the row and column index, during onmouseleave event change the ...Show All
Game Technologies: DirectX, XNA, XACT, etc. End users shouldn't have to rewrite XNA math functions in order to improve performance.
The overhead of passing a 64 byte Matrix by value is significant. Most especially when you are comparing two matrices for equivalency (==), or performing a Vector*Matrix multiplication (Vector3.Transform(Matrix)). The following matrix comparison function performs 5-10 times better than your built in == comparison. If the matrices are equal, then it is about 5 times faster. If they are unequal then it fails fast, and is about 10 times faster. public static bool Equals(ref Matrix a, ref Matrix b) { // i check the diagonal first for quick fails return a.M11 == b.M11 && a.M22 == b.M22 && a.M33 == b.M33 && a.M44 == b.M44 && a.M12 == b.M12 && a.M13 == b.M13 && a.M1 ...Show All
SQL Server SSPI handshake failed with error code 0x80090311
My developers are getting a "Failed to retrieve data for this request error" in SQL Server Management Studio. When I look in the SQL Server logs there are two errors logged: Source Logon Message Error: 17806, Severity: 20, State: 2. Source Logon Message SSPI handshake failed with error code 0x80090311 while establishing a connection with integrated security; the connection has been closed. [CLIENT: IP Address] I can’t seem to find any information about these errors. Any ideas 0x80090311 error refers to "No authority could be contacted for authentication" which means the user cannot contact AD to get a ticket. I suggest turning on Kerberos logging and using Netmon to trac ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA's use of Collections
XNA uses Collections for a lot of things: ModelMeshCollection, ModelEffectCollection, EffectPassCollection, ModelMeshPartCollection, etc. which results in a lot of foreach iteration in code. I recently discovered the CLR Profiler and started poking around. It appears that using foreach on these Collections results in creation of SZArrayHelper and Enumerator helper objects. Most other systems are doing pretty well to avoid any constant object "leakage", and I'd rather keep it that way if possible (I come from the "No Dynamic Allocations at Runtime" school of console development). I'm still pretty new to C#, so what I'm wondering is if there are there ways to avoid this constant pressure on the GC -beyond hand unrolling t ...Show All
Windows Forms Binding an ErrorProvider to an object with child objects
I have a type called Shipment that has an instance of type Station. Both types implement INotifyPropertyChanged and IDataErrorInfo On a Windows Form I have an error provider's DataSource set to a BindingSource of the Shipment type. I have a property of type string on the shipment type bound to a textbox. when an invalid value is entered errorprovider detects this and displays the error message. However, a property on the the Station instance(a child object of Shipment ) does not trigger the errorprovider for any errors occurring in the Station property. Does the errorProvider only displays shallow property errors what is a work around I placed breakpoints on my IDataErrorInfo implementation on ...Show All
Visual Studio Tools for Office add-in doesn't load when launching using new excel.application
When launching excel via interop, I've noted that the addins don't appear to load. Dim xlsApp As Microsoft.Office.Interop.Excel.Application xlsApp = New Microsoft.Office.Interop.Excel.Application xlsApp.Visible = True Does anyone have any idea why and how to solve it Otherwise, I need to figure out how to load excel via System.Diagnositics.Process.Start() where I can pass it the location of the excel exec, which I am uncertain how to determine Hi Denis, As Dennis pointed out, this behavior is by design in Excel. It is not an interop or VSTO issue. Whenever you create an instance of Excel as an automation object, add-ins will not load unless you explicitly load them. One of the reasons behind this design ...Show All
Visual C# CD-ROM opening and closing with two buttons
Hey all.First I will say that I am totally beginner in visual C# 2005 so I need very big help with one thing.I am trying to make when I click "button1" the cd-rom door opens and when I click "button2" the cd-rom door closes.I really need a big help in this!I tryed everything but there are always errors.So if anyone can help me with this,tell me everything in details if it's not a problem. THANKS! S.T.A.R.S. wrote: Lol I am totally beginner so I don't really get this long code xD Can you write me the code which you would write for opening the cd-rom by clicking two times on button1 Same for closing the cd-rom by clicking on button2. Thanks! Unfortunately, C# doesnot provide a ...Show All
SQL Server sp4 on dev edition 2k
I'm running SQL Server 2000 (Developer Edition) on an XP machine. I'm trying to apply Service Pack 4, which, though I haven't service packed SQL Server 2000 in a couple years (most recently working more in 2005), I have installed SPs against SQL Server without difficulty in the past. I've downloaded the x86 SP4 exe. I extact the package ... but when I got to run setupsql.exe from a command prompt, I get nothing -- no dialog, no apparent install. silent switch is NOT specified. Hi, I donot remember the threads but earlier i see the threads asking how to remove / delete registry information which is still their after Uninstallation , so i would suggest you to refer below links for Manual Install & ...Show All
SQL Server Installing ASP.NET 2.0
Hello, I am wondering if anyone has any suggestions regarding the requirement of SQL Express of ASP.NET 2.0 and that this may "break" existing applications that require ASP.NET 1.1 and will not run on ASP.NET 2.0 Thanks in advance! Tim Hello, I have Business Objects XI Release I which has a tool called Business View Manager. This tool worked fine running on ASP.NET 1.1, but stopped working after I upgraded to ASP.NET 2.0. This is a known issue by Business Objects. But none-the-less, I have an installed customer base of over 150 users and it is impossible to tell what applications they have installed on their computers. I realize that not everyone may run into this problem with Busi ...Show All
Visual Studio Tools for Office Delete
Hi! I put the content of a filled DataTable into a new instance of a DataView object to pin it into a worksheet with the help of a range. Everything works perfect. But when I try to put another table with the same algotrithm to the sampe range I receive an empty are with standard column headers without named columns ( AutoSetDataBoundColumnHeaders is true). What do I have to do to wipe out the data to reload another DataTable Can you give me a hint! Thanks Hi Heinsz, I dont quite understand your scenario to give more help at this time. Can you please provide more details I am confused by the fact that AutoSetDataBoundColumnHeaders is a ListObject property and you are talking about DataView object binding. ...Show All
SQL Server WQL Query to watch for a file
I need an example of a WQL query to use in the WMI Event Watcher task to watch for the presence of a file. The task has to succeed for either: 1) The file already exists when the task is run 2) The file shows up while the task is running (waiting) Also the query has to reference a UNC path and file name. The file I'm looking for is just a flag file telling me a table is refreshed in our Data Warehouse. I also need pointers on how to set the WMI connection manager. For the server, do I use the \\servername of the fileserver Do I need to include the folder the files are in (eg. \\servername\flags\ ) Thanks! Kory There's some code here that might help: http://sqljunkies.com/WebLog/knight_r ...Show All
SQL Server JDBC for Sql Server Analysis Services 2005
Is there any way to access Sql Server Analysis Services 2005 via JDBC ...Show All
SharePoint Products and Technologies Adding users
Hi, I created a top level website using wss 3.0 Now I added two groups "Users" and "Admin" I'm adding the users from ADS.....problem I'm facing is that now I want to add a user in both the groups.....when I do this I have to first select a group and then add the user and then select second group and again add the same user to this group.... Cant I assign multiple groups at a single place for a user.... Thanks MK Out of the box you cannot add the user to multiple groups, but your user will have the highest rights available so unless you need to add them to the Users group for some specific reason (like Audiences) you can just add them to the Admin groups ( ...Show All
