4,588 Topics
| |
Hi, I'm trying to build a multiagent system that deals with a device with Android and a C# system made with framework 4.0. I need some advice on how to do that. On my research I found JADE for the agent management, but it's for java. Is there anything like … | |
I have a Storyboard which targets an Ellipse. How do I make the Storyboard target an image which I have in a List<>? This is the code: <Storyboard x:Name="sbMoveImages"> <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateX)" Storyboard.TargetName="ellipse"> <EasingDoubleKeyFrame KeyTime="0" Value="-1"/> <EasingDoubleKeyFrame KeyTime="0:0:3" Value="641"/> <EasingDoubleKeyFrame KeyTime="0:0:5" Value="640"/> </DoubleAnimationUsingKeyFrames> <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateY)" Storyboard.TargetName="ellipse"> <EasingDoubleKeyFrame KeyTime="0" Value="1"/> <EasingDoubleKeyFrame KeyTime="0:0:3" … | |
Develop an application to help store scores in an array called TestScoreArr.The application has four methods and a main method: Input names method:-these methods receive scores from the user and store them in an array for 10 students. Display method:-display method clears the console application and display all test scores … | |
Hi All, I would like to start a web site that build from ASP.net & C# and database using MS SQL 2008. Got any good website, source code or book recommend to me to doing this project. Thank you | |
Hey all, I am new to C# and want to learn it. Can anyone tell me a good book for beginners? Your help is greatly appreciated. thanks. Luckydude | |
Following the "Head First eBook". First Chapter has a contacts excercise where controls are added. The attached image shows a drop down option for the people table. Although I found it by chance in Visual Studio 2008 Team System, I have not been so fortunate with C# 2010 express. An … | |
I am developing a website in which i am showing the hexa code into bgcolor of td of table. The problem is that when someone like that page or print the page then that color is not showing because the color is bgcolor color of td. So, i want to … | |
I have listbox in c#form in one corner and right corner is blank till i select from listbox. So the problem is If i click outside the listbox it gives null exception error. How can i check if user is not clicking outside the listbox. | |
I know this question has been asked many of times about how to create a search button. I am very new to C# programming and I am having a hard time creating a search and just haven't found what I am looking for from other posts. So I hope someone … | |
Hi guys I've been trying to connect my c# file to my database file(in .mdf format created in SQL Server Management Studio 2008). So basically I used visual studio 2008 for my C# file and SQL Server Management Studio 2008 for my database file. Now I'm sure that the naming … | |
Hi guys I've been trying to connect my c# file to my database file(in .mdf format created in SQL Server Management Studio 2008). So basically I used visual studio 2008 for my C# file and SQL Server Management Studio 2008 for my database file. Now I'm sure that the naming … | |
Can some one provide me an example to call dll from java? I learning some thing about JNI , also linkage with c++ but doesnt found any cool stuff on c# and java... I want a free solution. Thanx in advance. | |
I am making a c# level editor and it is a bit out of my league but it should be good to learn oop algorithems. I have only just started and have already come across a problem. ** I need to load images as sprites and then create a button … | |
Can someone please help me on this problem. I am trying to send the updated changes to the sql database when I remove a row. I use the delete method to delete the numbered row through a dataview and then use the upate command to update the changes to the … | |
hello i want to paging in repeater control asp.net using c# .i want to 10 record show in one page how its possible..?? | |
How i can make player to dont go inside walls An idea i have is to create a class that draw an model, in that constructor i will add also some informations about model like ID-NAME-Position. So i will create an function that will check if if ( Abs(Player.XYZ - … | |
Hello, How cameras works in games? i should add cameras in every object in game? I tryed add camera only in player and follow player but i have problem with other objects, other objects dont change in screen. I mean when i press UP key to move player the player … | |
Hi, How do I programatically find the GUID for the Sharepoint List **View** given that the name of the view is known. A user has to input the view name and the program should be able to spit out its GUID. Thanks. | |
Hello! I have a problem with my C# Client/Server network program. This problem only occurs when connecting via an IP over the internet, whereas everything works fine using a local address (127.0.0.1). What happens is while transferring a file (10kb or more maybe) using the below code, my receiving program … | |
Hi, So this is my first time creating a web service and I am a bit stuck. This is the code I have used for my web service: using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Services; using System.Web.Services.Protocols; using System.Data; using System.Data.SqlClient; [WebService(Namespace = "http://tempuri.org/")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] … | |
| I'm making a math problem generator in visual c#, using a series of random number generators to create a unique math problem each time with some protocols implemented(later to use this for harder difficulties). There are different types of math to be used but right now I'm working on a … |
Hi! I am trying to create an application in C# that will take a list of IPs from a text file and display whether or not a ping is returned from each IP. I was wondering if it was possible, with a loop or something similar, to create two labels … | |
Continuing with the Head First C# programming eBook. This is a windows form application. Followed the text: <i>__ Chapter 2 The IDE is great at writing visual code for you. But don’t take our word for it. Open up Visual Studio, create a new Windows Forms Application project, and see … | |
Hi guys, I have found interesting code.. Unfortunatelly I dont know how to use it :/ [CODE]public void Delete(string ouPath, string groupPath) { if (DirectoryEntry.Exists("LDAP://" + groupPath)) { try { DirectoryEntry entry = new DirectoryEntry("LDAP://" + ouPath); DirectoryEntry group = new DirectoryEntry("LDAP://" + groupPath); entry.Children.Remove(group); group.CommitChanges(); } catch (Exception e) … | |
i am getting "Unhandled Null referenceException "--object reference not set to an instance of an object at below mentioned code in bracket (return System.Configuration.ConfigurationManager.ConnectionStrings["unitmoduleconnectionstring"].ConnectionString) and below is the total code help me to get out of this bug.... namespace TIMS { public partial class Form1: Form { public Form1() { … | |
Hello everybody, I'm in need of a bit of help here. I got this C# snippet: public static byte[] StringToByteArray(String hex) { int NumberChars = hex.Length; byte[] bytes = new byte[NumberChars / 2]; for (int i = 0; i < NumberChars; i += 2) bytes[i / 2] = Convert.ToByte(hex.Substring(i, 2), … | |
OK it deserts this to put it in a new thread. I've found this: using System; using System.Net; using System.Web; using System.Collections; using System.IO; namespace WebRequestExample { class WebPostRequest { WebRequest theRequest; HttpWebResponse theResponse; ArrayList theQueryData; public WebPostRequest(string url) { theRequest = WebRequest.Create(url); theRequest.Method = "POST"; theQueryData = new ArrayList(); … | |
How can i update data from data grid view into SQL database using C#. Actually i m working on windows form app and i have to write update code in click event of the button.I am trying to update single row of data grid view into database. I have tried … | |
I have an object hierarchy that can be represented simplistically like: public class ChannelEntity { ... public properties .... public FramesetEntity Frameset { get; set; } } public class FramesetEntity { ... public properties .... public List<FrameEntity> Frames { get; set; } } public class FrameEntity { ... public properties … |
The End.