8,298 Topics

Member Avatar for
Member Avatar for Jean-Michel

Hi, I would like your enlightened advice on this matter: For my next application I have to setup an interface in 3D. The interface will be an office with a desktop and some usual items like pens, papers, telephone, lamp, etc... There won't be complex animation, just slight rotation around …

Member Avatar for ddanbe
0
227
Member Avatar for Jim_11

Hello, I need to keep the exe's window (for example Notepad) always on the foreground of the form, it means that even if we click on the form , the exe's window will always be ahead of the form.In other words,I have a button which when we click on it, …

Member Avatar for tinstaafl
0
2K
Member Avatar for bprosic

Hello, I have an array in c# identical values in it. But, sometimes, it can happen that one value gets mixed and then array should be considered as invalid. Let say, I have an valid array of values: [0]=N,[1]=N,[2]=N; And this is an example of invalid array: [0]=N,[1]=K,[2]=N; To determine …

Member Avatar for tinstaafl
0
5K
Member Avatar for Tamyhel

hi, i want to get lyrics and music information from musixmatch api. i've read these two links but i can't understand how to get those things in c#. https://developer.musixmatch.com/documentation/api-methods https://developer.musixmatch.com/documentation/input-parameters please give me an example in c# code. and if u can ( have time ) explain it ( if …

Member Avatar for rproffitt
0
908
Member Avatar for Jim_11

Hello, I am doing an application in C# but I have a problem. I need to show the volume status of the computer. I created two pictures to show if the volume is muted or not. I found this code but I get errors: MMDeviceEnumerator devEnum = new MMDeviceEnumerator(); MMDevice …

Member Avatar for rproffitt
0
465
Member Avatar for AssertNull

Okay, I am trying to learn Windows programming and there are all sorts of new data types that I am running into and need to learn. I'm trying to understand the point of it all and failing. If there is no point and it's just Microsoft making things difficult for …

Member Avatar for rproffitt
0
369
Member Avatar for Usman_10

I am free in two months because university is off.During the holidays i am learrn c#.please tell me best books ,website ,tutorial help me to learn c#. And any activitivy to improve my programming skills and help me to make best programmer in feauture,

Member Avatar for pritaeas
0
89
Member Avatar for Micheal_6

How can I make the URL displayed in the MessageBox clickable, such that when a user clicks on it, it will open the link in a web browser? string msg = "MyApp | v1.0.0.0.1" + Environment.NewLine + "© 2016 MyApp" + Environment.NewLine + "All Rights Reserved." + Environment.NewLine + "For …

Member Avatar for tinstaafl
0
4K
Member Avatar for sam_21

Write a program in C++ to prepare a frequency distribution table of the percentage marks in Computer studies of sixty students, to be taken as inputs, into the following categories Category Marks(%) Fail 0-34 Pass 35-59 Good 60-79 Very Good 80 and above

Member Avatar for happygeek
-2
431
Member Avatar for Altjen_1

Recently I was speaking with one of my friends from school for Self learning softwares. He kept telling me that it is possible to do a program like that in C# and/or Java. I was refusing because did not have much information about this. If it is true, how can …

Member Avatar for JamesCherrill
0
622
Member Avatar for Naheed_2

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" …

0
294
Member Avatar for kamilacbe

string query = "DECLARE l_cursor SYS_REFCURSOR;ServiceName la_service_provider_detail.service_name%TYPE;Surname people.surname%TYPE;Forename people.forename%Type;"+ "Action Varchar(50);Rate ey_pupil_premium_log.rate%Type;"+ "Funding_Code single_funding_formulas.funding_code%Type;"+ "BEGIN EYPupilPremiumPackage.GetEyPupilPremiumLog(pLogId=> 6613, pPreview => 'T',EyPupilPremiumLog=> l_cursor);"+ "LOOP"+ "FETCH :l_cursor "+ "INTO ServiceName, Surname, Forename,Action,Rate,Funding_Code;"+ /*IF l_cursor%NOTFOUND"+ Then DBMS_OUTPUT.PUT_lINE('NO DATA FOUND'); EXIT WHEN l_cursor%NOTFOUND; END IF; "END LOOP;"+ "DBMS_OUTPUT.PUT_LINE(ServiceName || ' | ' || Surname || …

Member Avatar for rproffitt
0
1K
Member Avatar for Gracie0180

Does anyone know if there's a way for me to access the port in my computer using C#, so i can access a cellphone connected to it? THNX

Member Avatar for Thobani_1
0
293
Member Avatar for eURe

Hi .. I have been asked to create a new thread rather than recurrent on old post ([url]http://www.daniweb.com/forums/thread116468-2.html[/url]), hope to get some help here... :) I would like to have a "Extract" button which then open a Save As dialog to save the file from the Database into local pc, …

Member Avatar for Fernando_10
0
4K
Member Avatar for Builder_1

//There is a problem in int main when scanning in the constructors into the pointer array ( found around line 843) //(sorts by the value generated in calcStockIndex — a method within the stock class) #include <iostream> #include <fstream> #include<cmath> using namespace std; /* Purpose: To store all information that …

Member Avatar for rubberman
-1
621
Member Avatar for iFrolox

Hi, I got multiple threads in different classes created in this manner: private ThreadStart someName_TS; public Thread someName_Thread; public void someName() { someName_TS = new ThreadStart(someNameThread); someName_Thread = new Thread(someName_TS); someName_Thread.Start();} } private void someNameThread() { while(!Shutdown) { //Do heavy work } } The heavy work is set to a …

Member Avatar for iFrolox
0
433
Member Avatar for mpdph09

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 …

0
137
Member Avatar for Wyatt_1

Hello Everyone, I am new to c# and am trying to use Open XML to pull data from a SQL server into a spreadsheet. I followed some examples I found online but had to alter them to fit the test scenario I have set up and have run into an …

Member Avatar for tinstaafl
0
1K
Member Avatar for makaijohn9

Suppose if I am working out with a simple basic coding to write a C# program for odd even number. But I am stuck at the step as to how i can re-enter input while i am converting a string into integer at one place.

Member Avatar for makaijohn9
0
108
Member Avatar for manaila

I have been struggling with this for two days now, with no luck. I have a **C** `char` array `char myArray[] = "Hello World";` I also have a pointer to pointer to *char* `char **ptr;` So I want to somehow store `myArray` to `ptr` or somehow convert `myArray`into pointer to …

Member Avatar for jacks009
0
316
Member Avatar for steve.dannay

Hello Please tell me how can I used CLS in C++.. In any programm. ?

Member Avatar for underjack
0
148
Member Avatar for kudus94

I am a beginner. I need to create a table in visual c# such that the number of rows would be created based on user input. The number of colums is 3. For example, if a user enters 3 as the input, a table of 3 rows would be created. …

Member Avatar for tinstaafl
0
274
Member Avatar for Inaam_1

hi i want to create a (.exe) setup for my c# app using visual net (2015) i folloed the (add seup to my solution ) how can i have .exe file to be installed in other machines , without transporting all my dlls. thanks

Member Avatar for rproffitt
0
142
Member Avatar for Lucas_9

Please help me , I need to convert this C code in Python: #include<stdio.h> #include<stdlib.h> #include<conio.h> main() { system ("color F9"); float preco[150], precoNF, NFPreco_Produto[150]; //Vetores e variáveis que trabalham com preço int a=0, x=0, v=0, rel=0, y, i, aux, cod_exclui, troca; //Declaração de variáveis utilizadas para leitura, gravação, exlclusão …

Member Avatar for Gribouillis
0
1K
Member Avatar for n00b321

#include <iostream> using namespace std; //Linked List: Delete a node at nth position struct Node { int data; Node* next; }; Node* head; //Global void Insert(int data) { //Insert an integer at the end of list Node* temp1 = new Node; temp1->data = data; temp1->next = head; head = temp1; …

Member Avatar for n00b321
0
9K
Member Avatar for kognar65

Hello, I’ve got an assignment from my math teacher to do with c++, because I am studying IT. The problem is that we didn’t even learn c++, I know only what I thought myself, so I need someone’s help. The task is to make a simple program that would be …

Member Avatar for rproffitt
0
301
Member Avatar for Arian_1

In the code below i see this error when i try to connect to connection string this error appears Format of the initialization string does not conform to specification starting at index 0. How can i fix it? In the code below i see this error when i try to …

Member Avatar for tinstaafl
0
346
Member Avatar for Leo_8

My requirement is as simple as the title. I want to create new webform on button click event. When user click the button It will create a new webform with masterpage and c# code file. Yeah it should create a new webform unlike open a new webform.

Member Avatar for Leo_8
0
283
Member Avatar for sarahmohamed97

Create a simple login and signup form in which the user should choose if he wants to login or signup at the beginning. Signup: In which a user enters user name, id and date of birth in a binary file and checks if the id already exists it gives an …

Member Avatar for rproffitt
0
134
Member Avatar for restrictment

Well we all have seen the common questions on creating squares and hollow squares out of asterisks in C++, but how about creating a program that prints out a circle in asterisks? Obviously this would look like an oval due to line adjustment, but it would be quite interesting to …

Member Avatar for CharlieCap
2
2K
Member Avatar for screenedcreamy

I have a c# service running.I need to call few c# methods from my c++ code. what is the best and effiecient way to achieve this . Any sample for the same would be help a great deal.

Member Avatar for rubberman
0
313
Member Avatar for abogeorgeee

i need to make program to search for multiple word s of 100 logs ?

Member Avatar for Reverend Jim
0
89
Member Avatar for jitupatil_2007

Hi friends i want to read a csv file and then store it in sql server 2005 table , know how to read a file but i don't know how do i write it in the table. plz help me

Member Avatar for AITM_1
0
2K
Member Avatar for Ehtesham Siddiq

Hi, My application is in VS2010,Silverlight and coded in C#.Net. My requirement is i want to upload Image in my Imagebox control.As there is no PictureBox control in Silverlight im using ImageBox. I have a Imagebox,below that a Browse button. When the User clicks on Browse button,Dialogbox should open and …

Member Avatar for Marwen_1
0
3K
Member Avatar for bankerrajendra

Hi all!!!, Happy Friendship day So, please provide me help in the codding of Simple Login Page using asp.net(c#) with stored procedure. Thanx, With regds, Rajendra Banker

Member Avatar for Genc_1
0
3K
Member Avatar for Abdelaziz_1

Hey guys,now I have a listbox I need to add in it name of day and time and the program read each item in listbox auto and if the first item = my pc day and time show message and so on... But I got dat error when the program …

Member Avatar for Abdelaziz_1
0
183
Member Avatar for Nestory

private void button1_Click(object sender, EventArgs e) { SalesTransaction s1 = new SalesTransaction(0.06); listBox1.Items.Add(s1.ToString()); SalesTransaction s2 = new SalesTransaction("John Doe: ", 170000, 0.07); // 11900 // s2.SalesAmount = 210000; //The commission should be automatically adjusted. 14700 listBox1.Items.Add(s2.ToString()); SalesTransaction s3 = new SalesTransaction("Jane Doe: ", 200000); // 0 listBox1.Items.Add(s3.ToString()); SalesTransaction s4 = …

Member Avatar for Nutster
0
195
Member Avatar for paula12

hello, i have this assignment but i got stuck on number 2. Question 1: Create a 3x3 array, each filled with a digit 1-9 so that the array resembles a num pad. Use for loops and construct 3 different, correct ways to print the elements of this array. **Question 2**: …

Member Avatar for ryantroop
0
117
Member Avatar for Nestory

Craete an application named TestHockeyPlayer that instantiates and displays a HockeyPlayer object. The HockeyPlayer class contains fields for a player's name (a string), jersey number (an integer), and goals scored (an integer)

Member Avatar for Nutster
0
232
Member Avatar for nlanka

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() { } …

0
108
Member Avatar for kriwut.keawmit

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; using System.Data.OleDb; using MySql.Data.MySqlClient; //Add Mysql Library using System.Configuration; namespace MindLab { public partial class ImportFile : Form { MySqlConnection myConnect; MySqlCommand cmd; string strSQL = null; public ImportFile() { InitializeComponent(); //InitializeOpenFileDialog(); } private …

Member Avatar for Dawn2016
0
3K
Member Avatar for JermaneJermane

What I am trying to do is read the file shown below as an string array, the file is a bunch of months that are in order of the months in a year.This is done multiple times which correlate to another file that has years in. Now what i want …

Member Avatar for Suzie999
0
507
Member Avatar for mohamed_69

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 …

0
217
Member Avatar for mcloyd

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

0
72
Member Avatar for geetalia

hey geet here.... i have one query please if any body know about then plz help me....... i m on trouble..... actually i am creating a project of online quiz ..and on that( question and answer section) but i dont knw how to do coding in admin section asp.net (c#) …

Member Avatar for hericles
0
131
Member Avatar for screenedcreamy

I have a c# application which needs to call few c++ APIs (c++dll) what would be the most efficient way to achieve this?

Member Avatar for Mr.M
0
146
Member Avatar for Haider85

I have a Health based .Net (C#) project that needs to import a huge chunk of medical records from an old database that were used in a different application. The database has been successfully migrated to the version compatible with our application. The problem is the contents in one of …

Member Avatar for rproffitt
0
391
Member Avatar for BHUJI

[CODE]/*This program is going infinite.PLS help*/ #include<stdio.h> #include<conio.h> void main() { int a,b,c,d,e,f,flag=0; printf("Enter first date"); scanf("%d%d%d",&a,&b,&c); printf("Enter second date"); scanf("%d%d%d",&d,&e,&f); const int days[13]={0,31,28,31,30,31,30,31,31,30,31,30,31}; while(c!=f||b!=e||a!=d) { a++; if((b==4)||(b==6)||(b==9)||(b==11)) f=30; else if(b==2) { if(d%4==0) f=29; else f=28; } else f=31; if(a>f) { b++; a=1; } if(b==13) { c++; b=1; } flag++; …

Member Avatar for Sby_1
0
22K
Member Avatar for Wilbert_2

I have a c++ project and it's about a simple math program . Can someone help me ???

Member Avatar for jone usamate
0
120
Member Avatar for amvx86

Good Morning, For the last few weeks I've been searching HIGH AND LOW. All forms, dozens of tabs open, and bought about 200 bucks in books. My goal is to learn the windows win32 API and I'm hitting brick walls everywhere I look. So far, I've learned that findwindow (or …

Member Avatar for rubberman
0
275

The End.