43,549 Solved Topics
Remove Filter ![]() | |
I have been stuck on this problem for a while, and I just can't figure it out. I'm sure there's an incredibly easy way to do it, but I'm at a loss... I need to take in this text file: Smith, M.N., Martin, G., Erdos, P.: paper name Erdos, P., … | |
I have a couple of questions about tab controls. 1. How do you access the specific tabs and edit their properties? For example if I want to change the name of tabPage1 to "blank". 2. How do you create a new tab page with code? So if I press button1 … Software Development | |
Hey there. ahh again its the LIstbox... I have a dropdown box. with "Name" "Surname" and "student number" When the "name" option is clicked i want the listbox to show all the Names in the name field of my DAtabase in my STudent table. and then when "surname" is clicked, … Software Development | |
This programming project/assignment had me write a program that lets the user play rock paper scissors with a computer until the user decides to quit, at which point their score(wins, loses, ties) will be displayed. The program I have so far works, aside from the "loop until the user decides … Software Development java | |
Hi there, I'm writing a function that fills the array with numbers from 1 - 52 with no repetitions basically my main problem is the second set of loops or the nested loops are, check to see if it is repeated and if it is it puts a new number, … Software Development c | |
![]() | [CODE]# A simple calculator x=input("What do you want to do? \n 1) Add \n 2) Subtract \n 3) Multiply \n 4) Divide \n") #This is a comment, note that single line comments start with a hash '#' """'x' is a variable. The 'input' statement accepts a number where as the … Software Development python |
Hi I am supposed to create a program that prints out a rectangle made of asterisks using Turtle Graphics in Java I have attached a document describing the project. My code works fine and prints fine but the problem is I cant seem to get the right sequence to print … Software Development java | |
Hello, I just wrote my first code with a while loop and I am getting strange results. The program is supposed to give a Fahrenheit (TF) to Celsius (TC) conversion for every 5 degrees Fahrenheit increases between 0 and 100. It increases the value of TF just fine but in … Software Development c++ programming-construct | |
hey i've a form given below.........with minimize,maximize,close button........ how can i remove all that and display the form with only the picture as shown below Software Development | |
How can I resize the height of a textbox? I know that you can do it by setting the multiline to true but whenever the text reaches the right edge it will make a new line. I just want to make a large textbox and behaves just like a normal … Software Development | |
Hi everyone! I feel like I've come a long way in my "quest" of creating a 16-bit toy os, since I last posted in these forums. Currently, the problem is that my CPU encounters an error, trying to switch to protected mode, and therefore shuts down the computer. This is … Software Development assembly | |
Hey guys, this is my first project since learning the python basics so please bear with me! I am trying to either portscan a host or ping sweep a class c network based on what the user specifies. The code is very basic I know but what's giving me issues … Software Development python | |
Hello, I would like to confirm if I have the correct way of calculating the mean and standard deviation of an image. I am not sure I have the right answers. Please can someone please confirm this. Also, I would like to ask if anyone knows how I can obtain … | |
anyone know how to do the backspace coding? example. textbox1.text with abc i click a button it remove "c" i click again it remove "b" i click again it remove "a" something like this? Software Development vb.net | |
can i make myself simple game in c#. if yes then please[COLOR="Red"]send me code[/COLOR] for [COLOR="[B]red"]Tic Tac[/B] Toe[/COLOR] Software Development | |
Hi I need to access a label's properties from a method that I will be running inside the label's click event handsler. I have no clue??? I suppose I need to add a bit more info. I have 25 labels, when you click on one label, this method will check … Software Development | |
Hi, I am trying to copy/paste a structure to the clipboard the copy appears to work but the paste errors with "COMException crossed a native/managed boundary ErrorCode = -2147467259". The error occurs on the highlighted code line below. Is it possible to put a structure on the clipboard? If so … Software Development vb.net | |
What is the fasted way to delete rows based on a condition in Column A using VBA? Anybody have an example? Thanks. Software Development microsoft-office visual-basic | |
Hello, I am knew here and not sure how to ask but I guess I will ask it here and if this is not where it goes feel free to tell me where to post it.....THANKS I am trying to write a recursive function Python program that will ask the … Software Development python | |
How do i get the threadid of a window. I know it explains a bit "(HANDLE Thread)" but still how? Regards, Prosammer Software Development c++ | |
please help me. anyone know a way to make words from numbers in Access or VB? > Example: 45 = forty five > Example: 167 = one hundred sixty seven > > I would like to have a program that reads the number and turns it into words. I have … Software Development visual-basic | |
how do i open a menu to exit the application when i right click on notifyicon in the systemtray? thanks. Software Development vb.net | |
I've seen macros like this: [icode]#define $Line #__LINE__[/icode] and I was wondering what the effect of the $ symbol has in a macro? Software Development c++ | |
Below is part of some code I have written. I am trying to see whether nodes in a network are connected, and thus finding 'failurepoints'. I have a vector containing node Ids which I loop through to check for connections using a hasPath method. This all works fine, but my … Software Development java | |
Hello - I've used a for loop to fill an array of JButtons with text. Each JButton contains a letter of the alphabet. I've been successful in doing this and adding each button to a panel I created. But my problem is that I've tried, unsuccessfully, to add ActionListener's to … Software Development java ![]() | |
so. . . i guess you could say i'm kinda new here but. . . this site really helps me alot this past few days and i decided to join... i was surfing all over the internet and i can't find what's the problem with my program. this always says … Software Development c++ | |
Hi am trying to create a random sentence generator for my Java Class the only issue is it builds successfully and rans fine but the output is not what is expected of the program. It should randomly generate 20 sentences. Here is my code [CODE]// Exercise 16.5 : Sentences.java // … Software Development java | |
I figured out how to use time in C since the last time I asked a question here. :cool: My new dilemma is that I was wondering if its possible to save user input in a C program so that when the program is closed and executed again it will … Software Development c | |
I am to write a program that converts either binary, hex or octal to decimal. We are to use methods for the first time (Not a problem). I have written almost all of the code but the conversion. We can't use int.toDecimal or any shortcut. All must be long coded … Software Development java | |
Hi guys am creating a Binary Search Tree Program so far it works fine and everything but I am trying to arrange the random numbers generated after the in order transversal in ascending order here is my code [CODE] // C // This Binary Search Program inputs 25 Random workers … Software Development | |
Hi All ~ So the program actually compiles without using arrays or global variables, outputs the correct user input, however average score and lowest score values that compute are wrong. I have no idea where the heck I'm messing up but I am hoping you can help me. The findLowest … Software Development c++ | |
i have this code and it kinda works but not properly. i need it to look at the coloum in a datagrid and make the back colour red if over 1.6(in sql this field is saved as Varchar(10)) but at the min, i have a value of 1.5 and it … | |
Hi! I am kind of new at pygame and I can't use functions. I define the "screen" variable outside of all functions(the "screen" variable is the "window"), and I can't use it in functions. I know it has to be global, but that won't work. Anyway the best i can … Software Development python | |
Hello, I have a class (Class.vb) that has a variable dimmed (newOption) as a String. I've created a Form with 3 radio button options and OK/Cancel buttons. The form code has Subs for each option as follows: Friend Class dialogArraySelection Public Event notifycomplete() Public bgaSelection As String Public Sub radFullArray_CheckedChanged(ByVal … Software Development vb.net | |
I have hard-coded this array of ints [CODE]int[] numbersToSort = {100, 23, -1, 3, 99, 0};[/CODE] I want to use Console.Readline() to take input from the user, but it only takes string input. I can't use Convert.ToInt32() because it doesn't take array for parameter. How can i convert array of … Software Development | |
Hi, I just installed Dev-Cpp for a IT class and started up with a basic program to see if all was alright: [CODE]#include <stdio.h> int main() { printf("Ola Mundo"); system("PAUSE"); }[/CODE] Still, when i tried F9 (Compile & Run), appear this errors: [Linker error] undefined reference to `__dyn_tls_init_callback' [Linker error] … Software Development c | |
Dear all, I was trying out OptionParser() and didn't quite understand who to use it correctly. This is my sample script: [code=python]#!/bin/env python from time import strftime from calendar import month_abbr from optparse import OptionParser # Set the CL options parser = OptionParser() usage = "usage: %prog [options] arg1 arg2" … Software Development python | |
Hi! I need to be able to change the location of the database at runtime through a menu in my program. My question is how to best achieve this. If for example the ip to the server change, the user need to be able to update the database path; i.e. … | |
Hi, I'm trying to create an excel 2003 workbook from my vb.net project I referenced the code from this website [url]http://www.dotnetspider.com/resources/20382-To-create-Excel-file-vb-net.aspx[/url] However i'm getting error on this line "objSheets = objBook.Worksheets" Can any please tell me what's wrong? [CODE]Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click … Software Development microsoft-office vb.net | |
could you please tell me whats happening at line number 8 because, the output is 3,2,30. How can the value be incremented twice with just one increment. Thanks ! [code=c]#include<stdio.h> #include<conio.h> int main() { int b[5]={10,1,30,40,50}; int j,i,k=1,m; i=++b[1]; j=b[1]++; m=b[i++]; printf("%d %d %d",i,j,m); getch(); } [/code] Software Development c | |
hi i'm writing a c# script to be used in ssis.... i'm trying to pull an image from a website... i'm new to c# and i'm not sure whether the data types i'm using are right... i'm posting my code here... [CODE] using System; using System.Data; using Microsoft.SqlServer.Dts.Runtime; using System.Windows.Forms; … | |
please I need a sql command similar to decode in oracle becuase am getting an error when i verified as an sql command. below is my code which, please help by correting the problem [CODE=SQL]SELECT dbo.Trans_Head.Doc_Date, dbo.Trans_Head.Document_No, dbo.Trans_Head.Account_Type, dbo.NewAccount.Surname + '' + dbo.NewAccount.First_Name AS Account_Holder, dbo.Trans_Details.Account_Name,SUM(NVL(DECODE(dbo.Trans_Details.Trans_type, 'DR', dbo.Trans_Details.Amount), 0)) Payemnt, … | |
I am working on an application where I am presented a string that has some information, its always in the same order, but not always the same length with no special separators, here is an example "May 30 10:08 am ARRIVAL AT UNIT WILMINGTON DE 19850" I need to be … Software Development | |
I've constructed an inventory program that relies on a database for information. Previously, I've used Access 2007, because it is easy and n00b friendly. Unfortunately, I'm not so sure Access can handle the requirements (Multiple simultaneous users over a LAN connection). So I switched to SQL Server 2005 Express. And … | |
Hi, Could anyone tell me the best way to implement a propertygrid? currently I'm doing it like this but I'm having truble setting the value of the private variable with the values returned but a single SqlDataReader: [CODE] [DefaultPropertyAttribute("ObjectTypeID")] public class ObjectType { private int _objTypeID; private int _stateType; private … Software Development c# | |
in vb6 we can declaration arecord like this [COLOR="Green"]Type x a As Integer b As String End Type[/COLOR] and deal to this record by dim s as x s.a=1 s.b="hi" but i cant do that in vb.net any one can help me please Software Development vb.net | |
Hey Guys, Currently, I am doing a project. I don't know how to pass a value from one windows form to another windows form using c#.net. Suppose, I have two forms parent form and child form. Parent form consists of a combo box & button and I want to pass … Software Development | |
Hi All, I have an xml file like [CODE]<?xml version="1.0" encoding="UTF-8" ?> <?xml-stylesheet type="text/xsl" href="InProcess1.xsl"?> <Rowsets DateCreated="2011-02-14T12:24:00" EndDate="2011-02-14T12:24:00" StartDate="2011-02-14T11:24:00" Version="12.0.2 Build(88)"> <Rowset> <Columns> <Column Description="BatchNumber" MaxRange="1" MinRange="0" Name="BatchNumber" SQLDataType="12" SourceColumn="BatchNumber" /> <Column Description="VersionCode" MaxRange="1" MinRange="0" Name="VersionCode" SQLDataType="3" SourceColumn="VersionCode" /> <Column Description="MaterialType" MaxRange="1" MinRange="0" Name="MaterialType" SQLDataType="12" SourceColumn="MaterialType" /> <Column Description="LotNumber" MaxRange="1" … | |
Hi all Does anyone know if it is possible to open a firefox webbrowser in a form. Or does it take you default web browser as the webbrowser to open in form. Eg - My Default Browser is Firefox - so does that mean the webbrowser control would be a … Software Development vb.net web-browser | |
Hello, I'm using PythonWin and I have a problem. i don't know how to run script from Python shell Pythonwin Interactive Window). For example I wrote this code (from tutorial): [code] import sys print 'Begining... now...' for x in sys.argv: print x [/code] and I save it as Script.py in … Software Development python |
The End.