43,549 Solved Topics
Remove Filter ![]() | |
I have a final project for C++ class that requires us to demonstrat each thing that we've learned, a list of 24 things that range from using binary numbers, to loops to passing arrays and polymorphism and recursion. What I would really like to try is to make a simple … Software Development c++ | |
So i have bought this book about assembly language but they use Netwide assembler and i dont have an IDE / COmpiler for it. I have looked at NASM origanal website but i din't fid any IDE. I use FASM, i dont know if NASM will work with FASM. Any … | |
I created a Security Log On that starts when i turn the computer On.Like the Windows Log On. I managed to disable alt+F4, alt+tab, window key, ctrl+esc, but i have only one problem disabling the task manager or the CTRl+Alt+Delete Button, is there a way or any codes to disable … Software Development vb.net window-manager | |
What is the difference between partial and abstract classes ? Software Development | |
HI please can you run the code as attachement..i m trying to test the guess number ..if it is greater than the random number or smaller but when it is equal the function will return -1 i have error that i cannot understand as i m new in java the … Software Development java | |
How's the result to this 7? void foo(int i){ if(i>1){foo(i/2);foo(i/2);}cout<<"#"<<endl;} Software Development c++ | |
Hey guys! Im having problems with a snippit of code ive written. I know this is basic C++ so its a little embarasing that i cant work it out myself. Ive googled the run time error message but im not 100% sure i understand what it means. Unhandeled exeption, access … Software Development c++ | |
I'm trying to create a JTextPane that has the following properties: 1. Vowel letters are colored in green 2. Consonants are colored in blue 3. Numbers are colored in red 4. And the maximum number of characters is 26 and all characters are in Upper Case To achieve this I … Software Development java java-swing perl | |
i use vb.net 2012 on Windows 7.0 64 bits pc. If I try to kill osk.exe is get this error: System.InvalidOperationException: Cannot process request because the process has exited. at System.Diagnostics.Process.GetProcessHandle(Int32 access, Boolean throwIfExited) at System.Diagnostics.Process.Kill() Private OSKProces As System.Diagnostics.Process If ProcessesRunning("OSK") Then OSKProces.Kill() Else OSKProces = System.Diagnostics.Process.Start("osk.exe") End If … Software Development vb.net | |
help. i would like to ask if there's a way to combine 2 data table into 1 table without manually inputting using sql statement. how does the parent child foreign key works? it goes like this: student - table1 : lname, fname, age teacher - table2 : lname, fname, age … Software Development vb.net | |
Hye, I have problem with Auto Generate Slip No from Database.I wrote following code to get last record but it does not give me last record. Please help me? [CODE]Private Sub Command1_Click() Module1.Connect Dim rs As New ADODB.Recordset Dim str As String str = "SELECT Item_ID FROM Entry_Tab" rs.CursorLocation = … Software Development visual-basic | |
Hi All, I have come across Read and write method from InputStream and outputstream but im finding it hard to understand the logic behind it. Below is a simple example which reads a jar file from input stream and writes it to output stream. Please explain the logic on how … Software Development file-stream java | |
Hey guys, Is there a way to have multiple columns as combobox display value without buying third party controls? If yes, please post the name or anything in reference so I can google it. Thanks in advance. Software Development vb.net | |
I am making a quiz as part of my assignment for my computer science class and the aim is to make a flash quiz where keywords and their definitions are loaded in from text files. From previous recommendations on Daniweb I have created an associative array. I import the two … Software Development vb.net | |
one of my goals for this year is to learn java, and I found an excuse to get started lately. So over hte last couple of hours I have been reading tutorials and the likes, and started following the advice from this post http://www.daniweb.com/software-development/java/threads/99132/starting-java-java-tutorials-resources-faq As such I am up to … | |
[CODE] /* Any year is input through the keyboard. write a program to determine whether the year is a leap year or not. */ #include <stdio.h> #include <conio.h> void main(void) { int year; clrscr(); printf("\n\n enter a year::"); scanf("%d",&year); if(year%400==0) printf("\n\n Leap Year."); else if(year%100==0) printf("\n\n Not Leap Year."); else … Software Development c | |
Hey guys! I have a class program here that I am stuck on. This is my first time officially asking for help, but after studying all avenues and research I still find myself wracking my brain. Most of the code is complete and without error...except for the last bit...of course. … Software Development c++ | |
#include <windows.h> void gotoxy(int x,int y); int main() { int i; int y=6; int x=9; for(i=1;i!=0;i++) { system("color 1"); sleep(500); gotoxy(x,y); printf("%d",i); } getch(); } void gotoxy(int x,int y) { COORD coord = {x,y}; SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE),coord); } How to change the color when the number changes ? And the color must … Software Development c++ | |
I need to add text (not a line) to an existing text file, using C#. I can create the file, and write text to it, but when I have to append text, for some reason, it fails. I can append a line, but I don't need to append a line. … Software Development file-system | |
I have seen C++ programs that allow you to type a string (in the case I saw it was a file name) after the name of the program, but in the same command (before pressing enter) when you go to run the program and the program parsed it as it … Software Development c++ | |
For the assignment I am doing for my Computer Orgainzation and Assembly class, we are to print a given array, using the selection sort. Then, for bonus points, we are to print the array after it is sorted 5 per line. I am stuck on this part. My codes sorts … Software Development assembly | |
I'm totall beginner, trying to learn python programming codes. So far, got series of python programming problems to solve. Here is one of them.; please I need help on how to write the program. "Write a program that displays a table of the Celsius temperatures 0 through 20 and their … | |
I am having a lot of trouble working on this program. i am not sure how to make a linked list work with more than just numbers (i only did basic programming) and the book is just terrible, i was wondering if you guys could help me with writing this … Software Development c++ linked-list | |
I have gone through the articles appeared in this forum on the above Area.But it didn't helped me much,As I am new to VB.net. In VB6 I have the following code and it works well. Private Sub CmbBank_GotFocus() CmbBank.BackColor = vbYellow LblMsg = "Select Bank" Dim A, B, C As … Software Development vb.net | |
I created a button but I don't know the line of code to change the position of the button. | |
This thread may be some what confusing, and not yet sure is this can be done or not. I just get a an idea to this (and yet I am still learning, I am not expert) so I need your Help. **Thread**: I am having a form and add the … Software Development listview open-source vb.net visual-studio | |
Sooo...I was told to start a new thread about this. So I'm trying to make a link between TextBox1.Text on Form1 to TextBox2.Text on Form 2. What I currently have is a line of code underneath my TextBox2_Change code reading: TextBox2 = Form1.TextBox1.Text This ALMOST does what I want it … Software Development visual-basic | |
Hi, for the life of me, I am unable to get my program to drag/drop to a textbox. Elsewhere in my program i am dragging to a panel just fine however I always get the "drag not allowed" mouse symbol when attempting to drag to my text box. I HAVE … Software Development data-structure vb.net | |
bool operator!= (CustomString &str1, CustomString &str2) { std::vector<string>:: iterator s2 = (str2.vec).begin(); for(std::vector<string>:: iterator s = (str1.vec).begin(); s != (str1.vec).end(); ++s) { if( *s2 == *s) { cout << *s2 << *s << endl; return false; } ++s2; } return true; } I don't know why, but this returns true … Software Development c++ | |
StringVec func(StringVec & str1, Stringvec & str2) { std::vector<string>::iterator s2 = str2->vec.begin(); for (std::vector<string>::iterator s = str1->vec.begin(); s != str1->vec.end(); ++s) { if(s2 == NULL) { cout << "str2 is smaller than str1" << endl; } ++s2; } } When a iterator goes out of bound, because the vector is … Software Development c++ | |
I'm writing a program that generates labels at runtime, and then has them be "dragged and dropped" by the user. I have the drag and drop code working, but right now I can only get it to work on labels that I explicitly name in the code, like this: `Private … Software Development vb.net | |
Hello everyone.. I am a little bit stuck on this small problem. I'm trying to understand callbacks but seem to be no understanding something. It is probably something very simple. I've never used callbacks so am probably misunderstanding something here. The below is pointless but I'm doing it to improve … Software Development c++ | |
Use visual basic 2008 Form1 with a text box (ScanArtikelBarcode.txt )on it barcode scanner I use now this code to read a barcode Private Sub ScanArtikelBarcode_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles ScanArtikelBarcode.KeyDown ' This way I collected the scanned barcode and process it against my table and … Software Development visual-basic | |
I use visual basic 2008 and MYSQL (Storage engine is innodb) Is use this code to retrieve informatie (see below) The SQL string ="select * from articles where articlenb=12345" I want to check of this record is used by een othor user in the network. Can use innodb for row-based … Software Development mysql storage vb.net visual-basic | |
Dear developers, I develop for years in visual studio 2008, but I want to switch to Visual Stuido 2012. But I discovered there is no setup projects exist anymore. I now choose from InstallShield or WIX. Which should I use and what version? Thanks, André Software Development vb.net visual-studio | |
Can anybody where i can find :crystal reports for visual studio 2012 Software Development visual-studio | |
I use vb.net 2012 with Crystal reports I have a report with two database fields : streetname (char 25) and house number (char 10) waterstreet 12a walkingstreet 2544 But if i print the report it looks like this: waterstreet 12a walkingstreet 2544 But i want no only space(1) between streetname … Software Development vb.net | |
I use vb.net 2012 ,Windows 7.0 printer on local USB port On my development PC , develop program witn the print action with "PrintDocument1_PrintPage" works good (runtime and with EXE) But on the PC from the customers, I get this message "A StartDocPrinter call was not issued" The customers pc … | |
![]() | im having this as my problem my connection to database is purely coded with the connection to the datagrid Public Sub btnProdSave_Click(sender As Object, e As EventArgs) Handles btnProdSave.Click Dim res As New DialogResult res = MsgBox("Do you want to save data?", MsgBoxStyle.YesNo, "Inventory") If res = DialogResult.Yes Then Save_Record() … Software Development vb.net ![]() |
#include<iostream> using namespace std; int main () { char a; double length; double width; double Area; cout<<"Please\n"; cout<<"\t1- Enter \"S\" or \"s\" to calculate the square area\n"; cout<<"\t2- Enter \"R\" or \"r\" to calculate the rectangle area.\n"; cout<<"\t3- Enter any Key to Exit\n"; cout<<"Please enter the length of square"; cin>>length; … Software Development c++ | |
Hi I think this topic is beyond my lame python abbilities. I hope the program can run, it is writen by using error messages until it worked. I am using python 33. I am trying to learn info on adding leading zeros to the output.(File & Windows) I am not … | |
![]() | Ok, here's the situation. I've got a package filled with 4 .java files. Mainpackage: Console.java ReadTextFile.java WriteTextFile.java Main.java In Main.java, I'm trying to call a method within AQAReadTextFile2013.java, which also happens to be called "AQAReadTextFile2013". I've tried calling it using the line: * AQAReadTextFile2013.AQAReadTextFile2013("filepatharguement") * AQAReadTextFIle2013("filepatharguement") Within 'main', but they … Software Development java ![]() |
I'm writing a program where I need to "click and drag" labels across the form. I'm planning on doing this by moving them to the position of the cursor. However, I'm having trouble finding the position relative to the top left corner of the form, and regardless of whether or … Software Development vb.net | |
#include<iostream> using namespace std; int main() { int len1; cout<<"please enter the length of arrayn 1"; cin>>len1; cout<<"creating array now"; int *arr1= new int[len1]; cout<<"please enter the elements now"; for(int i=0;i<len1;i++) { cin>>arr1[i]; cout<<endl; } return 0; cout<<arr1; delete [] arr1; } In the above code, the program stops execution … Software Development c++ | |
Hey All i really have an issue that it is really stopping me here so basicly i have a form that i use to add some Address Book data so i have combobox's that is synchronized with each other so @ first i'm populating the combobox with the following function … Software Development open-source | |
hi friends, have nice time I am using Eclipse kepler 32 bit i am using windows 7 32 bit jdk, jre 1.7 32 bit versions previously its working fine now its not opening i cant rectify this problem can you people help me to fix this problem Software Development java | |
Hello All, I want to design a DataGrid similar to the one in the design picture attached with this article (Please see the pic attached). I want the following bindings and features :- 1. The first column of every Item (Item1,...Item5) for (LineNo=1....LineNo=?) will get bind to "Unit" which is … Software Development asp.net database-design vb.net | |
Hello, I want to duplicate a list in python. The way I want is, I need two list with same content pointing to different memory Location. What I tried is Dup_List = Original_List[:] , but lookes like even this is making both list point to same memory location. Both the … Software Development python |
The End.