4,588 Topics

Member Avatar for
Member Avatar for tinstaafl

Basically this scheme uses variable offsets, but it generates the bytes on the fly. They aren't truly random, but there aren't any obvious patterns and the output passes all the NIST tests. Since a simple password can be used to do the de/encryption it is much easier to hand off …

Member Avatar for JamesCherrill
2
328
Member Avatar for ddanbe

Well, there was a thread about a frequency function and a bell curve in Excel. [url]http://www.daniweb.com/forums/thread295203.html[/url] So here it is how about to do the NORMDIST function in Excel in C#.

Member Avatar for dlhockey12
0
3K
Member Avatar for Adm666

i want to get familiar on using abstract classes and interfaces in C#, i've read about how they work; trying to understand how And when to use them. what simple programs or project ideas that i could practice on the use of abstraction and interfaces?

Member Avatar for rproffitt
0
40
Member Avatar for Onion13

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

0
92
Member Avatar for Onion13

Learning C# and I am working on a C# scrolling shooting game. The game works so far but when the player finishes a level, I want the enemies to appear on the far right of the screen and the player on the left of the screen. When the level is …

Member Avatar for Onion13
0
305
Member Avatar for Onion13

Tryng to work on a program to make a menu on form1. What it will do is display the different things offered at the restaurant and the text will scrolll from the bottom of the screen to the top and then repeat. I was able to figure out how to …

Member Avatar for pritaeas
0
417
Member Avatar for priyamtheone

I'd like to know how the following programme on pointer written in C can be written in C#, especially how to use the keywords in the C programme like &i and \*p in C#. Please clarify. #include <stdio.h> void f(int *p, int *q) { p = q; *p = 2; …

Member Avatar for JamesCherrill
0
118
Member Avatar for shiv.manoj23

I have a very little approach with coding in C# in asp.net please help converting this python code into c#. # Python example - Fourier transform using numpy.fft method import numpy as np import matplotlib.pyplot as plotter # How many time points are needed i,e., Sampling Frequency samplingFrequency = 100; …

Member Avatar for rproffitt
0
198
Member Avatar for Phillip_8

Hi guys, im making a chat app in C# I can get it to show time and text but the code im using shows PC username not login username of app Could someone please help me with the correct bit to put it Thanks in Advance if (textBoxSend.Text != "") …

Member Avatar for rproffitt
0
71
Member Avatar for Tima_2

Hey, Im working on the UNO game in python and am almost done with the rest of the code but I am not able to print the UNO logo as of yet. Please help. I need to submit my work tomorrow.

Member Avatar for rproffitt
0
36
Member Avatar for andre.jonker

Dear Friends, I have add resource file with number of images to my project. My question is, after deyploment and setup of the windows base application, i cannot I find resources file on the client pc, but the pictures are visible? Thank you in advance, André

Member Avatar for rproffitt
0
330
Member Avatar for riahc3

Trying to get the last row inserted from a Excel sheet. The sheet is called clientes. I have id, name, description Since ID is auto incremental, I can sort by ID: My idea is: oledbcmd = "Select top (1) * From [CLIENTES$] ORDER BY id desc"; but it does not …

Member Avatar for rogerwigaa
0
1K
Member Avatar for jluna

Hello, I'm having trouble getting a part of this program to work... the update student part is supposed to update/edit student's scores. When i run the program i cant get the bttnUpdate to work in the frmMaintStudentScores.cs. can someone help me fix it? the other parts of the program are …

Member Avatar for lixasaj321
1
2K
Member Avatar for KingGold171

Hi been working on this final piece of the puzzle and it seems like the last step is the hardest. So far been able to stop it from adding multiple items per button click (number of rows + 1) Update QTY count for first item only. Trying to have it …

Member Avatar for KingGold171
0
921
Member Avatar for Onion13

Making a scrolling game and I want to make a boss level. How do I make a picturebox invisible for 10 seconds and then appear?

Member Avatar for Onion13
0
148
Member Avatar for Onion13
Member Avatar for tinstaafl
1
70
Member Avatar for Excellent_1

Hello guys, It my frist topic in this forum so i hopeI hope you like it?? In this topic we w'll learn how to check internet connection using a simple code. frist make a new project And add a label and timer . second Double click on timer to type …

Member Avatar for Emmason
1
3K
Member Avatar for Onion13

I am learning to code and I have been working on a game using what I have learned to make it. So I have been making my version of R type C# game and got everything working so far but I run out of ideas how to make this part …

Member Avatar for Onion13
0
327
Member Avatar for Onion13

I've found many tutorials online for unity making homing missiles. I can't find one for people not using unity.

Member Avatar for rproffitt
0
322
Member Avatar for Onion13

Trying to make a game where explosions randomly appear on the screen using visual studio. I figured out how to make a single picture change location on the screen. So, I wanted to make the illusion of an explosion using imagelist. When I try to do it I get an …

Member Avatar for pritaeas
0
463
Member Avatar for C_Oleyers

Is their a program in which it will determine if a letter in a textbox is uppercase? This program is for Password checker as it will only be granted if the first letter is uppercase. ![Annotation_2020-08-05_120208.png](https://static.daniweb.com/attachments/4/3cfd7918ee048298773e5dfbb71a3c64.png) char[] v = Password.Text.ToCharArray(); //i want to check the first letter if its uppercase …

Member Avatar for pritaeas
0
59
Member Avatar for swathi sajja

I am using windows media player 9 and set the stretchtofit property to true.I find black areas on left and right side of video.My system has windows 10 and is set to 1280X720 resolution. I am using vs 2013. ![Sample.jpg](https://static.daniweb.com/attachments/4/45c8397429d9a2648379e71e0fa77848.jpg)

Member Avatar for rproffitt
0
109
Member Avatar for swathi sajja

Watching a Video on windows media player will produce black bars on the left and right. this.MPlayer.stretchToFit = true; AxWindowsMediaPlayer mPlayer = this.MPlayer; mPlayer.URL = "Location of a file"; Below attached file output of the code. Please suggest me how to change the aspect ratio of an Windows media player. …

Member Avatar for pritaeas
0
27
Member Avatar for Thanh Phong

My experience with C# is very very limited and a simple python program like the one I'm trying to convert is beyond my experience in C#. If anyone knows of any converters or is willing to help me out I would greatly appreciate it! class ByteReader(object): """ Reads bytes from …

Member Avatar for GooGooseGooey
0
36K
Member Avatar for vlad44

hi everybody, I was trying to read a certain range from column in excel into an array in c# then to write it back in another column(as a matter of a simple trial), where the column is written into textbox3, the start of the range is written in texbox1 & …

Member Avatar for Jack Green
0
2K
Member Avatar for emin_2

public bool Kayit_Ekle() { sorgu = string.Format("Insert Into [{0}] ([SERVİS FORM NO],[ÇAĞRI NO]) Values ({1},{2})", sheet, formno,cagrino); cmd = new OleDbCommand(sorgu, Baglan()); cmd.Parameters.AddWithValue("@{2}",cagrino); int etkilenen = cmd.ExecuteNonQuery(); if (etkilenen == 0) { return false; } else { return true; } } Hello there, I am writing recording program with c …

Member Avatar for Jack Green
1
299
Member Avatar for mikecole79

I have been having nothing but trouble trying to get C# to read excel. I haven't even gotten to the writing part, but I imagine it's going to be a challenge, too. FYI, I'm pretty new at this, and don't have a ton of experience, so I'm sure I'm missing …

Member Avatar for jackflint
0
431
Member Avatar for C_Oleyers

Need help in getting the value inputed in the text box to work for if-else. I also program that the textbox will only alow numeric characters. using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace OrderingSystem { public partial class …

Member Avatar for tinstaafl
0
242
Member Avatar for MagnusTheRed90

The following code is not working correctly. It is supposed to be associating an ip address of a user with a post's content, which in an online scenareo you know can be two different ip addresses. It is therefore showing exactly what was done with an account in the event …

Member Avatar for MagnusTheRed90
0
285
Member Avatar for arun.gtm11

I make the windows form on which on a single button click performs like this ' private void button1_Click(object sender, EventArgs e) { Excel.Application exapp=null; Excel.Workbook exbook=null; Excel.Worksheet exsheet = null; object misvalue = System.Reflection.Missing.Value; exapp = new Excel.Application(); exapp.SheetsInNewWorkbook = 1; exbook = exapp.Workbooks.Add(misvalue); exsheet = (Excel.Worksheet)exbook.Worksheets.get_Item(1); exsheet.Cells[1, 1] …

Member Avatar for jackflint
0
4K

The End.