132,726 Archived Topics
Remove Filter ![]() | |
So what I am trying to do is copy a row of information when an item in the 'k' column which will say 'recieved'. So what my code needs to do is copy the row of information on that row that says 'recieved' to sheet 2 and then remove it … Software Development visual-basic | |
![]() | Hello everyone, I have a 2D array as follows: `double cornerPoints[4][3];` which is used to determine the four corners of a 2D bounding box of a curve. However, since I do not know how many curves are to be processed, I would like to dynamically allocate memory, knowing that the … Software Development c++ visual-studio ![]() |
Dear all I have a private MSMQ on a server in workgroup mode (SBS 2011) On a client I can see the queue using System.Messaging.MessageQueue.GetPrivateQueuesByMachine(servername) and am able to read the name of the queue. I am able to write to the queue but am unable to retrieve anything from … | |
This is the code which put an extra line to the std::string array. I am here trying to print last k lines of file. Any help is appreciated. #include <iostream> #include <fstream> #include <string> using namespace std; //file.exceptions(ifstream::eofbit | ifstream::failbit | ifstream::badbit); void print_last(unsigned k, string file_name) { string *data=new … | |
I know this is gonna be an easy fix, but I can't see it! Why won't this work? import java.util.Scanner; public class Elevator { public boolean doorOpen=false; public int currentFloor = 1; public final int TOP_FLOOR = 5; public final int BOTTOM_FLOOR = 1; public static void main(String args[]) { … Software Development java | |
hi all i want to ask you how to connect java to remote ms access in another computer thanks in advance Software Development java | |
● Do questionnaire Upon completion, the responses are scored and the total is displayed. The points awarded for the responses are: 1 point for response A, 2 points for response B and 3 points for response C. You may assume that the names entered are unique. Software Development java | |
hi friends, i want to transfer the value of a 2-d array from one Form to another. anybody have idea how to do this. Software Development | |
I have writen a few DB programms in ADO.net now, and I hate it. It is riddle with confusion and problems, and because of the ridiculous idea of using all the data locally, it makes networking neigh on impossible and incredibly slow, so please please someone show me how to … Software Development vb.net | |
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace NCPS.Forms { public partial class MDIParent1 : Form { Form_Main mForm = new Form_Main(); public MDIParent1() { InitializeComponent(); } private void MDIParent1_Load(object sender, EventArgs e) { mForm.MdiParent = this; mForm.Show(); } private void S_SMGP_Click(object sender, … Software Development | |
Hi, I'm working in VB.Net. I have a textbox in which the user enters a number of strings seperated by comma. I store this value in a string array like this [CODE] Dim Src() As String Src = txtVals.Text.Split(",".ToCharArray)[/CODE] I want to search a dynamic string in this array. How … Software Development vb.net | |
Hi All, I am trying to write a code which checks whether the username and password stored in the database matches to the string created locally and displays it in console. The program connects to the database and gets the string from the table space correctly, but the problem is, … Software Development apple java java-swing | |
I have 2 huge txt files, the first column is common to both of them, the second file includes more records that the first one, I want to read the first column in the second file element by element and chech in the first column of the first file also … Software Development perl | |
// stringpattern.cpp : Defines the entry point for the console applic #include<stdio.h> #include<stdlib.h> #include<conio.h> void find_subset(char *set, char *subset,int n, int k, int j); int main() { //FILE *fd; int n,k=0,i; char set[100], subset[100],ch; ch='A'; printf("Enter length of the set:"); scanf("%d",&n); printf("Enter the set:"); for (i = 0; i <n; … Software Development c | |
Hi DW I've created a project on NaviCoder for java and when I tryied to export the project I had a problem then I redo my project using the Netbeans and that where I was then able to export or should I say build the jar file which is an … Software Development file-system ide java java-netbeans | |
Good day guys, I've been developing softwares in different languages. But, I don't fully understand when to use a specific language where I can fully utilize it's ability. For example (C#.NET vs VB.NET), - When to use C#.NET over VB.NET and vice versa? - What are the projects that can … | |
Hello all; I have a random data file that I created with code. The file contains strings that represent items I want to display in a combobox control. The strings contain multiple fields with headers that describe the data to follow. I have NO problem displaying any single field of … Software Development vb.net | |
I've written a script to alter images in a number of Excel workbooks. In order to properly access the image information, I need to iterate through all Sheet.Shapes on a particular worksheet. I'm having trouble with grouped worksheets. **How do I ungroup worksheets from VB.NET?** I've tried both activating and … Software Development microsoft-access microsoft-office vb.net | |
there are 10 labels and 1 button in the form and i want to set some properties using code(which will applicable to lable only) , and for this i used the code For Each lbl As Label In Form1.Controls lbl.Font = New Font("Arial", 12, FontStyle.Regular, GraphicsUnit.Point) lbl.Top = settop lbl.Left … Software Development vb.net | |
Hey everyone, I was attempting to get the lastmodified file from a folder, and to do so I used File.listFiles() method which is returning a null pointer exception even though the folder is not empty. I had this piece of code working about two days ago and I am not … Software Development file-system java | |
I've written a script to change all images in many hundreds of Excel documents to a .png format in order to reduce their file size (the largest were coming up on 25MB). **If the images in the Excel document are not in their original orientation** i.e., if they have been … Software Development vb.net | |
Hi All, I am new to use of database in Java. I am trying to write a simple java application which connects to my Database and sends some query and retrieves the output. I have downloaded MariaDB and then created a database named iff and created tablespaces which has some … | |
Hi My objective: Want to build a light-weight real time intraday charting application, instead of using heavy and advanced application such as Ninjatrader 7 (NT7). My question: **What language would you advise me to start learning, with which I would be able to start building my light-weight, real time intraday … Software Development finance | |
Im having difficulties in performing the frequency distribution of 6x6 matrix which was given..i solved it by the following way but it was wrong anyway because if i change any number in the matrix it will not calculate the number of times it occurs in the array.... need your kind … Software Development c++ | |
What is the Windows equivalent of Cocoa from Objective-C? I'm thinking C++, but is there anything that includes an easier way to create a UI? (If there is an IDE that features a UI builder for C++, please mention) ((Sorry if you don't think I should've posted this here. Since … Software Development ide microsoft microsoft-windows objective-c | |
I Have a excel sheet with dates that I want to use datetimepicker with (only date needed). I just want to click on datetimepicker, choose a date and it must show me the info in my data grid view. this is my button code. I have a txt box that … Software Development vb.net | |
these is my problem. the user enter the password and the computer output "congratulation!" if the user guess the assigned password otherwise "try again!" how could i run these program. feedback a.s.a.p. thanks. Software Development c++ | |
class A { public: protected: int i; }; class B : public A { friend void f(A*, B*); void g(A*); }; void f(A* pa, B* pb) { // pa->i = 1; pb->i = 2; // int A::* point_i = &A::i; int A::* point_i2 = &B::i; } void B::g(A* pa) { … Software Development c++ | |
//Author: Frank R. Mendez //Title: Object Oriented Queue //Description: This is program uses double linked list to store data in the queue its functions are enqueu,dequeue and display queue. //Hope it can help you in you future projects. Good vibes to all programmers! #include <iostream> using namespace std; struct Node … Software Development c c# c++ linked-list queue | |
For fun, I want to write my own image format. I'm going to have to draw pixels to a Window, but I haven't found any nice, simple, light librarys that can do this. I've thought about using OpenGL, but it's kind of messy and over-complicated to write code for and … | |
I'm trying to do a project at schooL but I need help on how to choose a simple working system for a certain company. Software Development visual-basic | |
Is the following possible using Python? 1. Given a directory with 500 emails in it. These are all bounced emails. 2. Have script open 1st email 3. Python extracts the failed email address (from body of email, not header or addressing) 4. Script appends found email address to separate file … | |
Hi I have been trying for about a week to connect VB6 to MySQL and have so far been unsuccessful. What I am trying to do is have a login system in VB6 which, when the login button is pressed, searches the "userlogin" table in MySQL. If a matching result … Software Development mysql visual-basic | |
Imports System.Data.OleDb Public Class LoginForm1 Private Sub OK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OK.Click Try Dim con As New OleDbConnection("Provider=Microsoft.jet.oledb.4.0;data source=C:\Users\Documents\VodStore\VodStore\bin\Debug\VodStock.mdb") Dim cmd As OleDbCommand = New OleDbCommand("SELECT * FROM Users WHERE userid = '" & UsernameTextBox.Text & "' AND password = '" & PasswordTextBox.Text & "' … Software Development microsoft-access open-source | |
Hi guys, I have 2 forms which do practical the same thing. They are supposed to show a preview of a file which has been selected from a treeview. However the first form works fine and the second one doesn't. When I look into it the second form produces a … Software Development file-system pdf | |
This is probably a very commonly asked question but is it possible to make an app with python? | |
Hi group! I hope all is well! As part of my connection string and database insert/update, I have an exception command in it to display an error message. Can this also be read or made into a true/false answer? I would like to have my program run very short command … Software Development vb.net | |
I'm a Java programmer for the most part. I'm very familiar with the Python syntax, but I've never used it for big projects. When I started a larger project in python, I found myself confused about where to start in the design process. I think the biggest issue I encountered … Software Development python | |
I am almost done with my assignment but am having problems with the spacing when I echo the file. Any help please? this is what I have: #include <iostream> #include <fstream> #include <string> #include <iomanip> using namespace std; int main() { //Declare variables to manipulate data char reply; string name; … Software Development c++ file-stream | |
Hi, I have a png image wihtout background and want this png to be my JFrame where the transparent section must be transparent; I have tried different ways I used the setOpaque(), setOpacity(), ImageIO but no clue. I want only my transparent png as JFrame. Any idea and solution will … | |
Hi, I have two buttons (button1 and button2) in a form which does two different things. button1 instantiates class A and does something and similarly button2 instantiates class B and does something. private void button1_Click(object sender, EventArgs e) { A a = new A(); a.DoSumthingWithA(); } private void button2_Click(object sender, … Software Development | |
Does anyone know how it's possible to add up the values in a list? Software Development python | |
Please i need a code to search my access database through vb.net 2010 . Also i want the record searched to be displayed on a datagrid or listview with. please help me i am new to programming | |
as the title , i want to create module for my application . i found that module is used for global declaration or function / procedure defination. but here i want to ask that how to create a module in vb.net which is applicable to all the window forms of … Software Development vb.net | |
Does anyone have a clue how to fix this and make the program work smoothly? #I've been trying to make a python module called math.py def add(no1, no2): num = no1 + no2 print num def subtract(no1, no2): num = no1 - no2 print num # That all works fine … Software Development python | |
i have a folder that has 1000 text files i want to read all of them character by character and sore them in different matrices . the data in a text file is like 101010101001000100000000001 101010010101000000000000101 101010010100101001010010100 000101001010010010100100101 i want to make a matrix from this data and similar 999 … Software Development java ![]() | |
I stumbled upon the fact that one can't bind a temporary variable to a reference unless it is a constant and found it to be indeed true in the given code. However, i am not able to find out the difference in my other code snippet where I didn't use … Software Development c++ | |
I have 2 processes (producer and consumer) sharing an int deque in shared memory, I have the producer process put 2 numbers in the deque and then it gets in a wait state losing its mutex lock. I then have the consumer process removing the numbers and printing them. It … |
The End.