| How to get the version number in .NET? (2 replies) |
| microsoft.public.dotnet.general |
| Hi There, I'm creating an .NET application with Visual Basic.NET. I'm also using several .NET objects within this application. But I want to get the version number of the .NET objects. Is there a function wich returns the version number of a object? If so, what is the name and how do I call it? Thanks in advance, Marcel Diederen |
|
| design issues (3 replies) |
| microsoft.public.dotnet.general |
| I anm trying to develop an application which has a Data access component which is a web service...The 2nd layer is also a web service which returns objects which have been populated with data to my presentation layer a windows forms. There are a few issues....1) I can not get at my private data since when the object is passed from the web service it is serialized and the private variables are not ... |
|
| STILL NOT ANSWERED, AGAIN: Remote Debugging, Windows XP (4 replies) |
| microsoft.public.dotnet.general |
| This is the third time I've posted this. Does anyone know the answer one way or another? Has anyone been able to set up remote debugging between two XP machines that are not part of a domain? I can't get remote debugging to work with Windows XP, and I wonder if it's just impossible. The machines are in workgroup mode, not part of a domain. I have added a user called "Scott" to the Debugger Users g... |
|
| how to get rid of exception information (2 replies) |
| microsoft.public.dotnet.general |
| Hi: I am developing a web application. Sometime my code failed. Then the web page will display a lot of information, which is good in develping phase. When I deploy the application, I have to use try catch to catch all the exception to stop displaying exception information. But I am not sure if I use try catch all over my code or not. I don't like final user see these exception information. Is the... |
|
| out of enviroment space (8 replies) |
| microsoft.public.dotnet.general |
| I am using Windows 2000 professional and .NET Beta 2. When I go to access the .NET command prompt the window opens and, at the console I get the two messages: out of enviroment space bad command or file name and the dos prompt leaves me at c:\windows\system32 directory. Have any others encountered this problem? is it a memory allocation problem of some sort? and, if so, what is the fix? Appreciate... |
|
| DataGrid not Updating datasource (2 replies) |
| microsoft.public.dotnet.general |
| Help! The below code is for a DataGrid page I'm building, but for the life of me I'm not getting it actually to UPDATE the underlying (Access 2000) table. What must I change to make it work? ANY assistance will be VASTLY appreciated! Thanks in advance, Bill %@ Page Language "VB" Debug "true" % %@ Import Namespace "System.Data" % %@ Import Namespace "System.Data.OleDb" % html head script runat "ser... |
|
| Referencing public functions from inside a class (2 replies, VIP) |
| microsoft.public.dotnet.general |
| I hope this is the right newsgroup.... I have a public function that I am trying to reference from inside a class. Here are some code snippets: Public Sub LogPurge (Expiration Days as Integer) Dim Context As HttpContext HttpContext.Current Dim ConnString as String Context.Request("CONNSTRING") Dim Conn As New SqlConnection(ConnString) Dim Cmd as New SqlCommand Cmd.CommandText "DELETE FROM VGR LOG"... |
|
| Bottle neck server (4 replies) |
| microsoft.public.dotnet.general |
| the following example on www.asp.net http://www.aspfree.com/quickstart/aspplus/samples/webforms/intro/CS/intro7.a spx uses calender control To quote : The Calendar control in this sample has been designed to perform "uplevel like" processing on Internet Explorer 5.5 and "downlevel" processing on all other browsers. This browser sniffing is nowhere near as complex as that provided by the ASP.NET bu... |
|
| What triggers end of Session? (3 replies) |
| microsoft.public.dotnet.general |
| Under what circumstances does the user's connected Session end, triggering a new Session on the next request? I have a page that displays data from an Access database in a Grid control. I need to preserve the user's Sort and Filter choices in Session variables, so I can use them on subsequent requests (have to know the last sortCol and Asc/Desc so you can reverse the sort if appropriate) But I was... |
|
| Efficient way of populating combos (7 replies) |
| microsoft.public.dotnet.general |
| Hi all, A little question for you geeks out there. I have been developing a user interface in C#. On that dialog, I have around 30 combos on different tabs. Out of those 30 combos, 10 combos contains the exact same data (data from product type table, infact a list of types). Currently I create a separate dataset for each combo and fill each each combo!! It is not efficient :( My question is, is th... |
|
| TabControl and DataBinding: How? (2 replies) |
| microsoft.public.dotnet.general |
| I've got a form with a TabControl and 2 tabPages. The first has several databound textboxes and comboboxes attached to a DataView, and all is well. On the second tabPage, I simply want to bind a DataGrid to the same DataView, but I cannot (in fact, I can't bind ANY control to the second tabPage). I get no error messages of any kind, just a lonely, blank grid. For the first page, I'm binding like s... |
|
| How do you return a value from a column in a selected row in a datagrid? (3 replies) |
| microsoft.public.dotnet.general |
| I am using currentrow Index to retrieve the selected row but I can't find a property to return the value of a column in the selected row. I would like to be able to iterate through the columns by Index and return the values for the entire row. Anyone seen any code that will do this? Thanks Nick |
|
| Not a very auspicious start (2 replies) |
| microsoft.public.dotnet.general |
| Installed Visual Studio .NET beta 2 (which'd been lurking on my shelf for a couple or three months), When I try and start a new VB project, the empt 'form1' fails to load and I get the enlightening (not) message: An Error occurred with loading the document. Fix the error, and then try loading the document again. The error message follows: Method not found: System.object[] System.Runtime.InteropSer... |
|
| Sending Windows Messages (2 replies) |
| microsoft.public.dotnet.general |
| I am attempting to write a 100% .NET native application that can send Window message like WM CLOSE. I am fairly sure this is possible, but for some reason, it is not working. Below is some skeleton code. SomeProcess is an instance of the Process class. int WM CLOSE 0x0010; IntPtr hWnd SomeProcess.MainWindowHandle; Message msg Message.Create(hWnd, WM CLOSE, (IntPtr)0, (IntPtr)0); NativeWindow winTa... |
|
| External drag/drop onto Form or Form-control (2 replies) |
| microsoft.public.dotnet.general |
| Is *external* drag/drop onto a Form or controls within a form supported in C#? For example, is it possible for a simple local C# form application which is running to get information like the file path from, say, a desktop file dragged onto the form (or into a TextBox control within the form)? I know the basics of wiring event handlers and in addition setting the control property control.AllowDrop ... |
|
| WMI (2 replies) |
| microsoft.public.dotnet.general |
| In the .NET technology you need to have the CORE WMI for accessing management information. I've tot no idea at what kind of information this is. Can somebody give me an example of management information. I need to know if it is applicable for our product. Thanks for the information. Marcel Diederen |
|
| Drive Type Informations (2 replies) |
| microsoft.public.dotnet.general |
| Like with FileSystemObject, I'm searching informations about the type of my drives (floppy, HD, ...) I didn't find anything about this in the Framework. I'm wrong ? Richard Clark rc@c2i.fr [Microsoft MVP Visual Basic Visual Studio .NET] Avez vous pensé à acheter mon livre 'Formation à ASP .NET' (MS Press) ? http://www.amazon.fr/exec/obidos/ASIN/2840828650/c2ifrleportad 21 http://www.c2i.fr Le port... |
|
| SqlConnection Error -> Login failed for user '\' (5 replies) |
| microsoft.public.dotnet.general |
| Most of our SQL Servers are set up for Windows Authentication only. When I run the following code, I get the subsequent error: WebMethod() Public Function TestADO() As DataSet Dim DS As DataSet Dim MyConnection As SqlConnection MyConnection New SqlConnection("Trusted Connection yes;Server warehouse;Database Great Outdoors") DS New DataSet() Dim custDA As SqlDataAdapter custDA New SqlDataAdapter("S... |
|
| Help, Anyone see this error before? (2 replies) |
| microsoft.public.dotnet.general |
| Specified cast is not valid. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.InvalidCastException: Specified cast is not valid. Source Error: An unhandled exception was generated during the execution of the current web reque... |
|
| high vs low level markup (2 replies) |
| microsoft.public.dotnet.general |
| (if you care to read more my final question will be ) How do they expect you to write high vs low level markup appropriate to the browser? (the background) I've created my first custom web server control. It's a button (div tag) that calls server side code on the click event by implementing the IPostBackEventHandler interface and is in its own assembly for use across different web projects. This c... |
|
| Download/Open versus Save C# application from server (4 replies) |
| microsoft.public.dotnet.general |
| Can someone explain how downloading a simple C# .exe file from a server should work? When the "File Download ..." dialog appears for a clicked link to a CLR .exe file, and I choose "Open", some applications cause an IEExec.exe error dialog and the debugger kicks in. However, if I Save the .exe first locally, and then execute it, it works. Sounds like a CLR/security issue. For example at: http://ho... |
|
| FileSystem sucks (3 replies) |
| microsoft.public.dotnet.general |
| What is up with the FileSystem object? MS took a step backwards from the COM FileSystem. You can tell that it was slapped together by a non OO programmer (procedural). Is there a better object for file management and file I/O or is it as bad as it seems? |
|
| File Upload Add Inn (2 replies) |
| microsoft.public.dotnet.general |
| I cannot work out if I am being incredibly stupid or blind but I have activated the the file upload Add In via the addins menu but I cannot find any trace of it anywhere in the IDE. Does anybody know where to find it??? |
|
| convert between System.Xml.XmlDocument and System.Xml.Xsl.XslTransform (3 replies) |
| microsoft.public.dotnet.general |
| Hi ! I want to be able to convert between System.Xml.XmlDocument and System.Xml.Xsl.XslTransform. Is that gonna be possible ? Kunal |
|
| ADO vs Ole DB (5 replies) |
| microsoft.public.dotnet.general |
| Can someone please explain to me what the difference between the two are? And why you would choose one over the other? Thanks mr |
|