132,726 Archived Topics
Remove Filter ![]() | |
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 | |
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 … | |
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++ | |
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 | |
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 | |
Which Company is taking Java Certification Exam these days ? Software Development java | |
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 | |
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 … | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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++ | |
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) … | |
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 | |
can anybody help m in displaying an image file into GUI ?basic please bcoz i m newbie TQ | |
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 | |
#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 | |
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 | |
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++ | |
Can i get java source code for making an er diagram of any database(which have entities, attributes and relationships)? Software Development java | |
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 … | |
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 | |
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 … | |
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 ![]() | |
![]() | 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 |
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++ | |
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 | |
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 | |
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; … | |
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 … | |
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 | |
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++ | |
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 … | |
![]() | 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 |
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 … | |
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 | |
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 | |
#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 | |
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 | |
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 … | |
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 | |
- 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 | |
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 | |
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 | |
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 | |
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() … | |
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 |
The End.