Answer Questions
wsalomon Append text in the first line of files
is there any functions/methods to append text lines (2 lines) in the first line of .txt files ex: i got a txt files contains 3 lines and i want to append 2 lines above the first line Hey, thanks cgraus. The code snippet was really useful. I missed a step... textBox1.Select(textBox1.Text.Length, 0); textBox1.ScrollToCaret(); I think the easiest way is to read the File using the System. ...Show All
waex99 Set a text field to type ahead?
You know in outlook or outlook express when a user starts typing an email address, the field populates an address or text that was previously typed there before. How exactly is that done Is Outlook just reading that out of a hidden text file I would like to enable some sort of type ahead on a text field like they do it in Outlook. Thank you very much James! I have tried to use this code in the TextChanged-Event of a textbox... ...Show All
BrianXL MouseMove event on a parent panel
Hello, Here's what I'm trying to do. I have a panel the size of my application window. I want the panel's MouseMove function to be called when the mouse moves over it. This part works beautifully. However, when I add a small child panel to this panel, the original MouseMove event doesn't fire when the mouse is over the child panel which is over the parent panel. It only fires when I move the mouse over part of the parent pa ...Show All
mikelaw How to make an ekstra column in database?
Hello Someone to helt how you add a column in a datagrid without the column is in the database, a column to example linklabel or checkbox Some syntax help. spot that in Visual C#2003, not ASP. Still works in C# Template Column Syntax Hello Yes you can do this by using the Template Column Check this one http://www.codeproject.com/aspnet/ ...Show All
lastpick Rename the App_code.dll generated by .Net framework 2.0 Web Service
Hi, I have created a new Web service using the VS2005. After publishing the web site I got a assembly with name app_code.dll. I want a meaningful name and thus want to rename it. what is the procedure to change the name. Thanks in advance. Regards, Virendra Hi Virendra, Yes you are right. Also I do understand your concern in this scenario, I highly suggest you can submit this feedback to our product feedback cent ...Show All
SteveFogel How to launch process in c#.net web application(on button's click event)
Hi All, using System.Diagnostics; Process process = new Process(); process.StartInfo.FileName ="msimn.exe"; process.Start(); This code runs perfectly with Console Application but I need to run same " msimn.exe" on button's click event in web application..I have tried but unable to do that.. Pls..let me know how to do that ,Thanks in advance Leena & ...Show All
CamDen Reg the usage of appconfig
Hi, I am using the appconfig to store the details of the database connection. I need to know the other usages of this file, so that i could make changes to the project. Maybe this is a basic question, but i am new to C#. Regards, satish ...Show All
?smail Hakk? Dereli Adding multiple records into a database from a list box selection.
I'm trying to figure out how to get what is selected in a list box to be added to the database, but as a seperate record for each item. Here is what I have so far, but when I compile I get an error that "Listbox does not contain a public definition for 'GetEnumerator'. Has anyone done this before or know how to do this Thanks for all of your help protected void btnAddUsers_Click( object sender, EventArgs e) { foreach ( Li ...Show All
Mystus Intellisense is missing a class.
Hi there. I've just created a new class and everything compiles fine. But now Intellisense doesnt list the class. I've re-checked the namespace and using lines over and over. I've closed the forms and re-opened and ive closed the solution and re-opened. Still doesnt work. Is there a way i can sort this out This used to happen in VS2003 but usually closing the files or solution would fix the problem. I've just checked the Class viewe ...Show All
Kiwi86 Can I Open VS 2005 Beta 2 Projects in VC#?
I have been using Visual Studio 2005 Beta 2 for a while now and I want to switch to Visual C#, and I am wondering if Visual C# will open the project or if it will have problems I would test this myself, except it says that I have to uninstall VS2005 Beta 2 and .Net 2.0 in order to install the final versions, which i dont want to do if the projects won't work... Anybdy know What product are you trying to upgrade to The final version o ...Show All
MarcioMVM simulating domain users file operations
Hi guys, I want to simulate in code that some domain user is copying file from location to another. This user is not the current logged in user. I'm designing a testing tool that simulates domain users file operations to test access right on a certain folder. Please tell me if this is possible or not and how and I'll be very thankful Thanks Sibusiso for you help. but I need to do this ...Show All
Number4 Anyone used Visual SourceSafe with C# ?
Hi guys, i am relatively new to C# and the VS.NET 2003 enviroment.I am currently developing a web-based application for my team onsite to allow programmers to rebuild applications into dlls based on the labels they specified on their sourcecode found within the Visual Source Safe DB. The primary flow can summed up like this; 1) user select csproj that they wish to rebuild 2) webpage display a list of all C# files and ALL instances lab ...Show All
Donaghy UML Tools for .NET (especially for C#)
any one know what UML Tools are for .NET (especially C#) thanks alot Hi, in VS 2005 you can use the classdiagram type. Also you can use Visio that is shipped with Visual Studio 2003 Enterprise Architect. Hi. Following are UML tools: Enterprise Architect: http://www.sparxsystems.com.au/ea.htm Smart Development Environment Plugin for Visual Studio http://www.visual-paradigm.com/product/sde/ Regards, V ...Show All
vivisad Direct X
In language Visual C# 2003 there was a function Pass, in a class Microsoft.DirectX.Direct3D.Effect, and in language Visual C# 2005 this function is absent, what function replaces this function I am using VS C# Express edition B2, and the april 2005 edition of the DirectX SDK and the class you are looking for is there. Generally the SDK is seperate from the VS Enviroment, meaning that if an object is in the 2003 enviroment it will be in th ...Show All
DavidMBaker Where can I access the properties of references?
Specifically, I need to set the copy local property of a reference to true, but I am unable to even find where the reference properties can be accessed. This is a web project in C#. The documentation only shows VB.Net for this topic. I'm not completely sure what you're trying to do, but if you open the .csproj file and set the <private> tag to true for a reference, it'll make the ref ...Show All
