8,298 Topics

Member Avatar for
Member Avatar for TheFoeHammer

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

Member Avatar for Nick Evan
0
460
Member Avatar for BobLewiston

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 …

Member Avatar for cq2535
0
406
Member Avatar for arunaalapati

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

Member Avatar for arunaalapati
0
96
Member Avatar for pedro.alonsod

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 …

Member Avatar for pedro.alonsod
-1
904
Member Avatar for PompolutZ

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.

0
5
Member Avatar for metalclunch

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 …

Member Avatar for 23.12.2012
0
239
Member Avatar for eproo

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 …

Member Avatar for ognyandim
0
314
Member Avatar for scholar

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 …

Member Avatar for sknake
0
138
Member Avatar for abby2589

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!!!

Member Avatar for jencas
0
80
Member Avatar for shobhitzone
Member Avatar for sambafriends

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 …

Member Avatar for Ramy Mahrous
0
178
Member Avatar for CppBuilder2006

hi I know C++ & I can write almost every console program with C++. How long will it take me to learn C#?

Member Avatar for Ramy Mahrous
0
146
Member Avatar for vytla

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 = …

Member Avatar for Airshow
0
153
Member Avatar for wingers1290

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" …

Member Avatar for wingers1290
0
230
Member Avatar for colmcy1

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 …

Member Avatar for colmcy1
0
2K
Member Avatar for weeken88

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 …

Member Avatar for weeken88
0
91
Member Avatar for wingers1290

Hi, Does anyone no if it is possible to remove controls like a textbox during runtime?

Member Avatar for ddanbe
0
159
Member Avatar for wingers1290

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() …

Member Avatar for wingers1290
0
102
Member Avatar for amarucla

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 …

Member Avatar for Stefano Mtangoo
0
926
Member Avatar for wingers1290

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

Member Avatar for wingers1290
0
86
Member Avatar for wingers1290

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 …

Member Avatar for wingers1290
0
2K
Member Avatar for kspriya01
Member Avatar for tdeck
0
84
Member Avatar for wingers1290

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 …

Member Avatar for Antenka
0
401
Member Avatar for phuynh77

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 …

Member Avatar for dnanetwork
0
148
Member Avatar for karen_mayhem06

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 …

Member Avatar for songad
0
95
Member Avatar for fuggles

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.' …

Member Avatar for Ramy Mahrous
0
47
Member Avatar for thr

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#

Member Avatar for Ramy Mahrous
0
237
Member Avatar for friiday

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 …

Member Avatar for sknake
0
111
Member Avatar for wingers1290

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 …

Member Avatar for Antenka
0
311
Member Avatar for laconstantine

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 …

0
93
Member Avatar for madhan0208

hi i have a requirement to write tamil word (indian language) in a txt file using c#. some one help me

Member Avatar for madhan0208
0
46
Member Avatar for nccsbim071

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 …

0
49
Member Avatar for zsady

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 …

Member Avatar for Ancient Dragon
0
96
Member Avatar for SammiSmi

Hi I'm new to C# and ASP.NET. Do you know any advanced website tutorials? or downloadable ones? Thanks (^^,)

Member Avatar for serkan sendur
0
101
Member Avatar for huzeifa

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 …

Member Avatar for tux4life
0
85
Member Avatar for pepcoder

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()); } …

Member Avatar for sknake
0
134
Member Avatar for sureronald

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 …

Member Avatar for sureronald
0
116
Member Avatar for srikanthkadem

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. …

Member Avatar for virtuelabz
0
193
Member Avatar for shizu

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 …

Member Avatar for shizu
0
142
Member Avatar for brainbox

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 …

Member Avatar for Ramy Mahrous
0
100
Member Avatar for nccsbim071
Member Avatar for nccsbim071
0
90
Member Avatar for alema

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 …

Member Avatar for alema
0
193
Member Avatar for atch

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 …

Member Avatar for atch
0
131
Member Avatar for nattsurf123

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 …

0
83
Member Avatar for mohankumar554
Member Avatar for Ramesh S
0
49
Member Avatar for vickdini

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 …

Member Avatar for Ancient Dragon
0
832
Member Avatar for krisfr

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.

Member Avatar for Ramy Mahrous
0
56
Member Avatar for elidotnet

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?

Member Avatar for sknake
-1
53
Member Avatar for S2009

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 …

Member Avatar for S2009
0
110
Member Avatar for rtwister

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 …

Member Avatar for Tom Gunn
0
77

The End.