-
- Security: Displaying Windows authentication dialog box
by Adrian.net
- 1 Replies
- Last post
by Martin Xie - MSFT
- Hello everyone
I was wondering if anyone knew how to display the windows authentication dialog box and get the identity/principal
I have a computer terminal that is logged in all the time but different users come on and use it. I want my application to demand them to enter a username and password and authenticate it with windows auth.
Anyone has any ideas
Thanks - Adria
-
- .Net Reflector, disassembling the BCL and FCL ?
by Bruno_1
- 6 Replies
- Last post
by AFLood
- It seems that the .net BCL classes can be disassembled and investigated using a software called "Reflector", is this intentional
-
- Expose Class from C# to C++ As COM
by b.haidar
- 11 Replies
- Last post
by Bilal Haidar - MVP
- Hello,
I was able to create a C# class and expose it as COM object and use it from inside C++.
Here is the cde:
using System ;
using System . Collections . Generic ;
using System . Runtime . InteropServices ;
using System . Text ;
using CSharpServer . VBSService ;
namespace CSharpServer
{
[ Guid ( "7FB8C9E4-A964-4541-BC1C-5630137F2F
-
- VB.NET 2003 ADO.NET update
by TheSuffolkRam
- 10 Replies
- Last post
by ShEi
- Hi all, i am visual basic.net 2003, and i am having problems using the update function of the ADO.NET
I have the following declaired as global variables:
Dim conSafeAdd As New OleDb.OleDbConnection Dim daSafeAdd As OleDbDataAdapter Dim dsSafeAdd As New DataSet
-
- Attended to mscorlib.dll warning and got dozens of errors w/Framework64
by Steve Erbach
- 3 Replies
- Last post
by nobugz
- Dear Group,
I have a working Windows Forms application. Everything's great, but I have one warning that keeps appearing:
Possible problem detected while building assembly 'appName': Referenced assembly 'mscorlib.dll' targets a different processor
My system is an Intel Core Duo E6600 running Windows XP x64. I started this application on a single core processor last year. This wa
-
- SOAP Header Element
by xxx139
- 9 Replies
- Last post
by John Saunders
- Hi
My web site (.Net) consume web service (Axis) and must implement SOAP Header,
this is format Header from web service (Axis)
<soapenv:Header>
< CSSToken soapenv:mustUnderstand="0" xsi:type="xsd tring">
021246090 $ 00 $ 1183630662 $ MGU5Y2Y0YWUzNjdlYTE4YjQ5MDc1NjZhYTAzYmNmMzg= $ MBOSS_CSS_0031
</ CSSToken >
-
- preoblem retrieving image from database
by sarvesh_maddy
- 1 Replies
- Last post
by Eugene Dolinskyy
- help me please....... i have problem retrieveing image from database... i uploaded the image using the following code : HttpPostedFile myFile = Picture.PostedFile; int FileLen = myFile.ContentLength; string FName= Path.GetFileName (myFile.FileName); string Extn=FName.Remove(0, (FName.LastIndexOf('.')+1) ); Label2.Text = Extn; if( FileLen < 400000 )
-
- How to get OS commercial name?
by antoinec
- 4 Replies
- Last post
by phylyp
- Hi all! I am stumbling on what sounds like a really simple task: how to get the commercial name of the running operating system It is quite easy to get the complete windows version: System.Environment.OSVersion.Version It seems easy to get the Windows version name: System.Environment.OSVersion.VersionString Problem is that the previous property returns on my system: - "Microsoft Windows NT
-
- How to access class's object Return from Web Service
by Vivek Deshpande
- 14 Replies
- Last post
by Nikhil Rajwade
- I have one web service .
Which contain one method like
using EmployeeInformation; // Ref. of DLL
[ WebMethod ]
public Employee getEmployeeInfo()
{
Employee emp = new Employee ();
return emp;
}
Where Employee name of Class belongs to EmployeeInformation.dll
Code of EmployeeInformation.dll
namespace
-
- Vista troubles.
by AlexBB
- 14 Replies
- Last post
by AlexBB
- Had to install a Vista out of necessity. I lost Internet connection on my WinXP partition where all my development work was done, tried to restore it for a few days with no result, and decided to become "progressive" once and for all.
Vista seems to be a wonderful OS. I was surprised how easy the installation turned out to be. It is very estetically pleasing. Then the trouble bega
-
- how to get a html table using regex
by blue_devil
- 4 Replies
- Last post
by tonn
- Hi.
I¡¯m trying to get a table from a html document.
There are more than one tables in this document and I only need one.
The table is like this:
<table class="xxxx" cellspacing="0" align="center">
<tr>
<td align="left">
<a href="hhhhhhhhhhhh"></a>
<b>JJJJJJJJJJ</b>
-
- DAAB x NHibernate
by Ederaldo Mirandola
- 0 Replies
- Last post
by Ederaldo Mirandola
- I'm starting a new project using C# with SQL Server and will interact with user through WEB, Windows Application and Mobile interfaces.
Which is the best framework to do my project, DAAB or NHibernate
-
- how to use filter criteria in datatable
by sridhar_msd
- 4 Replies
- Last post
by sridhar_msd
- hi,
I have a dataset generated by .net code. I need to get the table values from the
xml file using a filter criteria over the dataset.
i also tried it by read dataset and in that identify the table using datatable concept.
i dont know how to filter the values in the datatable. please help me in applying filter criteria over the data table.
eg:
i need to filter it
-
- Random alphanumeric generator
by Krutika
- 4 Replies
- Last post
by AlexBB
- I need to generate 7-character alphanumeric generator that is unique to the database where all these number will be stored.
Can anyone help me
-
- Loading Excel from a program but some cell values don't show
by ForEverLearning
- 4 Replies
- Last post
by gswartz
- Hi,
I am trying to load an Excel file into a datatable. Most of the cells get loaded but some don't!
For example a cell would show as null but the others show good.
The input was good enough for MS-Access to load successfully showing all data. So the problem is in my code.
Here is the code:
Code Snippet
//------------------------------------------------------
-
- Remoted server needs to run as a windows service - client to connect to the service?
by Ramaswamy
- 12 Replies
- Last post
by Sowmy Srinivasan
- Hi
I have a design where in the remoted server and the client (UI) connect via IPC channels - remoting, and they are working fine.
Now I have to run the remoted server from a Windows service, so that i can achieve the benefits of a service ( I have certain tasks like when windows shuts down, I have to store data and do other similar tasks).
I am stuck on how to go about bringi
-
- UdpClient loopback on Compact Framework - not receiving ANY packets
by Patrick Sears
- 2 Replies
- Last post
by Patrick Sears
- I'm going out of my mind trying to solve this problem. I have a 3rd party application that I need to communicate with over UDP. The developer on the other application says he is able to do UDP communications just fine on his test hardware (WM5 PDA's) I, however, am completely unable to get UDP to work at all. On any generation of Windows Mobile, NOR on either version of the emulator. So, to test t
-
- Delete XML tags
by Anonymous1009
- 5 Replies
- Last post
by Anonymous1009
- Hi Everyone -
I thought this would be easy enough but I just cannot find an easy way to delete xml tags from my xml file.
<xdoc>
<xpage>
<xitem>
<data>
<record>
....
...........
</record>
</data>
I want to delete the xdoc, xpage and
-
- Webservice returns
by koder monkey
- 7 Replies
- Last post
by koder monkey
- Hi People,
I am now returning to web services and have pretty much forgotten how stuff works.
I have a web service that returns a custom type. I need the webmethod to accept a parameter of the *assembly* type as opposed to the WSDL/Webservice interpretation of the type.
Does this make sense
I am expecting to share the assembly of classes between the web service and the
-
- Write value in Registry. In HKEY_LOCAL_MACHINE
by AxRoss
- 14 Replies
- Last post
by eradicator
- Hi !!
I've to write on registry in HKEY_LOCAL_MACHINE\SOFTWARE\MySoft how can I do I try with this source:
Code Snippet
using System.Security.Permissions;
using Microsoft.Win32;
[ assembly : SecurityPermission ( SecurityAction .RequestMinimum)]
[ assembly : RegistryPermissionAttribute ( SecurityAction .RequestMinimum, ViewAndModify = HKEY_LOCAL_MACHI
-
- TransactionScope and Jet OLEDB
by UnnaturalGolfer
- 6 Replies
- Last post
by Glamiac
- I'm doing some POC work on System.Transactions and I am having some difficulty getting it to work via OleDb with the Microsoft Jet 4.0 OleDb provider. I can use DBTransactions just fine against my test database, but if I try to use TransactionScope, I get an error message stating that the ITransactionLocal interface is not supported by the Jet OleDb provider. However, I found the following on MSDN
-
- Callback functions from C++(unamanaged) to C#.NET
by Eusebiu
- 4 Replies
- Last post
by Eusebiu
- Hello.
I have a dll(a.dll), C++ unmanaged, that has a an entry point with a parameter. This parameter is a pointer to a void function :
Code Snippet
typedef void ( __stdcall *ReceiveCallbackFunction)(XXX myObject );
int WINAPI open(ReceiveCallbackFunction receiveCallbackFunction)
The XXX type is written once in a.dll and once in a MANAGED code(in other dll - b.dl
-
- Running Acropolis exe
by masuar
- 2 Replies
- Last post
by masuar
- Hi everyone,
We're having some trouble trying to execute an acropolis exe. We have developed an app that works like a charm in the VPC orcas beta 2 image. Now we want to run it in a normal machine with .NET 3.5 installed, but we received a general exception. My question is:
- What are the minimum software requisites to run an acropolis app in a non-development environment
-
- There is already an open DataReader associated with this Command which must be closed first
by hazz
- 3 Replies
- Last post
by hazz
- What can I do to correct the InvalidOperation Exception in red below:
command.CommandText = ("SELECT top 1 * FROM Table") DataReader = command.ExecuteReader(CommandBehavior.CloseConnection) Dim schemaTable As DataTable = dataReader.GetSchemaTable() Dim datatableReturnValue As New DataTable(strTable) Dim newDataRow As DataRow = datatableReturnValue.NewRow() For i As Integer = 0
-
- A quick question:remoting and threading
by Andrue
- 3 Replies
- Last post
by John Justice - MSFT
- When the remote server executes method calls does it do so in separate threads Much to my surprise it seems very hard to find a definitive answer to this. I've found a couple of articles that suggest it is the case but most people (including MS documentors) don't seem to think it warrants a comment.
In our coding we've assumed that we need to guard our back-end with mutexes so that client r