8,298 Topics

Member Avatar for
Member Avatar for lancelot_1

import requests.packages.urllib3 requests.packages.urllib3.disable_warnings() from flask import Flask from flask import request import requests from requests_toolbelt import MultipartEncoder import requests app = Flask(__name__) import requests import json from datetime import datetime botEmail = "" # botun email adresi accessToken = "" # Botun access tokeni host = "https://api.ciscospark.com/v1/" # CISCO Spark …

Member Avatar for rproffitt
0
331
Member Avatar for nitin1

Hi, How can I pass a c# string to C++ side of the app? Right now, I have all handling in Const char * format . When I pass c# string, c++ working fine when using Platform::String . But there is no good way of converting Platform::String to const char …

Member Avatar for ddanbe
0
5K
Member Avatar for batoolhussain

Hi Every one, i have a server and a numbers of clients and i have a C# program on that server. My question is how to run that program on these clients without installing the visual studio on the clienets computers????? you very much

Member Avatar for KushMishra
0
423
Member Avatar for 9tontruck

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 …

0
534
Member Avatar for dev01

Hello, I'm trying to edit existing pdf file. More precisely add new text or replace some text with another text. When i try to replace some text with another the problem is that it simply overlays ontop of the field which is not what I need. I need the text …

Member Avatar for pty
0
3K
Member Avatar for batoolhussain

Hello Everyone I want to take a backup of the oracle database using c# am using the code below but give this error: System.InvalidOperationException: 'The Process object must have the UseShellExecute property set to false in order to redirect IO streams. any help please????????? System.Diagnostics.Process p = new System.Diagnostics.Process(); string …

Member Avatar for rproffitt
0
1K
Member Avatar for ddanbe
Member Avatar for Dani
0
316
Member Avatar for overwraith

I started working on a windows forms authentication project, which uses nhibernate, and has some management pages for managing user settings, such as resetting user password. This forms based authentication uses session state in order to save the user's authentication information. I will be using a special authentication attribute in …

Member Avatar for rproffitt
0
742
Member Avatar for allen_1

#include<stdio.h> #include<conio.h> typedef struct process{ char pname[20]; int at,bt,wt,ta,end; }processes; int main(){ processes P[10]; processes z[10]; processes et[10]; processes wt1[10]; processes ta1[10]; int a,b,n,x=0,st,y,w; float aveta,avewt,sumta=0,sumwt=0; printf("Process Scheduling Algorithm:\n"); printf("SHORTEST JOB FIRST\n"); printf("--------------------------------------\n"); printf("Enter No. of Process: "); scanf("%d",&n); printf("\n"); for(a=0;a<n;a++){ printf("Enter Process Name P[%d]: ",a+1); scanf("%s",&P[a].pname); } printf("\n"); for(a=0;a<n;a++){ …

Member Avatar for Sahil Singh
0
633
Member Avatar for Siberian

Is C similar to C# (C-sharp); or are they completely different ? I was wondering if I should begin learning C# and the transition to C will be a tad bit easier ?

Member Avatar for overwraith
0
390
Member Avatar for Olz_1

We need to implement this game MS Visual C++,using animation.You have scattered letters and from them you have to make up a word,if you guess the word you get n points(n=size of word) ,the button "hint " removes 3 points,from the accountant by prompting one of the letters ,a "new …

Member Avatar for Reverend Jim
0
238
Member Avatar for overwraith

I had a cool idea concerning threading in C#. I was reading a book called "CLR via C#" and it was discussing threading, and how people should seldom use actual thread objects, and instead should use the thread pooling services. The reason being they spool up worker threads for you …

Member Avatar for rproffitt
0
352
Member Avatar for overwraith

Ok, So I have an instance of **Windows Server 2012 R2** installed to a virtual machine on my local development PC with **IIS** . The idea being I need to practice and learn about how to deploy sites to web servers. I have tinkered around with some of the settings, …

Member Avatar for Mark_82
0
544
Member Avatar for Harsh_11
Member Avatar for overwraith
0
2K
Member Avatar for overwraith

Does anybody know whether System.Data.SqlLite has the capability to do a Change notification callback when one of it's tables is changed? I know that Python can do it by calling the C api, but This is kind of beyond me. I know I have done this before on an oracle …

Member Avatar for overwraith
0
963
Member Avatar for overwraith

I need some help building a bootstrap Angular UI modal. This is what I have so far, but I am pretty sure it is wrong. Any assistance would be good. This actually appears to be doing mostly bootstrap stuff. It was originally jquery, but I figured out the hard way …

Member Avatar for overwraith
0
805
Member Avatar for CH_2

# my code in asp.net with sql server # my final task is to perform string matching and i know i use algorithm but i can use logic first i split the code in listbox .success 2nd step i match all the listbox items to sqlserver which contain 1 column …

Member Avatar for CH_2
0
322
Member Avatar for wap_2

Is there a way to transfer multiple files using sockets from client to server? i was able to send 1 file , but sending multiple doesnt work.

Member Avatar for rproffitt
0
332
Member Avatar for Jim_21

My code checks for duplicate values before a user is allowed to save into the database. Problem has to do with the logic, every new user gets a new ID increment by 1. So user one has an ID1 user two has an ID2 etc. Problem is when l delete …

Member Avatar for rproffitt
0
323
Member Avatar for chait_anya

hi can somebody tell me how to call dll made in c# project in the vc++ (VC 6.0) project??? the detail example of vc++ code would help me a lot. thanx n regards. chaitanya.

Member Avatar for Sajid_11
0
1K
Member Avatar for Grace_10

Urgently need help ASAP!!! If anyone could help me with these questions, i would be so grateful. 1) write a program tht allows the user to enter a part no. tht consists of 4 or 5 characters. D 2nd and 3rd characters represent the delivery method as follows: "MS" represents …

Member Avatar for ddanbe
0
416
Member Avatar for Jim_21

Hello, l have a table in sql server containing some information such first name,last name, address etc. I want to display the items for a particular row when l search in a textbox. I am running into error messages. Any help here will be appreciated. Here is my code, its …

Member Avatar for ddanbe
0
434
Member Avatar for siddhesh123

Hi, I am working on getting MAC address of a newly connected client using C#. I have written server application and when client connects to my server, I want to get MAC addresses of clients and store it in database. I could get IP address of client but could not …

Member Avatar for JamesCherrill
0
2K
Member Avatar for cambalinho

the C++ have virtual functions, but, for me they have 1 problem: on derived class, i must prototype them, for define them on Global Scope. how can i avoid the re-prototype them on derived class? i tried 1 way: template <class Type> class TypeHasToString { // This type won't compile …

Member Avatar for cambalinho
0
551
Member Avatar for zebnoon1

Dear Friends, I am facing a problem, I have two forms, Form1 Has one DataGrideview and Button redirect to Form2, which has Button(Browse Excel File) and combobox(Sheet No of excel file) and Button to load Excel file list in Datagrideview , **want to show excel file list in Datagrideview of …

Member Avatar for Teme64
0
2K
Member Avatar for Trevah

A c++ program that prompts the user to input east or west, if the person inputs east, it prompts the user to input Northeast or Southeast. If the user inputs Southeast, it outputs "You have gone Southeast" however if the person inputs Northeast, the program outputs, "You have failed 1000 …

Member Avatar for Reverend Jim
-1
234
Member Avatar for zebnoon1

Dear Friends, I developed Desktop application in C# .Net for client. client purchased software and installed it one than more system without my permission. How to restict him to not installed software on Multiple systems?

Member Avatar for Reverend Jim
0
205
Member Avatar for Andrew_46

I'm trying to convert the following C code to MIPS64 (very new to this): If Im given the addresses: (a @ 100) (b @ 200) (c @ 300) long int a, b, c; // 64-bit ... if (a < b || a == 4) c = 1; else c = …

Member Avatar for Schol-R-LEA
0
4K
Member Avatar for abhijeet P

Hello all, I have a code to encrypt data in C# and I want it to b decrypted in Java... following is the C# code [CODE]string Encrypt(string textToEncrypt, string key) { RijndaelManaged rijndaelCipher = new RijndaelManaged(); rijndaelCipher.Mode = CipherMode.CBC; rijndaelCipher.Padding = PaddingMode.PKCS7; rijndaelCipher.KeySize = 0x80; rijndaelCipher.BlockSize = 0x80; byte[] pwdBytes …

Member Avatar for JamesCherrill
0
9K
Member Avatar for Marina_4

write a c program that calculates the Max , Min , Average and Variance of 10 numbers enterd by user and stored in array

Member Avatar for Schol-R-LEA
0
328
Member Avatar for Michael_80

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 …

0
332
Member Avatar for bprosic

I have to iterate data through some DIV's. I don't know how to share and debug the code with others, so I decided to put the code in C# in a console application if you don't mind. Problem is that I cannot close section div in this iteration. If you …

Member Avatar for tinstaafl
0
479
Member Avatar for bunyonb

Good day gentlement and ladies. I need help concerning how to build a menu for selecting from a list of choices. let's say for example that I want the user to select to a minimum of 4 choices,if they only want two the should select 2 and press a certain …

Member Avatar for ddanbe
0
306
Member Avatar for mustefa_1

write c++ programming that calculate electricity bill with persons name and id

Member Avatar for JamesCherrill
-1
422
Member Avatar for Alex_79
Member Avatar for ddanbe
-1
182
Member Avatar for fazle_1

private void EnterAcNotextBox_TextChanged(object sender, EventArgs e) { int id; if (!int.TryParse(AcNotextBox.Text, out id)) { return; } string connString = ConfigurationManager.ConnectionStrings["dbx"].ConnectionString; string cmdString = "SELECT '#' FROM tblBasicInfo, tblAccData WHERE ID =" + Convert.ToInt32(AcNotextBox.Text); //string query = "SELECT * FROM tblAccData WHERE ID =" + Convert.ToInt32(AcNotextBox.Text); using (OleDbConnection conn = new …

Member Avatar for Santanu.Das
0
312
Member Avatar for Clif40RD

I've been trying to archive my xamarin.android project for publishing but I keep getting this error: Error MSB4018: The "LinkAssemblies" task failed I've searched this error and tried the suggestions that I came across and none of them worked. One weird thing I noticed though is that when I set …

Member Avatar for Clif40RD
0
1K
Member Avatar for tensity

This is the first program for a class that I am taking. I am having trouble creating the classes. We were only taught briefly on the subject and then told to complete this project. I guess my first question is how should I set my class "deck" and "card" up? …

Member Avatar for Hunter_2
0
2K
Member Avatar for Derek_11

Hi! I have encountered a small issue when attempting to create getters and setters in C#. I've been following along a course in unity and tried to replicate what the tutor had written in his C# scripts. As far as I can tell, everything is spot on and I can't …

Member Avatar for ddanbe
0
573
Member Avatar for Stefano Mtangoo
Member Avatar for Cristi_1

So i made this bank account, i would like to display the total intrest and total balance i have been struggaling with it as i am a beginner to c++ If somebody could be able to help me simplify the code and add the totals would be great this is …

Member Avatar for rproffitt
0
2K
Member Avatar for Venkatesh_13

Hi, I am testing a Tcp client C# windows form application I am able to send data to Tcp server Software(Hercules 3.2.8) But when i sent data from Tcp server to windows form then i am getting the following error: System.InvalidOperationException: Cross-Thread operation not valid: Control 'MessageList' accessed from a …

Member Avatar for rproffitt
0
1K
Member Avatar for jalanderful

Hello, I am supposed to write a code in MIPS to do the following below. Basically, you enter an integer, and it should check to see if it is a palindrome, and if not it will output the number, and keep adding the numer backwards to it, outputting it, and …

Member Avatar for Farah_3
0
1K
Member Avatar for zaka_1
Member Avatar for Bob

[B]Intro[/B] This tutorial provides a brief introduction to the random number functions that come as part of the C++ standard library, namely rand() and srand(). [b]rand() and RAND_MAX [/b] The C++ standard library includes a pseudo random number generator for generating random numbers. In order to use it we need …

Member Avatar for JamesCherrill
3
53K
Member Avatar for dongtrien

I am creating a dll library that impacts SQL Server on Northwind data, when run in VS2005 C# gets this error: Use 'dbo' could not execute stored procedure 'master.dbo.sp_enable_sql_debug' on SQL Server (local)\sqlexpress. Click help for more information. How to fix this ?

Member Avatar for dongtrien
0
258
Member Avatar for Reginald Xavier

please someone should loop this code for me in c#. double chick2 = (Convert.ToDouble(f2.dataGridView1[1, 0].Value)) * (Convert.ToDouble(f2.dataGridView1[3, 0].Value)); dataGridView1[4, 0].Value = chick2; dataGridView1[5, 0].Value = chick2; dataGridView1[6, 0].Value = chick2; dataGridView1[7, 0].Value = chick2; dataGridView1[8, 0].Value = chick2; they all have same value and i dont know how to loop …

Member Avatar for Felix Green
0
895
Member Avatar for victoria_5

im trying to write a c program that asks a user for a string and send it to a function that counts the total number each of vowel and total number of all vowels but i am getting 0's for all can someone tell me why? #include <stdio.h> int countvowels(char[]); …

Member Avatar for ddanbe
1
227
Member Avatar for dongtrien

Perpetual program reopens error: The type or namespace name 'Properties' does not exist in the namespace 'xxx' (you are missing an assembly reference?). Suppose there is a namespace space xxx how to declare how to use attributes and resources, for example: global :: xxx.Properties.Resources.sys_h;

Member Avatar for dongtrien
0
326
Member Avatar for mitesh.24jain

As I am new to Linq and Entity Framework, I don't know how I add comma sepearted and left join in linq/Entity code. My Sql query is rather big and I want it to be convert in Linq/entity: Select DISTINCT SR.StudentRequestId,SR.RegistrationId,SR.Location,SR.PaymentMethod,SR.CreatedOn,C.ClassName,CC.CampusName, CASE WHEN ISNULL(TSR.StatusId,0)=0 THEN 1 ELSE TSR.StatusId END AS …

Member Avatar for rproffitt
0
446

The End.