4,588 Topics
| |
I created a code in C# but cant see any resource online to convert it to php can you help me? Bitmap printscreen = new Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height); Graphics graphics = Graphics.FromImage(printscreen as Image); graphics.CopyFromScreen(0, 0, 0, 0, printscreen.Size); printscreen.Save(@"C:\printscreen.jpg", ImageFormat.Jpeg); | |
Hi I would like to create a program sort like an organizer and I would like to add RSS feeds and the weather conditions to the program. So I would like to make some sort of connection to a website to bring the information. Can anyone help me please? | |
Hello, How to display list process, when i run sql*loader in c#. I mean when i run sql*loader from cmd windows, i get list process how many row has been inserted. But when i run SQL*Loader from C#, i can't get process SQL*Loader. This is my code: [CODE] string strCmd, … | |
Hi, Im new to the windows .NET platform and I was wondering if someone can guide me. I have a c# program that implements an interface. Inside this program, I have a method where I get an array of processes running on the workstation and I look for a specific … | |
hello all I try to open my datagridview's content in excell the problem is it's change the string value to numeric. so if in datagridview the content is "0001" in excell it become "1"; how to correct this problem ? any help ? thanks denny | |
Hi guys..I try to automate outlook..it works great ..the problem is that I use office14 at home, and my company (where I need my program to work) uses office12... I was told that to make it possible to run on office12 and later, I need to get msoutl.olb from office12. … | |
Hi guys..I try to automate outlook..it works great ..the problem is that I use office14 at home, and my company (where I need my program to work) uses office12... I was told that to make it possible to run on office12 and later, I need to get msoutl.olb from office12. … | |
I have a big problem. Wheb I try to automate Outlook, I need to make a wrapper...My outlook version is 14. Unfortunatelly I need my proggy to work on all versions of Outlook. how to do that? My code to send email is: [CODE]string allbody; System.Diagnostics.Process.Start("outlook"); Outlook._Application oApp = new … | |
Hi guys... I have small problem with my code [CODE]// WYSYLAMY DO HD Outlook.Application oApp = new Outlook.Application(); //Create the new message by using the simplest approach. Outlook.MailItem oMsg = (Outlook.MailItem)oApp.CreateItem(Outlook.OlItemType.olMailItem); //Add a recipient. // TODO: Change the following recipient where appropriate. Outlook.Recipient oRecip = (Outlook.Recipient)oMsg.Recipients.Add("aaa@bb.pl"); oRecip.Resolve(); //Set the basic … | |
Hello Guys, I'm in need of aid, what I'm needing is a page with login and password made ​​in C # with. net the only thing I can not do is make the page validate pulling information from the database, can I help? If someone has a very simple model … | |
Below is my code [code] SW = File.CreateText("D:\\PNB\\" + System.DateTime.Now.Date.ToString("ddMMyyyy") + "_" + bn + ".txt"); [/code] Here the file is create in d:/Pnb which is hard coded But i want to save it where the user want it to Can any one Help me for the same | |
Hello, How to run command SQLLoader Oracle in c#. I try my sourcode for run this SQLLoader, but nothing happen and error "No process is associated with this object.". Please tell me how i fix it. Thanks. This is my code: [CODE] System.Diagnostics.Process process1; process1 = new System.Diagnostics.Process(); process1.EnableRaisingEvents = … | |
Hey guys, i`m experiencing weird problem with an visual activeX control. I`ve created simple test winforms application on .NET 3.5 using that 3rd party activeX control. It works fine on my dev PC having VS 2008 installed... But when copy it on a machine without having VS installed on it, … | |
Hi. Got some newbee questions for the masters of C# =P Im trying to build a small ROV. iv used Python and the joystick sketches u can find on the internet. But i want a GUI that shows feedback from the ROV and output info like "lights on/off" and thruster … | |
Hi All, I am developing an Excel Add-in using Visual Studio Tools for Office using C#. However, the problem is that i want to use the SOLVER add-in that is available in Excel in my code. I cannot find any way or documentation anywhere for doing the same. However i … | |
I'm trying to close and application using C# and ASP.NET. I've tried system.windows.forms.application.exit() but it just refreshes the screen. I tried Environment.Exit(0) but that just ended the application and returned an error in the browser. Please help anyway you can!! Thanks! | |
Hi i keep getting an exception when i'm trying to update table values within a database. the exception is below but i dont change from datetime to varchar it always stay as datetime. is there any other reasons why this is happening ? "The conversion of a varchar data type … | |
Hi, I'm developing a Notepad Application using C#/Windows Form Application. I've implemented all the basic features of a windows notepad. Now I'm trying to add "Find" and "FindNext" feature, and nowhere able to find source for the same...Kindly Help..!!:) Thanks in advance, pandukal21 | |
I need to make calculator with buttons for each digit and so on. My question is, if there is any way to make one function that will handle with all events for all digits? Now I have: [CODE] private void addDigit(char i) { // some calculation with 'i' } private … | |
hey this is my final year project........the project is that.........we are controlling a car using this software,.........i've made a code for video streaming too.........but when while capturing when i press the numberpad1 and numberpad3 for left right turn i finds a little delay in printing the counts in their corresponding … | |
Hi there, i have a question in C#.NET report viewer. i save the phone number in the database as (234) 233-1346 . so if the use doesn't type in a phone number it will be saved as [() - ] which is show in side the squared brackets, without the … | |
Hi there can some one provide me with a tutorial to create a login in C#.NET MVC. i am using visual studio 2010 and i am new to this. I have a little bit of idea on MVC but when i try to come to create a login page (web … | |
Hi!Good day.this is my first time to post here. Iam using visual c# 2008 and Im new to it.Im developing a system,Ordering/Sales Monitoring and Inventory system as a part of my requirement in school(my thesis). The system that Im working will be used by a company for REAL so Im … | |
[code] private void btnBackup_Click(object sender, EventArgs e) { Backup bkp = new Backup(); this.Cursor = Cursors.WaitCursor; this.dataGridView1.DataSource = string.Empty; try { string fileName = this.txtFileName.Text; string databaseName = this.ddlDatabase.SelectedItem.ToString(); bkp.Action = BackupActionType.Database; bkp.Database = databaseName; bkp.Devices.AddDevice(fileName, DeviceType.File); bkp.Incremental = chkIncremental.Checked; this.progressBar1.Value = 0; this.progressBar1.Maximum = 100; this.progressBar1.Value = 10; bkp.PercentCompleteNotification … | |
[CODE] Restore res = new Restore(); this.Cursor = Cursors.WaitCursor; this.dataGridView1.DataSource = string.Empty; try { string fileName = this.txtFileName.Text; string databaseName = this.ddlDatabase.SelectedItem.ToString(); res.Database = databaseName; res.Action = RestoreActionType.Database; res.Devices.AddDevice(fileName, DeviceType.File); this.progressBar1.Value = 0; this.progressBar1.Maximum = 100; this.progressBar1.Value = 10; res.PercentCompleteNotification = 10; res.ReplaceDatabase = true; res.PercentComplete += new PercentCompleteEventHandler(ProgressEventHandler); res.SqlRestore(srv); … | |
I have made a system, when use select Model,then the F.Grade dropdownlist will show the F.Grade belong to user select Model. So I put display F.Grade code into Model dropdownlist. But it is very slow when user use down arrow button to find model. This is because when down to … | |
I am afraid, I am starting to like C#, despite the somewhat bloated .Net Framework requirements. Mister Bill's Microsoft is very supportive though. The language has a nice flow compared to GUI programming in C++. Here we are looking at a standard ListBox, add some items, sort them and select … | |
I make a WindowsForm application on visual studio in C# I could connect to my database on sql server but I do not know how to add data in my database from my application in c# | |
c#.net Program to run comparisons on old and new .csv files and displaying the unmatched items with their column header. 1 - Shows items that are not on old sheet but is on new sheet. 2 - Shows items that are not on new sheet but is on old sheet) | |
Hi every body i have devoloped a custom MessageBox Class to use it in other application,as below [code] # public partial class MessageBoxCustomized : Window # { # # static MessageBoxResult _msgboxresult; # public MessageBoxCustomized() # { # InitializeComponent(); # _msgboxresult = MessageBoxResult.None; # Owner = Application.Current.MainWindow; # # # … |
The End.