132,726 Archived Topics
Remove Filter ![]() | |
I have a project due soon, and I am having trouble with it. Here is my code: ` #include "msp430.h" ; #define controlled include file NAME main ; module name PUBLIC main ; make the main label vissible ; outside this module ORG 0FFFEh DC16 init ; set reset vector … Software Development assembly | |
I am trying to look through each row in my data table and if a condition is not met, a messagebox appears. (Eventually, instead of the messagebox, I will populate to a DGV. For Each eventRow As DataRow In PFC_Xpress.Tables("EVENT INFO").Rows If eventRow.Item("Incident Type") = "Party" Then For Each personRow … Software Development vb.net | |
How to get the connection string? I'm developing an application and connecting to a database so I can get the connection string and know it during development pahase and therefore I can set it to the ConnectionString property of my connection object. However, when I deploy this application on a … Software Development | |
Hello I am working on my Accumulate test score data form and have hit a wall. Here is my code so far.. I am having trouble with line 42 add/store scoreInt to the scoresList collection. needs to have a range of 1-100. using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; … Software Development | |
I am having a trouble calling my addsomethingup() function in my program. I keep getting the error too few arguments. Can anyone help me understand why this is not working please? #include <iostream> #include <string> #include <iomanip> using namespace std; using std::cout; // //CLASS DECLARATION SECTION // class EmployeeClass { … Software Development c++ | |
Don’t know if this is ever been done before, or even if it is a good way to do it. I’ll just await your comments if any. What I mostly found on the web is that if you want to define a polynomial you need to have an array containing … Software Development algorithm c c# c++ mathematics | |
the WindowClass.hbrBackground=(HBRUSH) CreateSolidBrush(RGB(0,255,0)); change the all windows backcolor, registed with these class(WindowClasss). and for change the DC\window backcolor we need use WM_ERASEBKGND or other messages for do it(i don't remember how). but the SetDCBrushColor() do the job, right? but seems be ignored :( i'm using it in WM_PAINT messages. can … Software Development c | |
can any body please tell me that how to take input size of a matrix in 2 d array an then print the table of it.... sample output 1 2 3 4 5 2 4 6 8 10 3 6 9 12 15 4 8 12 16 20 5 10 … Software Development c++ matrix-multiplication | |
Hi guys I have a little bug which needs an extra eye to see I cant seem to see it. Can you help. Thanks in advance //CAI - Computer Assisted Instruction, multiplication program for first graders //Instruction.java import java.util.Random; //Program uses Random class import java.util.Scanner;// Program uses Scanner class public … Software Development java | |
Greetings I need to make a custom report designer in my application. I mean by a custom report designer is that having a Form within my application the client can use it to design his own reports and save it. Can any one help with articles on how to do … Software Development web-design | |
I am looking to start learning the python language and I was wondering if anyone can give me a heads up to any good IDE's for the language? I have a list [here:](http://wiki.python.org/moin/PythonEditors) but because there are so many I have no idea where to even start. Thanks in advance. | |
Hi all, I have a TabControl into which, at runtime, add a tabpage and a control to the tabpage created. I know how to create a tabpage. But I cant figure out a way how to create both at runtime. Thanks in advance, Yuvjeeth Software Development vb.net | |
Hi Everyone, Thanks for viewing this post. I have placed the code below in the MASTERPAGE.master.cs Label user = (Label)Master.FindControl("lblHidden123"); The control named lblHidden123 is in one of the Child page that refer to MASTERPAGE.master.. This control lblHidden123 is a normal label field, visible true. When i try to access … Software Development | |
Hi guys, I just faced a silly but annoying problem.I was building a database application with vb.net and access. Things were going great but at the last moment,it started to not work properly.I didn't touch the db path as far as i know but i changed the system date as … | |
Hey, everyone. I am writing a batch script (.bat program) to automate some tasks. And when that certain task is complete, I would like it to send an email to the admin saying if the task was completed successfully or it failed. It will figure out if the task was … Software Development email file-system | |
I am working on a simple project and I need a little help. I have created a program that draws circles on a canvas. The circles are blue, and the method flash() takes a random int count, and will light up a circle and change its color to yellow. The … | |
I have launched new project with storyboard and immediately delated .main, .h, .m files leaving behind Appdelegate h and m files. Then added .xib file and added table view. After running this app , table view was not getting displayed. Please help me to resolve this issue. # AppDelegate.h # … Software Development display objective-c | |
Hello, I wrote a program in vb2010 to assist in the organisation of my music school. It's fairly simple (as am I), uses a text file to store data, and is working fine; however, the various teachers have asked if it is possible for them to update the data when … Software Development microsoft-access vb.net | |
I am clueless right now on how I can set the position of a form to open up directly below the parent form, as if the new form is attached directly below it's parent form. The parent form's property is currently set to start at the CenterScreen. I don't like … Software Development vb.net | |
so recnetly I released a product of mine to a few close friends, one of these friends runs windows 8 and I coded my program in C# 2010, Windows 7..He gets an error saying improperly formatted, is the fix for that me upgrading to c# 2012 or in there a … Software Development perl | |
Hi, I am currently working on a UNO Game using C++ and I am facing some troubles. I need to use Vectors and Pointers (for the main bulk for this assignment). I am wondering if anyone could kindly help me because the deadline is on Wednesday and I feel very … | |
So I've made a bit of the directory and I want to make a tester that tests the methods that I've declared. The code for the directory is shown below. package TelephoneDirectory; public class TelephoneDirectory { String name; String telnumber; /** * * @param name a person's name * @param … Software Development file-system java | |
Here is a class I wrote to manage the MRU in a VB.Net application am writing. I did not find a build-in class in Visual Studio or on-line that did not look like a pain to use, so I made my own. While I have some 30 years of programming … Software Development vb.net visual-studio | |
Hello all, I have a weird problem. I have created an application in VB.NET 2010 on my PC which runs Windows XP Home Edition SP3. Upon testing my application, I found out that my app does not run on Windows Vista and Windows 7. Just to help, I was searching … Software Development vb.net windows-vista-7-8 windows-xp | |
I ve built a simple webservice just for testing and whenever I implement it on my windows phone 8 solution(I add a refference) my methods which are decorated with the [webmethod] naturally seem to convert from type string for example to type void and at the end of the method … Software Development asp.net smartphone | |
Hi all, Hi i have got a problem with the system i am creating on VB using Microsft Access. I have this error that keeps coming up when I debug my system. I am trying to add data in the database. I cant seem to find the solution to this … Software Development programming-construct vb.net | |
here is the question: "write a program , which has as content "time is a great teacher but unfortunately it kills all its pupils" and outputs th reverse string to the disk file out.txt. My problem is that im stuck with the part on how to display the sentence in … Software Development c++ | |
How can I get images from a server and save them locally. I want to import images from a url and upload it to my server. I have all the url of the images stored on my database (ETSP_GET_PHOTO_URL) I am very new to this so any help would be … Software Development client-server file-system microsoft | |
Hi, Dear Friends i have complete my C# project and its working greate, Now i want to make a Setup / Installation file of my Completed C# project, so i can install it on any Machine and use it, just like a softwares we download and install them on our … Software Development c# | |
see first elif statement for syntax error, where have i gone wrong?? this is only a section of code, help very much appreciated. if dice == dice2 : print ("The scores on both dice remain constant, no changes are made.") elif dice > dice2 : print ("The scores of the … Software Development programming-construct python | |
#include <cstdlib> #include <ctime> #include <iostream> using namespace std; int findSmallestRemainingElement (int array[], int size, int index); void swap (int array[], int first_index, int second_index); void sort (int array[], int size) { for ( int i = 0; i < size; i++ ) { int index = findSmallestRemainingElement( array, size, … Software Development c++ | |
the DrawText() function is for draw text with a rectangle size. but if the DT_VCENTER is used with DT_SINGLELINE, how can i use the "\n" and "\t" strings formats? Software Development c | |
please help me i need a dynamic array that get the information as a matris and give me the vertex degrees (sum every row).and send it to another matrix. #include "stdafx.h" #include<conio.h> #include<iostream> #include <stdlib.h> #include <string.h> using namespace std; int _tmain(int argc, _TCHAR* argv[]) { int k,sum; cout << … Software Development c++ matrix-multiplication | |
Hey guys,how can i retain the output window when stdio is used as my header? Software Development c++ | |
I want to devide the text in file data.txt into an array of char*( mean i use the pointer char** q) by the way line 1 for q[1], line 2 for q[2] and.... but i don't know why it not work can everyone help me ??? :( char **q; const … | |
I have to create a program where, by the push of a button, you average as many quiz scores as you want. It has to display the amount of quiz scores you have entered in a fixed3D label and the quiz scores also go in a label. So far, I … Software Development vb.net | |
is there an easier way to write this code?? without using enum, enum MenuState{MenuPlay,MenuHelp,MenuExit}; MenuState ms=MenuPlay; char ch=0;//or anything other than '\r' while (ch!='\r')//IIRC getch returns '\r' when user hits enter { switch (ms) { case MenuPlay: cout<<"--> PLAY\n HELP\n EXIT\n"; break; case MenuHelp: cout<<" PLAY\n--> HELP\n EXIT\n"; break; case … Software Development c++ | |
Hello I'm working on this final project. I need to create an ATM program with a unique pin code. However every time I run the p I have done 3 hours of researching and I've decided to just ask. What am I doing wrong that it's just running the do … Software Development c | |
I have in a MySQL database with the column type being DateTime the following time: Timestamp: 9:34:09 9:34:23 9:34:45 9:34:50 9:35:09 9:36:17 But a DataGridView in C# only shows me 9:34 9:34 9:34 9:34 9:35 9:36 Why? | |
Hello again good people, i have done some coding on lexical analyzer phase of compiler but it is giving me some error that i am unable to understand.. Fair Warning: Code is a little longer. Here is the code: # include <iostream> # include <fstream> # include <string.h> # include … Software Development c++ | |
i want the code o snake game by using c lanuage anyone can help?:) | |
My teacher wants us to make a program that decodes the Vin number of vehicles, I 'm been having problems learning because he doesn't explain much at all about the code and he expects us to already know it by just reading the book, the book isn't very clear or … Software Development vb.net | |
def get_inverse_dict(): """ returns a dictionary which maps a -> z, b->y ... z->a Hint: 1. see the constants in the string module, and the zip builtin function. 2. google lookup extended slicing notation to create a z..a string from a..z string In shell: help(zip) and experiment using zip in … Software Development python | |
I'm getting this error: `The calling thread cannot access this object because a different thread owns it` On this part of code: Private Sub loginWorker_DoWork(ByVal sender As System.Object, ByVal e As System.ComponentModel.DoWorkEventArgs) Handles loginworker.DoWork Try eFunctions._ValiAcc(My.Settings.adress, tbuser.Text, tbuser.Text & tbpwd.Password, eResult) Catch ex As Exception MsgBox(ex.Message, MsgBoxStyle.Critical, "Error!") End Try … Software Development vb.net | |
I have form with many labels and textbox. All these generates a report . I want to print it out in MS Word format and also set print privew. Here is my code for print for single textbox but i don't print in MS word. So what to do? Private … Software Development vb.net | |
Hi, I have the following problem: Text file "strlines.dat" contains series of the following information of straight lines: 1) coordinate of one line's point 2) angle slope It looks like (x,y) 45 deg: 2,6 60 4,7 45 2,1 30 After adding this information to associative container verify it and find … Software Development c++ | |
By the way I have this declared in my .h file. Even if there is a string method for this I would like to know how I could do this. Here is my code. -(NSInteger) RetrieveAscCode:(NSString*) inchr{ NSString *chtable =@"0123456789.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; NSInteger scan; NSString *trim; trim = [inchr substringToIndex:1]; for(scan=0;scan<255;scan++){ if … Software Development objective-c | |
I want to do exactly how these search engines do,  But I want to show the same thing using pop-up message, where there shouldn't be any buttons, and it should display the message continiously Thanks in advance! | |
The End.