132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Samyx

Hi everyone, I have created a custom tab, in wich I want all the tools necessary to format a protocol document to be available and easily accessible to the users. How can I create a dropdown list with only the 5 heading styles I will need to use in the …

Software Development vb.net
Member Avatar for tinstaafl
0
133
Member Avatar for ahmadali

pls i ask a some quistion help me write a progam that display pakistan 10 time by using for loop

Software Development c++
Member Avatar for Henry Mark
0
169
Member Avatar for valdis1

I am trying to make telephone number word generator, user enters phone number 7 digits between 2 to 9 and then it generates all possible word combinations, it should be 3 ^ 7 = 2187 This is what I got so far: [code] Private Sub GenerateButton_Click(ByVal sender As System.Object, ByVal …

Software Development vb.net
Member Avatar for Dragan_2
0
685
Member Avatar for doris_3

Implement a C function that can perform addition of two 15-digit (positive) integers. As in C the maximum integer number that can be stored in memory is 2147483647 it is not possible to use primitive data types in order to add very large whole numbers. For this reason, you are …

Software Development c c# c++
Member Avatar for Jack_11
0
216
Member Avatar for Niloofar24

Hi everybody. I've created a .py file with a simple function in it. Now i want to call that function from linux shell scripting. How should i do that? please help me, thank you.

Software Development python shell-scripting
Member Avatar for Niloofar24
0
1K
Member Avatar for SammyT79

'Ello I just completed my final individual assignment for my first java programming course. This is what I want to do and learning how to do it is what brought me to school. Unfortunately my class facilitator has decided that it is not in his best interest to contribute to …

Software Development java
Member Avatar for Traevel
0
360
Member Avatar for didyone

hello guys. I would like to ask you a help of how i can remote server and view files located on it using JTree in java.

Software Development client-server java
Member Avatar for JamesCherrill
0
383
Member Avatar for Hadi.M

Hello all, I am trying to self learn the x86 assembly language and I came across a problem that I can't seem to fix. I want to recieve an integer input from the user and convert it to a word. Example: Input = 0 : Output=Zero. Any help?

Software Development assembly
Member Avatar for gusano79
0
241
Member Avatar for cambalinho

i'm using the HiliteMenuItem() for test if the mouse is above the menu item: int i=0; for(i=0; i<GetMenuItemCount(menuhandle); i++) { if(HiliteMenuItem(HandleWindow,menuhandle,i,MF_BYPOSITION) == true) { menuposition=(UINT)i; break; } } but i always get the number 0. heres how i detect the menu handle: case WM_INITMENUPOPUP: { menuhandle=(HMENU)wParam; return 0; } break; …

Software Development c++
Member Avatar for cambalinho
0
540
Member Avatar for batoolhussain

hi everyone I have array of two dimension but I don't know the size of the array, every time the size of array is change. I used (redim Preserve) but it change only the last dimension and I want to change the first dimension of array. please help meeee

Software Development vb.net
Member Avatar for Santanu.Das
0
124
Member Avatar for Alxprog

In my Windows Forms c# project I try to connect to an already existing ms sql database file (added binding Source on the form, then : bindingSource -> properties -> DataSource -> add source - > .... ) but when I pick this file it writes something like "You dont …

Software Development c# file-system open-source sql
Member Avatar for Alxprog
0
289
Member Avatar for CodingSource

Currently I have a button, 2 datetimepickers, a datagridview, and a combobox. What I like to do is the user will select the FromDate and ToDate and then with a keyword from a combobox it will search in a datagridivew according to the date range and the combobox's value. I …

Software Development vb.net
Member Avatar for CodingSource
0
772
Member Avatar for igli_1

***** **** *** ** * Can someone help me with this ^ pattern above? I only can do this one below *** ** *

Software Development c++
Member Avatar for Maritimo
0
182
Member Avatar for kouty

Hi to the forum; A simple question: I want to make a prime number checker: So if I want to test if 25 is a prime number. i should to verify if 2 is a factor. if it is not, i verify with 3 and 4 (not my subject if …

Software Development python
Member Avatar for kouty
0
190
Member Avatar for Garidius

I'm trying to add a progress bar to a working theaded program that uses a cancelation token too. The structure of the program is: I have a button "BeginButton" that calls the function "MyFunction()". The function runs in another thread and a cancellation token listens if I press a Cancel …

Software Development c# multithreading open-source
Member Avatar for Garidius
0
2K
Member Avatar for mame.tino

please help me to do Saving Gridview and Non Gridview data to Sql Database

Software Development sql
Member Avatar for khong.coai.526
0
107
Member Avatar for muhammad_74

Hi,programmers Need pdf book to learn java as 14 year old student...! My 5 months holidays are coming and i want an easy pdf book for learning java.Just give me easy book because i am completely new to java.And i dont need the words like 'dont rush into programming' or …

Software Development java pdf
Member Avatar for Traevel
0
223
Member Avatar for faizlo

I have this script which can calculate the total of numbers given in a string total = 0 for c in '0123456789': total += int(c) print total How should I modify this script to find the total of if the numbers given in the string form have decimal places? That …

Software Development python
Member Avatar for Gribouillis
0
278
Member Avatar for Ola Loay

A company has 100 employees who receive a monthly salary ranged from 1000QR to 50000QR. We can represent the employee by an array of 100 elements as follows: double MonthS[100]; Q1: Write a for loop to fill-in the array with data. Q2: Calculate the average salary of employees. Q3: Find …

Software Development c++
Member Avatar for Moschops
0
194
Member Avatar for Rimas_1

Hi, I need to read text from file and then as outcome show separate words, but shuffled. I tried few codes but non of these works for me. I'm getting output, but it do not shows words, but some signs only. I'm posting both codes.. #include<stdio.h> #include<string.h> #include <stdlib.h> #include …

Software Development c
Member Avatar for sneekula
0
213
Member Avatar for sneekula

On my Raspberry Pi computer I did a search for PIL and matplotlib with apt-cache search python but could not find anything close in the list. Is PIL/Pillow and matplotlib available for Linux and what is it called? The Raspberry Pi has Python27 and Python32 installed.

Software Development python raspberry-pi
Member Avatar for vegaseat
0
394
Member Avatar for Nova6112

Hi, I've developed VB.NET Application successfully and its working completely.. This aplication for my personal purpose. Now i need to take backup copy of databases into Online Storage... is there any methods to store at online. I'm using Ms-Access Database.Please Help me...

Software Development storage vb.net
Member Avatar for Nova6112
0
95
Member Avatar for Nova6112

hi, I've developed a VB6.0 Application and i created Package. now i need to set Productkey or some systems which are allowed by me only can install my application... is there any techniques to do like this.. some of my friend told that we can do this using MAC address …

Software Development visual-basic
Member Avatar for Nova6112
0
133
Member Avatar for Fahad_5

My project is finished but lecturer demands everything in one file i created multiple to help ease everything and now cant combine them

Software Development java
Member Avatar for stultuske
0
122
Member Avatar for CodingSource

Dear fellow programmers, I have tweaked this code for some time, and again failed. I want the user to select a client in the combobox and its text, with date range (two datetimepickers) the results will show in a click of a button. CODE for DataGridView search results: Dim ConnectionString …

Software Development dataset open-source vb.net visual-studio
Member Avatar for Santanu.Das
0
2K
Member Avatar for Slavi

Hey guys, I am making a small script here and I got stuck on it a bit ... perhaps one of you could help me out The idea is to send an email that has attached zip file to it. My script is import smtplib import zipfile import time from …

Software Development email file-stream python
Member Avatar for Slavi
0
8K
Member Avatar for nitin1

I am damn confused between these two terms. Can anyone explain this using some example? Thanks in advance.

Software Development c
Member Avatar for mike_2000_17
0
2K
Member Avatar for rose_2

what's the wrong with this code ?? ..it doesn't make the prossecc just typing the marks then nothing !! //program to get degrees of ten students in exam and compute the average exam degree of them #include<iostream> using namespace std; int main() { int mark,i; int average,sum=0; cout<<"enter 10 marks …

Software Development c++
Member Avatar for rose_2
0
140
Member Avatar for Pompy

Hi! I am trying to do this project for my Comp Prog class. The Project assignment is "Create an application that prompts the user to enter his/her and last name in a single text box. The program returns the user initials in uppercase". This is what i have. I am …

Software Development vb.net
Member Avatar for Reverend Jim
0
155
Member Avatar for batoolhussain

hi everyone, how can i retrieve the data from sql serve2008 and put it in array using vb.net2010. Can anyone help me with this?

Software Development vb.net
Member Avatar for batoolhussain
0
109
Member Avatar for CodeWarrior14

I'm working on a server and client program. Data will be exchanged between the server and client. This data will be encrypted. The server will always generate the salt and the IV. The client will receive the salt and IV and use it to encrypt / decrypt the data that …

Software Development encryption java
Member Avatar for CodeWarrior14
0
3K
Member Avatar for fawadali

Write a C++ program that will print the pattern as shown below: Output: * *** ***** ******* ********* ********* ******* ***** *** *

Software Development c++
Member Avatar for dbfud1988
0
194
Member Avatar for CodingSource

Dear fellow programmers, I have a problem. I want to debug my application but WHENEVER I debug it shows the following error in the error list: Error 1 Unable to read manifest 'My Project\app.manifest'. Could not find file 'C:\Users\david\AppData\Local\Temp\cl1aygzo.dll'. Golden Dragon Billing System I just click 'No' whenever that popup …

Software Development vb.net
Member Avatar for Minimalist
0
297
Member Avatar for rose_2

In the following code : what's the difference between int and int& ? and what does it mean ?? i got something that n2 and n3 are changed only but not n1 and n4 !! is that related to (int& ) ?? #include <iostream> using namespace std; void change(int,int&,int&,int) int …

Software Development c++
Member Avatar for rose_2
0
256
Member Avatar for MiicahLiim

Can you please help me do a asterisks of pyramid using the drawbar function, im new to c++ please help. Thank you in advance this is the drawbar function: the output should look like: * *** ***** ******* /*Overloaded drawbar() program.*/ #include<iostream.h> void DrawBar(int Length) /*Diplays a bar of asterisks …

Software Development c++
Member Avatar for dbfud1988
0
427
Member Avatar for parth2911

private void Login_page() { var i = 0; while (i < 5) { if (textBox1.Text.Equals("admin")) { if (textBox2.Text.Equals("parth")) { } else { textBox1.ResetText(); MessageBox.Show("passwod is wrong try agine"); i++; } } else { textBox2.ResetText(); MessageBox.Show("username and password is wrong"); i++; } } if (i == 5) { MessageBox.Show("you tried max …

Software Development
Member Avatar for parth2911
0
177
Member Avatar for Gl753

I want to output the annual salary for each employee individually but I'm not sure how. The way it is now it just pops up as one large box. Any help is much appreciated :) public static void main(String[] args) { // TODO code application logic here String increase, Salary, …

Software Development java java-netbeans
Member Avatar for Nation
0
221
Member Avatar for Nation

I am using a JTabbedPane with three buttons. The program is running fine except that the buttons remains small even if you resize the window. Is there a way of setPrefferedSize for them? here is the code if it helps: public final class JTabbedPaneDemo { JFrame frame; JTabbedPane pane; JPanel …

Software Development java
Member Avatar for Nation
0
1K
Member Avatar for clife

Hi, I need to change the nice value of a process, but not sure how to do it. My process has a priority of 0 when it is launched , i need to decrease it to some +ve value. I know we use os.system("renice -n value -p pidof process"). to …

Software Development python
Member Avatar for Gribouillis
0
241
Member Avatar for Ahmed_57
Member Avatar for rubberman
0
90
Member Avatar for Slavi

Hey guys, I am a bit confused here ... making a script to brute force through a dictanary the password of a zip file and it seems to work fine except that it won't stop when the password is found. And when it prints the password it just prints the …

Software Development python
Member Avatar for Ene Uran
0
265
Member Avatar for Slavi

Hey guys, I am making a script here to read from windows registry. The problem that I am facing is that at a certain point I start getting an error that the file does not exist. First Here is what I am doing `net = r"SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\Unmanaged"` `key = OpenKey(HKEY_LOCAL_MACHINE, …

Software Development microsoft-windows python
Member Avatar for Ene Uran
0
182
Member Avatar for tnd2491

Hello All; What i need to do is to display 1000 logs coming from the server into 20 rows continuously.Does anyone have any idea?? I am storing the data strings coming from the server into the vector container. And that i have to display continuously from 0th Row row to …

Software Development c++ display
Member Avatar for Duoas
0
217
Member Avatar for Abdellah_2

Hi everybody I wanna know there is way to separate fonts by type for example : i wanna load all arabic fonts to a combobox only Thank you

Software Development vb.net
Member Avatar for Abdellah_2
0
357
Member Avatar for Stefce

Can anyone tell me what im doing wrong here ? I just want to detect the last word of the sentence and if not found to show "Not found." here is the code: String[] items = { "Iphone", "Computer", "Car" }; String field = Field.getText(); String text = "I want …

Software Development iphone java
Member Avatar for Slavi
0
2K
Member Avatar for sergio_pb

Hello guys, I create a software in vb.net to consulte my database (mysql) with table adapter and connections string, normal and simple application. Now I need to make a publishing, but when I install the aplication in another intranet pc, this pc cant connect my database. I know i need …

Software Development publishing vb.net visual-studio
Member Avatar for sergio_pb
0
127
Member Avatar for nitin1

This problem is troubling me from so long time. There are N scientists, K black holes, and any scientist can query about radius, size and temperature of any blackhole. You have to answer three kinds of query basically: 1)Given Scientist queried for which blackholes,Given scientist queried for which attributes 2) …

Software Development c data-structure
Member Avatar for nitin1
0
156
Member Avatar for frankinaround

Yo whats up. I need help building a chat bot in python. I put together a 'special engine' (terms I found while searching the web- special and matrix engine(they translate user input)) basicly the special engine is a bunch of sentences that each have a few responses attached to them. …

Software Development python web-design
Member Avatar for magnus.wootton
0
398
Member Avatar for CodeWarrior14

I improved my AES encryption code, I now generate a key from a password of any length. But now I dont know if I'm generating a 128, 192 or 256 bit AES key. Here is my code: import javax.crypto.spec.PBEKeySpec; import javax.crypto.spec.PBEParameterSpec; import javax.crypto.SecretKey; import javax.crypto.SecretKeyFactory; import javax.crypto.Cipher; public class AESCipher …

Software Development encryption java
Member Avatar for CodeWarrior14
0
3K
Member Avatar for mrhunt

what are the disadvantage of multiple inheritance?

Software Development c++
Member Avatar for Maritimo
0
165

The End.