132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ogrishmania

So I must build an app that has to do with mail address management and more. Let's say the user has an excel file with 2 millions of rows (email addresses). I made it the oledb way and the first mistake I made was putting ~500k rows in a datagridview, …

Member Avatar for ogrishmania
0
438
Member Avatar for laurel.jackson.12

#pragma once namespace Hardware_Store { using namespace System; using namespace System::ComponentModel; using namespace System::Collections; using namespace System::Windows::Forms; using namespace System::Data; using namespace System::Drawing; /// <summary> /// Summary for Form1 /// </summary> public ref class Form1 : public System::Windows::Forms::Form { //array variables private: array<String^>^itemNoA; private: array<String^>^descriptionA; private: array<int^>^noStockA; private: array<double^>^priceA; public: …

Software Development c++ file-stream visual-studio
Member Avatar for gusano79
0
285
Member Avatar for slamshuffle

Hi all, I'm quite new to Python (and programming in general) and I'm a bit confused about how to implement inheritance in an assignment I'm doing at the moment. The basic gist is: we're supposed to make a program that can record stock items for a company. We're to make …

Software Development python
Member Avatar for james.lu.75491856
0
193
Member Avatar for UKnod

I am able to find and replace in word, however all I want to know is if the word was found, I have tried the following code: This works oDoc.Content.Find.Execute(FindText:=x, ReplaceWith:=y, Replace:=Word.WdReplace.wdReplaceAll) This never give the true statement oDoc.Content.Find.Text = x If oDoc.Content.Find.Found = True Then But why not?

Software Development vb.net
Member Avatar for UKnod
0
162
Member Avatar for Mohammad_7

I am running canopy 64 bit Version: 1.0.3.1262 on mac Mountain Lion. I have installed virtualenv using easy_install. But while I am trying to execute the command: virtualenv venv --distribute It shows the following error: Using base prefix '/Applications/Canopy.app/appdata/canopy-1.0.3.1262.macosx-x86_64/Canopy.app/Contents' New python executable in venv/bin/python dyld: Library not loaded: @rpath/Python Referenced …

Software Development python
Member Avatar for slate
0
296
Member Avatar for cocopium

I'm sorry. These question probably sound very stupid to you people. But to me they are extremely difficult. Imagine being completely ignorant with computers, and signing up for an intermediate level class (I did not take the beginner class)................ and NEEDING an A to make up for the 2 B's …

Software Development c mathematics objective-c
Member Avatar for Gonbe
0
290
Member Avatar for kvahanyan

Hello people, I want create and use a simple library but this is the first time, so I need help. 1. If I have cpp file with it's header, how do I create a shared library with g++. 2. After I created the .so library, how do I include it …

Software Development c++
Member Avatar for vijayan121
0
236
Member Avatar for nitin1

An algorithm runs a given input size n.If n is 4096,the run time is 512 ms .If n is 16384 the run time is 2048 ms .what is the complexity of the algorithm in big-o notaion ? a)o(n^1/2) b)o(n) c)o(nlogn) d)o(n^2) o() is big-oh! is it logical ? I have …

Software Development algorithm c
Member Avatar for Gonbe
0
196
Member Avatar for red23

I'm a beginner in phyton. i'm just starting to read things about phyton because we need it for our project. I really need basic and detailed instructions on how to use it and use it using notepad++. Could someone help me? or teach me? ill also do my part and …

Software Development python
Member Avatar for JasonHippy
0
3K
Member Avatar for cocopium

Need help with Caesar Cipher. Usually I am aboe to figure the things out with just a small pointer.... but this one escapes me. I need to create a Caesar Cipher. **It must have an array. ** **I must be very simple.**(don't want to use that code where A = …

Software Development c
Member Avatar for Unimportant
0
193
Member Avatar for mesbahuk

I have a Java code block like following: public TcpConnection(TcpSocket socket, long alive_time, ITcpConnectionListener listener) { init(socket,alive_time,listener); start(); } For the conversion in C#, When I try to replace the `start()` method with `System.Threading.ThreadStart()`, it gives an error. How can I start a thread in C#?

Software Development c# java
Member Avatar for ddanbe
0
282
Member Avatar for vinnitro

I am creating a game of Racing cars in java But the problem is that my car when moved in any direction makes flickering on the screen. As the project is a Core java project it can only be made in a Windows application form. I set the speed of …

Software Development java
Member Avatar for JamesCherrill
0
2K
Member Avatar for yeeitsneo

hi. i made a simple chat app on vb 2005 express edition. Its juts a simple client server chat. could anyone help me turn it into a multi client chat. where more than 1 user could connect to the server. it must include a publich chat room where everyone connected …

Software Development client-server vb.net
Member Avatar for yeeitsneo
0
257
Member Avatar for jaimin4829

I have created an application which compress & convert a file in .rar or .zip format.But it can't be open and give error that the file is damaged!!! string filetocompress = txtSourceFilePath.Text.Substring(txtSourceFilePath.Text.LastIndexOf("\\")+1); MessageBox.Show(filetocompress); FileStream sourcefile = File.Create(txtSourceFilePath.Text); FileStream destination = File.Create(txtTargetFilePath.Text + filetocompress + ".gz"); byte[] buffer = new byte[sourcefile.Length]; …

Software Development asp.net c# file-system
Member Avatar for shadyreal
0
2K
Member Avatar for waqas.zafar.125

Hi there! I have a question related to filing in c++. I have to read data from a text file and load it into 2-d dynamic array. Here is the problem statement: 5 3 3 8 1 4 2 5 7 2 4 6 8 0 9 3 1 2 …

Software Development c++ file-system
Member Avatar for Kanoisa
0
165
Member Avatar for epicSHOOTER236

so I need to be able to open a text file, and when a button is pressed it searches for a tag in the file such as <l1> and anything after that tag would be put into a label. how would I go about doing this?

Software Development python
Member Avatar for epicSHOOTER236
0
159
Member Avatar for gbhs

Hi I have a datagrid with 2 columns (Scores(Int) index 0 and Comment(varchar) index 1) Comment columnvalue depends on score columnvalue. This code works well in my cellvaluechanged event If e.ColumnIndex = 0 Then If Not IsDBNull(Me.dgvStudDisc.Rows(e.RowIndex).Cells(e.ColumnIndex).Value) Then If Me.dgvStudDisc.Rows(e.RowIndex).Cells(e.ColumnIndex).Value >= 0 And Me.dgvStudDisc.Rows(e.RowIndex).Cells(e.ColumnIndex).Value <= 5 Then Me.dgvStudDisc.Rows(e.RowIndex).Cells(1).Value = "Very …

Software Development vb.net
Member Avatar for gbhs
0
2K
Member Avatar for Casperjames

I have searched the google machine to the ends of they internets and back again and tried everything from clean builds to removing registry entries. This has vexed me for the past week. It all started out as a simple application project windows form style. New project deserves new visual …

Software Development perl vb.net windows-vista-7-8
Member Avatar for Casperjames
0
2K
Member Avatar for ogsirus

Hey Guys, I'm Learning a bit more about things you can do with OpenFileDialog. One of the things was to see if I could move a file to specfic destination depending on the filename. That works fine However come to a halt when trying to do the same thing with …

Software Development
Member Avatar for ogsirus
0
497
Member Avatar for Mr.M

Hi DW I created a program in NaviCoder For Java and now I want to export it so that it can be a exe file so that it can be executed on a computer on it own without the need of an IDE. Thanks

Software Development ide java
Member Avatar for JamesCherrill
0
164
Member Avatar for reincom

public class PolarCoordinates { public static void main(String[] args){ int r=10; double x=0,y=0,theta=30; x=r*Math.cos(theta); y=r*Math.sin(theta); System.out.println("The value of x is :" +x); System.out.println("The value of y is :" +y); } } help please? it gives me wrong answer. 10cos(30) should equal to 8.7, but it gives me 11.7 ans. 10sin(30) …

Software Development java
Member Avatar for reincom
0
273
Member Avatar for masakii

Anyone can tell me what is a module actually? how it differs from others files?

Software Development visual-basic
Member Avatar for rishif2
0
4K
Member Avatar for Learner010

i want to retrieve data from Access table but i don't know where i am going wrong.here i am going to show my work which return errors:- Dim con As New ADODB.Connection Dim rs As New ADODB.Recordset Public Sub procedure1() con.Provider = "Microsoft.jet.oledb.4.0" con.Open(My.Application.Info.DirectoryPath & "\Database1.mdb") End Sub Private Sub …

Software Development microsoft-access vb.net
Member Avatar for Reverend Jim
0
860
Member Avatar for bettybarnes

So I want to convert this C language program to Assembly: void main { int year; printf("Enter the year: "); scanf("%d",&year); if(year%400 ==0 || (year%100 != 0 && year%4 == 0)) { printf("Year %d is a leap year",year); } else { printf("Year %d is not a leap year",year); } } …

Software Development assembly
Member Avatar for poloblue
0
481
Member Avatar for virendra_sharma

Hi , I have a label control which is on web form (.aspx) and a button which is inside usercontrol , i want to change the label text on button click. OR on button click inside the user control change the text of label which is out side the user …

Software Development
Member Avatar for Unimportant
0
122
Member Avatar for arctushar

Hi I m a civil engineer. I have basic Idea in PHP and VB Now I want to make a civil engineering database software for PC windows. Which software will be good and easy for me. Thats mean Visual basic or any other softwaree. Please suggest me. Remember that I …

Software Development engineering visual-basic
Member Avatar for james.lu.75491856
0
106
Member Avatar for Labdabeta

Hello, I made an arbitrary precision integer library a few weeks ago. It works well, but is bounded by `256^(8*sizeof(size_t))` because it uses a simple dynamically allocated array to do its work. I want some way to have theoretically unbounded storage. I think that file io is probably best, but …

Software Development c++ motherboards-cpu-ram storage
Member Avatar for Labdabeta
0
213
Member Avatar for amrita111

I am new to C#.What is internal access modofier? I have googled it but getting some difficult terms like assembly etc. What is it in simple terms?

Software Development assembly
Member Avatar for Momerath
0
91
Member Avatar for Mr.M

Hi Dw I'm creating an atm appication and now my research pointed me to use the Java Point Of Service/Sale (JPOS) my application allow user to choose the amount from the options displayed on the screen and the user will use the number keypad to make his/her selection and the …

Software Development java
Member Avatar for Mr.M
0
600
Member Avatar for james.lu.75491856

code: #I meant memory card import pygame, sys,random from functools import partial def image(x=50,y=100,default=True,nondefault_color=(0,0,0)): if default: color = hiddencolor else: color = nondefault_color print color image = pygame.Surface((x,y)) image.fill(color) pygame.draw.lines(image, [0,0,0],False, [(0,0),(0,100),(50,100),(50,0),(0,0)], 1) rect = image.get_rect() return image def card(pos): x= pos[0]/50 #integer divison y= pos[1]/100 if (x,y) in flashcards: …

Software Development python
0
101
Member Avatar for murali2489

Hi all, I have created an abstract class Named Employee and one Sub-Class named FullTimeEmployee. In my abstract class "Employee", i have defined two constructors one without parameter and one with two parameter, both used to intializee first name and last name. My aim is to print payroll for employee …

Software Development apple java
Member Avatar for murali2489
0
206
Member Avatar for hassanalisalama

c prog that take int x and pass it to thread to return x+10 i tried to free()mem i allocate in prog using malloc // problem i get this error Aborted (core dumped) #include <pthread.h> #include <stdio.h> #include <stdlib.h> void *fun(void *TX); int main() { int x =50; void *exitstat; …

Software Development c
Member Avatar for deceptikon
0
764
Member Avatar for IsaacMessi10

How can I close a user generated button? Here's the code for the button that creates new user generated buttons: Public Sub Button12_Click(sender As Object, e As EventArgs) Handles Button12.Click TC = TC + 1 Dim TCP As New Integer TCP = TC * 100 Dim NT As New MyButton …

Software Development vb.net
Member Avatar for IsaacMessi10
0
162
Member Avatar for Suzie999

I'm running this code. SHELLEXECUTEINFO ExecuteInfo = { 0 }; ExecuteInfo.cbSize = sizeof(ExecuteInfo); ExecuteInfo.fMask = 0; ExecuteInfo.hwnd = nullptr; ExecuteInfo.lpVerb = L"open"; ExecuteInfo.lpFile = L"C:\\progra~1\\intern~1\\iexplore.exe"; ExecuteInfo.lpParameters = L"http://www.google.co.uk"; ExecuteInfo.lpDirectory = nullptr; ExecuteInfo.nShow = SW_SHOW; ExecuteInfo.hInstApp = nullptr; ShellExecuteEx(&ExecuteInfo); Sleep(5000); CloseWindow((HWND)ExecuteInfo.hwnd); exit(GetLastError()); It's not closing the window. And it's exiting with …

Software Development api c++
Member Avatar for Suzie999
0
1K
Member Avatar for a1a4a

Greetings I am working on a mail client in visual basic, till now i can only send emails using smtp, but i am having troubles finding how to receive them. Could you help me with a working simple code on how to read/receive emails using visual basic using .Net framework …

Software Development email vb.net visual-basic visual-studio
Member Avatar for srilekha.m
0
1K
Member Avatar for laurel.jackson.12

Problem 1: When I need to display my zipcode, I get zipcode and city. Problem 2 : When I enter zipcode I get zipcode not found. This my zipcode and city 60561 Darien 60544 Hinsdale 60137 Glen Ellyn 60135 Downers Grove #include <iostream> #include <string> #include <fstream> using namespace std; …

Software Development c++ ios
Member Avatar for tinstaafl
0
149
Member Avatar for problematic:)

hi! can someone help me with my problem, I'm using msaccess2003 and vb6. I've been trying to determine how can I save data using one form to two database. the scenario is like this, I have one form, the details of some information of the customer will be input in …

Software Development visual-basic
Member Avatar for Mark Alonzo16
0
184
Member Avatar for Jahliah

I want to set value for html input text through code behind but can't seem to work :( p.s. i'm new to c# and this is my first c# project. I appreciate any type of help or critic. Thanks! Error in banana.cs: "txt_URL" is not in context apple.html: <%@ Page …

Software Development apple html-css
0
114
Member Avatar for 2384443

plzz help me with this program #include<iostream.h> #include<conio.h> int sum(int s); int sum(int x); int sum(int j,int k); float sum(float p,int q); float sum(float y,float z); void main() { cout<<sum(0)<<"\n"; cout<<sum(3)<<"\n"; cout<<sum(6,7)<<"\n"; cout<<sum(5.5,8)<<"\n"; cout<<sum(4.9,3.5)<<"\n"; getch(); } int sum(int s) { return s; } int sum(int x) { return x; } …

Software Development c++
Member Avatar for richieking
0
142
Member Avatar for mrkm1188

How do you change the "Apply to" portion of the permissions on a folder from "This folder, subfolders, and files" to "Files only" and to "This folder and subfolders" ?

Software Development vb.net
0
134
Member Avatar for corliss

Hi All, I have created an application that allows a user to select a diectory, where we parse the photos, and upload to a database. The issue that I am having is that I have a button on the form found in the newJFrame.java class called upload that when pressed …

Software Development gui java oop
Member Avatar for corliss
0
380
Member Avatar for soche123

![729809d51c75da2de9381dc33f42887d](/attachments/large/4/729809d51c75da2de9381dc33f42887d.jpg "729809d51c75da2de9381dc33f42887d") okay guys this the program in which we have to add a record,modify it or delete it. it adds and shows it successfully but whenever we want to delete a record it doesn't. When we add to records and delete the second one ,the list looks like this,

Software Development c++
Member Avatar for tinstaafl
0
707
Member Avatar for nitin1

can you please tell me how rand () is implemented ? i know it is library implementaion dependent. but still can you tell me the way in which it is mostly implemented ? i have searched on google, but didn't get anything which make me clear about my question. i …

Software Development c
Member Avatar for deceptikon
0
134
Member Avatar for IsaacMessi10

Hi. I want to create a picturebox when a specific button is clicked. The code below displays nothing :( TC has an initial value of 0. It will count he number of times the picturebox has been created. Private Sub Button12_Click(sender As Object, e As EventArgs) Handles Button12.Click TC = …

Software Development vb.net
Member Avatar for Luc001
0
156
Member Avatar for pythonforlife

I am looking for someone who can teach me how to segment a video file into chunks. Will appreciate it greatly if anyone decides to help me!

Software Development python video
Member Avatar for Gribouillis
0
285
Member Avatar for somjit{}

doing this works : contentPane = new JPanel(); contentPane.setBorder(new EmptyBorder(5, 5, 5, 5)); contentPane.setLayout(new BorderLayout(0, 0)); textArea = new JTextArea(); scrollPane = new JScrollPane(textArea); contentPane.add(scrollPane,BorderLayout.CENTER); setContentPane(contentPane); however this doesnt : contentPane = new JPanel(); textArea = new JTextArea(); scrollPane = new JScrollPane(textArea); contentPane.add(scrollPane,BorderLayout.CENTER); contentPane.setBorder(new EmptyBorder(5, 5, 5, 5)); contentPane.setLayout(new BorderLayout(0, …

Software Development java
Member Avatar for somjit{}
0
356
Member Avatar for lakshmia

i would like to know the connection between socket and webservice,ws replace sockets?or can i embed cocket programing in ws?

Software Development java socket-programming
Member Avatar for jwenting
0
120
Member Avatar for jasfer

Hi guys! can anyone help me with my problem? I'm making my project regarding I.D. System and I need to connect this Bamboo digital pen and touch, to use it as the signature for the I.D. Thank you in advance! :)

Software Development c#
Member Avatar for ddanbe
0
185
Member Avatar for team_ferrari22

Hi All, Is there any way to read/extract data from sql server backup file without restoring it? Thanks.

Software Development c++ sql
Member Avatar for senadfok
0
193
Member Avatar for stealthless

How to make initials-counter program? Hello, I'm trying to make a program that asks for the user's initials (3 letters) and a block of text, and then reports how many times their initials showed up in the block of text. For example, if my intials are VKL, and I type …

Software Development python
Member Avatar for TrustyTony
0
252

The End.