473,809 Members | 2,744 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# / C Sharp Forum

1
2,167
thread by: sreedhar34 | last post Oct 18 '12 by: rupali
Hi, I want to open a command prompt from a console application in a separate window and write some lines of text in the new command prompt. In the Below code it is not opening the new cmd and not writing the text... Please help me on this... Here is the code: public static int Main(string args)
1
2,260
thread by: SAMARM | last post Oct 18 '12 by: Rabbit
Good day I am writing code to open every page in internet explorer and every page will be in new tab but my code open every page in separate window could plz help me :) I am using c# using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq;
4
1,807
Sl1ver
thread by: Sl1ver | last post Oct 16 '12 by: akshaymahajan
Hi guys I've got the following list List<string> modelList = new List<string>() { "A", "B", "B", "A", "B", "A", "B" }; How will you make the list to only show the B's.
0
1,498
thread by: OldStory | last post Oct 16 '12 by: OldStory
Hello! I have one simple game (for PC, C++). I want to make a portable version of this game, so users can play it without having to install (at work, for example!). What technologies for creating portable games do you know? I've already got some good advice from colleagues. But the question is still relevant!
2
1,551
thread by: glimpses | last post Oct 16 '12 by: glimpses
hi i am working in treeview creation using asp.net with c#(web control)(visual studio 2010).In this no option for colouring particular node.give search node name in textbox.i am searching node in treeview.sometimes it will occur multiple times in treeview.i want to color that particular nodes.and also change color of connected path line of that...
0
1,640
thread by: jeevi | last post Oct 15 '12 by: jeevi
Hello, I am doing a wcf C#.net project in which i need to send multiple emails asynchronously with one pdf attachment. I use smtp.sendAsync() to do it. Please guide me on this and clarify my doubts. The logic i have used is, store all the receiver's email ids in a list. Then, in a foreach loop, inside each loop call my function say,...
1
2,317
thread by: joqchang | last post Oct 15 '12 by: joqchang
The report works in my computer. But when I deploy to another computer, it doesn't work. It got login in prompt. I used SqlClient to get data then bind to DataSet, then set report source. My environment: XP + VS 2003 DataBase : MS SQL 2005 (another server) System : Windows Form Client PC : XP Does anyone have any suggestions?
3
2,098
thread by: MadBob | last post Oct 14 '12 by: Rabbit
Hello! I Have a class: public class DoubleColor { private color _Color1; public color Color1 { get { return _Color1; } set { _Color1=value; }
4
1,616
thread by: mrcw | last post Oct 13 '12 by: soli
Hi, I've written a program called ATC in which I show some shockwave movies. It works fine on my computer, but when I deploy it to another computer it can't show the shockwave movies because they are not avaialable on the new computer because they are on my computer. I've tried adding a new folder called movies to ATC in the solution explorer...
5
2,315
thread by: Williamaperry | last post Oct 12 '12 by: Rabbit
I have inherited a task a task where I have to get data from a csv file and transpose it into a form and then post it to an internal webpage (mediawiki) there are 7 columns in the csv and the rows keep growing. If I can at least get my text to a text box where I can cut and paste into the appropriate media wiki page for now it will let me catch...
1
3,178
thread by: mountfranklin | last post Oct 12 '12 by: WRoos
Hi again. I would like to know the simplest way to implement a drag and drop feature for my rectangles I draw up. I can select the rectangles and I know I have to get the old position to equal the new position but wouldn't know how to actually do this. I would think that I would have to put it into MouseMove but again, not sure. Any...
2
1,437
thread by: mountfranklin | last post Oct 12 '12 by: mountfranklin
Hi, I am trying to store values of X and Y into a list like this: if (pictureBox1.Image != null) { draw = true; Graphics g = Graphics.FromImage(imageFile); Pen pen1 = new Pen(color, 4); g.DrawRectangle(pen1, e.X - 3, e.Y - 2, 5, 5); ...
0
1,192
thread by: sourceinfo | last post Oct 12 '12 by: sourceinfo
How do I set focus to a specific field in an external program? Our application is middleware that sends data to a different application through a port, but we then switch the screen focus to the other app. This is successful. What is unsucessful is setting the cursor to a specific field. The following is one of our efforts: if (hChldAft !=...
16
10,061
JustRun
thread by: JustRun | last post Oct 11 '12 by: Hasankhan
Hi, suppose I have a table with one column in the database. If I tried to display this table in a DataGridView it will be displayed in one vertical column. I need to display this column in 3 or 4 columns in the gridview. but without repeating, just the data as it is in the DB table will be displayed in GV Any help
6
2,125
thread by: quickgun33 | last post Oct 11 '12 by: quickgun33
I am writing a parse system, and I want to go in and check a string for multiple Ks to be exact a K at the beginning and one at the end, if it does have a K at the end of the string I want to remove that K. I don't have an exact size of my string. I know how to remove the last K but not how to check the string for the multiple K's. This is what...
1
1,959
thread by: vdambiton135 | last post Oct 11 '12 by: Rabbit
I want all dumps question related C#.net ,please provide me any link if it is
6
40,486
thread by: BobLewiston | last post Oct 11 '12 by: ronholmj
Is there any way to copy an entire Visual C# solution in such a way that it works? If you just copy it and rename it, it gives an error message that it's been renamed and therefore it refuses to work.
0
1,754
thread by: JHine | last post Oct 8 '12 by: JHine
C# issue with ListDirectoryDetails. Has anyone seen a case where the detail listing of files strips out the year of the create date? In most cases the Month, Day and Year are displayed, however, I have come across a case with previously working code where the Year is not being displayed and instead the time is. string dirSeperator = { "\r\n"...
1
1,657
thread by: Williamaperry | last post Oct 8 '12 by: Rabbit
I get the following error: Error 1 'System.IO.TextReader' does not contain a definition for 'peek' and no extension method 'peek' accepting a first argument of type 'System.IO.TextReader' could be found (are you missing a using directive or an assembly reference?) I have included "using System.IO;" any thoughts? TextReader infile =...
0
1,207
thread by: mrcw | last post Oct 8 '12 by: mrcw
Hi I'm trying to make loop to make 55 axshockwave objects invisible. Simply put this in a loop. axShockwaveFlash1.Visible = false axShockwaveFlash2.Visible = false axShockwaveFlash3.Visible = false .... axShockwaveFlash55.Visible = false As you can see first I listed all the loop items in a TB to make sure they looked O.K. which they...
1
1,786
thread by: LouTheNewb | last post Oct 7 '12 by: Rabbit
I'm very new to c# and programming in general, so excuse my poor knowledge. For school we have to create a blackjack game using windows form. I had to store the images of each card into a sorted list so i created a class called cardList and created a constructor which contained the the sorted list called cards. So it looks kinda like this: ...
2
3,302
thread by: rohitpatel | last post Oct 5 '12 by: rohitpatel
i have task scheduling application which execute every 30 minute i want to keep this process when system is log off in c# console application
1
1,975
thread by: ANAMIKA1987 | last post Oct 4 '12 by: Mihail
how to display the item in listbox,which are selected from three combobox.
1
6,329
thread by: Stuart1044 | last post Oct 3 '12 by: Rabbit
Hi I am trying to open an Excel file, refresh the query behind it and then save and close the file in C#. I have the following but I am getting errors on the Application excel = new Application() section: Application excel = new Application(); Workbook theWorkbook = excelFile.Workbooks._Open(txtLocation.Text,...
0
1,390
thread by: mrcw | last post Oct 3 '12 by: mrcw
Hi how can I alter only the fontsize and fontcolour of the second word in thE THIRD LINE thnx

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.