| VC++6 MFC migration managed C++(windows form ) (24 replies) |
| microsoft.public.dotnet.general |
| I want to port my MFC (VC 6) application to manageg VC . 7. I want to do this because some things are much better done with C#. So i could write a C# class and use in my VC code as Languague interoperability is one of the main features of the .Net framework. I know my application would have to obey to the CTS (common type specification) but my main concerns are the MFC stuff! I do not really know ... |
|
| Server Error I cannot solve (3 replies, VIP) |
| microsoft.public.dotnet.academic |
| Hi, Has anyone experienced this error? I would appreciate your help... I'm learning how to use DataAdapter to connect with a database and return the DataSet object that contains a single table with a single DataView. My page uses the default DataView to retrieve the data and displays the default DataGrid. The connection tested okay. The solution builds okay. I just get this error when I try to vie... |
|
| Confusion with EnterpriseServices & .Net Classes (5 replies, VIP) |
| microsoft.public.dotnet.distributed_apps |
| I would like to have come clarification on these questions Do using EnterpriseServices have a big issue on performance instead of simple .Net classe? What requirements is needed on class to be activated remotely via .Net Remoting? Does .Net class support Load Balancing & Clustering or only .Net class inside COM ? And the final question For a large application (200 500 users), is it better to have ... |
|
| Using VB.Net or C#, utilizing the clipboard object, how to copy an MS Excel graphic from the clipboard to an image control and obtain its source reference (8 replies, VIP) |
| microsoft.public.dotnet.faqs |
| Hello, Here is what I'm trying to do: Make sure both MS Excel and MS Word are running Create an Excel chart Save the Excel file Copy the Excel chart onto the clipboard using Ctrl C Go to Word and look under Edit Paste Special Note there is a source reference and an option to paste the chart as a metafile, etc. I would like to take this same information and make it available in a C# or VB.Net app F... |
|
| catching Runtime Stack Overflow Exception (25 replies, VIP) |
| microsoft.public.dotnet.framework |
| hi all i need to catch a Runtime Stack Overflow Exception. how can i do this? assaf |
|
| DataAdapter.Update is not working (10 replies) |
| microsoft.public.dotnet.framework.adonet |
| Hi Gurus, I am using OleDBDataAdapter to update the data in the DB2. I am only taking the Modified Data in a Datatable using Datatable.GetChanges() method and passing the modified data to the DataAdapter's Update method. I am specifying the UpdateCommand for the Dataadapter by my own. All is fine when I execute the DataAdapter.Update statement, it is not giving me any error.. but when I check the ... |
|
| Create a <table> of <textarea>s (13 replies, VIP) |
| microsoft.public.dotnet.framework.aspnet |
| I have an ArrayList of data gathered from a database. I want to create a web page from this data by creating a table , each cell in each row displays the appropriate data. One of those cells in each row needs a textarea control. The background supporting classes are completed, the only task left now is to create the web page. I am at a loss on how to create the table in the page populated by the d... |
|
| Font.Bold (2 replies, VIP) |
| microsoft.public.dotnet.framework.aspnet.mobile |
| Hi In my mobile application I have a label and a selectionlist on the same form. I want the text on the label to be bold, which I manage with the line 'lbl.Font.Bold BooleanOption.True;' however it has influence on the text in the selectionlist as well even though I specifically try to set it 'BooleanOption.False' does anyone have a suggestion to what I do? trine |
|
| renaming webservice-class ? (7 replies) |
| microsoft.public.dotnet.framework.aspnet.webservices |
| Hi, I use my Webservice in IE : http://localhost/CalcWS/CalcService.asmx That works well. Then, in visual Studio.NET : I rename the name of the WebService class from the default name 'Service1' to 'CCalc' , rebuild the project, but, using it again in IE : http://localhost/CalcWS/CalcService.asmx results in a parser error. " Could not create type 'CalcWS.CCalc'. how come ? how can I still rename th... |
|
| HELP: Late Construction via Reflection & instance variable initializers (10 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| Hi All, I not sure if I am doing something wrong, or if this is a bug in the framework somewhere but I'm having trouble with instance variable initialization which is done before any of the ctors are called. Very simple code follows! Any help much appreciated! Given this class: public class Wibble { public int var1 /* 0*/; //Intentionally left at 'default' public int var2 0; public Wibble(){} } Th... |
|
| COM+ problem - components get stucked (6 replies) |
| microsoft.public.dotnet.framework.component_services |
| Hi, I have the following problem: from time to time my com package just stops responding. In com management console I can see that activation time of some components is huge and is increasing forever. There are no exception reported, neither applicative nor system. There are no database deadlocks as well. More interesting there are also no errors about failure on creation of new component. It look... |
|
| Issue: Queued Component and Marshal.ReleaseComObject (9 replies, VIP) |
| microsoft.public.dotnet.framework.interop |
| Hi, We used .NET EnterpriseServices Queued components in our application to for certain asynchronous processes (code fragments was attached) However, we found out that the "Objects", "Activated" counts in the Component Services MMC are growing constantly. The application is running on Windows Server 2003 with .NET 1.1 framework. I found some discussion threads from google search http://groups.goog... |
|
| Closing an OdbcDataReader causes an exception (3 replies, VIP) |
| microsoft.public.dotnet.framework.odbcnet |
| I am writing a little utility to transfer data from a unix based database into sql server. I have an ODBC driver installed, and it seems to work just fine. But if I call the Close() method on my OdbcDataReader object, I get the following exception. System.Data.Odbc.OdbcException: ERROR [IM001] [Microsof t][ODBC Driver Manager] Driver does not support this function at System.Data.Odbc.OdbcConnectio... |
|
| Threading problems with COm Interop (6 replies, VIP) |
| microsoft.public.dotnet.framework.performance |
| I am using a third party COM componenet which is not thread safe in a .Net web application using Interop. When two threads (two requests) are trying to access the componenet it is giving an error and crashing. It works fine if the request is made only one at a time. How can I code around this problem so that only one thread operates on the COM object at one time. Any help will be greatly appreciat... |
|
| Binary of HTTP config issues (11 replies) |
| microsoft.public.dotnet.framework.remoting |
| I have tried: Server Web.config: system.runtime.remoting application channels channel ref "http" serverProviders formatter ref "binary" typeFilterLevel "Full" / /serverProviders /channel /channels service wellknown mode "SingleCall" type "NFC.UserManagement.UserManager, NFC.UserManagement" objectUri "UserManager.rem" / /service /application /system.runtime.remoting Windows Client: system.runtime.r... |
|
| order of execution of page_load in a base and derived classes (15 replies, VIP) |
| microsoft.public.dotnet.framework.sdk |
| Hi, i have a class that is derived from System.Web.UI.Page, and this is the class i use in my application as PageBase. all other page classes are deriverd from my PageBase instead of the original System.Web.UI.Page in order to have common checks in the page base. i make securirty checks in the page base page load event. if the security fails, i can do whatever i want before the "real" / derived pa... |
|
| Can't install .Net Framework 1.1 SP1 (5 replies, VIP) |
| microsoft.public.dotnet.framework.setup |
| I can't install the .Net Framework 1.1 SP1 either from Windows Update or from the MSDN download page. Every time I try, I get a "Just In Time Debugging" window popup that says: "An exception 'System.Reflection.TargetInvocationException' has occured in SL4.tmp." I have tried: * Shutting down my firewall * Shutting down my anti virus * Killing every running process I can (including explorer) Nothing... |
|
| Find control on inherited form from base class (9 replies, VIP) |
| microsoft.public.dotnet.framework.windowsforms |
| I have a base class that has a form that inherits from it. On this form is a control I need to get a handle to. How do I get this handle from the base class? I don't have a FindControl that i've been able to get intellisense on like I do in a web form. thanks for any help! |
|
| Decompiler.NET reverse engineers your CLS compliant code (137 replies, VIP) |
| microsoft.public.dotnet.languages.csharp |
| http://www.junglecreatures.com/ Try it and tell me what's happenning in the Microsoft Corporation. Notes: VB, C# are CLS compliant You can also use managed code with C Using what they call obfuscator, will not help you for a long time. For each new obfuscator there will allways exist a new deobfuscator. Your source's Symbols are written unchanged in the exe or dll file. Looking to your Symbols, it... |
|
| @OutputCache interferes with radio button list's AutoPostBack (3 replies, VIP) |
| microsoft.public.dotnet.languages.jscript |
| I'm having a problem with a radio button list which uses its AutoPostBack feature to build a drop down list at run time. If I use the %@ OutputCache Duration "30" Location "Server" VaryByParam "none" % to cache my form the list's SelectIndexChanged causes the page to refresh to the state it was in upon the first change (ie. the first auto postback event). So, if I fill in some of the form and sele... |
|
| Ugly groupbox caption font after .NET 1.1 SP1 upgrade (21 replies, VIP) |
| microsoft.public.dotnet.languages.vb |
| Hi! I have this medium sized solution with a couple of projects and stuff. The generated application has an appname .exe.manifest file to enable XP themes. In the main window of the application I have several group boxes, and even some group boxes within other group boxes. FlatStyle System on these group boxes has always worked just fine. Round corners on the borders and blue caption text (standar... |
|
| Getting values from a COM object through ByRef parameters. (2 replies, VIP) |
| microsoft.public.dotnet.languages.vb.upgrade |
| I asked this question in C# groups but did not get any response back. I decided to try my luck here. My problem is that I can't get values from a COM object through ByRef parameters using InvokeMember method. Here is a very simple example in VB6 C#: I have a test class called RefTest in TestByRef project. The class has only one method: Public Sub Sub1(ByRef x As String) x "asdf" End Sub In my test... |
|
| access .NET thread to get Principal / Identity ? (9 replies, VIP) |
| microsoft.public.dotnet.languages.vc |
| is that possible from a C app? thank you. Greg |
|
| Is there an API to format the HD? (9 replies) |
| microsoft.public.dotnet.languages.vc.libraries |
| Is there an API to format the HD? I found to use the DeviceIoControl with IOCTL DISK FORMAT TRACKS code can format the floppy, but how to format the HD, I don't want the SHFormatDrvie way. Thank you very much! |
|
| Form field error messages (4 replies) |
| microsoft.public.dotnet.scripting |
| I know that dotnet allows for form field validation. However I'm looking to customize the error message display and am wondering if it's possible to do what I need. Example: Suppose in a form there is a "Name" field (required). The user leaves it blank and submits the form. I need to reload the page with the "Name" in red so the user can see which field(s) have errors in them. Second, at the top o... |
|
| VBA code in a VB.Net application (2 replies) |
| microsoft.public.dotnet.vsa |
| Hello We have a VB6 application that integrates an VBA IDE from which the final user can make modifications. We want to pass the application to VB.NET, and the first step, before rethinking the whole application, is to pass the conversion wizard and see how it goes. But we want to keep those client VBA modifications working with the least changes made to them. I've tried integrating VBA in a .NET ... |
|
| NameSpace Confusion (6 replies, VIP) |
| microsoft.public.dotnet.xml |
| I have attached an XML document that uses the following definition in the root element xmlns "http://www.rosettanet.org/RNIF/V02.00". When I load the attached XML into an XmlDocument object then try to perform XPath queries I get nothing back. I know it has to do with the namespace but I have not run across one like this before and I am not very good with namespaces. I take and create a namespace ... |
|
| LoadExternals(System.Collections.Hashtable) not found in DiscoveryReference abstract class (2 replies, VIP) |
| microsoft.public.dotnet.vjsharp |
| Hello Can anyone tell me about the member LoadExternals(System.Collections.Hashtable) in DiscoveryReference as i am getting an error in a class which is extending DiscoveryReference class .It is saying it needs to be declared as abstract class or else define member LoadExternals(System.Collections.Hashtable) . I have read about another LoadExternal of some different class that it has become obsole... |
|
| Overriding WndProc in custom TextBox (12 replies, VIP) |
| microsoft.public.dotnet.framework.compactframework |
| Hi! I'm trying to override WndProc( ref Message m) in my custom TextBox control. Unfortunately it seems like the System.Windows.Forms.Message class is not available in CF. Is there a was to reference this class anyway? I tried referencing Microsoft.WindowsCE.Forms but I get the following compile error: WndProc(ref Microsoft.WindowsCE.Forms.Message)': no suitable method found to override I am not s... |
|
| RuntimeData property (2 replies) |
| microsoft.public.vsnet.act |
| Hi, I'm trying to use the ReportRuntimeData object returned by the Report.RuntimeData property. The doc tells about Runtime Data values, but I don't know how to read them. For instance, I'm interested in the "IterationsRemaining" value. Any help? Gabriel Zerbib. |
|
| build error (4 replies, VIP) |
| microsoft.public.vsnet.debugging |
| I am new to .net. The new IDE gives me a lot of headache with the build errors. Where can I get additional help on these error? For example, the following one seems easy to grasp, but I still have no clue how to fix it. The sample I tried copy is in vb.net as: dr(i) dtOld.rows(y).items(i).tostring. DataRow dr dt.NewRow; dr(i) ds.Tables[0].Rows(y).Items(i).ToString; 'dr' denotes a 'variable' where ... |
|
| context-sensitive help detached from vs.net (4 replies, VIP) |
| microsoft.public.vsnet.documentation |
| wxp sp1 , vs.net 2003 somehow, my F1 context sensitive help now only brings up a shell help screen ..... the title is still Visual Studio .NET 2003 Combined Collection but there "Filtered by" box is empty, and no results are displayed following searches .... my "Programs" applet shows that i have "MSDN Collection April 2004 DVD" installed |
|
| Enterprise Instrumentation - Installation operation failed. (6 replies, VIP) |
| microsoft.public.vsnet.enterprise.tools |
| I'm getting error 1603 when trying to install the EIF on a Windows 2000 machine. From reading previous posts I've already tried rebuilding the performance counters using pcrwizard.exe, without success. Can anyone help please? Below is an extract from the end of the EnterpriseInstrumentationMSI.log file which I generated using the command EnterpriseInstrumentation.exe /c:"msiexec.exe /q /l*v %temp%... |
|
| How to create a dll and call it (VB .net) (8 replies) |
| microsoft.public.vsnet.general |
| (I don't think this falls under the type of dll you have to run regsvr32.exe with, I may be wrong) Below is a very simple application, just to see if I can do this. What I want to do is put the two functions, TimesTwo and TimesThree in one common callable component (a .dll I suppose). I've created a dll (at least the build went ok) containing those two functions enclosed in a CLASS, but can't figu... |
|
| Designer-given control names causing version control conflicts (23 replies, VIP) |
| microsoft.public.vsnet.ide |
| Hi, everyone, After spending a whole day manually fixing this problem I'd like to know if it could have been avoided. The problem is that when a new control is added to a form, the designer gives it a new name such as Label65. Now if two developers edit the same form and add a label they'll both get a Label65 and if they don't rename it, when they try to checkin they'll be in conflict land for a w... |
|
| Cannot access web via IE anymore (5 replies, VIP) |
| microsoft.public.vsnet.servicepacks |
| Hi, Since SP2 update, I cannot get to any web page. Every page I try attempts with a message in the IE status bar of www.incredifind.com , sometimes with many more parameters as if its trying to access everything via this web site. I cannot search for this problem on web pages obviously, so trying this newsgroup? Other net applications work ok. I have nortons antivirus 2004 that has found no probl... |
|
| MS Development Environment has not been installed for the current (2 replies, VIP) |
| microsoft.public.vsnet.setup |
| I am suddenly receiving this message when I try to start VS 2003. KB article 302586 indicates this is associated with VS .Net only. (VS.Net will start fine) The only recent change I made was a change to the registry to trap device drivers that do not complete based on instructions from a MS feedback from submitting an error report for a system failure. I have NOT yet loaded VS 2005. I have tried t... |
|
| How to use property page (4 replies, VIP) |
| microsoft.public.vsnet.vsip |
| Hi, I am trying to create my own editor as a Visual Studio Integration Package using C#. I used the Wizard provided by VSIP SDK, replaced the text editor with my own control and all worked fine. Now depending on what my editor control shows, some properties should be shown on the properties window. How can I do this? How doe I get the properties window and how can I fill it? Any help would be appr... |
|
| How to get old version of a file under source control? (2 replies) |
| microsoft.public.vsnet.vss |
| I hope this is a really simple question. Bascially I want to get a previous version of a file from vss. I only see links for Get lastest version. How do I get a prior version. NB I don't want to an earlier version of the whole project, and I haven't used labels yet. RSVP ASAP Thanks Martin |
|
| BitBlt Managed Version (12 replies) |
| microsoft.public.dotnet.framework.drawing |
| hi all i am porting some code from C . i have two bitmaps. i am using BitBlt to transfer pixels from one to the other. now, in dotnet, i have again, two bitmaps, but i don't know how to transfer pixels from on to the other. so what exactly to i do? assaf |
|
| Windows Form Locking up (2 replies, VIP) |
| microsoft.public.msdn.drgui.drguidotnet.discussion |
| I have developed a rather large application and am running into a bug that causes the application to lock up. No exception is ever thrown, it just simply refuses to take input. The only thing that you can do to the Form is double click the title bar to restore/maximize the window. Other than that the menus, navigation buttons, everything cease to respond at all to any user input. Windows continues... |
|
| Unable to get help upon clicking the JLCA //UGRADE_TODO help link (3 replies, VIP) |
| microsoft.public.vsnet.jlca |
| I am using JLCA 3.0 beta... When I click on the JLCA UPGRADE TODO help reference that is inserted into the converted code (see example below) I just get an error: //UPGRADE TODO: Class 'java.io.ObjectOutputStream' was converted to 'System.IO.BinaryWriter' which has a different behavior. 'ms help://MS.VSCC.2003/commoner/redir/redirect.htm?keyword "jlca1073 javaioObjectOutputStream 3"' When I click ... |
|
| Newbie databind dropdownlist question (9 replies) |
| microsoft.public.dotnet.framework.aspnet.webcontrols |
| Hello, all. I'm just starting to work with ASP.NET in VS.NET 2003. I've created a page with a dropdownlist server control (lstStates) that should pull in the contents of an Access table tblValidStateAbbr (has states and their abbreviations). However, no matter what I do, I can't get the dropdown to show any data on the page. I have a connection, an OLE DB data adapter, and a dataset that contains ... |
|
| Composite controls not visible at design time (6 replies) |
| microsoft.public.dotnet.framework.aspnet.buildingcontrols |
| Hi all I have a few questions regarding composite controls 1) My composite controls are created based on a property of my control. When the postback of a page occurs due to a button click, my CreateChildControls() method is called before the button code is executed, so if that button code changes the property in question it is already too late to reflect this in the control. Is there a way to "Inv... |
|
| Session state lost after accessing database (9 replies, VIP) |
| microsoft.public.dotnet.framework.aspnet.caching |
| Hi I have an ASP.NET application that connects to an Access database. Everything works fine except for the Session object. Data in the session object is lost after I've made a call to the database. To test, I've created two test aspx pages. Test1.aspx contains two buttons. The first button sets values in the session object and then navigates to Test2.aspx. Test2.aspx only displays the values in th... |
|
| MD5 conversion problem (16 replies, VIP) |
| microsoft.public.dotnet.framework.aspnet.security |
| Hello, I'm struggling with the string conversion to MD5 which I've never user before. I have a string that I need to encode which looks approximately like this: "pva:0.05:101214:pa7735tH:inv desc 205308:shp Email petera gudzon.net:lang ru:shp PaymentNo 20040825205308:shp UserID pva:shp Price 2.95:shp HostPlan BU:shp Term 2" I'm doing it this way: Dim hashedBytes As Byte() Dim md5 As New MD5CryptoS... |
|
| Session("MyName") not working (7 replies, VIP) |
| microsoft.public.dotnet.framework.webservices |
| Hi, I am trying to store an object in the Session() I have a VB.Net control which is loaded in an asp page and then calls a function in my webservice (also written in VB.Net) The web service function has everything it seems to need the code is at the bottom of the mail The MSDN makes some mention of needing to do something on the client side with regards to cookies but I can't find a decent exampl... |
|
| timer will not fire in windows service (6 replies) |
| microsoft.public.dotnet.myservices |
| I have a very simple windows service that has a timer set to fire every 12000ms. The timer is enabled and in my OnStart() I do a timer.Start(). I have a "tick" event handler, but it never gets called. I can run this same code as a windows app and it works fine. Any suggestions. Thanks, Bob Greely |
|
| Droplist in Header of DataGrid. Possible? (6 replies) |
| microsoft.public.dotnet.framework.aspnet.datagridcontrol |
| Is it possible to locate a droplist inside the header of a column next to the headertext? The droplist is created independent of the datagrid and is not related to the data in the grid itself. Has anyone done this? TD |
|
| Clone control in run-time? (12 replies, VIP) |
| microsoft.public.dotnet.framework.windowsforms.controls |
| Dear all, I would like to know how I can clone a control in run time. Let say I have a status bar on one form and I want to clone it to all other forms with original property values. I've tried to create a new instance on the target form and set the source object to the new instance, but failed. Thanks for your attention and kindly help! Regards, James Wong |
|