132,726 Archived Topics
Remove Filter ![]() | |
i was trying to connect two computers.. i used synchronous server and client with the help of some socket programming.. but whenever i try to connect to the server which is on a remote computer an exception is thrown whereas it works fine if both server and client are on … Software Development c# client-server dns socket-programming | |
PLease help!!!!! How the ... do i fill my dataset with data using sql server, datatable, and adapter... I've passed the select statement [ Select * from [TableName] and a ref of my datagrid to this procedure. Public Sub FillDataGrid(ByRef DataGrid As DataGrid, ByVal SelectCommand As String) Try Dim adSQLAdapter … | |
I can't seem to figure out how to make a program that asks for a Start input, End input, and an amount that the program counts by. My request might not be so clear so here's an example: Start at: 1 End at: 20 Count by: 3 1 4 7 … Software Development python | |
This code works fine and can be called numerous times without any problems. However, if the bitmap is resized (made bigger), I get an access violation. This is not the case if the bimap is made smaller. I can confirm that the BMPSize & BitmapBytes array size tally at all … | |
Here is my Main method - calling Display. I am getting an error message, I don't know what I am missing. Any suggestions? public class Student { private int studentID; private double studentGPA; public Student() { studentID=100; studentGPA=3.0; } public Student(int id, double gpa) { studentID=id; studentGPA=gpa; } public void … Software Development java | |
hi enjoy it and give feedback | |
Creating a Class Library -------------------------------------------------------------------------------- 1) Choose Fileď NewProject 2) Select ClassLibrary from the project templetes. 3) Suppose I rename it to ClassLibrary. 4) Add Code inside the block code. I write Public Class assembly Public Function add(ByVal x As Integer, ByVal y As Integer) Return x + y End … | |
![]() | Hey guys, I have made a small program called 'Py-mailer' which allows you to login with your Gmail credentials and send text-only messages to anyone. I uploaded it on SourceForge( [url]http://www.tinyurl.com/m4ans4[/url]). The next step I had to take was to make a GUI for it. So, I started with wxPython: … |
I want to read the registry of usb [COLOR="Red"]HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR[/COLOR] in this Name Type Data start REG_DWORD 0x00000003(3) when double click it gives value in Hex 3 How to read this value 3 or data 0x00000003(3) How to create this code in c language??? How to do it guys If any … Software Development c++ | |
Hi guys i'm new to programming and i'm supposed to do a sum then average in which the output requests for four numbers from user then takes those #'s add them up and get the average then do a number of values in the array greater than the average is... … Software Development java | |
Hi guys/Girls.. i have been trying this question for the past 3 weeks using java SE... i tried very hard but could get the output... do try to help me out... [B]Question[/B]: [I][COLOR="Red"]Write a program for a bag of strings, where the strings are stored in binary search tree. In … Software Development java | |
hi i am having a problem with this code.for every input i am getting the same answer 32.any help would be highly appreciated [CODE]/*program to find the factorial of a given number*/ #include<stdio.h> main() { int n,fact; int facto(int ); printf("\nenter the number for which you want to find the … Software Development c | |
Hi, I'm brand new to Python and am completely clueless in this assignment. This is the 3rd assignment, but the first without hints on how to import, etc.. The objective of this assignment was to decode a file we are supposed to use the python hw.py < code.txt command with. … Software Development encryption python | |
hi friends, I am an amateur C++ programmer... I am using turbo c++ V4.5.. after reading about the google code breaking thing on the internet, i became interested in simple substitution cipher.. the one using a keyword..I know the logic behind the program. yet I need your guidance about execution … Software Development c++ | |
if I am given an string which is 1111 (no less than length 4) or 255255255255(no more than length 12). I want to split up these numbers in every possible combination and create all possible valid IP addresses from them. For example, for a given string "1902426" The result should … Software Development | |
I had a problem that I had to create a menu that asks for user's input and depending on that input it will calculate area of circle, rectangle, or a triangle. I got that part worked out but the last part of the problem is "Do Not accept negative values … Software Development c++ | |
As u all know,at runtime we can move the form. I use the foll. code,so dat form doesn't move.I want to ask dat is there any easy way to do it. Mine code below working correctly,but lengthy- [code] Option Compare Text Option Strict On Option Explicit On Public Class Form1 … Software Development vb.net | |
Hello everyone... I'm having a problem with RichEdit and its default scrolling behaviour. When a new line is added to a RichEdit (via a Timer OnTimer event), it autoscrolls to the bottom, which is fine. The problem is, while it scrolls to bottom, it also resets the horizontal scrollbar to … Software Development pascal | |
Hi everyone! I think I'll be on here allot from now on, pretty useful forum, well done! Anyways, I'm doing a project for school and it's got me stuck. See I didn't understand the error message the compiler gave me at first, but then I read it on ...some website, … | |
Hi, I have added no.of images(pictureboxes) in a flowlayoutpanel using openfiledialog. Now i want to remove the particular control at runtime but i am able to get the particular control. How can i name the pictureboxes while adding them in flowlayoutcontrol and after adding them how can i get the … Software Development | |
[COLOR="Green"]I am trying to send email from VB.Net using code posted below in VB 2008 Express, but get one error "Syntax error" and it points to [COLOR="Red"][B]Imports System.Net.Mail[/B][/COLOR]. I also would like to include required by server authentication as well as to make confirmation message box disapear itself after two … Software Development vb.net | |
Hi everyone, this is my first post on this forum. I've been browsing these boards for awhile and thought it would be a good idea to register now, for i hope someone can help me out :) I've created a program which enables a user to input numbers from 1 … Software Development c | |
I had question about the array in an other post and figure for the most part, but I honestly stuck on what do at the moment with my project because I can get my test scores to show up correctly, so I must be doing something wrong. Can someone take … Software Development listview | |
Hi I'm using the Pascal language and I need help with the following problem. You need to find the most common word read in by a user of arbitrary length and then display the amount of times its found in the input. I placed all the words into a linked … Software Development data-structure linked-list pascal | |
[code] #include<iostream>; using namespace std; int main(){ char arr[8]={}; for(int count(0); count<=7; ++count){ arr[count]='*'; } cout<<arr; cin.get(); return 0; } [/code][code]I really do not understand how some garbage values get stored into the array; even after I have initialized it properly; and how it can display MORE values than what … Software Development c++ troubleshoot-hardware | |
I'm compiling an extremely large list of usernames, and I want to know which is a faster method of checking what is already in the list. If anyone can give some insight as to how Python deals with each that would be much appreciated! Software Development python | |
Please help me in this homework. /* mortgage -- calculates the amount of a monthly mortgage payment based on the * principal (i.e., the amount borrowed), the annual percentage rate (APR), and * the number of years to payoff the loan. Prints an amortization schedule (table). * * The program … | |
I am having some problems with writing a 2d array, then displaying it, and then showing the sum of all of the elements. A major part of this problem is that i nave to write three seperate functions to achieve this. it is supposed to do this: [QUOTE]For this exercise … Software Development c | |
hi friends, recently I came o know about internet bots.Can someone help me in creating a simple web BOT for tasks like automatically signing in into my gmail account,sending a particular email to all my frnds,then in orkut checking for any visitors and giving the list to me in a … Software Development c++ | |
I have created a very long code on my app for checking if a record exist then insert. Is it possible for a single SQLString to check if records exist then update or insert? Sorta like [CODE] IF NOT EXISTS (SELECT column1 FROM table WHERE column1 = [COLOR="Red"]'sample1'[/COLOR]) THEN (INSERT … | |
I am trying to display a gif file on pyqt.It shows but doesnt animate.It is static.How can make it animate? This is the code i used: [CODE]pic=QtGui.QPixmap("./IRREGULAR/"+ui.lineEdit.text()+".gif") ui.label_9.setPixmap(pic)[/CODE] Software Development python | |
Hi, I like to add DisplayMember and ValueMember to combobox when Loading forms. Then with combobox_SelectedIndexChanged event select the DisplayMember but assign ValueMember to a textbox field. I can add and assign the DisplayMember, but I cannot do it with ValueMember. in Designer.cs part at initiation; [code] this.cmbViziteType.Items.AddRange(new object[] { … Software Development | |
hi i am developing web services on MAC SYSTEM by using python-SOAP-ZSI tool. but i am getting this error when i am trying to install. so it is not working . so can u tell me how to overcome this error. "SyntaxError: from __future__ imports must occur at the beginning … Software Development python | |
I want to loop from 0 radians through 6.2 radians in increment of 0.1 radian something like this in C for(r=0.0; r<6.4;r=r+0.1) this is the best I can do in Python: for i in range(63): z = float(i)/10 print z Is there a better way? Software Development python | |
I want to thank the helpful posts. I'm now having a new problem. I have created 100 picture boxes at run time and I am giving each a dynamic name (pictureBox_1, pictureBox_2, etc). I want to be able to change the background image of the picture box of my choosing … Software Development | |
Hi Daniweb Community :), I'm working on an SDL/C++ project, using the VC++ IDE. There is too much code to put it on here, but I'll give you an outline: The program works, but there is one thing that doesn't. The resulting .exe file shuts down immediately when it is … | |
Hi Everyone, So i have been trying to figure this out for ages. Im just not able to to get the algorithm straight. Say I am given a string containing markup tags ex. <html> </html> in a string like this: <html> <head> <title> Example </title> </head> <body> quiet <CAPSLOCK> LOUD … | |
Hi everyone, I recently installed Slackware 13/x86_64 on one of my boxes and now I'm having troubles with Python code that uses threading and Tkinter. This problem never existed on other Linux distro's, it just appeared with Slackware. The box in question Acer Athlon x86_64 single core used to run … | |
Hi Dear Friends...!!! I am developing a Attendance System in C# using MS Access Database. I want to Count the totall P and A in the Attendance Column... now Dear Friends Please tell me any Query or logic to do the above work...!!! ***P for Present*** ***A for Absent *** Software Development c# | |
Hi all, I am doing a simple application which is to create a register form which I am not quite sure. To stored the data, I am using the MS Access. Hope that anyone could help me. Thanks Regards LiL_Is Software Development vb.net | |
So when I take an argument off the stack it seems that is in the form of a string, is there a way i can convert it to a integer so i can "cmp" it with another argument which i also wish to convert to an int? I am a … Software Development assembly | |
i found this problem in c/c++ when i wrote this code int a=5,b; b=++a +(+=a + a--); it gave the output of b as 21 and when i wrote int a; int b=++a + (++a + a--); it gave b as 18 why the answers are varying for the same … Software Development c++ | |
guys need help says when executed.The syntax of command is incorrect.. i dont where i went wrong..here is my code.. [code] .model small .stack 100h .data file db "TEST.TXT",0 ; File name new db "Rename.txt",0 ; New name dir db "D:",0 ;Current directory .code start: mov ax,seg dir mov ds,ax … Software Development assembly | |
I honestly don't fully know where to start with this program but this is what i have Write a MIPS program which read one line at a time from console. For each line that you read, print two lines on the console: echo print of the line and types of … Software Development assembly | |
ive been wondering why wont codes make a file [code] .model small .stack 100h .data buffer db 10,?, 10 dup(' ') .code start: mov ah,1 int 21h cmp al,"1" je input jne finish input: ; will input string i.e "qw.txt" mov ax,seg buffer mov ds,ax mov dx, offset buffer mov … Software Development assembly file-system | |
Instructions: Trailing blanks and tabs are defined as blanks and tabs that precede a '\n' character or an EOF to terminate a line, without any intervening characters of other kinds. You should copy a getline() function of the kind you see in the text to read in lines from stdin … Software Development c | |
I have an old game written in delphi and the game keeps crashing, the game is an mmorpg so there are constantly people online. To the problem, when we first start the game up, everyone can get on fine and play. The game stores variables into text files for each … | |
Hello guys. I am having a problem with the following code. When I try to run the program the instruction int 21 causes an access violation. Can someone tell me how to fix this problem? [CODE].386 .model flat .stack 100h .data message db 'Hello World', 13, 10, '$' .code _start: … Software Development assembly | |
Hi, I am trying to log a portion of the log file depending upon the "WorkOrderNumber" and "level". The shell script i've written is as follows:- [CODE]cat input.log | awk '/\[WorkOrderNumber/' | awk /120600012/ | awk /INFO/ | tee log.vw[/CODE] For a particular WorkOrderNumber, the record is very long (4253 … Software Development shell-scripting |
The End.