-
- Primary Key Value Problem
by Nazmul
- 4 Replies
- Last post
by Nazmul
- In Oracle I find duplicate value in primary key. Well, not that same. One is single byte data and other is double byte data. For example
row 1: xyz
row 2 : £ø£ù£ú
Here 2nd £ø£ù£ú is a double byte data, that I can write by a Japanese key board. So, these 2 same (as they look) value can be in a primary column (at least in oracle).
But, Microsoft Access does not support
-
- Sending and recieving XML strings into a object
by Astroboy2
- 3 Replies
- Last post
by Chris Lively
- Hi All,
I'm a newbie and need a little guidance. I connect to a server & port to send/recieve asyn messages sent as a string (XML) which is something like the below. I don't know what System object(s) I need to use. I understand that serialization is for sending and deserialization is for receiving but am confused when it comes to how things should fit together.
Can someone help me and
-
- Dynmically adding a column to a database using .net
by santhosh_cz
- 1 Replies
- Last post
by Mark The Archer Evans
- hi all,
Is it possible to add a column in the DATABASE using .net. I am using sql server database 2003 and .net 2.0... if i add a column to the webgrid,then in my database also the column should be added..is it possible if so how can i do this
-
- DirectoryEntry Invoke SetPassword throws COMException only on ServerBind
by Ben Rinaca
- 2 Replies
- Last post
by Ben Rinaca
- I have an application that allows a user to create accounts in Active Directory and configure the connection based on whether or not they are running the application as a domain administrator. If they are running the application as a domain administrator, they don't have to enter a username/password to bind to the AD server. If not, they enter a username and password and I change AutenticationType
-
- Is this only possible in XPath 2.0
by we7313
- 10 Replies
- Last post
by Dimitre_Novatchev - MSFT
- I can't fugure out how to write an xpath to do the following in xpath 1.0:
Doc
< Plane >
< Seats Number =" 1 " Window =" No "/>
< Seats Number =" 2 " Window =" Yes "/>
</ Plane >
I would like to concatinate the @Number & @Window fields on each node set returned
Desired Results:
1^NO
2^Yes
The
-
- How to print any office document in c#
by akjal
- 2 Replies
- Last post
by boyi
- Hi,
I have a document. I need to print the document to a pdf file. I have installed a pdf printer driver (3rd party driver)
Manually,when I open a document and click on Print on File Menu , I can select the pdf printer driver and can print the document to a pdf file.
I need this to be done through dotnet code. That is , Select a file from disk and click on button to print. When that print
-
- Aggravating WinFX Runtime Components 3.0 - Beta 2 uninstall problems...
by Brian Gullo
- 9 Replies
- Last post
by Brian Gullo
- I'm using the uninstall tool provided by microsoft to remove previous versions of winfx. It tells me i'm missing 2 files to complete the uninstallation. indigo.msi and vs_setup.exe.
I will admit b4 i knew about this tool, i just went in to the add/remove programs and started uninstalling so thats probably when the needed files were removed.
My question is how to i get these files back. What
-
- dealing with NAT issue in .Net
by rajatdasgupta
- 1 Replies
- Last post
by Anch1ang
- The existing application uses the TCP - socket based programming and there by we are exclusively depending upon the IP address of the user machine along with the fixed port for working of the application.
The server listens at one fixed port at a given IP, continuously listening to the incoming connection requests at the port.
On receiving any information or data at the port, i
-
- My .exe file is not running outside bin folder??
by vsuneel
- 3 Replies
- Last post
by TaylorMichaelL
- hai guys,
this problem is making a head- ache to me...
i have built a console application in the .net1.1 with vs 2003 .its working fine while debugging or running.even its working fine by running the .exe file directly when it is in bin folder.
but if i take out the exe file and running out side the bin folder...its showing err.
it is showing a nullreference error
-
- COM Interop issue with VB.NET properties
by TrtnJohn
- 10 Replies
- Last post
by TrtnJohn
- When exposing VB.NET classes to COM, properties that have both a getter and setter method are not consistently generated in the same order. The order of the getter and setter method in the Type Library is random and can vary between successive builds. (setter first then getter or vice versa). This is causing problems with clients that use C++ and rely on the vTable order of the methods. Is this a
-
- How to work with X509 Certificates and Private Keys in PEM format
by likestoski
- 5 Replies
- Last post
by likestoski
- If there is already a post that covers these details I apologize. If anyone can point me in the right direction I will appreciate it very much. I need to be able to use the contents of a X509 Certificate and Private Key in PEM format. I'm not sure that what I am extracting from the certificates is the correct way to do it since the output looks different then if I look at the contents of the certi
-
- EventLog errors due to events being written whilst I'm reading them
by sps_perry
- 6 Replies
- Last post
by Perry_R
- Overview: I get runtime errors using the .NET EventLog class in very simple traversal, due to event entries being written and overwritten while I'm reading the log. How should I as a developer use this class to query a live event log How do you avoid or handle the exceptions which the simple foreach EventLogEntry iterator throws as things change
I want to read all the events in a particular
-
- how to remove <?xml version="1.0" ?> in .xml file
by Anil Jayanti
- 3 Replies
- Last post
by Martin Honnen
- pls suggest how to remove header < xml version="1.0" > tag in .xml file.
-
- PROBLEM: ASP.NET/C#/SQL Server 2000 database (6 million records)
by VKenner
- 5 Replies
- Last post
by William Vaughn
- Hi Everybody,
I designed a search page in ASP.Net/C# that allows the user to search on any combination of columns in a sql server database table.
The issue I am having is with the speed (obviously ). I put a limit of 50,000 on the rows that can be returned by querying for a row count before retrieving the data. This way if the row count is over 50,000 it displays a message to the user
-
- MDbg sample code does not close PDB files or release file handle/lock?
by davidt1234
- 3 Replies
- Last post
by Rick Byers - MSFT
- Hi,
I'm trying to use managed code from the MDbg sample to read source filenames and line numbers from PDB files. The problem is that something is opening the PDB file, establishing a file lock and then not closing the file again. Consequently I cannot overwrite the PDB file from another process (e.g. during a rebuild operation in Visual Studio) even after my PDB examination has completed and a
-
- Destructor and dispose
by Lars1346
- 8 Replies
- Last post
by Lars1346
- Hi,
Apologise if this is the wrong forum.
I have a few queries regarding Destructor, Finalize and Dipose which is causing me some confussion (c++ background).
Its my understanding that any destructor made in source code gets converted to a Finalizer (including try finally statements) by the compiler. Hence, there is never any reason for me to explicitly create or call a Finali
-
- RSACryptoServiceProvider.Decrypt() CryptographicException: "Bad Data"
by ubergeek2
- 3 Replies
- Last post
by ng1269
- Hi,
I¡¯m trying to encrypt/decrypt data using RSACryptoServiceProvider.Encrypt() and RSACryptoServiceProvider.Decrypt(). Here is the code I am using:
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Security.Cryptography;
namespace CryptoLibrary
{
public class RSAEncryption
{
// Key i
-
- how to let Singleton in remoting create the object first?
by lalabear
- 3 Replies
- Last post
by John Lambert - MSFT
- hi
this code:
// Register channel
HttpChannel channel = new HttpChannel (8080);
ChannelServices .RegisterChannel(channel, false );
// Register MyRemoteObject
RemotingConfiguration .RegisterWellKnownServiceType(
typeof ( MyRemoteType ),
"MyRemoteObject" ,
WellKnownObjectMode .Singleton);
i realise that it only waits for the client's to c
-
- Very Imp.:- To select column from one datatable and add to other datatable?
by Satish Khachane
- 1 Replies
- Last post
by TilakGopi
- I want to Select coloumns from a typed datatable . And add these column to other table.I try a lot but it is not possible. Can i Do this
I try , I can able to create new column and assign a column from one table to it. But when I add this to another table , it gives the error that this column is belong to another table
Pleae help, its important.
-
- Using Framework 3.0 - GetJobStream using system.printing Ref.
by Angel David Lara
- 0 Replies
- Last post
by Angel David Lara
- Dear All,
I was building a Printer Handler componet, using VS 2005 and NetFrameWork 3.0. Testing all function, more or less I'm capable to control printer, Queue, Job, get Job info,etc.. but I want to "extract" the content of print job.
So far, using PrintSystemJobInfo -> JobStream I guess that's possible extrac the job content, it's this true it's possible . I'm using this meth
-
- Problem using ASP.NET caching
by Manzy
- 1 Replies
- Last post
by Vipul Modi - MSFT
- I am using caching in my ASP.NET application. The application runs under a service account impersonating the ASPNET account.
The security permissions are set on the ¡°Temporary ASP.NET Files¡± using the Service Account ( SvcAutoId ) with ¡°Full Control¡±.
When I disable ASP.NET caching (using a custom switch in my Web.config), the application works fine. As soon as I enable the ASP.NE
-
- SQL - XML - gotta go with SQL here?
by learning33
- 0 Replies
- Last post
by learning33
- I am building a poker application as a hobby project. I am building it's functionality in a two-step process. Step 1: Write an application that can extract poker data from existing XML documents or postgreSQL databases. Step 2: Expand the application's functionality so I can create my own tailored SQL databases with it. The information I intend to extract from databases and maybe write to my own d
-
- drawing and tearing
by OniShiro
- 2 Replies
- Last post
by OniShiro
- Hello, I'm doing a drawing program, where the user creates lines, curves, etc, and then he can move them. The problem is that I get quite a lot of screen tearing, specially when moving the lines. How can fix it Thanks in advance.
-
- the 'microsoft.jet.oledb.4.0' provider is not registered on the local machine
by MaD2ko0l
- 14 Replies
- Last post
by Paul P Clement IV
- hiya,
have just installed vusial studio 05 and everythign seems to work fine, apart from when tryign to connect to an access dataabse.
as the title says, i get thsi error
the 'microsoft.jet.oledb.4.0' provider is not registered on the local machine
i have read through never thign i can find about this and nothing has worked...i have tryed downlaoding the latest jet engi
-
- Localization of install packages
by Seb558094
- 4 Replies
- Last post
by Seb
- I've witten a multilanguage application using VS2005 (ita) and C#. Now i need to create localized setups for that application. The problem is that i would like to redistribute the .Net Framework 2.0 and MDAC... both localized, of couse. When i change my setup project language to spanish (for instance) and try to build all, VS give me two warnings: it's unable to find the localized version of .Net