-
- is it possible to have tool windows on autohide without mouse hover?
by Zaz452
- 2 Replies
- Last post
by Zaz452
- I have all the tool windows I use docked to the edges of Visual Studio 2005. In order to see the code, I have set them to autohide. This is somewhat annoying though, since the only thing required to show them is to hover the mouse over them. Every time i accidently pass the mouse over a docked tab it has to briefly show and then immediately hide again. Is there any way to disable the show docked w
-
- how to write a function to read string (or byte)from right side
by adorer
- 6 Replies
- Last post
by adorer
-
- C# ANY GOOD?? for programs need low level access to HDD??
by Markmail
- 6 Replies
- Last post
by Jeroen Vos
- Hi, Im in a process of building a program for an programing assignment, which requires to have low level access to HDD. I need my program to do the following:
-Read the hard drive bit by bit -Acess boot sector to read information -Read what's in the file header -Read the file metafiles -Read files in bits and l -and perhaps read the alternative datasteam of a file
Is C# good
-
- Memory Leak
by MarianoMazzieri
- 10 Replies
- Last post
by MarianoMazzieri
- I have a console application, which is a WSE2 Web service with several soap methods. The application starts and the memory usage increases constantly until it reaches to approximately 700MB, then it won't respond anymore. This memory leak happens on Windows 2K3 with SP2 and Framework 1.1, but i can't reproduce it on Windows 2K SP4, weird isn't it I've reviewed the code in each method to release r
-
- Problem to find an object in hashtable: objects hashcode changes somwhere
by a_martinez
- 6 Replies
- Last post
by a_martinez
- I got a strange problem while developing a tool for Outlook 2007. I write here as I think that my problem is not Outlook specific. My tool receives several information units from a server. For each unit there is a task item created in Outlook and also an information object that holds some specific information for each unit. both objects (task item (key) and info object (value)) are then stored in
-
- Logical Drives ?
by holy_spirit
- 5 Replies
- Last post
by holy_spirit
- hi all, i want to get the logical drives.
so i use
Environment .GetLogicalDrives();
but this method gave me the logical drives including the drives that conected to my pc
like (USBs..)
so i wanna another method that can give me only the basic logical drives on my system
is it possible.
thanx for your help.
-
- static void Main(string[] args).........question
by new to sql server
- 4 Replies
- Last post
by Florian Reischl
- I am relatively new to c#. My experience so far has been with console apps. I have recently learned that the user input from the keyboard for a console app is of the datatype string. I am trying to figure out the significance of the word string in the following code. I am guessing that it is due to the fact that the keyboard input is a string datatype. I am also guessing that this is telling the
-
- ANTI-REFLECTOR SOURCE
by Armin576301
- 14 Replies
- Last post
by PowderGoblin
- How can I make my application, so no reflector software can get it's source code
-
- C# Programming->Structure
by DEEPAK GARG
- 4 Replies
- Last post
by Figo Fei - MSFT
- HI
why we can't initialize the variable inside the structure.
-
- [Resolved]Accessing data set outside windows service...
by den2005
- 2 Replies
- Last post
by den2005
- Hi,
I like to set values outside of a windows service, like in an app.config or xml file, like a filepath or constant value, to avoid recoding, reinstalling the windows service every time values is changed, can you provide codes how to do this
I am looking at ConfigurationManager.OpenExeConfiguration(), but what path will I supply to make it dynamic
-
- catch statement problem
by Xelestial
- 5 Replies
- Last post
by Citizen on the earth
- hi!
i have a problem with my program... I am using Sockets to communicate with another software and it gives me the error "an established connection was aborted by the software in your host machine" then after that the program will terminate. Before i altered my code it does not give this error. I just added a statement in my try-catch if ever the network/ electricity flactuates or go
-
- what -32767 means ?
by holy_spirit
- 5 Replies
- Last post
by holy_spirit
- I was searching and collect information about how to make keylogger, then I found a topic in codeProject talking about that http://www.codeproject.com/cs/system/simple_key_log.asp there is a block of code talking about get the keys that pressed on the keyBoard and store it in a buffer and that happend only when the function returns -32767
Code Block foreach(System.Int32 i in Enum.GetValues(
-
- Conveting from bmp to pcx file
by nnakhlis
- 1 Replies
- Last post
by Rashmi Gopinath
- Any good ideas on how to convert bmp to pcx file
-
- Multiple inheritance scenario
by Opfer
- 6 Replies
- Last post
by Opfer
- Hello,
I know that there is no multiple inheritance of classes in C#. My problem is, I have a scenario that I don't know how to solve without it. Are there even scenarios that cannot be solved without multiple inheritance or is it just a flaw in my design
Alright, this is what it's like. Let's say I have a class Object which represents a named item.
class Object { public string Nam
-
- Huge String List
by Visual C# Novice
- 4 Replies
- Last post
by OmegaMan
- Can anyone suggest the best Collection Class to store a large list of string variables. A list with an amount over 100,000,000 strings. Ive tried so many ways but my program always slows down and my computer runs out of memory.
-
- ExtractAssociatedIcon Help!!!
by Dominator Legend
- 8 Replies
- Last post
by Paul Louth
- Hello,
I'm trying to extract icon from exe files during runtime, i know about the following function.
Icon ico = Icon.ExtractAssociatedIcon(@"C:\WINDOWS\system32\notepad.exe"); this .Icon = ico;
The problem is when i save the icon object to the disk!!
MemoryStream Memo = new MemoryStream();
ico .Save(Memo );
File.WriteAllByte(@"C:\DLICO.Ico", Memo );
-
- Show differences
by ZopoStyle
- 6 Replies
- Last post
by ZopoStyle
- Hi,
I need to implement a function just like Source safe's "Show Difference" function...
Does anyone has something similar or already done to do that
I need to show the differences just like source safe does.... But it must be in a windows forms, and in web form...
Thanks
-
- Database Upadate Problem
by Deep_p_patel
- 4 Replies
- Last post
by Deep_p_patel
- I have created all the required component for data access in windows form (from the walkthrough).
I am able to fetch the data from database table (access database). but after changing the data when I press save button it does not reflect data to my database here is the code I have used in save button click.
private void studentBindingNavigatorSaveItem_Click( object sender, EventArgs
-
- System.IO
by YaelS
- 5 Replies
- Last post
by Itzik Samara
- Hi,
How to write method cheack if a text file was created then read (call TextFileReader ())But if not --> create it (call TextFileCreate())
Open/create file:
Code Snippet
private void TextFileReader()
{
String line;
String [] newline;
try
{
using ( StreamReader sr = new StreamReader ( "C:\\MatarotToolbar\\MatarotData.txt" ))
-
- C#/MSMQ Issue
by Yort
- 9 Replies
- Last post
by Yort
- Hi,
I have a problem with a C# app using MSMQ. The problem has just started occurring in the last week or so. It is happening on both an existing PC and a newly installed PC, both are running XP Pro - the problem does not appear to occur in W2k3 server.
The setup is this;
I have a w2k3 server running a windows service which listens to several message queues for requests, and s
-
- string vs. String / double - Double / etc.
by Finch82
- 6 Replies
- Last post
by Sean Hederman
- Hi there,
I'm currently struggleing with some details: s tring vs. S tring I found this : "The string type represents a string of Unicode characters. string is an alias for String in the .NET Framework" ( http://msdn2.microsoft.com/en-us/library/362314fe.aspx )
And this : A string is a sequential collection of Unicode characters that is used to represent text. A String object is a sequenti
-
- protecting c# program
by sorsh
- 1 Replies
- Last post
by Finch82
- Hi guys
If i have a c# program which i want to operate only on a specipic computer what should i do
someone suggest me to use System.Management inorder to get a unique number from the computer itself
and then check if the number equal to my compter number, but it's seems a little bit easy to break.
thank you
Sorsh ^_^
-
- Good Resources on program design??
by Trubble
- 5 Replies
- Last post
by Trubble
- Could someone point me in the direction of a good resource pertaining to designing your program.
Not neccesarily the coding syntax but how to section off parts of your program and what should be coded as a class that can be instantiated as opposed to a class with just static methods.
I am finding that I appear to be programming more procedurally than object oriented. I create a bunch of clas
-
- TLB registration isue - how to register TLB with GUID with regtlibv12 or C# solution
by jv_getmore
- 4 Replies
- Last post
by jv_getmore
- Hi all,
I have created .NET classes, compiled it as DLL and registered via REGASM. Regasm created TLB file, saying that "TypeLib was registered".. i also created REGfile with regasm and added it to the registry manually, BUT - the TLB specification is in fact NOT registered in the registry.
What is in the registry after using regasm:
HKCR\ CLSID \{GUID}\...
-
- Array.Reverse
by Waheedi
- 4 Replies
- Last post
by TilakGopi
- string [] parts = this .textBox1.Text.Split( new char [] { ' ' });
for ( int i = 0; i < parts.Length; ++i)
{
char [] characters = parts .ToCharArray();
Array .Reverse(characters);
parts = new string (characters);
}
string result = String .Join( " " ,parts );
this .textBox2.Text = result;
i want to modify this code to do this
: