132,726 Archived Topics
Remove Filter ![]() | |
Hello. This code im going to show you, is supposed to allow one to view the contents of a register or memory location. Im using it on masm and it compiles ok. Although i dont know where the print routine displays register contents. Any words would be a big help, … Software Development assembly | |
I am developing C#-based mobile application and the exception always thrown and catched by my try catch block Exceptin thrown : The database file cannot be found.Check the path to the database [File name = .\MyMobileDB.sdf] the snippet code is [CODE] namespace DeviceApplication4 { public partial class Form1 : Form … Software Development open-source | |
When I am trying to debug my mobile application , that used C# as programming language a notification beside the open the connection appeares and display that the module of it not loaded and thank you Software Development | |
Hey.. I have started learning assembly and have a little problem with indirect far call... I want to split my program in two source file, and let a procedure in one call a procedure in another, both in different segments This is what I have done so far, the procedure … Software Development assembly | |
hi all i want to make a temperature gauge using scroll bar (pls refer to Attachments) it has label to show the text of current temperature and if you are noticed the are also two labels in blue and red which indicates coolness or hotness.the problem is when the temperature … Software Development vb.net | |
Hi. I am new to this forum, but i have been playing with Visual Basic since 4.0. Anyway here is my problem. I am getting error and can't figure out why. [CODE] Dim connectionString As String Dim cnn As OleDbConnection connectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\Database\tmprcStavka.mdb;" cnn = New OleDbConnection(connectionString) Try cnn.Open() … Software Development dataset open-source vb.net visual-basic | |
Hi, Could anyone please tell me how should I concatenate the below two: unsigned char byte2[1]="0X"; unsigned char byte0[6]; byte0="29"; Software Development c++ | |
hi all m not even able to run simplest hello program through java........it is giving a list of number of exceptions.i wrote following [QUOTE] public class hello{ public static void main(String args[]){ System.out.println("Hello"); } } [/QUOTE] Even the above is giving following exceptions classnotfound urlclassloader noclassdeffounderror loadclassinternal findclass etc. Software Development java | |
Hey guys, I've been trying to set this up for a while now and I'm getting something funny I just can't figure out. I've installed the jdk 6. I've changes the path and classpath. But when I go to the cmd its not finding it anywhere. I've new to java … Software Development java | |
Iam unable to run programs from command prompt, my environment variables are correct. When i type javac on command prompt ,it gives the correct data ie possible outputs. When i type java it again responds as it should. But if i run a program say: java practice then it gives … Software Development java java-netbeans | |
I have a list. The first entry is a string, and the other three are integers. I need to store the first entry as a string and the other three as int's. Any help would be appreciated. [code] using System; using System.Collections.Generic; using System.IO; class Program { static void Main() … Software Development | |
Hi Experts! Plz can any help me to do flood fill in c#. I am trying to do this for 8 days but still nothing.............. plz thnx in advance Software Development c# | |
This has been working fine on my system, but refuses to compile on a server that I've uploaded it to. printf("Press <ENTER> to Continue\n\n"); while(getch() != 0x0d); The error message that I get is: undefined reference to 'getch' Any idea how to define getch and get this to compile? Software Development c | |
I have a problem in my project in C# visual studio 2008, I added a textfile in my project,on button click it opens,After deployement (installation)it works fine in window xp but give error in vista,it do not find the path specified. Folling is the code: private void pictureBox9_Click(object sender, EventArgs … Software Development visual-studio | |
Could anyone please tell me how to read data from a binary file???.. Software Development c++ | |
I have a label with a picture that i want to be visible to the user. However, i also have text in that label that i need for the program to work but is unnessesary to the user. I would use Color.Transparent; to hide the text however i have a … Software Development | |
I'm a complete and utter noob to VB so I sorta bit off more than I could chew with this little project. I'm not so sure how to create a calendar. But I have sort of designed it already. I'm planning on making the layout with labels and maybe tooltip … Software Development visual-basic | |
Hi people. I'd like to use MySQL in my application - would be an easy way for me to store users. But then I'd have MySQL credentials in my app, visible for everyone with a HEX editor, I'd suppose? And even though that MySQL user will have low privileges, then … | |
Hi all, I tried searching for my problem but i fear my keywords and problem is to generic. Apologies if this has been answered before. OK, so I'm coding a Windows Forms app using C# in VS2008. It one of my first few applications and I'm struggling calling methods contained … Software Development | |
I am doing an application which has some calculation code. I would like to know if there is possible to remember the number from the previous event handler? Lets say that I put into textbox1 number 10 and into textBox2 number 5. When the even button1_Pressed starts the code has … Software Development | |
My simple loop is coded [CODE] for (int i = 0; i < 3; ++i) { for (int j = 0; j < 3; ++j) { Console.WriteLine("i = {0} j = {1}", i, j); } } [/CODE] The output being i = 0 j = 0 i = 0 j … Software Development | |
hi, I am new to c# and I am working on an application which has a main menu with an open dialog which enables users to select picture files, when the user has selected the picture file I then want this to be displayed in a new form called picture_viewer. … | |
I want the remainder of all the numbers inside the loop except the number which i assigned for variable [B]a[/B] for example , if i entered number [B]5[/B] for [B]a[/B], the loop is 5 4 3 2 1. i want my program to take remainder of all these values except … Software Development c | |
hello, I tried to change the value of a textbox from another window form. the value is passed to another form properly, but I couldn't change the value in the textbox. here is the code Form1.cs public void setTextbox(String sd) { MessageBox.Show(sd); msg.Text = "fd"; } additem.cs private void button1_Click(object … Software Development | |
The code bellow allow to select only item in a listView. That means there is only one tick in the listView - always. But I would like to change the code bellow that will allow to unselect too, that there will be no tick at all. So, no tick in … Software Development listview | |
I am trying to send an email message in HTML Format. I have a richtextbox the the user can change the color and font in the message. Below is the code I am using which ends up send in Text Format. Most codes I have found use System.WebMail which in … | |
how will i code this triangle: a bcb cdedc defgfed efghihgfe pls help me Software Development c++ | |
can anyone here help me write a code like these graphics:[url]http://www.cs.utk.edu/~booth/[/url] i have been searching how to these, but i only saw you guys using turtle, python.game, etc.. i need a code for only python22 (graphics.py) i can only do stick figures, it would be a great help if someone … Software Development python | |
Hey all, Trying to get a simple LAN based chat program going (required to use UDP and multicasting). I've tried both client/server and p2p implementations, yet I still can't seem to get it working. The best I've gotten with client/server is that clients on pc1 and pc2 will connect to … Software Development c++ client-server | |
Hello everyone, I have connected a form to my database, which displays info when the form loads, butttt it displays them from load, which is not what I need, can someone tell me how to clear the form upon load so that none of the textbox fierlds have data within … Software Development vb.net | |
anyone can do case statment for stack , queue and linked in one program plz ex: void main () do { cout << "1 - stack"; cout << "2 -queue"; cout << "3 - linked list "; cout << "4 - stack with linked list"; cout << "5 -queue ....... … Software Development c++ legal linked-list queue | |
Inputs are 0 and 1, create a Deterministic Finite-state Machine class that accepts NONE or EVEN number of zeros and having an input of 1 does not change its current state..... pls..help me...its for my final project.... pls...i really need help!!!.. thnx guys!!! Software Development visual-basic | |
![]() | Hi everyone, I just started learning Python 3.1 (never done programming before). I just wrote this useless little program. It seems to work but I would just like a little bit of feedback as to how well I executed the idea. Basically I want to know if I am making … Software Development python ![]() |
I am working on a guessing game in Python and would like some feedback on how the code looks. I am struggling a bit with it, particularly with the menu options and getting it to loop back to the menu again after it has written to a high scores txt … Software Development python | |
Hi, Please some one clarify what does the below snippets mean and the compiler assumptions. which one is the correct one to use, what is the problem with others. [CODE] main() { } [/CODE] [CODE] void main() { } [/CODE] [CODE] int main() { } [/CODE] [CODE] int main() { … Software Development c | |
I need to converted from seconds to hours, minutes and seconds. (without using if) and this is my code [CODE]import java.util.Scanner; public class SecondToHoursAndMin { public static void main (String[]ages) { Scanner in = new Scanner (System.in); int second; System.out.println("Enter the second: "); second = in.nextInt(); int hours,minutes,second1; hours=(second/3600); minutes=(second%60); … Software Development java | |
hi all i need a bubble sort algorithm in Java and make a class bubble_sort to sort any given array of any user defined type. can any of u give me a basic algoruthm i need to work with???? | |
Hi, I am trying to add data from a DBEdit component to a ComboBox, but i get an error that says : 'Incompatible types: 'TStrings' and 'TCaption' Software Development pascal | |
So I have this code: [CODE]String^ main = "http://www.lockerz.com/"; if(main == web->Url->ToString()){ MessageBox::Show("Hello", "WIN"); }[/CODE] and it's attached to a timer that ticks every 100 milliseconds. Oh yeah, and web is the web browser in VC++. But when I run, I get this error: [CODE]An unhandled exception of type 'System.NullReferenceException' … Software Development c++ web-browser | |
hi i have a program here the 15 puzzle my problem is that im having a hard time makeing a random function the right way and also thinking of a way to make so that the program will not go out of the bounderies here my code [CODE]#include <stdio.h> void … | |
In this programming assignment I need to implement a number of useful functions using a header file and an implementation file. I will place the prototypes for my function in a .h file, and implement these functions in a .cpp file. I will also need to write a driver (a … Software Development c++ | |
Hello, I'm still a huge beginner in C++ and while i spent hours trying to find a solution to this problem i came to this forum pretty often and I thought it'd be a good idea if I try to ask about my problem. (If you notice anything that can … Software Development c++ | |
Any idea why this loop repeats regardless of the input? What I have there does correctly assign the proper values to month, day, and year, but the input prompt is repeated no matter what is input. Obviously I would like it to repeat if an impossible day < 1 or … Software Development c | |
This issue is probably caused by me being an idiot a while back. I installed Office 2010 beta on my dev box. It did NOT affect my project that uses Microsoft.Office.Tools.Excel However when I decided to uninstall 2010 and go back to 2007 only to maintain some compatibility with customers … Software Development assembly microsoft-office | |
Hi all, I am trying to write a general function that when called is able to write the value of all the member variables of an object passed to it. This function is part of a class. The class objects that I want to write out each have a member … Software Development c++ | |
Hi, I am coding a multiplayer board game, similiar to chess... I need to host an array 10x10 on the server and the client should be able to change things. Like a class with Get and Set, just accessable fron the Home network. I know nothing about this kind of … Software Development client-server | |
Hi, im trying to use an actionlistener attached to a button to add a component to a frame I have created. The actual button should add to the frame a circle with some text placed in it which I have already created, it works fine so there's no problems there. … | |
So i ve managed to create different shapes in my GUI window. But how would i go about deleting a certain shape or line from the window when I press delete on my GUI screen? | |
I need to design a class to represent an oven control unit containing: - Three constants (COOK, BOIL, SELF_CLEANING) with values of 1, 2, & 3. - Boolean value 'on' to represent oven is on or off - Int value for cooking temp, actual temp, and cook time (in min) … |
The End.