132,726 Archived Topics
Remove Filter ![]() | |
Hi everyone! How to disable a textbox and combo box by coding not by changing their properties? Software Development vb.net | |
How to from combobox selected index open another pdf file? Help! Software Development pdf | |
I don't know which langauge code it is written(but i think it is python) but i am just posting to know what can happen by the following code snippet. Here is the code:- # # ms12-020 "chinese shit" PoC # # tested on winsp3 spanish, from localhost # # import … Software Development python | |
Hi @all! I have a array with three numbers: num[0] = 5 num[1] = 2 num[2] = 5 I need to find out which of these numbers are the largest ones, it could be one, two or all of them, and need the index. Here for example "0 and 2". … Software Development java | |
I have to write a code.The program compute random sentences by using singly linked list date structure.The same word cannot be used more than once. I've already written the some codes which takes the list. [CODE]// random_sentence_operator.cpp : Defines the entry point for the console application. // #include <stdio.h> #include … Software Development c data-structure linked-list | |
how can i use reverse polish notation in link list using stack i need to reverse the numbers>_< #include<stdio.h> #include<stdlib.h> #define p printf #define s scanf struct node { int data; struct node *link; };typedef struct node *nodepointer; void push(nodepointer &top,int num) { nodepointer newnode; newnode=(nodepointer)malloc(sizeof(struct node)); newnode->data=num; newnode->link=top; top=newnode; … Software Development c | |
Heres what i want to do. I want to check the two fields in my table | I use Ms Access the fields are EmployeeID | StartingDayWork Sql = "Select * from Employees where EmployeeId = '" & txtID.text & "'" 'This is running but whenever i add StartingDayWork it … | |
I am new to programming. My code are listed below. [CODE]public abstract class Mark { private double mark; public double getMark() { return Mark; } public void setMark(double mark) { this.mark = mark; } public abstract void calculateMark(double x, double y, double z); }[/CODE] [CODE]public class Test extends Mark { … Software Development java | |
Can anyone tell me how should i delete listview checked data using delete button. right now i got error object variable or with block variable not set. [code] Private Sub Command3_Click() Dim rs As ADODB.Recordset Set rs = New ADODB.Recordset Dim x As Integer For x = ListView1.ListItems.Count To 1 … Software Development listview visual-basic | |
i wrote a code to search a file in the external devices like external hard disk read the code line by line so u can understand properly [CODE] private static void SearchForFiles(string path, string pattern, List<string> SearchResults) { foreach (string file in Directory.GetFiles(path, pattern)) { SearchResults.Add(file); } foreach (string dir … Software Development | |
How to make installer with serial number for my application? Help please! Software Development | |
Dear All, I had developed a desktop application that searches word files contents in a folder for a specific word(s) .It's working fine, but it's slow. I want to apply indexing(or any other technique) to speed up the performance of my application ... I want to know how to apply … Software Development | |
Okay, first off, this is not a thread for an answer like "Use delegates", or the like. I know how to use them, but one time I forgot to use them, and when going over my code, it worked, and I've been wondering why for a while. http://screensnapr.com/e/xx68FK.jp[/img] The image … Software Development gui | |
I have been doing a lot of reading and digging and not able to put together a away to do this. Here is my problem. I am building a quiz program in C. I want it to pick at random from a list of questions and compare your answer to … Software Development c | |
Hi all, Im new to java. I get this error. Non-static variable this cannot be referenced from a static context myClass c=new myClass() ^ this is my code [CODE] public class MyOwnBm{ private Hashtable myHash=new Hashtable(); public static void main(String[] args) { myClass c=new myClass(); c.match(); } public class myClass{....} … Software Development java | |
I am trying to save my scale configurations in the database so first I have to check if it exists in the database.and I am using the code below to do that . however when there is no data in the database I will get an error "No row at … Software Development vb.net | |
hello. currently i am doing a project and i am stuck with this compile error, can any1 help me with this? is there any cure for this compile error ? [URL="http://a2.sphotos.ak.fbcdn.net/hphotos-ak-snc7/304749_10150467265314408_808639407_11280088_80875314_n.jpg"]http://a2.sphotos.ak.fbcdn.net/hphotos-ak-snc7/304749_10150467265314408_808639407_11280088_80875314_n.jpg[/URL] thanks :) Software Development visual-basic | |
Hi every one i am having some problem in deleting customer Record. I have also uploading the screen shot of my form. i have customer records in textboxes and booking records in datagridview . i have solved the problem to delete the records in gridview but i want a button … Software Development vb.net | |
Any idea how to make restrictions in link list. im still confuse what will i need to make restrictions?? i know the isdigit isalpha etc. for example i can only enter DIGIT, Software Development c | |
public void ByteData_TextChanged(object sender, EventArgs e) { DataString.Append(ByteData.Text); //here I do some logic on the character just received } I am using a single textbox (ByteData) to input some ASCII characters. The character strings vary from one character to about five. I would like to terminate the data entry with … Software Development | |
Hey guys! I've got a small problem that I can't figure out. I have 2D arrays of arbitrary sizes, and they contain different characters representing different stuff (like 'a', 'b', 'c' etc.). Now, the problem is, I need to find horizontal and vertical lines of same characters and make new … Software Development c++ | |
I have a question for a homework assignment. This is C, not C++ (sorry! i didn't know where else to go). I have 2 character arrays, declared as char s1[100] and s2[100] in my main function. The part of this assignment I am having trouble with is the readString function. … Software Development c | |
im still confuse in RPN will i use insert at bottom of stack or front and then reverse it? cause my project say's that insert at the bottom of the stack..somebody help me pls Software Development c | |
[CODE] #include<iostream> using namespace std; void comparison(char arr2[], char arr3[],int& i,int j) { int abc=1; for(j=0;j<5;j++) { if((arr2[j]==arr3[j])||(arr2[0]!=arr3[0])) { j++; } i=i+1; j=5; } } int main() { char arr[5]={'a','b','c','d','e'}; char arr1[5]={'a','b','c','d','e'}; int refr=0, iteratorr=0; comparison(arr,arr1,refr,iteratorr); for(iteratorr=0;(iteratorr<5&&refr==1) ;iteratorr++) { cout<<arr1[iteratorr]<<endl; } return 0; } [/CODE] //Can anyone help me figure … Software Development c++ | |
I've been racking my brain on this for hours. The goal of the program is to estimate the value of pi using three different formulas. My arithmetic is fine, I've tested it, and if it is wrong, I can correct that easy. The problem is that my if statements don't … Software Development c++ | |
i need that every user input is character it will ask again to enter number until the user's input is correct.my program does not seems to apply the proper condition any help guys? #include<stdio.h> #include<stdlib.h> #define p printf #define s scanf #include<ctype.h> struct node { int data; struct node *link; … Software Development c | |
When i try running this code i get an error 'Floating Point Exception'. I dont know why this is happening. [CODE]#include <stdio.h> #include <stdlib.h> #include <time.h> #include <pthread.h> long long int number_of_tosses, number_of_threads, number_in_circle = 0; pthread_mutex_t mutex; void *mc(void* rank) { double x, y, distance_squared, pi_estimate; int toss; long … Software Development c | |
i'm new in C++ programming 1 problem comes in fuction .it's result is correct but it return the value 0 also,if i'm not use return 0; in functionin it print any value plz check this .and correct.thanx[code] #include<conio.h> #include<iostream.h> #include<iomanip.h> int mul1(int x[][3],int y[][3]) { int i,j,k,sum,z[3][3]; for(i=0;i< 3;i++) { … Software Development c++ | |
hello guys, can any1 help with this error? i searh through all the website and i still cannot find a cure to it. i have a picture and this is a form_load of it [CODE]Private Sub Form_Load() Picture1.FillColor = Form1.BackColor Picture1.FillStyle = 0 prevX = 0 End Sub[/CODE] and a … Software Development visual-basic | |
Hi everyone, I would like to merge few text documents into one, For example, i have 12 text documents in a folder, then needed to merge their text into one. 12 = 1. any help will be very appreciate, thanks in advance. if is not much to ask, if i … Software Development visual-basic | |
I'm getting error messages when I run my program. The problem is as follows: Design a Payroll class that has fields for an employee's name, ID number, hourly pay rate, and number of hours worked. Write the appropriate accessor and mutator methods and a constructor that accepts the employee's name … Software Development java | |
Hi all. I am trying to build a Binary Linked Trie but fail in basic pointer operations.Following code can be built but in debug or run mode, it breaks and outputs the error. [ICODE]typedef struct node { char ch; node *next; }; struct node *root = NULL; void add(struct node … Software Development c++ linked-list visual-basic visual-studio | |
ok what i am trying to do is i have two textboxs which have figues in them and need the 3rd textbox to display the figure the code i am using doesnt seem to be doing anything could anyone spot it and tell me why it is not working for … Software Development vb.net visual-basic | |
Hi all, my Professor has asked us to solve this problem, which is a Midterm Practice problem for our up and coming Midterm exam, which is on Monday. I am wondering if I'm doing this the correct way or not. [B][U]Here is this question the problem asks:[/U][/B] Problem 19 Random … Software Development python | |
hello i was trying 2create crystal reports but they dont work for some silly reason is there any other way reports can be created?? any ideas linking vb.net 2 access 2run reports Software Development vb.net | |
what is the problem actually in my code?when debug ,it will crash or come out same data. [CODE]#include <stdio.h> #include <stdlib.h> #include <time.h> int main(void) { int col; int rand_question[3]; int confirm_question[3]; int i; int score=0; char choice; int max_question, total_question; max_question = 3; total_question = 3; srand(time(NULL)); /for(col=0 ; … Software Development c visual-studio | |
Hi! :) I want to print all different elements of sorting array. input: 10 10 5 4 output: 10 5 4 :-/ Thank you! Software Development c++ | |
Hello. First, here is my code: [CODE] class BankAccount { private: int accountNum; double balance; public: bool setAccountNum(int num); int getAccountNum() const; double getBalance() const; void depositMoney(double money); bool withdrawMoney(double money); void displayAccount() const; BankAccount(); }; class SavingsAccount: public BankAccount { private: int accountNum; double sBalance, rate; public: void setInterest(double … Software Development c++ | |
Hi, I'm planning to create a login window where I can enter a username and password in visual basic 6. In this window, there are also options to create and change password. Can you help on how to do this? And also, how will the passwords be protected from other … Software Development visual-basic | |
Hi, I need to sort a string of symbols and numbers in to two different strings, first one with numbers, second with symbols. I have written the following code, but it only passes the first type into its string and gives random characters for the second type. Example: if i … Software Development c++ | |
hi, I have a problem with my JTable it displays the same line at all lignes,my code consists to use a command that will be run in background (using the command exec.getRuntime ()), and this will return multiple rows for that, I used a variable "i" to initialize lines and … Software Development java | |
Hi, I'm having some problems with my program and I'm not sure how to fix them. I have a main method that starts out with a frame. [CODE]public class Cryptography { public static void main(String[] args) { CryptoMainMenu mainMenu = new CryptoMainMenu(); JFrame frame = new JFrame("Cryptography"); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); frame.getContentPane().add(mainMenu); frame.pack(); … | |
Currently i am working and using a filter function for my search however i not sure how to do it using a query the sql statement is [CODE]cmd.CommandText = select * from tblcustomer where customerName like "'& textbox1.text &'"[/CODE] I no there is some bits missing but i am not … Software Development seo sql vb.net visual-basic | |
Hi everybody, Tryed to make this program: Simple browser: you type the URL at the top and then get a new window with this web page. But my output is just JFrame(Even color did not get changed) help me please to find the problem. [CODE]import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; … Software Development java java-swing web-browser | |
I have made a cipher substitution program which would take some input and print a coded output. however,the required output is not coming. My program first asks for input.then it converts it into a list as it is mutable.ALso,a string of all the alphabets is declared too. [CODE] #cipher code … Software Development python | |
[B]Note: see lines 26-28 in ResistorMain.cpp file this is pertaining to my question[/B] Note: driver file ResistorMain.cpp was given to me as well as some of the functions in Resisitor.cpp. I keep running around this and cannot seem to get this one part to compile correctly. This code requires a … Software Development c++ file-system ios | |
Hello, I'm trying to make a JPanel with JFrame capabilities, such as resizing, and moving, Everything seems to work fine, altough there are minor flickering inside the JPanel, I have numeral repaints and I have a method called update(), which uses absolute position to arrange Containers and Components. Whenever the … Software Development java java-swing | |
Hi all, Im trying to remove from a HashTable by providing key and to get by proving key. And i tried as follows for removing, Caharcter ch=p.charAt(i); but gives these errors. myOwnBm.java:60: cannot find symbol symbol : method Remove(char) location: class java.util.Hashtable myHash.Remove(p.charAt(i)); ^ myOwnBm.java:77: inconvertible types found : java.lang.Object … Software Development java |
The End.