Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
M

M 2000

@M 2000
About
Posts
16
Topics
10
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Can not start C# application without VS2005
    M M 2000

    Hello I have a C# application that uses several Libraries (Crystal ...). The application always runs well. Since a few days I focus the problem, that I can start my application only with the debugger (the Debug and the Release version). If I start the *.exe directly, the application crashes ... Most times an 'Out Of Memory' exception occurs. I added some debugging output and I see, that I enter the Main() but then it crashes ... The application also crashes, if I take an old (former running) *.exe file. Do you have any hint how I could handle it? Thanks and best regards, Martin

    C# debugging announcement csharp performance help

  • VS2005: Task List --> Show all?
    M M 2000

    Hi Thanks for your reply - So the Task List is not really usefull to handle project wide tasks ... Best regards, Martin

    Visual Studio question database

  • VS2005: Task List --> Show all?
    M M 2000

    Hello I use the task list in VS2005 and I also added some new Tokens. The entries are HACK, TODO, TODO_HIGH, ... My Task List does not show all tasks, which I have entered in my Code, e.g.: //TODO: Database - Replace Connection-String How can I view my complete Task-List with all tasks from all files? Thanks and best regards, Martin

    Visual Studio question database

  • compress int to shorter char array (e.g. 12345 --> 3a2)
    M M 2000

    Because it is a long number and I have to pass it manually, e.g. by telephone. So the main target of the algorithm I am looking for is to shorten the integer.

    C# csharp data-structures question

  • compress int to shorter char array (e.g. 12345 --> 3a2)
    M M 2000

    Hello I want to reduce the length of an integer number to transmit the number. e.g. I have an number e.g. 123456789 and I want to compress it to something like 3a34z1 Is there a standard solution in C#/.net for that? Thanks and best regards, Martin

    C# csharp data-structures question

  • theForm.InvokeRequired or theElement.InvokeRequired
    M M 2000

    Hello I call FORM elements from another thread. I use Invoke/BeginInvoke for that. I access a TextBox and a ProgressBar. Can I use theForm.InvokeRequired ... to access both elements or do I have to check if for each element: textBox.InvokeRequired ... progressBar.InvokeRequired Thanks Martin

    C#

  • How to detect ATX Power-Button Event
    M M 2000

    Hi I use Windows-XP/Embedded and I want to shut down my application properly if the user presses the Power-Button. The system is powered by an ATX power supply. I used the following code to test it: using Microsoft.Win32; ... SystemEvents.PowerModeChanged +=new PowerModeChangedEventHandler(SystemEvents_PowerModeChanged); ... private void SystemEvents_PowerModeChanged(object sender, PowerModeChangedEventArgs e) { System.Windows.Forms.MessageBox.Show("Power Off!!!!!!!!!!!!!!!!!!"); } Unfortunately the message never appears if I click the main button. The only thing that happens is that the top most form/dialog is closed. Is here anything wrong or are there better solutions? Thanks and best regards, Martin

    C# tutorial question

  • On-Screen-Keyboard manipulating
    M M 2000

    Hi I develop a mobile device with a Touch-Screen (1024*768) with XP-Embedded. The application should be region/language independet. The standard XP On-Screen-Keyboard is too small. Can I manipulate the size of the buttons programmatically? or Is there a way to program a multi-language keyboard myself? or Does anybody know a good 3rd-Party-Tool/Library programmed in C#? Thanks and best regards, Martin

    C# csharp question

  • VS2005 Beta2: Set Grid Header Color?
    M M 2000

    Hi I am using VS2005 Beta2. Can I set the grid header colour in the form designer and/or programmatically? E.g. : dataGridView1.ColumnHeadersDefaultCellStyle.BackColor = ... Thanks

    C# css question

  • MTAThread and AllowDrop?
    M M 2000

    Hi I use a COM object which needs that I set my Threading-Model to Multi-Threaded-Apartment (MTAThread). If I do not set it to MTAThread I get System.InteropServices.COMException when I call COM-Functions. If I set it to MTAThread I get a 'System.InvalidOperationException:DragDrop registration failed' exception when opening a Windows-Form element with AllowDrop set to true. Is it not possible to enable DragDrop in a Multi-Threaded-Apartment? Thanks Martin

    C# com question

  • How to set expiry date for my software
    M M 2000

    Hi I have an additional question: Where should I store the date of installation? The user should not be able to delete or change it. Thanks. -- modified at 9:17 Wednesday 9th November, 2005

    C# question windows-admin tutorial workspace

  • Set File Access (Read/ReadWrite/Write)
    M M 2000

    I work with a file in my program. But I want to avoid that the file is modified outside of my application by another user. So I thought to make it write protected would be a solution. Do you have another recommendation? Thanks!

    C# csharp question

  • Set File Access (Read/ReadWrite/Write)
    M M 2000

    Hi I want to set the File Access (e.g. FileAccess.Read ) attribute in my C# program. I found the System.IO.File.SetAttributes() Function but it seems not to be the right thing. I also do not want to use the FileStream constructor. Is there another way? Thanks

    C# csharp question

  • Application Settings File: Folder Location
    M M 2000

    One solution is to read out the information with the GetFolderPath function: string strFolderName = System.Environment.GetFolderPath(System.Environment.SpecialFolder.ApplicationData; For details see: http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemEnvironmentSpecialFolderClassTopic.asp

    C# csharp database question

  • Application Settings File: Folder Location
    M M 2000

    Hello Thanks for the reply! Can I read the Home-directory folder out of the system settings? Or how should I handle multi language installations (french, german, ...) which do not name the folder 'documents and settings' but 'dokumente und einstellungen' for instance? Greetings

    C# csharp database question

  • Application Settings File: Folder Location
    M M 2000

    I have application settings (Configurations) which can be modified by the user at runtime. The settings are stored in a file or in a database. Where do I locate this file? E.g. the installation folder C:\Program Files\MyExampleProgram\Settings is write-protected for a normal user. The C# program is installed on Windows Systems post Win98SE.

    C# csharp database question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups