524 Unanswered Topics
Remove Filter ![]() | |
In Unity 3D, utilizing the Starter Assets package, I am trying to swap the mesh on the Starter Asset character that I duplicated in the scene. I unpacked a prefab so that I could utilize the mesh filter of the new prefab that I imported. I realized that there are … | |
I wonder if there is any solution to drop an oracle table trigger using c# windows application project | |
Hello guys am trying to implement Info Cards using the IInfoCard and IInfoCardFactory and IInfocards interfaces. If you know how to complete the methods of these interfaces to make a program show the forms for the respective categories, then you might just be the guy to help me. I have … | |
Hello , i am creating new website using asp net and c# .. what i am basically doing is that i have somedata in my database and will let the user show them in report based on what he is gonna choose to display for example i have in my … | |
How can I save the registration data after connecting to the database (an empty table is created for me)? I do this in Blazor (C #). User.cs: [Table("Users")] public class User { [Display(AutoGenerateField = false)] public int UserId { get; set; } [Display(Name = "UserName")] [Required(ErrorMessage = "UserName is required.")] … | |
Working on a video game using visual studio and I am having trouble with the sound effect when the player shoots their weapon. When the player shoots multiple times, the sound overlaps. Ive tried many things and this was my last attempt. Can someone please help me? I am stuck. … | |
![]() | Inside of my Windows Form Application , I have a textbox that the user can enter numbers into. I also have an add button if they would like to enter a number and then add another they can hit the button. I'm having trouble with figuring out what you can … |
I have been 2 player programming othello. The program checks for possible areas to place piece "O" and flips pieces. I have got the code for "X" ready too but I can't get the program to switch to player2 "X" and execute code associated to it. Can someone help? class … | |
I want to print database value on multiple pages using C# using HasMorePages property. I have worked on the same, but the loop goes infinetly (without stop) and the same data is repeatating on each page, how to solve it? | |
Compress and fix access data in C#, I have to look for examples on google network but it's not running examples, how to compress and fix data in C# ? | |
I have a class A like this: public class Article { public Tag Test1 { get; set; } = new Tag(); } public class Tag { public List<News> Test{ get; set; } = new List<News>(); } I have a list like this: News 1 Tag 1{ News 1 **Tag** { … | |
I have a C# project that creates a COM object for use with a POS terminal. Before I give it to the customer, I want to make sure that it will work as a COM dll. The RegAsm says it works. using System; using System.Runtime.InteropServices; namespace POS { [Guid( "0135bc5c-b248-444c-94b9-b0b4577f5a1a" … | |
I have an sql database names SubJobs with a column named Date. The data type is Time(7). I have a datagridview named DataGridView1. I want it to display a time like 04:30 PM. I’ve tried the following command to format the column but it gives me an error saying that … | |
Hi I have XML something like this : <component AttributeA="1"> <Node1 AttributeB="AAAA" Name="John" /> </component> in powershell I can load and read through xml like this : [xml] $xmlDocument = Get-Content (#path to xml file) Write-Host $xmlDocument.componet.AttributeA Write-HOst $xmlDocument.componet.Node1.AttributeB Write-HOst $xmlDocument.componet.Node1.Name that gives me the fallow output : 1 AAAA … | |
Hi All. I have a problem with col sorting of my csv file public static void SORT(string input, int col_num) { string[] lines = input.Split(new[] { Environment.NewLine }, StringSplitOptions.None); var data = lines.Skip(1); var sorted = data.Select(line => new { SortKey = Int32.Parse(line.Split(';')[16]), Line = line } ).OrderBy(x => x.SortKey).Select(x … | |
Hi Everybody, I Just started C# and have an issue with this: using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace testurl { public partial class WebForm1 : System.Web.UI.Page { public void Page_Load(object sender, EventArgs e) { } public void Button1_Click(object sender, EventArgs e) { string … | |
Hi, I am working on parsing pdf layers from a pdf file into separate images. It was really hard to find an library that does this and now I am digging into iTextSharp which seems like it's handling layers. public static void CreatePDF( string fileName, string destinationFolder ) { PdfReader … | |
I am creating an animated sprite that collides w/ itself and destroys itself? How did they do this in 1992? I just want to hit an enemy and have the enemy disappear. Any help appreciated. Using Unity 5.6 for game. public class Hadouken : MonoBehaviour { public Rigidbody2D bulletPrefab; public … | |
Hello everyone! I am working on a project. I got datas from a HID device which are 128 bit and want to show them as a bitmap image. I draw an image with just one line. But want to display 64 of those datas and always add new line and … | |
i have a logical error in my code where by i will read data into my four textboxes from sql database and the textboxes will be filled but when i click on a textbox the data will appear in the metrogrid(from metro framework) but when clicking another textbox the data … | |
Hi everyone .I am looking for some nice c# project,-free source on which i can apply unit tests,rhino mocks,stubs.Can you sugest any source to get the project,i need to practice on tests.Thanks | |
Hi,i have a code like this : using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ClassLibraryMoq { public class Class1 { public interface ISendr { string send(); } public class smsSender : ISendr { public string send() { return "SMS send"; } } public class emailSender : … | |
Hi, I have the following html code I have for a task manager. <%@ Page Title="" Language="C#" MasterPageFile="~/Site02.Master" AutoEventWireup="true" CodeBehind="Tasks.aspx.cs" Inherits="DMS.Tasks" %> <%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %> <asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server"> <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server"> <div class="row-fluid sortable"> <asp:Button runat="server" ID="btnAddTask" CssClass="btn btn-success btn-toolbar" Text="Create Task" OnClick="btnAddTask_Click" /> <asp:Button runat="server" … | |
I have windows form with usercontrol to display image. I am trying to reset the autoscroll position to the top of the image if the user had scrolled down to see bottom part of the image. So at index change it should display top part of the next image that … | |
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; namespace Cities { class Hometown { public string City { get; set; } public string State { get; set; } public Hometown(string City, string State ) { this.City = City; this.State = State; } public Hometown() { } … | |
Hello, guys i am having a problem with the Printing some tickets i need to print each ticket in a different page beacause the printer i'm using can only print the size you customize it to print and my program can have different variations knwint that i import an Excel … | |
Hello, is there any chance to filter a datatview to get the same results as you get with the where clausel like : "WHERE NOT IN" bla bla thanks MC | |
Hi. How can i populate asp:treeview only child populate with database query like "select databasename from databse where user_id="45" " and show these database in child treeview.Here is image [image]( tinypic.com/view.php?pic=15cyaew&s=9) I want "Database" remain same and blow child "Database Name",,only 1st 3 records replace with "Database Name" shown just,Kindly … | |
I am working with C# windows application. I am using split container to display image in picture box in the first panel(with scroll bar(50% of the the picture can be seen only by scrolling down)) and data entry fields in the second panel. One field will always be at the … |
The End.