-
- keyfile instead of AssemblyKeyFile
by wms103006
- 5 Replies
- Last post
by frederikm
- Help.
I have the following in my AssemblyInfo.cs file:
[assembly: AssemblyKeyFile("mypubprivkey.snk")]
Every time I Run a Code Analysis -- Build/Run Code Analysis on my project it produces a warning:
Warning 1 Use command line option '/keyfile' or appropriate project settings instead of 'AssemblyKeyFile'
How do I resolve this warning I've tried several examples tha
-
- weird IDE problem...
by sirocco78
- 6 Replies
- Last post
by Kurt Schuff
- after some time using vs2005 the following problem occurs (just look at this linked image ). needless to say that it makes the ide useless... anybody had similar problems
-
- C# and WinXP Customize Regional Option Values
by slau
- 2 Replies
- Last post
by Martin Xie - MSFT
- How to retrieve the values of "Customize Regional Options" on WinXP "Rigional and language Options" programmatically, such as "Decimal symbol" or "Digit Grouping symbol"
THANKS!
-
- licensing questions
by ashk1860
- 3 Replies
- Last post
by boban.s
- hi I am about to sell my accounting application to an acounting company. and I am selling it for each client. but I dont know how to protect my application and how to restrict them. by time and client numbers.
any idea will be appreciated
regards
-
- Custom Attribute class
by Sha Sea
- 7 Replies
- Last post
by OmegaMan
- Hi, Im using Visual Studio 2005 and .Net 3.0. I wanted to apply Break Points in my Custom Attribute class. I and my falla both used number of sample code but Neither code is not executing Custom class nor break points work. Here is someone sample code. Im not even able to apply Break point. Can any Genious knows the answer
using System;
using System.Collections.Generic;
using Syst
-
- Problem with Pointers in C#
by huzaifa shabbir hussain
- 2 Replies
- Last post
by timvw
- I am sending you UNSAFE Code in which I am trying to implement Linked List like we used to do in C. What I believe is that the following line of code should allocate new memory address on each iteration ˇ° test1 = new LinkListPtr();ˇ± but in fact it is not. See if you can figure it out what wrong with it.
class Program
{
unsafe public struct LinkListPtr
{
-
- Which algorithm for encrypting file?
by Wuschba
- 6 Replies
- Last post
by Jeff659
- Hi. I want to encrypt a file with a lot of passwords. The passwords are stored in a string and should be written to a file encrypted by a password/passphrase. It should be possible to read the file and encrypt the passwords if someone has the passphrase. I went to System.Security.Cryptography but found a lot of possibilities here (like DES, Triple DES, DSA, RSA and so on). Since the passwords have
-
- Windows Service as middleman between client desktop app and Database
by -=B3N=
- 13 Replies
- Last post
by DivyaDamodaran
- Hi guys
I'm working on a desktop app that needs to access a local database, and also the same database on networked and remote machines. As the database user credentials are held in tables within the database, I dont want networked/remote users to be able to access the database with 3rd party apps using windows authentication and read all the data, namely,my app controls their access to the
-
- C# Boxing & Unboxing
by CaptaiNdotNeT
- 3 Replies
- Last post
by Developr
- Hello, and first of anything please forgive me if my question is very basic, i'm new to the c# programming, and to programming also, and i'm reading inside c# book, but i dont understand: what is the objective of the boxing and unboxing methods, and what are the differences between have a value type and a reference type i mean what can i do whit boxing, that i can't do whit out it. thanks. Randol
-
- How do I find that an OS is x86 or x64
by SN Ngaihte
- 2 Replies
- Last post
by Peter Ritchie
- Hi there,
How do I find out programatically in C# that my OS is x86(32bit) or x64(64bit) platform
Thanks a lot
Suan Ngaihte
-
- C#/WIA: Turning off auto-exposure on a Lifecam VX-6000
by minion2
- 3 Replies
- Last post
by lievenvv
- Hey, I'm working on a project with C# using Windows Image Acquisition and it's getting thrown off some by the auto-exposure adjustment on my Lifecam VX-6000. The properties controls for the camera have a checkbox that lets you turn off the auto-exposure... except it's grayed out, so I can't uncheck it. Is there any way to turn this off in my code Thanks!
-
- NumberFormat object flaw?
by esendexdeveloper
- 5 Replies
- Last post
by esendexdeveloper
- How can you use a NumberFormat object to get the "pence" symbol for a culture, i.e. en-GB would give "p" and en-US would give "ˇé". I've been looking through the class in visual studio and can't find anything relating to this, i've also gone through the different ToString() format methods and i can't find anything their either. If you have an answer please reply here a
-
- how to run a c# program visualstudio.net 2005 edition
by sri111
- 4 Replies
- Last post
by sri111
- Im new to .net technology.I have visualwebdevoper 2005 express edion .I dont know how to run c# programs using this edition.could anyone pls help me
-
- Sample code problem: creating threads
by bk13
- 13 Replies
- Last post
by bk13
- I found some example code in a web page titled ˇ°How to create a thread by using Visual C#ˇ± and located here:
http://support.microsoft.com/default.aspx scid=kb%3Ben-us%3B815804
The instructions in this tutorial are easy to follow and I think I followed them correctly. It took maybe 3 minutes. When I try to run the new project, it pops up the form, then a few seconds later a window tit
-
- How make ComboBox text fit neatly?
by mshvw
- 9 Replies
- Last post
by Citizen on the earth
- Hi, My Form is resizable and a ComboBox on it must resize accordingly. Currently I adjust the ComboBox.Font size after each Form resizing. There is always some space above and below the text in the ComboBox text area. I would like to make the ComboBox vertically fit neatly to the text inside the ComboBox so the ComboBox.Height will be a little smaller. How can I achieve this H.
-
- error in reversestring programme
by Nithya R
- 5 Replies
- Last post
by bjreddy
- Error 1: 'reversestring1.Class1.ProgrammingTest.ReverseString(string)': not all code paths return a value
y iam getting this error.please reply.thanks in advance.
-
- Implementing a simple parser
by Gopinath M
- 1 Replies
- Last post
by Matthew Watson
- Hi All,
First of all thanks you very much for spending your time to open this post. We are trying to implement a small parser which evaluates expression given by users. We have idenfied a set of operators, functions, keywords, conditional staments which are required for the language. Can you please tell us how shall we implement a parser which checks syntax of the expression and evalutes th
-
- Create Background Process
by bklare
- 7 Replies
- Last post
by bklare
- Does anyone know how to create a background process i.e., I want the process to not be visible in the taskbar, or system tray. I am starting the process using System.Diagnostics.Process.Start(). If there is not a way to start a process this way, then does anyone know a message number I can send throught the User32.dll SendMessage() API to achieve the same result
-
- Local Security Policy
by Matt Sipes
- 1 Replies
- Last post
by Matt Sipes
- I am trying to locate any documentation on how to access Local Security Policy through code...and set them to desired values. Anyone have any ideas Or am I out of luck I already coded up a exe package that will set registry key values...However, I cannot find much information on setting Local Security Policy changes. Thanks
-
- sizeof question
by Hugo6003
- 6 Replies
- Last post
by Sothryn
- Hi
Is there any way that I can get the size of a ValueType from a Type
I am using reflection to extract fields marked with a custom attribute, these fields are always a ValueType.
Is there a way that given a Type for the field that I can get it's "sizeof" because it seems not.
I dont have the actual field (and dont want to get the instance of it, as this costs
-
- want to create a tool which give find and replace functionality
by lalit_2007
- 5 Replies
- Last post
by OmegaMan
- hi,
i want to develop a windows application using c#.net.The functionality will be like the same as find and replace functionality in windows.
can any body give a full idea how to develope this
thanks a lot in advance.
-
- Explicit Conversion of Base Class to Derived Class
by Fanon
- 12 Replies
- Last post
by Thomas Danecker
- I did a search on the subject, and the answer I found said that converting a base class to a derived class is not possible. I find this answer to be unsatisfactory, and I wish to make sure that it is indeed the correct answer.
I am writing some code (obviously), and in my code, I have a base class and an inherited class of that base class. There are times I wish to convert the base class to
-
- If condition
by Azurewrath
- 14 Replies
- Last post
by CalvinR
- Hi,
In the book I am reading it shows examples like this:
if (!SourceFileExists()) return;
System.IO. File .Copy(txtSource.Text, txtDestination.text);
MessageBox .Show( "The file has been successfully copied." );
Isn't it better to write it like this:
if (SourceFileExists())
{
System.IO. File .Copy(txtSource.Text, txtDestination.text);
MessageBox .S
-
- How to pass multiple variables as references in a generic way???
by tt2lhp
- 1 Replies
- Last post
by Sean Fowler
- Hi, I am trying to write a function that allows passing different number of variables as references. I learned that we could use params modifier to achieve this. For example, I can declare my function as following: void MyFunc(params object[] objs). However, the variables will be passed in as values but what I really want is passing by references. I can get arround this by overloading MyFunc by in
-
- Recognize a sound
by Sithz
- 2 Replies
- Last post
by Sithz
- Hello everyone. I need some help desperately. I have made a program for a game, that takes screen shoots when a certain sound file is accessed (watching last access time). Now this have worked flawless for long time, until there was an update for this game. Now the program works only for those that have a dual core computer, there it works 100%. But for regular computers, the program will only tak