Answer Questions
jl2005 sitemap issue: Enable securityTrimming will disable external link in sitemap
The Enable securityTrimmingEanbled is set to "true" in my web.config file in order to protect admin only sitemap menu. The problem is I can't use external link such as http://www.youwebsite.com in the sitemap. The menu item will disappear from the navigation bar. If I don't use "http://", just www.yourwebsite.com , sitemap will treat it as local server link. If I set Enable securityTrimmingEanbled to "false", ...Show All
Kulwant Dhaliwal Assembly strong binding
Hi, I have strange problem: I try to build .NET application which use Microsoft.DirectX assembly, but i have installed more than 1 version DirectX SDK on my PC and now i have such problem: //=========================================================== Error 1 The type 'Microsoft.DirectX.Direct3D.Device' exists in both 'c:\WINDOWS\Microsoft.NET\DirectX for Managed Code\2.0.0.0_x86\Microsoft.DirectX.dll' and 'c:\WINDOWS\Microsoft.NET\Di ...Show All
deepakleo2003 Compare time
Hi, Im having a lil question. Im trying to compare 2 times with eachother. One time is in an xml file. The other one is the time at this current moment. If the time is older than 1 month, it should remove a whole table from the xml file. This is the code i produced so far: static void Main(string[] args) { try { DataSet xmlFile = new DataSet(); xmlFile.ReadXml("test.xml"); foreach (DataRow dateR ...Show All
mmssi Type.GetType(string typeName) not working for my classes
Hi, If I write Type t = Type.GetType("System.Int32"); it returns the typeof(Int32), as expected. If I write Type t = Type.GetType("AES.Base.Page"); it returns null. AES.Base.Page is a type I've defined in my code. The following also returns null: Type t = typeof (AES.Base.Page ); string typeName = t.FullName; Type t2 = Type .GetType(typeName); Do I need to set an attribute or something on my classes to get this to work -Eric Har ...Show All
RogerH Data is not getting saved in MDF file, when insert
Hi, i am having this problem where i am trying to insert a row or collection of rows with DataSetTableAdapters, but when i am closing the Application and checking my database i find no row in it, Dim InsertCustomer As New AjantaEDataSetTableAdapters.CustomerTableAdapter InsertCustomer .Insert(_cn.Text.Trim, _ad.Text.Trim, _ta.Text.Trim, _ph.Text.Trim, _mo.Text.Trim, _qty6.Text.Trim, _Qty12.Text.Trim) Please help ...Show All
abwong How to copy new data from server to a local database.
Can somebody tell me what is the easiest way to copy new data from MySQL database placed on server to a local Access 2003 DB on my computer (Using Visual Basic 2005 PRO) I want to copy whole rows (about 25 columns: strings, doubles, booleans and one BLOB). Thanks you need two connections that return two datatables once you have your datatables you can do something like this If the table schemas are the s ...Show All
popsmike Receiving unexpected OutOfMemory exceptions
I have a (nearly) released commercial application built in .Net 1.1. At the high level, it is a protocol proxy. Needless to say, it creates and uses many sockets. It is running on a 2003 Std Edition SP1, 2MB memory with 4MB virtual and 2 hyper-threaded XEON CPU’s. and is configured to use server mode GC via the following in the .config file. <runtime> <gcServer enabled="true"/> </runtime> The customer has ...Show All
Andrew Lisogor Thread Safety of Generic Queue
I need to use a System.Collections.Generic.Queue in a multi-threaded application and I am confused by the description in the documentation. The documentation says: Thread Safety Public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe. A Queue can support multiple readers concurrently, as long as the collection is not modified. Even so, enumerating t ...Show All
Dhileep text in textbox changed?
I'm writing a web app that has a gridview bound to a set of data. I changed the view to show the data in textboxes so the user can easily modify the data, but I do not want the data to update the database. When they click submit, I would like the old and new text posted on the next page (I'm passing the data using session varables). But, when I make changes to the data in the textboxes, the new data is not passed but the old data is. I've tr ...Show All
Taha FCL exposed to COM
I noticed that that the FCL is exposed to COM in the form of .tlb's in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727. I have also noticed that, in COM, every class needs an interface to expose its methods. For example, the class ShellLink has an interface called IShellLink, through which you can get an instance and call the methods in the vtable. Do these .tlb's have interfaces defined for the classes i.e. in System.Windows.Forms.tlb does there ...Show All
jfoster77 Restoring NTFS encrypted file
Hey, i am using OpenEncryptedFileRaw(), WriteEncryptedFileRaw(), closeEncryptedFileRaw() to restore an encrypted file from a *.bkf backup file which is successfully restored by windows backu utility. I am giving the whole complete data to these API;s through callback defined by windows. The problem here is that it is creating file with encryption enabled but witnin file no data is written whatsoever. It is 100% ensured that callback is giving ...Show All
Spykeyz .Net connector for SAP and VS 2005
Hi everybody, I developped a solution with the .Net connector 2.0 with VS 2003 and I want to adpt it to VS 2005. How can I do this Thanks Gregoire I have create my VS2003 project with the interface and I used the Visual studio conversion wizard to create the VS2005 project. It works very fine. Thanks everybody Gregoire I have the same probel ...Show All
Susan_MSFT Where are the ASP.NET 2 Quickstarts?
Can someone point me to exactly where I can find the downlaod for the ASP .NET 2 quickstarts The go.microsoft link points to asp.net site, which then doesn't seem to offer too many clues... except that the quickstarts can be consumed from that site. thanks, -s IMHO quickstart are installed by .NET Framework SDK. If you didn't choose this option in VS Installer you won't have them. I can find them in C:\ ...Show All
AidanKP starting new project, wana share??
hey buddies.... hows up.. i m a student of masters, i have started my final project... that is about pc-anywhere type... if someone want to share..or any type of suggation...kindly inform me..and reply with confidence... thank you fakhre ...Show All
r2d1 Programatically checking whether a type implements a interface?
How can we find whether a Assembly is already loaded into a AppDomain or not Thanks, Suresh. I would verify that your assembly is correctly named and that the type name is the fully qualified path to your class. It is possible that either the assembly you are referencing isn't the one containing the type or the type name is not fully qualified. Either one will cause a problem. If they are ac ...Show All
