132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for archangel1177

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
Member Avatar for archangel1177
0
206
Member Avatar for MonsieurPointer

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
Member Avatar for MonsieurPointer
0
195
Member Avatar for JohnKelly

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 …

Software Development queue vb.net
Member Avatar for Begginnerdev
0
139
Member Avatar for nchy13

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 …

Software Development c++ ios
Member Avatar for nchy13
0
825
Member Avatar for Dennis_1

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
Member Avatar for murali2489
0
135
Member Avatar for lena1990

hi all i want to ask you how to connect java to remote ms access in another computer thanks in advance

Software Development java
Member Avatar for lena1990
0
236
Member Avatar for babyani

● 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
Member Avatar for JamesCherrill
0
212
Member Avatar for abhay_pundir

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
Member Avatar for ss125
0
350
Member Avatar for UKnod

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
Member Avatar for UKnod
0
746
Member Avatar for حسنين_1

how nested esle if statement execute and which statement execute first . give example

Software Development c
Member Avatar for crescendo
0
127
Member Avatar for GeekPlease

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
Member Avatar for tinstaafl
0
467
Member Avatar for shers

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
Member Avatar for markwelbar
0
1K
Member Avatar for murali2489

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
Member Avatar for murali2489
0
289
Member Avatar for salem_1

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
Member Avatar for 2teez
0
273
Member Avatar for jony_munsi

// 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
Member Avatar for Ancient Dragon
0
158
Member Avatar for Mr.M

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
Member Avatar for JamesCherrill
0
255
Member Avatar for GeekPlease

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 …

Software Development asp.net c# vb.net
Member Avatar for JorgeM
0
587
Member Avatar for major_lost

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
Member Avatar for Reverend Jim
0
328
Member Avatar for Eruditio

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 …

Member Avatar for Eruditio
0
790
Member Avatar for Learner010

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
Member Avatar for Learner010
0
3K
Member Avatar for robgeek

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
Member Avatar for sirlink99
0
8K
Member Avatar for Eruditio

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
Member Avatar for Eruditio
0
378
Member Avatar for murali2489

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 …

Software Development java mariadb
Member Avatar for murali2489
0
524
Member Avatar for psb1967

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
Member Avatar for psb1967
0
258
Member Avatar for avinash.jay.7

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++
Member Avatar for David W
0
2K
Member Avatar for pars99

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 …

Member Avatar for ddanbe
0
201
Member Avatar for hennel

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
Member Avatar for hennel
0
207
Member Avatar for arpha16

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++
Member Avatar for rubberman
0
219
Member Avatar for nitin1

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++
Member Avatar for rubberman
0
146
Member Avatar for Frank_5

//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
Member Avatar for rubberman
0
2K
Member Avatar for Assembly Guy

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 …

Software Development c opengl
Member Avatar for Assembly Guy
0
394
Member Avatar for Mikey12345

Hi all, Need help, How can i read a dat file in c# and display data in datagridview. the data is in a comma format. Ie a,b,c,d etc....... many thanks,

Software Development
Member Avatar for dskamburapola
0
782
Member Avatar for kudakwashe.kadzungura

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
Member Avatar for kudakwashe.kadzungura
0
156
Member Avatar for chophouse

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 …

Software Development email python
Member Avatar for chophouse
0
177
Member Avatar for Ilikeporkpie

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
Member Avatar for tommuhumuza
0
1K
Member Avatar for sunilasem

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
Member Avatar for gusano79
0
132
Member Avatar for ogsirus

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
0
224
Member Avatar for entropic3105

This is probably a very commonly asked question but is it possible to make an app with python?

Software Development apple ios python
Member Avatar for svf_
0
183
Member Avatar for Papa_Don

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
Member Avatar for Reverend Jim
0
184
Member Avatar for mgold

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
Member Avatar for snippsat
0
178
Member Avatar for erinkay528

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
Member Avatar for JasonHippy
0
158
Member Avatar for tanha

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 …

Software Development html-css image java
Member Avatar for tanha
0
2K
Member Avatar for sumitrapaul123

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
Member Avatar for sumitrapaul123
0
105
Member Avatar for entropic3105

Does anyone know how it's possible to add up the values in a list?

Software Development python
Member Avatar for entropic3105
0
136
Member Avatar for alfdon1

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

Software Development listview vb.net
Member Avatar for tinstaafl
0
117
Member Avatar for Learner010

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
Member Avatar for shann_
0
223
Member Avatar for entropic3105

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
Member Avatar for entropic3105
0
338
Member Avatar for bansal123

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
Member Avatar for iamthwee
0
197
Member Avatar for nchy13

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++
Member Avatar for nchy13
0
840
Member Avatar for rudasi

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 …

Software Development c++ queue
Member Avatar for rudasi
0
520

The End.