| Callbacks from DLLs into C# ? (3 replies) |
| microsoft.public.dotnet.framework |
| Hi, I am quite new to this, and need to build a dotnet framework on top of a dll(lib) that relies on callbacks. From the documentation I have read 'linking' with DLLs can be done and usually shows plain outgoing calls. So is it possible to 'take the address' of a C# class and suppy this to a DLL for the call back to occur. Regards Nick |
|
| username 2 SID, SID 2 username (2 replies) |
| microsoft.public.dotnet.framework |
| Using the framework and C#, is it possible to query an users SID via username, and username via SID. Simmilar to LookupAccountSid? |
|
| xsd.exe does not create relations (2 replies) |
| microsoft.public.dotnet.framework |
| I have an XML document that defines relations (foreign and primary key) between several tables in a project. I desgined this graphically and the Diamonds indicating relations show up between the tables. When I use the XSD.exe utlity to generate a dataset (xsd /d /l:vb xmlschema1.xsd) all of the tables are defined in the dataset but none of the relations. Is this a known issue, a flag I'm not setti... |
|
| Looking up MX records, changing DNS lookup server (2 replies) |
| microsoft.public.dotnet.framework |
| I've searched trough different sites for information on how to do a lookup for DNS MX records using VB.NET, but there doesn't seem to be anything on this area. Is the bottom line that this is totally impossible using native ..NET code? Other thing, is it possible to programmatically change the DNS server that is used to do a DNS query. I was hoping to query DNS from one of MAPS, RBL realtime black... |
|
| POST to a web server (2 replies) |
| microsoft.public.dotnet.framework |
| I need to POST data to a script on a web server. How can I do this using C#/.NET, or the InetCtlsObjects.Inet object??? |
|
| IISAdmin object (2 replies) |
| microsoft.public.dotnet.framework |
| I want to completely restart IIS this means restarting IISAdmin Is there a .Net way of doing this. So far I have used COM objects: Dim IIS AdminService GetObject("WinNT://comp/IISADMIN") If IIS AdminService.Status 6 Or IIS AdminService.Status 4 Then IIS AdminService.Stop() End If I have tried using the DirectoryEntry class but thats no go. Can anyone help? |
|
| How can I detect a new storage card press into my Notebook (2 replies) |
| microsoft.public.dotnet.framework |
| Hi All I am now writting a program , it will have a function which can know a new pcmcia device has been mount into the system for example , when my program running , I push a CompactFlash Card into my Notebook , my program will know that and return the CompactFlash information by a simple MessageBox . I am eager your help please send the mail to me too Thanks :) Neo |
|
| reflection permission (4 replies) |
| microsoft.public.dotnet.framework |
| It seems to me that the only party in a meaningful position to grant or deny private member reflection and invocation permissions is the author of the code. It appears that in fact the author has no control over this. Using reflection, whether you (as an author) like it or not internal/friend classes from any assembly can be instantiated, any class with internal/friend or private constructor can b... |
|
| Add-Ins (2 replies) |
| microsoft.public.dotnet.framework |
| I'm trying to create an Add In for Visual Studio.NET. I have the Add In opening a U/I form that a user fills out and when they click the Generate button I want to add a new class to the Currently selected project. They will have multiple projects in the Solution. I have the following code in the click event of the Generate Button: Dim DTE As New EnvDTE.DTE() DTE.Windows.Item (Constants.vsWindowKin... |
|
| MIME Base 64 Encoding/Decoding with .NET (2 replies) |
| microsoft.public.dotnet.framework |
| Hi Sir: Does .NET provide any class library to deal with base 64 encoding/decoding? Thanks! Pepsi |
|
| Cannot find KeycodeV2.dll, or invalid keycode (4 replies) |
| microsoft.public.dotnet.framework |
| I have created a setup program for my application. This application uses crystaldecisions. In the setup packet I have added the following merge modules: managed.msm, database access.msm. Once installed the program on a pc without VS.NET ( but not framework.net ), at the moment in which it performs this line I get the following error: rpt new CrystalDecisions.CrystalReports.Engine.ReportDocument ()... |
|
| 3-tier .NET Performance problem (4 replies) |
| microsoft.public.dotnet.framework |
| Hi All, I have a 3 tier program with DataGrid DataSet Windows Form XML WEB Service OLE DB SQL 2000 DB. When I load the DataGrid with data it takes more than half second to load the data from XML WEB Service, respectively from Database. The servers are Dual Pentium IIIx700Mhz May I speed up the loading process to the DataGrid control? I am using the following example from MSDN Library http://msdn.m... |
|
| ListBox FindString member doesn't work (2 replies) |
| microsoft.public.dotnet.framework |
| Hello Everyone I have a list box with items added dynamically at periodic intervals. Eventually the list will become huge and I want to provide search facilities. However FindString member of listbox returns ListBox.NoMatches all the time. Is there anything that has to be done to make this work. Thanks in advance Aravind |
|
| OpenFileDialog ... accept folders (3 replies) |
| microsoft.public.dotnet.framework |
| Is there some way to make OpenFileDialog accept a folder? Currently, the user can't select a folder cause when the click "open" it just goes into that folder. |
|
| pop-up a message on the local Windows Messenger in VB.Net (2 replies) |
| microsoft.public.dotnet.framework |
| I am writing a VB.net application. How do I pop up a message on the local Windows Messenger (or MSN messenger) ? Thanks for your time ya94@hotmail.com |
|
| How to check screen resolution in Vb.NET? (2 replies) |
| microsoft.public.dotnet.framework |
| Would you know how to check the screen resolution in vb.net? In VB 6: Public Declare Function GetSystemMetrics Lib "user32.dll" (ByVal nIndex As Long) As Long Public Const SM CXSCREEN 0 Public Const SM CYSCREEN 1 Public Function HaveRez(ByVal lngpixelW As Long, lngpixelH As Long) As Boolean Dim lngTwipsX As Long, lngTwipsY As Long HaveRez False lngTwipsX GetSystemMetrics(SM CXSCREEN) lngTwipsY Get... |
|
| Tracking Serialization (2 replies) |
| microsoft.public.dotnet.framework |
| When serializing a large object, I'd like to track the serialization of the objects it references. For example, I'd like to display a progress bar indicating how many referenced objects have been serialized. What's the best way to do this? I thought of implementing custom serialization for each of the referenced object classes that I want to track by having them implement ISerializable. Does the G... |
|
| file owner (2 replies) |
| microsoft.public.dotnet.framework |
| hallo, how do i get the owner of a file? short question short answer thanks bernd |
|
| FileIOPermission does not work ! (2 replies) |
| microsoft.public.dotnet.framework |
| I run a .NET dll and a COM dll on a WebServer, using IIS5. The WebServer is part of a server farm, and needs to access other computers on the server farm LAN. My problem is that I cannot access files on these other computers from the .NET dll, but can just fine from my COM dlls. My .NET code is something like this: using System; using System.IO; using System.Security.Permissions; ...... FileIOPerm... |
|
| DoEvents and Windows Service (2 replies) |
| microsoft.public.dotnet.framework |
| Is using Application.DoEvents safe in a Windows Service application? Is there a better way to do nothing for a while in a loop? |
|
| User of a process (6 replies) |
| microsoft.public.dotnet.framework |
| IS there any way to determine the user of a process within the .NET framework??? Thanks, Chris. |
|
| How to serialize a system.drawing.pen object? (4 replies) |
| microsoft.public.dotnet.framework |
| Hi, I created a class, called line, which basicly save's "real world" information about a line (coordinates, pen, etc....). When I tried to serialize an instance of that class to an XML file with the XmlSerializer thing an exception came up, saying a system.drawing.pen object cannot be serialized... Could it be this has something to do with my code, or is this behaviour "by design"? In other words... |
|
| How to Converting Dec/Hex format string/int into Binary format . (2 replies) |
| microsoft.public.dotnet.framework |
| Dear Friends . I got a problem finding out an object in the Framework to help me doing that Job . I had check with NumberFormatInfo class It did support convert into Dec/Hex format . but my problem is I need a Binary format like 1111 not 0F. does any one know Framework did provide this knid of Object for us ? or I had to build it myself . many many thanks Polo |
|
| Socket Connect Timeout (2 replies) |
| microsoft.public.dotnet.framework |
| The TcpClient class has two timeout properties (send and receive). Is there an easy way to modify the connect timeout value? I could not find any socket option that modifies this value. |
|
| When do Threads Die... (5 replies) |
| microsoft.public.dotnet.framework |
| Hi there, I was just wondering what the lifecycle of a thread is? Do they die after their 'Run' method has completed, or do they sit around until the program terminates. I'm also wandering if the following are possible, any help appreicated 8 ) Reuse threads to save on resources Have a thread tell itself to sleep Subclassing threads (as in Java) Have threads kill themselves after a time out Does a... |
|