Software Development Network Logo
  • Visual C#
  • Visual C++
  • VS Express Editions
  • Game Technologies
  • SQL Server
  • Architecture
  • Smart Device
  • Windows Live
  • Visual Studio
  • Visual J#
  • Windows Vista
  • Microsoft ISV
  • .NET Development
  • VS Team System
  • Visual Basic

Software Development Network >> Visual C#

Visual C#

New Question

Questions about Objects in C#
Post-build event stripping carriage returns
Getting Connection String?
Simple question.
MessageBox behind console window when run in debugger (F5)?
Read-only wrappers for derived classes
Build problems?
ProgressBar.Value
ProgressBar property missing?
ALT+F4 question

Top Answerers

Jay1980_UK
ssmile73
aping
john.matthews01
Tim Attaway
Patrick Huynh
Andrew Wilkes
exoloner
Bard7
SabariRajan
VBShop
Only Title

Answer Questions

  • Gold333 Scrolling Textbox vs 2005

    hi ppl. how can i scroll manually a textbox its a multiline with vertical scroll.. i want to can scroll it to the end of the text when ever i want... i didnt found a method or propertie to do that :s... thx mig16 Hi mig16 NB: If its multiline you do not need to scroll to the end, if you are entering/diplaying a string the textbox will diplay the whole string. if the cursor is at the end of the textbox it w ...Show All

  • smartinz Changing File Permissions

    I have a file that I want to copy to a different location. Sometimes the files will be marked as ReadOnly. I want to change the permission to not read only and then copy the file and change the permission back. Is there any way to handle this Here is how I detect the attribute: string file = @"C:\File.jpg"; FileInfo info = new FileInfo( file ); if ( (info.Attributes & FileAttributes.ReadOnly) != 0 ) Cons ...Show All

  • DaedMajaz calling C# function from C

    Hi I have been searching for an example code/instructions as to how to call a C# function from a native C dll. I have seen some instructions for C++ such as writing a managed MC++ wrapper, or playing with the low level IL code which is not an option for me. I appreciate any kind of feedback Thanks Mehmet Atlihan MCP Not off the top of my head, but I assume you would use LoadLibrary to load the ...Show All

  • SQLHelp "Absolute path information is required" bug.

    Hello, I've installed Visual Studio 2005 MSDN and I have problems with C# projects. Whenever I try to start a C# project (Windows Application or something else) I get message box: Microsoft Visual Studio "Absolute path information is required". Solution file is created in specified directory (and *.suo file), but nothing else. I also cannot open/convert C# projects from VS2003. I don't have any blocked/protected directories. Everythin ...Show All

  • mabeghin form size

    hi,    the form i am making contains i think 60 textboxes which are hidden to check if the values being pass is correct. it almost occupy the design page and when i add the listboxes and buttons i can't put it at the lower level. i think the page is already occupied by the textboxes. is there a way i could adjust this one. i  don't want to delete the textboxes coz they're important. i have seen web pages which contain so many data ...Show All

  • Patrick Carnahan - MSFT cannot toggle between two forms

    It is a continuation of my previous thread on switching between forms. Special thanks to Craig for the code. I still have a way to go. Now I am trying to toggle between two forms of one application (WindowsApplication2). It starts out as Form1. By clicking on a linkLabel control I close Form1 and start Form2. The Form1 becomes invisible. Then I want to go back to Form1 and perhaps a few times back and forth. The following code gives me a compile ...Show All

  • Asher Dobbins Using an Ada generated .Net dll in C#

    Greetings, I'm currently using Ada as my main programming language. The only issue that I have with this language is that there is not any decent GUI builder designed for it, so I tried to build a test .net dll with the functions that I needed in Ada and then call it from a form built in C#. Here is an example of the code that C# executes when pressing the button of the test form: private void button1_Click( object sender, EventArgs e) & ...Show All

  • Mike H726 Unassigned Varibles???

    private void menuItem15_Click( object sender, System.EventArgs e) { MenuItem mnuItem = (MenuItem) sender; mnuItem.Checked = !mnuItem.Checked; FontStyle fsStyle; switch (mnuItem.Text.Replace("&","")) { case "Bold": fsStyle = FontStyle.Bold; break ; case "Italic": fsStyle = FontStyle.Italic; break ; case "UnderLine": fsStyle = FontStyle.Regular; break ; } rtbText.SelectionFont = new Font(rtbText.Selection ...Show All

  • HannibalCannibal Picture Boxes and Arrays.

    Hi everyone,    I have a problem - and I'm aware that this is probably a simple problem - I'm just too thick to have grasped it. I'm creating an array list of picture boxes: formGraphic = Image.FromFile(path2); pb1 = new PictureBox(); pb1.Image = FixedSize(formImage,panel2.Width, thumbHeight); pb1.Location = new Point(20 , (50 * picIndex) +20); pbArray.Add(pb1); so as you can see I have an array called pbArray that contains 'n' p ...Show All

  • Corby Bender Generic Horror, Inheriting types with multiple inherited constraints

    Ok, well I am having a pretty major issue getting a class with insane generics to simply compile...here's the scenario. I have an entity class, attempting to inherit from a persisted entity which on a class level accepts 3 generics, the first 2 generics have a pretty firm constraint which dictates the first type inherit from our base Entity class (which persistantentity does), and also that it has a parameterless constructor. All of that is ...Show All

  • lxhvc But how?

    Hi! Your DLL have C++ export, which have decorated function name. You need to export it in C mode, check extern "C" in C++ manuals. Ahh.. A friend who worked Microsoft at the Visual Studio 2005 division helped me with my problem. It turned out to be that the DLL messed up its table dll signatures upon runtime. So I had to DLL Import the Ordinal using the #11. It worked and Thanks for your help! I have done it that way ...Show All

  • Gowri Shankar VS2005 Beta2 "Preview Data" Window Returns Query Results, but my code does not return results

    I'm stumped... I'm using the Beta2 of Visual Studio 2005 When I run a query in "Preview Data" by right clicking on the BindingSource or the dataTableAdapter i get results returned from the query, but when I use the following code in a dataGridView, my code (I'm using the same dataTableAdapter, dataSet, DataTable and FillBy method as in the "Preview Data" window) tells me that no records were returned. dataGridView.DataSource = dataTa ...Show All

  • Hooray_for_Boobies thanks

    How to generate file signature How to generate spyware signature and lastly how they will be compared to find either they have been changed or not When you say "file signature" do you mean a check code or a hash What do you mean by "spyware signature" You can generate a file has in many ways. An MD5 hash is a common way to generate a file check code. Spyware and antivirus signatures are not fil ...Show All

  • shapij Buttons Backcolor in C# 2.0

    I recently started using C# 2.0 and put a button on a form, left the flatstyle as standard, then changed the backcolor. The button now has a square with the color I chose over the top of the button and the outline of the button still showing the standard style. Is there anyway to change the backcolor of the button in standard flatstyle without having a big colored square over the top of it Thanks in advanced Shane ...Show All

  • Farmer11243 My program code called the Windows API function

    My program code called the Windows API function If transfers this API is destroyed How to program should process //thank Ernst Kuschke :-) :-) using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Runtime.InteropServices; namespace WindowsApplication1 { public partial class For ...Show All

181920212223242526272829303132333435

©2008 Software Development Network

powered by phorum