Topaz Filer: if you use e-mail for business, we can save you money and decrease your risk.
Latest Discussion Messages
Follow up: sorting question in wpf collectionview child collectio (3 replies)
microsoft.public.dotnet.framework.windowsforms.databinding
I have a class that exposes a collection as a property. this collection itself has other collections as members. public class MyClass { public List Customer Customers{get;set;} } public class Customer { public string Name {get;set;} public List Address Addresses{get;set;} } public class Address { public string Street{get;set;} public string Town {get;set;} public string State {get;set;} } In XAML ...
Calling RPC Server from a .NET Client (6 replies, VIP)
microsoft.public.dotnet.distributed_apps
How do I call a native RPC server written in C from a .NET client written in C#, managed C or VB .NET? Any help is appreciated. Timo Partanen
Read-only PropertyGrid (17 replies)
microsoft.public.dotnet.framework.windowsforms.controls
Hi, I've been looking around for ways to make the PropertyGrid read only. I found a sample here that's closely match to what I need but there's an issue with this sample and I couldn't figure it out http://dotnetfacts.blogspot.com/2008/06/how to set propertygrid as read only.html I'm using more than one PropertyGrid and when I set one PropertyGrid ReadOnly property to True, the rest of the Propert...
Access violation in C++ postamble (12 replies)
microsoft.public.dotnet.languages.vc
Hello, I have rather a nasty problem with my code which occasionally generates an access violation when reading from memory. The address of the access violation is not 0, it's different every time, but the address is outside of the process memory space. So clearly there is a problem. I have a full memory dump of the process and when I do a post mortem debug in windbg I get the following dissassemb...
Download and parse an XML document. (3 replies)
microsoft.public.dotnet.languages.csharp
I was given a URL that is an XML file that I need to process. Can somebody point me to code to do this so I don't have to recreate it? TIA Jeff.
LINQ Videos (11 replies)
microsoft.public.dotnet.framework.adonet
I have downloaded LINQ Video tutorials CS code version from MSDN learning link: http://msdn.microsoft.com/en us/library/bb397906.aspx. The zipped file for the download is Samplecode LINQ To SQL Video Part03 Csharp.zip. I can get the gridview to display the products but the sorting is not working. I get the following error message for paging and sorting. Any suggestions will be appreciated Server E...
Differance Between Default Permissions in MS SharePoint Server 200 (2 replies, VIP)
microsoft.public.dotnet.faqs
What is the diiferant between Read Only & view in Site Default Permissions in MS SharePoint Server 2007
OLE DB provider for reading DBF files using ASP.NET (6 replies)
microsoft.public.dotnet.framework.odbcnet
I am trying to read a DBF file using ASP.NET, I have spent hours trying to get the correct connection string. Is there anyone out there that has successfully connected a dbase III file with a ASP.NET page?? If ( readDBFFile TRUE ) then read on; else dont worry; This is the code that I have been using but the compiler seems to complain on the line ..... [ reader command.ExecuteReader() ] the error ...
MonthCalendar (3 replies)
microsoft.public.dotnet.general
Using Visual Basic 2008 and the MonthCalendar Control Is there a way to make the calendar advance a specified number of months at a time. For example I want to place one calendar on a form, and when the user advances the calendar, it advances 3 months instead of one. Thus I could effectively display Jan Apr Jul Oct thus limited the user's selection of dates to dates with in those months only. Anot...
Reflection (8 replies)
microsoft.public.dotnet.framework.windowsforms
If I have a class named Class1 and it has a function named Function1, then I want to determine by what other functions Funtion1 is called. One should be able to do this using Reflection, as Red Gate has an app named ..NET Reflector that examines the assembly (executable or DLL) and shows the "used by", and this is what I want to do.
Dot NET 2.0a not installed (10 replies)
microsoft.public.dotnet.framework
I am trying to install .NET 3.5 SP1 on Windows XP and have had it fail several times. The log shows an error saying, "DepCheck indicates Microsoft ..NET Framework 2.0a is not installed." I have done the following: Removed all .NET framework installs using the DotNET Cleanup Tool. Reinstalled using Windows update (2.0 installs fine, 2.0 SP1 fails because 2.0a is not installed) Removed all .NET fram...
How do I make a Form WS_SHOWNORMAL & foreground? (9 replies)
microsoft.public.dotnet.framework.sdk
This is a C# Form that is in the taskbar and therefore set to hidden. What works sometimes, but not always is: Process procOn GetMyAppsProcess(); NativeMethods.SetWindowState(procOn.MainWindowHandle); NativeMethods.SetWindowAsForeground(procOn.MainWindowHandle); .... public static void SetWindowAsForeground(IntPtr hWnd) { SetForegroundWindow(hWnd); } public static void SetWindowState(IntPtr hWnd) ...
Returned data from WebService (7 replies)
microsoft.public.dotnet.xml
I apoligize if this is the wrong forum. We have an InfoPath form that we submit the data to a database as an XML string. We have the need to read this string back to the orginal form. I can get the XML back with no problem using the WebServiceConnection object within InfoPath. This object returns a XPathNavigator object, and I can view the data using the OuterXML property. When I try to use the Se...
ASP.NET AJAX and Javascript (2 replies)
microsoft.public.dotnet.framework.aspnet
I have page on which I am using CollapsiblePanelExtender and JavaScripts. When Javascripot is directly on the page everything is working good. I am trying to put those scripts in to the file and to include it with RegisterStartupScript using either ScriptManager.RegisterStartupScript or ClientScript.RegisterStartupScript in Page Load or OnPreRender event. The Javascript in those cases is not seen ...
Directcast string to button ? (2 replies)
microsoft.public.dotnet.languages.vb
Hi, I believe I could do something similar in VB6 long time ago, but I don't find it in VB.net (2005) I have a button named btn10 Dim s as string 10 Directcast("btn" & s, Button).Text "ClickMe" Also CType does not work, I get the error that I cannot cast a string to an object ? Filip http://www.ww2airborne.net/ Official Site of the 101st Airborne 463rd PFA skype: airborne463pfa fiwi [It's nice to ...
Hyperlink in a gridview (5 replies)
microsoft.public.dotnet.framework.aspnet.datagridcontrol
I have pdf file name as a value in DataTextField and am using an A Link as follows which works fine: asp:HyperLinkField DataNavigateUrlFormatString " a href {0} {0} /a " DataTextField "MovePDF" HeaderText "PDF" / I want to site the pdf files in a sub directory eg "Docs". How do I include that path? With thanks in advance.
Intellisense for Visual Basic in Visual tudio 2005 (12 replies)
microsoft.public.vsnet.ide
Hi everyone, The VB Intellisense does not show all controls, variables, etc, that starts with the letter you just typed, as the C# Intellisense does. Is there any settings, preferences, downloads or workaround to have it working as in C# with VS 2005? Remember all names is almost impossible and change tabs to copy/paste the names is a timing consuming task. Thanks for your help. Paulo Gomes pgomes...
Control Properties of Type System.Drawing.Color (7 replies)
microsoft.public.dotnet.framework.drawing
I have a control with a property of type System.Drawing.Color. When I use the control, the Property Grid in Visual Studio 2005 shows it, and even gives me a dropdown list to select a color from. But it does not like the value that gets put in the source. I get warnings like: Generation of designer file failed: Cannot create an object of type 'System.Drawing.Color' from its string representation 'G...
Behavior of "class" property on UserControl (3 replies)
microsoft.public.dotnet.framework.aspnet.buildingcontrols
Let's say I have a UserControl Ax:MyCtl and the only tag inside that ascx file looks like: div id "MainDiv" class "InnerCssClass" SomeText Here /div Now, let's say I have a page that uses MyCtl... body Ax:MyCtl id "MyCtl1" class "OuterCssClass" / /body Here's what I've noticed: The "InnerCssClass" will be applied to the "MainDiv" div inside the control, but "OuterCssClass" which is set on the actu...
Dataset or xml in remoting. (2 replies)
microsoft.public.dotnet.framework.remoting
Hi all, I am having one question related to data transfer in remoting. I have two options to use in myapplication pass data either as xml or as dataset. Which one is better way to transfer? i read many post on net sayung that dataset trasfer creates performance issue in remoting. can anyone elaborate more on this point. if i use xml for transfer will it be performance improvement over dataset?. th...
Missing method exception (2 replies)
microsoft.public.dotnet.framework.component_services
Hi, I created a Sample Serviced component in C# and hosted it in the COM catalog using "dcomcnfg". Below is the serviced component code listing. I hosted this in one of my desktop machine. [ComVisible(true)] [Guid("288075C7 2A71 4eda BE98 3A5116797DE4")] public class MyServicedComp : ServicedComponent, IServiceMgr { public MyServicedComp() { } #region IServiceMgr Members [ComVisible(true)] public ...
COM DLL compiled under v1.1 won't install under higher version Framework (4 replies)
microsoft.public.dotnet.framework.setup
I built a DLL in VB.NET, and registered it for COM operation. I copied it to another machine, where the .NET Framework v2.0 was installed, and registered it with RegAsm. It worked fine! (I then unregistered and deleted it) Then I built a setup project, so that my users wouldn't have to manually register it with RegAsm. When I run the setup project on the target machine, it complains that .NET Fram...
COM Calling DotNet (10 replies)
microsoft.public.dotnet.framework.interop
I am unclear about what all the requirements are to call a simple vb.net application, installed in the GAC, from COM (such as writing vba in Word to call the dotnet dll). I believe I have installed the dll in the GAC. It is in there and has a public token. I did not create a key value pair. I believe it is strong named, as it shows up in the GAC. How do I browse the objects of it? I would like to ...
Word CompareSideBySideWith? (12 replies)
microsoft.public.vsnet.vstools.office
Can anoyone explain how to perform a side by side compare in code? I found this link:http://msdn.microsoft.com/en us/library/aa171865(office.11).aspx which does not work... Public Shared Sub CompareDocumentsSideBySide(ByVal application As Word.Application, ByVal doc1 As Word.Document, ByVal doc2 As Word.Document) Dim obj As Object doc1 doc1.Windows.CompareSideBySideWith(obj) End Sub Thanks, Schnei...
Visual Studio 2008 will only access VSS2005 via web service, I want it to look locally (2 replies)
microsoft.public.vsnet.vss
I set up VSS2005 on my local machine and I've added some projects to it, but whenever I try to manage source control from VS2008, the Add SourceSafe database wizard seems to only let me enter a web address. How can I point this thing to my local machine???

 
Ad
BootFX
Reliable and powerful .NET application framework.
Recession Busting Bespoke Software
Get through the recession by investing in bespoke software to decrease costs and create commercial opportunities.
Other DN247 Network Sites
.NET 247
SQL Server Wins
Old Skool Developer
 
Copyright © AMX Software Ltd 2008-2009. Portions copyright © Matthew Baxter-Reynolds 2001-2009. All rights reserved.
Contact Us - Terms of Use - Privacy Policy - .NET 247 is a member of the DN247 Network - 4.0.30129.1734