1,432 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for overwraith

The following is the correct way to do encryption. I thought it useful to post for various reasons, most particular being the necessity for our companies to have good security controls. This is very important. If anybody has any other good snippets feel free to post. The user class is …

Software Development
Member Avatar for overwraith
0
466
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 …

Software Development c#
Member Avatar for JamesCherrill
0
2K
Member Avatar for ZheeYT

I am very new at programming in Java. Could somebody help me out with programming a Tic Tac Toe game? I would love to have to have the code for a game that can be played against the CPU. The assignment is to write the tic tac toe game using …

Software Development java
Member Avatar for Reverend Jim
0
2K
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.

Software Development c#
Member Avatar for Sajid_11
0
1K
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 …

Software Development c#
Member Avatar for ddanbe
0
434
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 …

Software Development c++
Member Avatar for ddanbe
0
415
Member Avatar for Mahbub_2

Hi,this is mahbub.I have a website on [sports bicycle](http://www.sportspull.com/).Now ,I want dicuss with you.How can improve my website.This is website is new but I Launch for Affiliate.

Software Development
Member Avatar for Renee_3
0
365
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 …

Software Development c#
Member Avatar for rproffitt
0
323
Member Avatar for Larry_13

Write a C program to implement the following function" print A for exam grades greater than or equal to 90, B for grades greater than or equal to 80 (but less than 90), C for grades greater than or equal to 70 (but less than 80), D for grades greater …

Software Development c
Member Avatar for Reverend Jim
0
381
Member Avatar for devfeel

I have developed a sniffer code in C language. Now i am creating user interface for that. I am using visual C++ to design user interface. Once the program starts it stores each packets ip address, port number , protocol type ,time etc in respective variables. Now i want to …

Software Development c++ vb.net
Member Avatar for k_8
0
2K
Member Avatar for Sara_18

I am working on the workshop selector in Visual Basics 7th Edition chapter 5 and I just can't get the calculate total button to work after trying numerous different codes. Here is the criteria for the program. 3 list boxes, 4 buttons, 2 labels. The application allows the user to …

Software Development vb.net visual-basic
Member Avatar for rproffitt
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 …

Software Development c++
Member Avatar for cambalinho
0
550
Member Avatar for pardeep3dec

Dear Experts, I want to develop a application that send sms on any mobile. if any one done this project then kindly give some important consideration for developing this application. Best Regards, Pardeep

Software Development api vb.net
Member Avatar for Tran_10
0
529
Member Avatar for Adm666

why at line 12, the expression : (char*)str+3 , adds the 2nd index to the string? for example when str="123123" , (char*)str+3 is "3123" instead of "123" ? input: 3 0 3 123123 output supposed to be: "Mybcmp result: 0" since the 3 indexes that's compared from b1="123123" and b2="123" …

Software Development c
Member Avatar for Ren C
0
428
Member Avatar for Leah_1

Take a closer look at some common misconceptions that prevent hiring managers from even considering a DevOps consultant. Great Article "https://medium.com/prodopsio/devops-consultant-vs-devops-employee-69fd011455fe" --> https://medium.com/prodopsio/devops-consultant-vs-devops-employee-69fd011455fe

Software Development java
Member Avatar for rproffitt
0
272
Member Avatar for Amani_2

I am having trouble coding an animation for a pendulum simulation. I can never seem to get any of the code right. I tried using pygame, but it didn't work even after I installed it into my computer! I just need to know where to start! Help please!!!

Software Development python
Member Avatar for rproffitt
0
227
Member Avatar for Mike_51

Hello, all. I am trying to calculate entropy, and I cannot get the calculations correct, or match the results with the assigned if-statements. I get a number that differentiates a bit from the answer that I want. So far, this is my code: #include <iostream> using namespace std; float Entropy(float …

Software Development c++
Member Avatar for xrjf
0
1K
Member Avatar for emilio_3

//Create a random 10 character password with the first character being a upper case letter. The remaining characters are random selections of Upper case //letters, lower case letters, 9 digits and/or special characters (found only on the top row of your keyboard). Please exclude 0 and O's from being used.After …

Software Development c++
Member Avatar for ryantroop
0
580
Member Avatar for John_196

I am making a user form in Delphi for documents tracking application. I am interested in functionalities **input new entry (record) **and **view list by... (date, name of document, ID,...).** My problem is that I don't know how to implement these functionalities for more than one user. Currently, I have …

Software Development delphi
0
447
Member Avatar for Jomz_1

Hello, I am writing a simple program. I want to select the date and time, it should appear like this: DAYS HOURS MINUTES SECONDS when the time reached set date my timer must stop like this 0(d) 0(h) 0(m) 0(s) and show Form2. But my timer continues to count from …

Software Development vb.net
Member Avatar for rproffitt
0
317
Member Avatar for Loay_1

Write a Marie subroutine that take a range of numbers and prints the prime numbers of this range.

Software Development assembly
Member Avatar for happygeek
-2
313
Member Avatar for Reverend Jim

There are a number of very old threads on CUDA so I'm starting a new one rather than resurrecting an old one. Does anyone here have any experience setting up and developing in CUDA on a Windows platform? I know that there is a system that can be set up …

Software Development c++ display
Member Avatar for Reverend Jim
0
3K
Member Avatar for hefaz

Hi guys! i think this is usefull, a lot of the users have problems with .Net Framework installation, Error code: HRESULT 0xc8000222 Do these to solve: a: Click Start > Run. b: Type cmd and press Enter. Please run the following command in the opened window. net stop WuAuServ c: …

Software Development
0
462
Member Avatar for xrjf

Here I present a WebSite containing just Default.aspx. Current snippet code has to do with coloring text in an input field of a web page. The input field is an editable DIV HTML element. While the user writes, there is a partial post (an XMLHttpRequest) to the server. Then the …

Software Development asp.net html-css javascript vb.net
0
316
Member Avatar for rat1973

I am new to XSLT. I am trying to transform one XML document to another. My first step is to try an do a really simple example. I want to see the results to my simple example in a browser, but neither IE7 or Firefox is not returning the results …

Software Development xml
Member Avatar for Krishna_30
0
10K
Member Avatar for Izzah_2

ive been develop a project known as ordering system i need to delete data from db by clicking the button ive follow a tutorial from utube and to the exact same code he been used error "object reference not set to an instance of an object" ive double check my …

Software Development mysql vb.net visual-basic
Member Avatar for Santanu.Das
0
866
Member Avatar for Adm666

just as the title says how to compare between memory addresses's contents?, my function will get two memory pointers and i want to compare their first "len" from what they're pointing to i'm getting here invalid use of void * when i compile int my_bcmp (const void *r1, const void …

Software Development c
Member Avatar for rproffitt
0
503
Member Avatar for Naveed_786

Dear Friends, Good Day, I am facing an issue in one of the functions the code is given below if someone can help on this actually this function is supposed to check the work ordewr number if it's nulll then it is suppose to take default value as 4999 and …

Software Development vb.net
Member Avatar for xrjf
0
393
Member Avatar for Romeo_4

</script> <div class='gads-mainfile hide'> <div class='gads-mainfile-sec section' id='gadsmain-file1'><div class='widget HTML' data-version='1' id='HTML877'> </div> </div></div> <script src='https://apis.google.com/js/plusone.js' type='text/javascript'></script> <script type="text/javascript" src="https://www.blogger.com/static/v1/widgets/1845596459-widgets.js"></script> <p>&lt;script type='text/javascript'&gt;<br />window['__wavt'] = 'AOuZoY6MQUdCbjChe9mkGG-1KEZ_7Ju6mg:1524789390911';_WidgetManager._Init('//www.blogger.com/rearrange?blogID\x3d1922750817707261623','//ijonkzfull-mkrdezign.blogspot.com/','1922750817707261623');<br />_WidgetManager._SetDataContext([{'name': 'blog', 'data': {'blogId': '1922750817707261623', 'title': 'Ijonkz', 'url': 'http://ijonkzfull-mkrdezign.blogspot.com/', 'canonicalUrl': 'http://ijonkzfull-mkrdezign.blogspot.com/', 'homepageUrl': 'http://ijonkzfull-mkrdezign.blogspot.com/', 'searchUrl': 'http://ijonkzfull-mkrdezign.blogspot.com/search', 'canonicalHomepageUrl': 'http://ijonkzfull-mkrdezign.blogspot.com/', 'blogspotFaviconUrl': 'http://ijonkzfull-mkrdezign.blogspot.com/favicon.ico', 'bloggerUrl': 'https://www.blogger.com', 'hasCustomDomain': false, 'httpsEnabled': true, …

Software Development
Member Avatar for JamesCherrill
-1
394
Member Avatar for Heung min

import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; public class DataStreamExample { public static void main(String[] args) throws IOException { File f = new File("seminar.txt"); if (f.exists()) { BufferedReader br = new BufferedReader(new FileReader(f)); String dat; StringBuilder text = new StringBuilder(); while ((dat = br.readLine()) != null) { text.append(dat); } …

Software Development java
Member Avatar for JamesCherrill
0
284
Member Avatar for javaprog200

Hello Members, I have a basic java question about non-terminating float values: public class FloatandDouble { public static void main(String args[]){ float a = 1.0f/3.0f; System.out.println (a); System.out.println (b); } } The output of the program is 0.33333334. Why is it not 0.33333333? Thank you

Software Development java
Member Avatar for javaprog200
0
180
Member Avatar for dmanw100

I'm trying to read in from a .txt file with a Scanner (see code). For some reason this line of code will never execute even though it can open the file and there is, in fact, data in it as such: Name Name Number Number [CODE] File playerFile = new …

Software Development java
Member Avatar for JamesCherrill
0
968
Member Avatar for lashbandi

HI.. i had started a thread before about the same code...not sure if i was suppose to keep going in the same one or create a new thread..i am sorry if i did anything wrong mods... my program should just ask the user to enter words.. "The program must simply …

Software Development java
Member Avatar for sandy_5
0
12K
Member Avatar for kugan80

Hi Guys, im facing problem at cmd.ExecuteNonQuery() kindly correct me wer is the mistake? n how to correct? Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSave.Click Dim sqlinsert As String ' We use the INSERT statement which tells our program to add the information ' from …

Software Development vb.net
Member Avatar for Neena_3
0
5K
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 …

Software Development c#
Member Avatar for Teme64
0
2K
Member Avatar for mrgreen108

in working with my 2d arrays, i have to read in from an input file a char array of NxN and manipulate the matrix in various ways. i have gotten just about everything finished, except i cannot figure out the logic of shifting a row left or right, or shifting …

Software Development c++
Member Avatar for happygeek
0
1K
Member Avatar for Vinod_16

How we can a make a setup file in vb6 as other software need to install ( Like need a product key to Install )

Software Development visual-basic
Member Avatar for LesF
0
558
Member Avatar for Josh_6

Good Morning everyone, My intention is not to get someone to do the whole code to help me but I'm currently learning c++ and I'm working on a homework project to create 10 small programs inside of 1 code and I'm having a hard time doing the last one. It …

Software Development c++
Member Avatar for ryantroop
0
553
Member Avatar for Sajid_10

https://github.com/shivamshekhar/PyGalaxian Please update PyGalaxian file as i want the number of hits by the aeroplane into another file either text file or excel file or jupyter notebook and want to plot using plotly and plotlib library and show the analytics at what rate the hits are occuring after firing and …

Software Development python
Member Avatar for JamesCherrill
0
536
Member Avatar for J_5

import java.util.Scanner; public class Rational { private int numerator; private int denominator; public Rational() { numerator = 1; denominator = 2; } public Rational(int numerator, int denominator) { this.numerator = numerator; this.denominator = denominator; } public int getNumerator() { return numerator; } public void setNumerator(int numerator) { this.numerator = numerator; …

Software Development java
Member Avatar for JamesCherrill
0
333
Member Avatar for jigar_2

I have 300+ files and I am reading it via C program...i am able to compile but what should I pass while executing C program...below is my code...i am bit new to the C ... int i; FILE *in; FILE *out; char ifile[100],ofile[100]; main() { for (i = 0; i …

Software Development c
Member Avatar for Schol-R-LEA
0
284
Member Avatar for Vinod_16
Member Avatar for john_111
0
244
Member Avatar for Jean-Claude

Hi, I run a VB6 programm that open Excel.xlsm I close the VB6 programm Excel.xlsm is always open I run a VB6 programm How can I work on the already ope n Excel.xlsm and not open an other Excel.xlsm? My OS = Windows 10 Thanks in advance for your help …

Software Development visual-basic
Member Avatar for Neena_3
0
671
Member Avatar for Tom_33

I failed this coding challenge because my solution "does not scale for new divisors and iterations" I think it is actually a design (pattern) question, and would very much appreciate if anyone can describe a good high level solution (eg class relationships). Problem: Write a program that will iterate though …

Software Development
Member Avatar for Reverend Jim
1
636
Member Avatar for Violet_82

HI guys, as I was playing with observers today I came across something interesting. I have a program which keeps a list of users (Observers) and products (Observables) and the idea is that whenever the availability (that's a property of a product) changes the Observers are notified of this change. …

Software Development java
Member Avatar for Violet_82
0
1K
Member Avatar for charlybones

I've looked around this forum, and the rest of the internet, but my code is not working. Here is the problem: I read XML files that are in en-US culture. The decimal separator is a dot ".". Given the string "123.45", I want to convert the separator from a dot, …

Software Development
Member Avatar for DOUGLAS_9
0
19K
Member Avatar for PerplexedB

The following (see the full code below) successfully adds a page in a section in Onenote. What I don't seem to be able to do is to get the lastly created page on top of the section. Here's the code that is puzzling me. onenoteApp.GetHierarchy(sectionId, OneNote.HierarchyScope.hsPages, out string xmlPages); var …

Software Development xml
Member Avatar for PerplexedB
0
847
Member Avatar for Jiby_1

I have wriiten a script to switch on buzzer and given the path of that script in '/etc/rc.local'. So after booting my script works and it make the buzzer to switch on... my question is i want to switch the buzzer off when my device is shutdown.(for startup we use …

Software Development shell-scripting
0
392
Member Avatar for zzmrzz

Hi, I have been programming C# for some time, and i recently learned about constructors and objects, but didn't fully understand. Can anyone please help me understand this, and please spell it out. I have tried googling it, but couldn't really find anything, that made me understand it. - What …

Software Development
Member Avatar for Lucaci Andrew
1
530
Member Avatar for Violet_82

hi guys, I've come across observers while working ona very very large project, and I didn't quite understand how they were structured and I suppose this had something to do with the huge size of the project itself. Anyway, I then decided to delve a little more into that, I …

Software Development java
Member Avatar for JamesCherrill
0
358

The End.