8,298 Topics
![]() | |
I need to delete a shortcut but the code I wrote will not work. [code=C#]System.IO.File.Delete("C:/WINDOWS/Example.Ink"); // This returns no errors at all, just nothing happens.[/code] Does anyone have an idea on an alternate way to delete a shortcut? Any help is appreciated =D | |
Can someone please break down a simple statement for a relative newbie? [CODE]Thread firstThread = new Thread (new ThreadStart (Method1));[/CODE] In other words, what is happening at each stage here: [CODE]new ThreadStart (Method1)[/CODE] [CODE]new Thread (new ThreadStart (Method1))[/CODE] [CODE]Thread firstThread = new Thread (new ThreadStart (Method1));[/CODE] Thanks for any help … | |
did anybody know.....how to restore our system to a already created restore point in C# programming? I am studying 3rd B-tech and this is my project...please do help re... Thanks in advance aruna | |
Help word automation with c# urgent please Posted: 07-21-2009 02:29 PM Hello I'm trying to create a doc from a template I can access bookmarks an everything is ok except when there is a bookmark inside a textbox in the template, I can't acces that nor the bookmarks in the … | |
Hi, My name is Oleg and I'm 1,5-year experienced C# developer working in Danish outsourcing IT company. I'm searching for freelance work here. If interested with my CV, please write to me, Best regards. | |
Hello, this is Metalcrunch. I've been learning C++ over the past days and I thought I'd make a calculator. So I looked over the existing code on the internet on how to make a calculator, understood it, then made my own from the very scratch. However, I'm having a few … | |
Hello! I have a liitle problem with my programm. I need to create programm that is making a AutoCAD drawing from a windows form. I Alrady got the everything done, but have one small problem: I can send command to autocad only once per my programm is running, if i … | |
Hello friends, I am trying to make a program in which there would be a text file which would contain a certain piece of information.Now the user would ask questions and the program would answer the question using the information given in the text file. This is basically related to … | |
hi! can someone give me some idea what kind of game is easy to do in c++? or kind of a system.. it is for our project..I'm thinking of doing text twist..can someone give some other idea? thanks very much!!! ![]() | |
| |
namespace first { public class index { int count; public index() { count = 0; } public static index operator++(index x) { x.count++; return count; } } class Program { static void Main(string[] args) { index i = new index(); i++; Console.WriteLine(i); } } } when i am typing this … | |
Hi friends, i am buliding my menu in the master pager like below in C# and asp.net 2.0 and iam get these menu from database dynamically [code] private void GenerateMenuItems() { ContentManagement.Menu[] menuList = (ContentManagement.Menu[])Session["MenuItems"]; if (menuList != null) { Table menuTable = new Table(); menuTable.Width = Unit.Percentage(100); menuTable.BorderStyle = … | |
Hi. I'm new to c# and have ran into a problem, I am using the following code to generate textboxes within a panel. [code] private void button1_Click(object sender, EventArgs e) { AddFields(); } private void AddFields() { if (textBoxIndex != 10) { TextBox field = new TextBox(); field.Name = "field" … | |
Hey all, I am trying to check if a .exe file is open, if it is open bring it to foreground, if it is not open open .exe file and bring to foreground. The code I have written doesnt seem to recognise if the program is open or not as … | |
Ei guys... I'm about to make a project involving the use of a LAN cable/port and c++ I would like to use c++ to to send bit (Binary Output) outputs through a LAN cable. just like what we do with c++ and parallel ports, but this time I'll be using … | |
Hi, Does anyone no if it is possible to remove controls like a textbox during runtime? | |
Help I need a quicker way to do this, its a combobox that assigns a number to whatevers selected and it takes up to much room and looks messy. [code] private void comboBox19_SelectedIndexChanged(object sender, EventArgs e) { if (comboBox19.Items[comboBox19.SelectedIndex].ToString() == "Clear Float") { glassType10 = 200; } else if (comboBox19.Items[comboBox19.SelectedIndex].ToString() … | |
Hi All, I'm working on a GUI project that involves continuously reading data (which is a waveform - like a simple sinusoid) from a file (which gets periodically updated), and displaying it as a pixel-based image. I was able to follow some tutorials online and install Allegro and successfully plot … | |
Hi, Does anybody know how I can create a bunch of textboxes and buttons without having to write each one individually e.g [code] Button button1 = new Button; button1.Location = new Point(1,20); this.Controls.Add(button1); [/code] And then having to go onto the next one e.g button2. Please help | |
Hi, I am creating a program on behalf of my business and have become stuck in one particular matter. I am fairly new to C#. The application consists of the user entering data into a mixture of comboBoxes and textboxes, after the user has entered the data he clicks the … | |
Hi, I am creating a program on behalf of my company and am stuck in one particular matter. I am fairly new to C#. At the moment I am creating a textbox, label and a button at the push of a diffrent button with the following code. [code] TextBox textBox6 … | |
Hi All, I design a website using asp.net in C#. I have Datalist control in my default.aspx page with <asp:SqlDataSource> connect to SQL Server 2005 express edition. In this control, I display alot of thumbnail images (more than 200 images). How can datalist control allow paging? (such as: display 50 … | |
hello.can you please help me guys on these.. A company wants to transmit data over the telephone, buit is concerned that its phone could be trapped. All of the data are transmitted as four-digit integers.The company has asked you to write a program that encrypts the data so that it … | |
I am on a project that requires the use of C# and C++, is it possible to compile both languages in the same compiler without spending $200 on the full version. When I try to add a .cpp file to C# it says 'Make sure you have installed (.cpp) files.' … | |
i want to select java or c# please help me to select better programming language and easy to programming language i have experience in c++ if java is better please tell me why java is better or c# please introduce me best books for java and c# | |
Hi all :) I am new to the batch file, never heard it before and thus need help from all of your. I need to create a batch file (.bat) that will execute a C# application which is written in Visual Studio 2008. Someone please assist me and give me … | |
Hi, I am creating a program for my business that allows us to write quotes quickly, I am fairly new to C# and am stuck on a particular matter. i cannot relate to my Dynamically created textbox no matter what i name it, i am using the following code to … | |
My first school project after first year of c++ studying in 10 grade for summer to code virtual stack emulation in C++.. Well i've done it perfectly finished just today !! It supposed to be for all summer I finished in fast in 1 day lol not nerd :) Just … | |
hi i have a requirement to write tamil word (indian language) in a txt file using c#. some one help me | |
Hi, I want to develop an online poker game in asp.net and C#. Can anybody tell whether do we have an existing library which i can download freely or by so that i can use to develop poker games. Or please suggest if you have any better idea. It's urgent … | |
Hi there, Im new to this forum so please bear with me. I need help in knowing how to copy an entire row in Excel using C++. Im not allowed to convert it to CSV format either. Ive researched and found a way how to open read Excel files using … | |
Hi I'm new to C# and ASP.NET. Do you know any advanced website tutorials? or downloadable ones? Thanks (^^,) | |
I am working on a ftp client program and i wana know how to save password without creating a text file. If its possible to achieve this using xml or any other method please show me how. If u have a project or sourcecode on this please upload it in … | |
Step: 1I have a class Mytest [code] class MyTest { public string Name { get; set; } } [/code] Step2: Created a class Demo to use the member variables of the class myTest [code] class Demo { public void GetNames<T>(IList<myTest> info) { foreach (myTest test in info) { Console.WriteLine(test.Name.ToString()); } … | |
I am using gcc on Suse Linux Enterprise Server 10 to compile my C++ source files. The problem I have is that when I invoke the command [INDENT][B]g++ source_file.cpp[/B][/INDENT] the file source_file.cpp is compiled as a C source file. I realized the problem when I was trying to set up … | |
Hi All, i want send sms to any mobile in india through my application.i tried using webservice in weservicex.net(not sure?) .bt it's not working.i dont want pay money as this is is very small project.so can any one plz help hw to send sms.any free gateway providers. thanks in advance. … | |
Hi all, I'm using microsoft visual C++ 6.0 with SP4 and SP5.. I had a program which content a CScrollView.. Now I would like to add in a image into CScrollView.. but my image is buffer..not from resource.. I can save my image, bitmap form, into local drive.. but I … | |
Hi I am totally new to crystal reports and i need to print invoices from C# with the data stored in SQL. Now i can retireve the data and display it in the report however, i cannot properly display it. The problem is that e.g. i want to print out … | |
Hi, is there any difference between accessor written as get { } get; | |
Hi, I'm coding in C# and my project suddenly doesn't load the localized strings anymore. Details: [LIST] [*]the language in use is written in a ini file [*]the localized strings are contained in [I]projectname[/I].resources.dll in the it-IT/ (for italian) folder located where the executable is [*]the [I]projectname[/I].resources.dll is aligned with … | |
Hi, I'm quite new to C++ and I'm trying to write a function which would change uppercase letter in char[] to lowercase. Inside this function everything is fine but when I leave it, contents of char[] is not changed. Any ideas why? Also when I try to delete local pointers … | |
Hi, I'm trying to insert vba code in a word .docm file through vbaProject.bin. I'm planning to use C# for this task. The part to change it to zip or use the System.IO.Packaging to open up the file doesn't seam to be a problem. Through this tutorial: [url]http://www.codeproject.com/KB/cs/office2007bin.aspx?fid=333613&df=90&mpp=25&noise=3&sort=Position&view=Quick&select=2005497[/url] I understand … | |
hi can you tell me how to use " Active Directory Services " in login page by using asp.net. (c#.net) | |
![]() | Hi! I'm trying to search a binary file for some hex values and then replace them, using C++ CLR. Reading and writing the file works, but I just haven't found a way to search and replace successfully. Here is the relevant code I've created: [CODE] array<Byte>^ fileContents = File::ReadAllBytes(item); textBox2->Text … |
Looking for some basic direction in development of a "State" based database navigation system to be made in to a plug in for C# or C++ and or VB, have good example from the VB 6.0 book by Connell. Maybe to make a tutorial for it too. | |
i have datagrid that show record from odbc database. i need help in delete and editing records. when the datagrid open you can edit and deleting records but How you save the editing or the deleting? | |
Hi all I am creating a windows application. I am now concentrating on the Reporting Module of my Application. I have two ideas to do this task. Either through Crystal Reports or using the Windows Forms and placing the Data Grid View. Can any one suggest me which option should … | |
on line 53 it says menu is undeclared. but if i bought menu first then mcdonalds is undeclared. does anyone know how i can sort this out? ty [CODE] #include <iostream> using namespace std; double money = 50.00; void Mcdonalds() { cout << "Welcome\n"; cout << "How can i help … |
The End.