132,726 Archived Topics
Remove Filter ![]() | |
hello, im sure ive asked this question already but cant find the thread. How do i transfer data from 1 form to another but in a datagrid view. Example: I have data that ive entered in Form2. On Form 1 i have a datagridview box. Wen i press Send on … Software Development vb.net | |
Hey guys, I created a Student class in a header file and it works just fine. The problem is I'm trying to store the Student objects into a map in main which made the compiler generate a "in file included from ..." error. I'm having trouble fixing this problem as … Software Development c++ | |
Hey, iv been working on a fairly simple part of my program but it throws a null pointer exception. The error i recieve is : Exception in thread "main" java.lang.NullPointerException at FillStyle.<init>(FillStyle.java:12) at compiler.main(Builder.java:43 The code causing the error is : public FillStyle(int type) { if (type >= 0) { … Software Development java | |
Alright, I need a program that has both a selection structure and a repetition structure. Would someone please tell me if I am doing this right. My code gives me the correct output but do I have a selection and repetition structure? #include <iostream> using namespace std; int main () … Software Development c++ | |
In C++ you have this: std::string = "Name"; You can also read file with it, unlike reading the contents into a char[] with a limited amount of memory. So whats is C equivalent of a C++ string? | |
Write a computer program using the C Language which reads any base-10 number from the standard input (keyboard) and writes its binary and hexadecimal representation to the standard output (monitor). this is what I have and I am super confused and need help please. and I have to create this … Software Development c visual-studio | |
I can clear the content of the datagridview by clearing the dataset [CODE]ds.Clear();[/CODE] Then reset the datasource [CODE]datagridview.datasource = ds.Tables[0];[/CODE] Now I will do a select statement that has different columns from the current datagridview. What happens is, the column from the previous datasource is still intact. As if the … Software Development dataset | |
I am trying to figure out how to create a C++ program that has a Subtotal and a Grandtotal. Could someone please help start a program? It has to have a selection and repetition structure in it. | |
Trying to update the quantity column of a table in a database with the row being selected from a combobox and the quantity being added selected by a textbox. Try connection.Open() Dim command As OleDbCommand = New OleDbCommand("UPDATE Raw_Materials SET Quantity=+('" & Int.parse(TextBox1.Text) & "') WHERE Part number=('" & ComboBox1.SelectedItem … Software Development | |
hi i have my xml code below: [CODE]<?xml-stylesheet type="text/xsl" href="book.xsl" version="1.0"?> <books xmlns:xsd = "http://www.w3.org/2001/XMLSchema-instance" xsd:noNamespaceSchemaLocation = "book.xsd"> <book id="001"> <isbn>0465044050</isbn> <title>Birth of the Mind</title> <author> <firstname>Gary</firstname> <lastname>Marcus</lastname> </author> <publisher>Basic Books</publisher> <year>2004</year> <price>17.68</price> <picture>0465044050.gif</picture> <description>write your desc.</description> </book> </books> [/CODE] and here my xsl code: [CODE]<?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet version="1.0" … | |
I've had this error for today and I don't know how to correct it. Would someone please help me? My program would run but it would freeze for sometime Dim welcomemessage As String = "QUANTITY DESCRIPTION TOTAL" & vbCr Dim totalprice As Integer If Checkbox1.Checked = True Then welcomemessage = … Software Development vb.net | |
Hi, I've started learning Python and want to find out how easy is creating GUI for a software. I used to use VB6 with Visual Studio and it was all about Drag and Drop items on a form. Do we have such thing or we just have to hand code … Software Development gui python visual-studio | |
I have a code for a game. money_file = open ('money.$','r').read() money_file = str(money_file) money = int(money_file) But everytime I run it, it returns an error: Traceback (most recent call last): File "C:\Users\eeo.j\Desktop\CX6 SDK\CX6 Normal\CX6.py", line 86, in <module> money = int(money_file) ValueError: invalid literal for int() with base 10: … Software Development python | |
# Heading Here # I have a button when i press it the following event starts that records from the microphone I want the while loop to stop after a certain time so i added a tick event from what i know after stating the tick is should take one … Software Development | |
Main.java [CODE] package scrabble; import javax.swing.JOptionPane; import javax.swing.JDialog; public class Main { public static boolean isDoubloon (String word) { int count[] = LetterHist.letterHist (word); for (int i = 0; i < count.length; i++) if (count[i] == 2 || count[i] == 0) continue; else return false; return true; } public static … Software Development algorithm java java-swing | |
Hello, I have my database application containing all the customer information. The application is linked to my SQL using jdbc driver. I would like to know if it is possible to send email automatically every months(like a newsletter) with netbeans? If yes, how can I do it? Thank you. Software Development java | |
sqlBulk.WriteToServer(excelReader); string removeCharacter = "Select Replace('Price', '$ ', '') FROM #temp"; sqlCommand.CommandText = removeCharacter; I'm importing an excel file into sqlserver, I'm trying to remove the $ sign before I import the field into the database. The above code just does nothing $ sign still imports, also no error. Software Development | |
 MessageBox.Show("COSTUMER" & vbCrLf & TextBox1.Text & "QUANTITY" & " " & vbCrLf & TextBox2.Text & TextBox3.Text & TextBox4.Text & TextBox5.Text & TextBox6.Text & TextBox7.Text & TextBox8.Text & TextBox9.Text & TextBox10.Text & TextBox11.Text & TextBox12.Text & TextBox13.Text & TextBox14.Text & TextBox15.Text & " " & "Description" & vbCrLf & … Software Development vb.net | |
Hi Good Day Guys! Just cant find the answer. I just wanted to ask If there are any way to detect keypress while your application is minimized or not in focused? Thank you very much. Software Development vb.net | |
I have been trying to setup swt in eclipse Juno, but it keeps on giving me errors. Here is the error list: Exception in thread "main" java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: no swt-win32-4233 in java.library.path no swt-win32 in java.library.path Can't load library: C:\Users\DeoFamily\.swt\lib\win32\x86_64\swt-win32-4233.dll Can't load library: C:\Users\DeoFamily\.swt\lib\win32\x86_64\swt-win32.dll at … Software Development java | |
hi guys, i need help on algorithm to combine letters from a word. for example, i have this word: 'ABCD' . then i want to combine 3 letters from that word. so it comes to these combination: 1- ABC 2- ABD 3- ACD 4- BCD how is the algorithm in … | |
I am getting this output: This is the source stringâ• This is a destination stringâ• â• â• â• â• â• â• â• â• â• â• â• â• â• 5Press any k ey to continue . . . My code is: void Problem5(char strDestination [], char strSource []) { int intIndexOfStrSource = 0; int intConcatenatedStringIndex = 0; int intStringDestinationIndex = 0; int intLengthOfDestination = strlen(strDestination); int … Software Development c | |
In the following code I need to modify it so that the btnSave control's click event procedure determines whether the user has entered the phone number in the required format: three digits, a hyphen, three digites, a hyphen, and four digits. If not a message should display saying the format … Software Development vb.net | |
Okay, my problem goes as follows. I've been writing a small program in python (an adventure game) which has hitherto run via the console. I'm now working on giving it a full interface, which is requiring a lot of changes to my rather simplistic/archaic structure and generally making things something … Software Development data-structure file-system python | |
Hi guys i have generated PDF file from docx(.rtf also) You need to install bullzip printer and word. Prerequsities - you have to add reference Bullzip.PdfWriter. here is code snippest internal static byte[] PrintToPdf(string appFolder, string tempDocxFileName) { try { string tempFolder = appFolder + @"\temp"; string tempDocxFilePath = tempFolder … | |
#include<stdio.h> #include<string.h> int compare_string(char *first, char *second) { while(*first==*second) { if ( *first == '\0' || *second == '\0' ) break; first++; second++; } if( *first == '\0' && *second == '\0' ) return 0; else return -1; } int main(void) { char string[1000]; char word[20]; char *s; int len; … Software Development c | |
Hi everyone, This October I will start university study (Open University in UK). I’m 35 and work full time (non-scientific, non-IT background). I plan to study to become a software developer in Java (that’s the language the Uni uses; they also have one course in VB.net) I’m not convinced yet … Software Development java | |
Hi, I wanted to find out if there was a way to design a macro that takes information from a column in Excel to a text box on a webpage. I have over 600 records that I can input 15 at a time. I would like to run a macro … Software Development visual-basic | |
Is it possible to alter Excel Viewer print settings via VB.NET and, if so, what is the syntax I need to do this? I would like my application to be able to change the printing preferences of an Excel spreadsheet opened in Excel Viewer (through the application via `Process.Start()`). This … Software Development microsoft-office vb.net | |
Please people i was given a project in school to write an application that can serve as a reminder in Java ... is there any one that can help me out on this???? please i need help Software Development java | |
I have a ListView control on a tab page. The backcolor of the items of the ListView are changed according to certain criteria, but whether or not the backcolor changes appears to be pretty random. The tab page containing the ListView is not the default tab page on application startup. … | |
OK, so when I use open(<filename>, 'w') the program either writes to the specified file or creates a new one if it doesn't exist, right? Is there a way to create a folder path or something? Like to create D:\My Documents\Folder and create a file in that folder? How would … Software Development python | |
I've been working on Tkinter, and setting a message box. It worked fine, but I didn't really like the fact that the text displayed was in a small position in the window. Take a look at this code and you'll know what I mean. def About(self): text = Message(self, text=''' … | |
Hello everyone, I'm new to C and was hoping ya'll could review my code. It is a simple workout program that prints a list of exercises into a .txt file. The major bug is in main.c line 18 and the generateProgram function in boxing_functions.c line 57. I'm still learning pointers … Software Development c | |
Hello everyone, im currently stuck because i'm not sure how to start on this part of my program. What i'll need help is controlling another application, my program is suppose to run another application, and be able to hide it, show it, verify that is running, it also needs to … Software Development vb.net | |
Hello, I was curious to how I would go about modifying an existing text file (to all upper case) by the use of mapped memory. I think I have done the mapping correct, however I am stuck on how to modify the file. Help would be much appreciated, thanks! #include … Software Development c | |
here i've created the first applet but it is not working, [CODE] import java.applet.Applet; import java.awt.*; public class FirstApplet extends Applet { public void paint(Graphics g) { g.drawString("Look at me, I'm a Java Applet!",10,50); } } [/CODE] i am getting no errors but when i am opening the html file … Software Development java java-swing open-source queue | |
#include <stdio.h> #include <stdlib.h> void main() { int a[400],n,i; printf("enter the no of elements: "); scanf("%d",&n); printf("enter the no: "); for(i=0;i<n;i++) { scanf("%d",&a[i]); } n=n+1; printf("enter the no: "); scanf("%d",a[n]); for(i=0;i<n;i++) { printf("%d",a[i]); } } i inserted elements after that i again inserted its not working.it shows 0 errors but … Software Development c | |
Dim mm As New SqlClient.SqlConnection("Data Source=.\SQLEXPRESS;AttachDbFilename=Integrated Security=True;Connect Timeout=30;User Instance=True") mm.Open() Dim mm1 As New SqlDataAdapter("select * from Area_type order by Area_name", mm) Dim ds As New DataSet mmm1.Fill(ds) With ComboBox1 .DataSource = ds.Tables(0) .DisplayMember = "Area_name" .ValueMember = "Area_name" .SelectedIndex = 0 End With mm.Close() 'hi i am student and … Software Development dataset open-source vb.net | |
I am learning C. After completing the common core part. I found this unique program which will allow the user to create his own format specifier which will use "%b" as format specifier to convert a integer directly into binary. I want to know more about this code. How it … Software Development c | |
I read that every class extends a object class by default. then it should cause multiple inheritence and must not be supported by Java. Please help me about this.... Software Development java | |
Hi all, i want to wite an method that can take a String and return boolean , it should return True if the first character of string is an uppercase . Can not using String Apis ? so how can i do ? thank ! Software Development java | |
Hello, I am trying to read values from an excel spreadsheet but just for specific cells at a time; say Cell A1 and B1. Then I want to save the respective values into a variable and use the variable through out the rest of the code. Then loop at the … Software Development microsoft-office python | |
![]() | Hello can someone give me a code for a program to check your ram and video ram? im pretty sure i have to use eventLog but how is thay going to work? Please help Software Development vb.net ![]() |
I am new to Assembly language and I'm getting a problem with the DIV operation. This should output the quotient and remainder if a 1-digit number is divided to a 1-digit number. What is wrong with my code? .MODEL SMALL .STACK 64 .DATA MSGA DB 13,10,"Input first number: ","$" MSGB … | |
I'm trying to write a string out to a file using File.AppendAllText, but I need to do it several times over the course of the program. I'm not using threading, and to give the file time to close, I'm letting my program sleep for a couple of seconds after it … Software Development vb.net | |
Hi, I'm creating a bookmarks system for my web browser. I'm learning how to use XML files with VB.Net, so my bookmarks are stored in an XML file. When I want to add a new bookmark, the code below works, but it only allows for one bookmark. How can I … Software Development asp.net vb.net visual-basic xml | |
hi, I am very naive to java. my project is in data mining where i have to implement k means clustering. the task is like this 1.reads a csv file and stores the attributes in a matrix format 2.clusters the matrix data depending on the euclidean distance measure. 3. the … Software Development java | |
Hello, Over the past couple of days, I've been struggling with getting collision detection to work for my game, a 2D sidescrolling platformer, made with SFML 2. This is example code using my most recent method of collision detection, although it has some flaws: // main.h #ifndef MAIN_H #define MAIN_H … | |
Hello! After I compile and run my program a windows error message shows up, it doesn't give some specific information it's just a standard windows xp error that asks me to send report. It gives me the error because in my code I have some basic math like this: int … Software Development c++ |
The End.