4,588 Topics
| |
Hi again, before a year ago when we were doing the graphics class at college my professor said that the coordinate system is reversed in programming that means that the Y axe is positive when facing down and the X axe is negative when facing right , however when using … | |
I'm implementing a function. While choosing any of datagridviewcheckboxcolumn in form1 and show form2 when click button to close, datagridviewcheckboxcolumn in the form1 will is false ? Please help on this. using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace WindowsFormsApplication1 { … | |
hello ! can you please help me with my independent study. im making library management system with visual studio C# and mysql. what mysql connector needed for C# and how to connect them?? thank you in advance :) | |
I have a code that when mouse hovers a button then it fires click event.But i want that when mouse hovers for 3 seconds then event must be fired.I have used intervals but could not find out solution. I have a simple windows froms c# application. | |
Hello to all, I'm have been porgramming console applicactions in C# to learn the language. Today I was curious in windows forms, and started a project. After searching in the web/youtube I see people putting all the code on the button code(when doubble click), BUT I saw there the same … | |
Hi everyone i have to one probem i have to 2 class 1 Class clsKullaniciIslemleri = using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Forms; using System.Data; namespace GorevTakip.KullaniciIslemleri { class clsKullaniciIslemleri { string first; string second; public string userName; public string userId; public string Yetki; GorevTakip.Gecisler Gec = … | |
I am trying to work out how to pass a pointer from my C# interface application to the C++ back-end functionality DLL. I tried searching Google but can't work out what I'm doing wrong.. I'm used to using * for pointers and just changing the value in the pointer through … | |
**Console.WriteLine("insert The Number::"); int c = Convert.ToInt32( Console.ReadLine());** | |
hey hey folks. I am making a tetris clone for my class project in college. langauge is XNA and I have run into a minor issue. When my bricks get to the bottom, rather than stack, they simply reset back up to the top. I have tried everything I can … | |
Hi guys, i created Windows Application form my project and there is a problem that i am facing right now. I already had an array of textboxes, and wanted to connect those database textboxes, however, i cannot get the data because the data that i want to connect is int … | |
#include <stdio.h> #include <stdlib.h> #include <ctype.h> #include <string.h> #include <time.h> #include <errno.h> #if defined ( __GNUC__ ) || ( _MSC_VER ) # if defined ( _MSC_VER ) && ( _MSC_VER >= 1020 ) # pragma warning ( disable : 4996 ) # pragma warning ( disable : 4172 ) # … | |
I am working on a Java to C# conversion project. In this project, my custom java library uses `java.net` packages [`DatagramPacket`](http://docs.oracle.com/javase/1.4.2/docs/api/java/net/DatagramPacket.html) and [`DatagramSocket`](http://docs.oracle.com/javase/1.4.2/docs/api/java/net/DatagramSocket.html) classes. Are there similar classes in .NET C# with similar functionalities? | |
I have java code that uses Java's `java.util.Timer.schedule()` method. **Method Description:** *The `schedule(TimerTask task,long delay,long period)` method is used to schedule the specified task for repeated fixed-delay execution, beginning after the specified delay.* public void schedule(TimerTask task,long delay,long period)java.util.Timer.schedule() Is there an equivalent method in C#? If NOT, how can … | |
Hi all, Please help me solving following query: How to add global variable in C# window base application. This variable must be accessible to all forms. What I exactly want is: I have a variable "UserName" and "UserType". When user click "Submit" button on Login form, user name get stored … | |
Hello, I had really less experience in VB. NET (creating small and basic applications, working with progressbars, buttons and other really easy and basic stuff). I know that C# is more powerful (but hard, too) than VB. NET. So, I am deciding to create programs at a more pro level. … | |
I am using the BusyIndicator from the WPF Toolkit in my WPF application. I am trying to access the label (artistLabel) from the C# code behind. Unfortunately I cannot access the label if it is inside the busy indicator. I am sure that it's some kind of binding or scope … | |
Hi, Its an c# winform application. I have different parameters such as UI colors, Fonts, control size which user changes from UI and saves it. Each parameter implementation is kind of big so we have a saparate assemblies also. All the parameters will be displayed in one UI and if … | |
I have a Java code block like following: Vector<NameAddress> route = dialog.getRoute(); for ( Enumeration<NameAddress> e = route.elements(); e.hasMoreElements(); ) { // some more to copy route to another Vector<> } I am trying to convert it in C# and here is my code: List<NameAddress> route = dialog.getRoute(); for ( … | |
Hi guys! My groupmates and I need suggestions on what C# project should we make since we need to pass a project proposal on our OOP subject which is to be submitted on the end of the semester. This project does not need to be really complicated and as much … | |
In my *Java to C#* Conversion Project, at one point I came to use java's `startsWith(string prefix, int toffset)` method. I used a substring to solve it for C#. Java Code Snippet: String str1 = "one over the coocoo's head"; String str2 = "someone"; System.out.println(str1.startsWith(str2, 4)); C# does not have … | |
Good day guys, I've been developing softwares in different languages. But, I don't fully understand when to use a specific language where I can fully utilize it's ability. For example (C#.NET vs VB.NET), - When to use C#.NET over VB.NET and vice versa? - What are the projects that can … | |
How can i get .wsdl file of a web service by using some method in c#? or can i get a string of wsdl content in c#? | |
Hi, I am trying to get TextBox. Whenever I click on the button I should get a TextBox. Here is my code. But I am getting only one TextBox. Collapse private void button1_Click_1(object sender, EventArgs e) { txtRun = new TextBox(); txtRun.Name = "txtDynamic"; txtRun.Location = new System.Drawing.Point(20, 18); txtRun.Size … | |
Basically I have two files: details.html details.cs I would like to use details.cs to write values to details.html but the html textbox stays the same. Would appreciate any help. Thanks! **details.html** <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="details.cs" Inherits="Details.DetailsHTML" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head id="Head1" runat="server"> <title></title> </head> <body> <form> <input … | |
I have two files: apple.html banana.cs apple.html contains a html table. So my question is: Is it possible to write values to the html table in apple.html using banana.cs? Any help is appreciated. Thank you! | |
For my **Java to C#** conversion project, I need to use something equivalent to Java's `Calender` class. I have some codes like: Calender cal = Calender.getInstance(); long time = Calendar.getInstance().getTime().getTime(); long time2 = System.currentTimeMillis(); which returns some random values at different times. I have come to know C-sharp's `DateTime` is … | |
I'm trying to get the time from input of html txt_URL but the array returns nothing. Not sure where I went wrong. Any help is appreciated. Thanks! **input:** Deleting 11 files. Details: Time Deleted = 01:16:30, Time Left = 00:00:00, **output:** 01:16:30 string before = txt_URL.Value; string after = Regex.Replace(before, … | |
Is it possible to replace commas and spaces with commas in c#? I'm fresh in c# and am looking for guidance. Any help is appreciated! **Before:** Deleting 11 files.ABC: Total Time = 01:16:30, Remaining Time = 00:00:00 **After:** Deleting,11,files,ABC: Total,Time,01:16:30,Remaining,Time,00:00:00 | |
Hi to all. I'm trying to use hidapi.dll,if needed i'll post a sources or link to authors page. Here's what i've have in my dll: #define HID_API_EXPORT __declspec(dllexport) #define HID_API_CALL ... int HID_API_EXPORT HID_API_CALL hid_write(hid_device *device, const unsigned char *data, size_t length); ... and this is the part in c#: … |
The End.