132,726 Archived Topics
Remove Filter ![]() | |
Hi, I was to change the following code so it uses a LISTBOX1 instead of imagetxt.text which is a textbox. Each attribute needs to go into a new line. if thats possible? Thanks. Dim PageElements As HtmlElementCollection = WebBrowser1.Document.GetElementsByTagName("img") For Each CurElement As HtmlElement In PageElements imagestxt.Text = imagestxt.Text & … Software Development vb.net | |
Greetings guys i'm stuck with this problem last night and until but i can't find any solution. Every time i add a tabpage from my tabcontrol in runtime it's not in right order i have 1 tabpage in my tabcontrol and when i add another page it goes perfect but … Software Development vb.net | |
create a console application that compute the area of triangle, and ask the user if he want to repeat the program. but i haved an 8 error saying cannot find symbol in line 19,23,26,27. import java.util.Scanner; public class Area3 { public static void main(String args[]) { Scanner input = new … Software Development java | |
Hi, I'm having problems trying to figure out how to divide the value in a text box. One textbox is named Purchase Price I want to take that number and get it divided by 5. That answer will be the down payment. I declared a const for downpayment for 5. … Software Development vb.net | |
Hy all, I have the following problem with an update in my sdf database.I want to update a table data using a sqlceresultset.This is the code that I'm using but nothing happens. connection.Open(); string sql="SELECT * FROM Table1"; SqlCeCommand cmd = new SqlCeCommand(sql,connection); cmd.CommandType = CommandType.Text; SqlCeResultSet rs= cmd.ExecuteResultSet(ResultSetOptions.Updatable|ResultSetOptions.Scrollable); IEnumerator … Software Development sql | |
1. Search Benchmarks Create a New Project called YourLastnameSearch. int array[20] = {78, 45, 33, 1, 6, 41, 99, 54, 73, 28, 101, 60, 21, 82, 11, 15, 654, 36, 52, 70}; Write a program that has an array of 20 integers. (You must use the above array.) It should … | |
(I am being honest, it is an assignment that I have attempted) I have a question/assignment that requires me to do a for loop that counts to a specific number (i am using 25) and skips every number that is (for example) divisible by 3. I have tried this: int … Software Development | |
Hey guys. I need some help. I'm making a Text to Speech program. I've made a couple versions of them and they all work pretty good. But the new version I'm making has an icon that displays in the tray. I need to know how to call my Rich Text … Software Development vb.net | |
Hi all, Looking to extract all HTML tags from a dump of HTML data and put them all in a listbox. I currently have the following code. It displays to me things like HTML HEAD TITLE BODY. But i want things like the IMG and ALT tags. ' Obtain the … Software Development html-css vb.net visual-basic | |
I can't figure out how to make a portion of the text bold in the below line(and others). This text is output into a popup dialog. Prefer the first portion "trimmed/squeezed" to be bold. I even tried inserting html code lol. Tried setBold and everthing else I've found on the … Software Development java | |
Good day people! I have a problem with my C# window application. I can't insert new record to database. I have sought for many tutorial in ADO.net and Entity Framework. I have been tackling it in Entity Framework because that is my preference. My piece of Entity Framework code would … Software Development c# sql visual-studio | |
I'm trying to create a form with multiple labels, textboxes and buttons within a panel. The user will fill in their data and click a button that will create a new identical panel with the same labels, textboxes and buttons. I read through the following thread in an effort to … Software Development vb.net visual-basic visual-studio | |
Hi to all, I need to install my own application to an another server,I change my coding to client server name,USerid,PAssword,Etc..But if i run : it will shows an error "An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may … Software Development client-server vb.net | |
Hello Group! I am writing my first complex VB2010 program that is a order entry and inventory management program. I know there are lots of these out there. However I'm attempting to write this for a specific type of business which creates its own set of challenges. However my question … | |
i am tyring to create new project nemmed as car parking system please help to get the password and check the name in database and display the already gathered displays ........please help me ...........<snip> Software Development microsoft-access visual-basic | |
Hi I'm working on the implementation of a boolean method to check if an expression has balanced parentheses using recursion. I cant figure out how to check if two elements of a given expression match i.e ( ). I was able to finish it without a problem using stacks, but … Software Development java | |
After appending an item to a QList which is pointed to by a QMutableListIterator, I find out the next value of the iterator points outside the list. Or can't i point the iterator to any where in the list except the beginning and end? Please i need help. | |
Hello everyone, I have written a code for binary search for my class. My professor asked us to create it using bool, and the header function "bool binarySearch(int a[], int start, int end, int number)". I am having some issues with it. it all seems fine until i get to … Software Development c++ | |
Hi, I hav two user control's in my windows form application. In the first user control i have one "textbox" and one "save" button. I have another "Textbox" in another user control. when i click "save" button then what ever the value in "textbox" in user control one has to … Software Development | |
Hi All, While executing below code without using assigment operator it works fine , eventhough i have been used pointer values, so any way it must crash as The memory that s2 used to point to was never deleted; it is lost forever as both a and b now point … Software Development c++ | |
i insert the different id , but the program out with pointer value anyone know why ??? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #include<iostream> #include<string> #define MAX 6 #define size 10 using namespace std; struct student { string name; int id; string prog; double cgpa; }; class stinfo { private: student data[size]; int last; public: … Software Development c++ | |
Hello, I have made an Employee Time clock application. I have been working on connecting my application to a MySQL database, I have a textbox wich is used to add an employee name to my database (this is working perfectly.), but I also a combobox where I want the list … | |
Hello, I am trying to display text(JLabel) above a 3 x3 tic tac toe grid. The JLabel is not displayed. Only the grid shows up. I would be grateful for any help. Thank you! import java.awt.*; import javax.swing.*; import java.applet.Applet; public class Game extends JApplet { LayoutManager layout; private JPanel … Software Development java java-swing | |
hi, i have sent you already text for objective c tutorial, but unfortunately i didn't get any reply from you. if you send me objective C tutorial i would grateful to you. Thanks Antor Software Development objective-c | |
Hey all, I am working on learning python, I have a question about lists. When I call Variable x to equal numbers from a text file, I am getting the file returned in multiple lists. with open('numbers.txt') as f: for item in f: n = item.split() print (n) I end … Software Development python | |
I am trying to retrieve all the names of the mp3 files from my hard drive, heres the full code, what i am facing is "Access to the path 'D:\System Volume Information' is denied." error, but i have changed the manifest file as below [ICODE]<?xml version="1.0" encoding="utf-8"?> <asmv1:assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1" … Software Development assembly hard-drive microsoft-access vb.net | |
Hi, I'm doing a software analysis assignemnt which requires me to deal with visual basic. I've never used the language before. I have a loop which I would like to calucate the time taken to complete the loop. Any heads up guys? I want something very simple. Software Development vb.net visual-basic | |
Sorry for my bad english, i have translated this task for fast, but i really neeed help. > Your task - to make automatic sfetofora (3d model). > > Traffic light works in three directions: to the two directions of movement of vehicles (in the center and from the center) … Software Development python | |
hi, I am using an access database and i have a form with a text box for entering the email address. I keep on getting errors each time i save to the database, below is the code i use Try sql = "INSERT INTO customers (fname,lname,mobileNo,email,countryID,IDTypeID,identification,roomNo,dateIn,daysIn,dateOut,noOfAdults,noOfChildren,adultTotal,childrenTotal,Total)" & _ "VALUES(" & … Software Development email vb.net visual-studio | |
Hi. The function msgget from sys/msg.h is not being recognized by Netbeans 7.2.1. Have I missed anything? OS: OpenSUSE 12.2 "Mantis" #include <stdio.h> #include <sys/types.h> #include <sys/ipc.h> #include <sys/msg.h> extern void exit(); extern void perror(); int main(void) { key_t key; int msgflg, msqid; fprintf(stdout, "All numeric input is expected to … | |
Hi guys, I'm hoping you can help here with a problem I am having with regards to filling a Dataset. It was working fine but have had to amend the code to read a different data set and structure. Basics are 2 tables.. one customers, 1 orders. Joined on there … Software Development data-structure dataset microsoft-access sql | |
Hi, As per below code snippet it is clear that in below class a if we don't introduce assignment operator despite of having pointer values it works fine as memory allocation is done explicitly by declaring s2 object on heap . can anybody suggest, if same canbe achieved without declaring … Software Development c++ | |
Hello, I have tried making a merge sort method, but I am getting an `Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1 .` How do I fix this error, I have tried but I can not find the error: public class MergeSort{ public static int[] merge_sort(int[] b){ if(b.length <= 1){ return b; … Software Development java | |
I am using GUI in netbeans to create a combo box. I want to import all data of a column from database dynamically not manually to a combo box. | |
Good day to everyone. I am new to Visual basic and I am having a hard time at school because they dont teach all the codes in visual basic 6.0 and they want us to have self study and all. What a bummer. For our midterm exams, our professor wanted … Software Development visual-basic | |
Hello All, I am very new to C programming but i was working on cryptography for ipsec and am trying to write a code for implementing a simple code for a stream cipher which will take a 20 charecter long string and a 8 bit seed file and encrypt the … Software Development c encryption file-stream | |
hi i have create database with tables using sql server 2008, having table named 'Users' i have create this stored procedure : USE [Licenses_DB] GO /****** Object: StoredProcedure [dbo].[InsertUser] Script Date: 02/17/2013 23:25:06 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE PROCEDURE [dbo].[InsertUser] @ID int , @userName NVARCHAR(50), … Software Development c# visual-studio | |
I'm making a paddle and ball game, a bit like pong but instead of another paddle im using the top of the frame, plan to make it into a football sort of game eventually with a bit of work, I have been able to add the ball to the frame … Software Development java java-swing | |
Can anyone help me please i get this error on this code dateEdit1.DateTime == frmMaterialPricing.supplydate frmmaterialpricing.supplydate this is the declaration on supplydate = (DateTime)txtSupply.text; When i try to check if datedit1.datetime is equals to supplydate i'm getting error. Software Development | |
Hi Experts, good day! I have hard time coding the click event when I click cmdTime on the second time a message box will say, "Your first time in for 2/16/13 at 9:00:33 am, Are you sure you want to record this time in, Yes Cancel?" The time 1:22:33 is … Software Development visual-basic | |
How to save two images into two separate files using same python script. The two output images are correlation matrix and a graph. I was using matplotlib imshow(matrix, interpolation='bilinear') colorbar() savefig('/home/sudipta/Downloads/phppython/'+ filename +'.png') x = range(-width, width) plt.plot(x, avg_vec) plt.savefig('/home/sudipta/'+ filename +'plot' +'.png') The figures overlap each other when I … Software Development python | |
how could i make the function to do the colours red, yellow and green for 5 sec delays and make the loop keep on going? [code] def trafficLights(): win = GraphWin() red = Circle(Point(100, 50), 20) red.setFill("black") red.draw(win) amber = Circle(Point(100, 100), 20) amber.setFill("black") amber.draw(win) green = Circle(Point(100, 150), 20) … Software Development python | |
Problem of sorting the ID in int main. anyone know how to fix the code ? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #include<iostream> #include<string> #define MAX 6 #define size 10 using namespace std; struct student { string name; int id; string prog; double cgpa; }; class stinfo { private: student data[size]; int last; public: stinfo(); … Software Development c++ | |
I made a mini compiler to help compile C code easier on linux machines with bash #!/bin/bash function project_menu { header echo "Edit project: $1" dir echo "1) New file" echo "2) Edit file" echo "3) Compile file" echo "4) Run Project" echo "5) Compile & Run Project" echo "6) … Software Development shell-scripting | |
i am making an inquiry kiosk for a certain company and it required to be on a network, with sql server as backend database. is there any way that i can connect to the database which is on the server and fetch data? Software Development vb.net visual-basic | |
Okay so I have all of the coding and logic down except for ONE little part. I can not figure out how to actually implement my functions into the main because I keep getting errors that have to do with pointers. Please help! The point of the program is to … Software Development c++ | |
def is_sorted(t): if t == sorted(t): return True else: return False print is_sorted([1,2,2]) # True print is_sorted(['b','a']) # False print is_sorted([3, 1, 5, 2, 4]) # False print is_sorted(['d', 'a', 'c', 'b']) # False print is_sorted(['a', 'b', 'b', 'd', 'e', 'e', 'f', 'g']) # True Software Development python | |
I know the way to read line by line: FILENAME=$1 cat $1 | while read LINE do echo "$LINE" done but what if I have something like "Type \t Value" in each line that I need to separate them in LINE. An example will be something like Integer 2 String … Software Development shell-scripting | |
Going back to the grocery line queue. At the end of the program, it will output how many total customers I serviced, and it is supposed to output my maximum line length during the simulation. I think its obvious that I will use an "if" statement, but how do you … | |
Hello everyone, I am working on a program that takes an input from a user and then tests whether it is a binary number or not. If it does not contain only 0's and 1's it prints out not a valid binary number. The part I am confused about is … Software Development java |
The End.