132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Yorkiebar14

Hello, I have a program I have made in vb which works perfectly fine. It has a couple of variables I would like the user to define though such as the timer interval. To do this I would like to have one program where the user can download it, run …

Software Development vb.net visual-basic
Member Avatar for TnTinMN
0
200
Member Avatar for clusterworks

Hi everyone! I have trouble putting together a chart with the contents of a data table that is basically as sex, marital status, age, and DATE . Im working with a bar chart or column chart, but I can't make it work like I want. What im looking for is …

Software Development c# dataset sql
Member Avatar for AleMonteiro
0
290
Member Avatar for shubham bhat
Member Avatar for vegaseat
0
71
Member Avatar for peymankop

Hi! i'm a bit new in c++ so i'v got some question wish you to answer me...! first of all i want my program to show the specific group of line of my file so i use this code for it: using namespace std; int main() { ifstream myfile; myfile.open("test.txt"); …

Software Development c++
Member Avatar for Lucaci Andrew
0
129
Member Avatar for LD Company

Hello programmers! I want small help with code. I want something to happen when text in TextBox1 is A or B or C without writing same code 3 times. I don't know how to write it. I tried with it: If TextBox1.Text = "A" or "B" or "C" Then 'Event …

Software Development vb.net
Member Avatar for AleMonteiro
0
185
Member Avatar for LD Company

How can I get sum of total values from cells in DataGridView? I want it to look like this **Column1 Column2 Column3 Column4** String ---- String ---- String ---- 10 String ---- String ---- String ---- 7 String ---- String ---- String ---- 3 String ---- String ---- String ---- …

Software Development vb.net
Member Avatar for LD Company
0
5K
Member Avatar for dksinghcomnez

Which Company is taking Java Certification Exam these days ?

Software Development java
Member Avatar for peter_budo
0
189
Member Avatar for celina1234

I have a text file which looks like this : Flooding refers to all water that overflows a node, whether it ponds or not. -------------------------------------------------------------------------- Total Maximum Maximum Time of Max Flood Ponded Hours Rate Occurrence Volume Depth Node Flooded CMS days hr:min 10^6 ltr Meters -------------------------------------------------------------------------- 1064 0.15 0.000 …

Software Development c cms open-source
Member Avatar for deceptikon
0
123
Member Avatar for LinaClark

Hello, I am a newb all the way around and I hope that I explain this thoroughly in order to get the help I need. I have a mysql db inside of my python program that generates a hint. I need to have a random number (which will later be …

Software Development mysql python seo
Member Avatar for rrashkin
0
207
Member Avatar for Lethugs

How can I specify the Server of my database when I make my project executable I have this module I call everytime i modify my database Public Sub main() constr = "Data Source=.\SQLEXPRESS;AttachDbFilename=C:"database file".mdf;" & _ "Integrated Security=True;Connect Timeout=30;User Instance=True" Con = New SqlConnection(constr) Try Con.Open() 'MsgBox("Server Connection is Open …

Software Development open-source sql vb.net
Member Avatar for john.knapp
0
831
Member Avatar for zlloyd1

Hi all, I am trying to learn java here, and having some difficulties with a very simple program that I am working on in an attempt to get a feel for what the language can do. This is my code so far: import java.util.*; import java.awt.*; import java.awt.event.*; import javax.swing.*; …

Software Development java java-swing
Member Avatar for JamesCherrill
0
929
Member Avatar for durrat

hey i am new to gwt and i am doing an project on java and gwt and stuck in one part i want to create a reminder that is like user enters date and time and at that time a pop up should be displayed reminding user of his event.can …

Software Development java
Member Avatar for durrat
0
143
Member Avatar for kedxu

An **applet** I am creating **uses Timers for its animation**. Even though the Timer is set to repeat at a constant 30ms, **the applet's framerate on my computer** versus on my brother's laptop **is significantly better**. Is there a chance that **on slower computers**, the **Timer "ticks" slower**, so to …

Software Development java
Member Avatar for JamesCherrill
0
902
Member Avatar for hirenpatel53

Hi all I have Placed One Custome button on Grid Withe refference of the location of rows depending on certain condition everi thing working fine but whwn rows increase and we need to scroll grid at that time button stay fix with its location for fixing this error i write …

Software Development microsoft vb.net
Member Avatar for papu.shankar
0
284
Member Avatar for anukavi

Hi, Before posting this question, i had gone thru related answers in many sites but cudnt get a solution to the problem. I have followed the step needed for Socket timeout, but the timeout eventually pass for the first time but fails for second time. Platform : VC++ 2012 MFC …

Software Development c++
0
105
Member Avatar for myk45

Hello All, I was experimenting with creating a large number of threads and checking how fast it runs on my machine.(details provided later) This is the code i'm using: #include <iostream> #include <thread> #include <ctime> #define THREADED 1 static const int num_threads = 100; static int mult_array[100][1000000]; void multResult(int *arr) …

Software Development c++ ubuntu
Member Avatar for myk45
0
743
Member Avatar for vonnoy

im having problm with my date function. i want to record date in database only one but my code do not function. this checks attendance once in a day. date must not double plz help me. Sub search() 'search if id registered With ado .ConnectionString = connectdb .RecordSource = "Select …

Software Development visual-basic
Member Avatar for AndreRet
0
214
Member Avatar for patrick.ooi.96

can anybody help m in displaying an image file into GUI ?basic please bcoz i m newbie TQ

Software Development display image java
Member Avatar for Rajshri Patil
0
229
Member Avatar for Darshan5

Im creating a project in java using netbeans. I have to create lots of forms for every operation. So i created a menubar and add menu items in it. Instead of creating so many jframe forms i decided to create JPanel forms for evry operation. So in this way i …

Software Development java java-netbeans
Member Avatar for stultuske
0
129
Member Avatar for THEboss007

#include <asm/uaccess.h> #include <asm/system.h> #include <linux/types.h> #include <linux/kernel.h> #include <linux/string.h> #include <linux/mm.h> #include <linux/socket.h> #include <linux/in.h> #include <linux/inet.h> #include <linux/netdevice.h> #include <linux/fcdevice.h> #include <linux/skbuff.h> #include <linux/errno.h> #include <linux/timer.h> #include <linux/net.h> #include <linux/proc_fs.h> #include <linux/init.h> #include <net/arp.h>

Software Development c linux-kernel microsoft
Member Avatar for THEboss007
0
960
Member Avatar for bottlecaps

So essentially I'm completely lost with this problem our professor gave us. I was absent for the lecture, and he isn't very keen on uploading the lecture notes before our assignments are due. Anyway, the program to be written goes something like this. We need to write a non-graphical program …

Software Development python
Member Avatar for socialshouting
0
199
Member Avatar for pjh-10

having trouble finding this anywhere, on a 32bit computer, how many bytes does it take to store ; long int, unsigned char,float, double any help is much appreciated

Software Development c++
Member Avatar for vmanes
0
228
Member Avatar for sandeepyadav

Can i get java source code for making an er diagram of any database(which have entities, attributes and relationships)?

Software Development java
Member Avatar for Patil Raj
0
89
Member Avatar for newbie14

We are trying to send several emails via C language on a centos 6.2 platform. Below are the codes. I added and left char *filename = ""; the I get error as sh: TEST: No such file or directory sh: TEST: No such file or directory sh: TEST: No such …

Software Development c email
Member Avatar for newbie14
0
300
Member Avatar for runlevel3nut

I'm self-studying python, and more advanced python programmers have pointed out to me that I'm learning an obsolete instruction set and the use of obsolete tools thanks to being taught about an old version of python rather than the most current one. The website where I'm self-studying also offers chances …

Software Development java python user-interface
Member Avatar for runlevel3nut
0
290
Member Avatar for androidz

Hi Does anyone here can show me how to make an application that is like an odbc wizard that could register a sql server type connection? I have found one on the net through searching but it does not accept the UID and password of the sql server. I also …

Software Development sql vb.net
Member Avatar for john.knapp
0
707
Member Avatar for Elmo_loves_you

Hey People :) A little quesion for you all ... I have a stored procedure which retrieves an ID from a Customer table and the ID from the newly Inserted row of the Vehicle table and adds them to a new table. On my form I have a dropDown where …

Software Development
Member Avatar for umer asif
0
1,000
Member Avatar for knd15

I know this maybe easy but I need help with creating a fibonacci sequence array from a to b. This is my code so far: def FibL(a,b): list = [] if a == 0: return 0 elif a == 1: return 1 else: return FibL(a-1) + (a-2) for i in …

Software Development python
Member Avatar for vegaseat
0
243
Member Avatar for James19142

I used `memcpy` to copy the contents of one pointer to another pointer assigned to new memory. Later in the program I get runtime errors as if I were attempting to operate on a pointer pointing to nothing. While debugging, I saw that the original and the the copied pointer …

Software Development c++
Member Avatar for James19142
0
2K
Member Avatar for efe.ozyer

BYTE GetByte(char* sBuf, int& index) { int t_index = index; index++; return (BYTE)(*(sBuf+t_index)); } int GetShort(char* sBuf, int& index) { index += 2; return *(short*)(sBuf+index-2); } and i cannot convert this

Software Development c c# c++
Member Avatar for tinstaafl
0
477
Member Avatar for Shailajaprasad

Hi I need to use sumproduct in VBA, but not able to use it. can any one tell how to use it. Shailaja

Software Development visual-basic
Member Avatar for AndreRet
0
77
Member Avatar for arjun.walmiki.1

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO.Ports; using System.IO; using System.Runtime.InteropServices; namespace PortDataReceived { class Program { static void Main(string[] args) { SerialPort mySerialPort = new SerialPort("COM1"); if (mySerialPort.IsOpen == true) mySerialPort.Close(); mySerialPort.BaudRate = 2400; mySerialPort.Parity = Parity.None; mySerialPort.StopBits = StopBits.One; mySerialPort.DataBits = 8; mySerialPort.Handshake = Handshake.None; …

Software Development c c# c++
Member Avatar for efe.ozyer
0
471
Member Avatar for satsujin

Hi folks, I'm trying to use the subsample method in the PhotoImage class to resize an image I have in a list that links to a Label widget in Tkinter but python says there is no such method. I know I could use Image.resize before calling Photoimage but since I'd …

Software Development python tkinter
Member Avatar for satsujin
0
3K
Member Avatar for jakubee

Hi everyone, I'm doing a RMI chat application for my client-server distributing programming module. I have stuck nearly at the very end of it. What I doing is: running the server. running the the UI, connecting to the server. Loging as user1. sending the priv messagae to other user. Replaying …

Software Development client-server java user-interface
Member Avatar for JamesCherrill
0
251
Member Avatar for xxwikkixx

Hey everyone just to refresh my memory and practice some programming I decided to make the dice program here is my code: #include <iostream> #include <ctime> using namespace std; int main() { int input; int random; cout << " VIRTUAL DICE 1.0" << endl; cout << "Enter 1 to roll …

Software Development c++
Member Avatar for theguitarist
0
171
Member Avatar for RT00220489

Hi.. I am trying to create a simple desgin in windows applcation using C#.NET, where I have dived my page into 2 panels using split control. The first panel has images lined up vertically, one after another. I would want that when I point a mouse on any image, the …

Software Development c# image
Member Avatar for tinstaafl
0
717
Member Avatar for nblackburn

I have a function that renders roughly 100-200 images on a canvas, ever since moving my applications resources to an archive and reading them in from memory i am getting a white screen for a second or so whilst it renders the images. This wasnt happening when i was using …

Software Development
Member Avatar for tinstaafl
0
186
Member Avatar for andrewnewspotify

Basically I have a wrote a program which downloads a webpage's source but now I want to search the source for a particular link I know the link is written like this: <a href="/internet/A2/"> <b>Geographical Survey Work</b> </a> Is there anyway of using "Geographical Survey Work" as criteria to retrieve …

Software Development perl seo vb.net
Member Avatar for tinstaafl
0
216
Member Avatar for singularity~

My linq query won't insert my data. What am I doing wrong? class Query { musicEntities db = new musicEntities(); public bool findArtist(string artist) { bool status = db.Artists.Any(w => w.Name.Contains(artist)); return status; } public void insertArtist(string artist) { if (findArtist(artist) == false) { Artist art = new Artist { …

Software Development asp.net
Member Avatar for singularity~
0
255
Member Avatar for general2012

facing problem to copy string to a structure via function.can input the name but just cant copy it.can anyone help #include<stdio.h> #include<stdlib.h> char copy(char *);//declare prototpe; typedef struct{ char student_name[20]; int count; }student_data; student_data *p;// declare structure variable; student_data s;//declare structure variable; int main() { p=&s;//give p the address of …

Software Development c
Member Avatar for general2012
0
227
Member Avatar for gamnlxvi

#include <iostream> #include <stdlib.h> //For system() #include <conio.h> //For getche() #include <time.h> using namespace std; //You can modify these numbers but don't delete these constants or this starting code will not work const int MAX_HEIGHT = 20; //The height of the grid const int MAX_WIDTH = 40; //The width of …

Software Development c++ visual-studio
Member Avatar for deceptikon
0
549
Member Avatar for JBD2

Hi Everybody, Sorry If i'm a bit of a noob at this. I'm wondering how to make a VB Program run in the background...If anybody knows how or has some code that would be great. Thanks for the help! JBD2

Software Development vb.net
Member Avatar for Mr.M
0
4K
Member Avatar for karan.rks

hey... I'm coding a program for my school project and i have come across a very different problem!! I was using graphics.h in my program... everything is running great.. even graphics are doing well... but after some time... that is after some input... the size of the text shrinks... and …

Software Development c++ storage
Member Avatar for Ancient Dragon
0
371
Member Avatar for bluesky18

Hi everyone! Can please someone help and guide me on how to export image from vb6 to excel. I found some codes here but doesnt work well when i tried it. I will use an existing excel file then i will export the image probably from the picture box located …

Software Development image visual-basic
Member Avatar for bluesky18
0
228
Member Avatar for mtr1amit

- I want to read two attached files a1.txt and a2.txt simultaneously. - I want to get output as mentioned in result.txt file. - Through my perl code I am able to read a single file. - Please help me to modify my code to get the desired output.

Software Development perl
Member Avatar for 2teez
0
159
Member Avatar for tnimblett

Please tell me why I am getting a "bad operand type" I'm trying to to do a comparison on a range of value. Please help me fix. if (-13683360 <= rgb <= -13683381)

Software Development java
Member Avatar for tnimblett
0
108
Member Avatar for jkembo

Hello everyone, I need some help, I would like to merge two cells together within a row only (e.g) in a CSV file using python. So far, I have 4 columns in the file, but now I would like to merge two cells in one, but I don't have any …

Software Development file-system python
Member Avatar for jkembo
0
13K
Member Avatar for myfit

Hi everybody, I have write a program send and recieve a large file , now it can transfer a file size 1.5G but when I choose large file about 2G it fail and notify: http://i1055.photobucket.com/albums/s505/vn_photo/Untitled-27_zpscf61b7a1.jpg Here is Project: http://www.mediafire.com/?p9b2xj2970d7cqb Please read and help me, it code is short, no long, …

Software Development
Member Avatar for tinstaafl
0
203
Member Avatar for Drekh

Hello I have made a little program in C#. I am writting it in notepad and compiling via command prompt. But when i start that program there is console window and I dont know how to hide it. Here is the code: [CODE]using System.Diagnostics; class Program { static void Main() …

Software Development c c# c++
Member Avatar for arjun.walmiki.1
0
14K
Member Avatar for lucyin.withdiamonds.5

Okay so I have about 100 pictureboxes and I want them to change colour when you click them. I don't want to write the code for every picturebox individually because that would take ages. I've come up with this code but it doesn't work despite having no errors, why? Public …

Software Development vb.net
Member Avatar for TnTinMN
0
421

The End.