43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for It_support

Could anyone help with the code I have made. The problem is that it is reading in the conversion txt file but because there is a space between some of the data it will not display the result, it comes up with a message saying 'out of bounds of the …

Software Development file-system
Member Avatar for tinstaafl
0
343
Member Avatar for vilastadoori

The followign is my XML <?xml version="1.0"?> <catalog> <book id="bk101"> <author>Gambardella, Matthew</author> <title>XML Developer's Guide</title> <genre>Computer</genre> <price>44.95</price> <publish_date>2000-10-01</publish_date> <description>An in-depth look at creating applications with XML.</description> <add>yes</add> </book> <book id="bk102"> <author>Ralls, Kim</author> <title>Midnight Rain</title> <genre>Fantasy</genre> <price>5.95</price> <publish_date>2000-12-16</publish_date> <description>A former architect battles corporate zombies, an evil sorceress, and her own childhood …

Member Avatar for vilastadoori
0
2K
Member Avatar for lmalave

Hi all, 1. My **DataGridview** is populated and displays the data correctly. No Problem here. 2. I use the **Up/Down Key** to navigate in the *DataGridview* and the rows get highlighted when I pass over them. No problem here. ***This is what I would like to code if posible:*** 3. …

Software Development vb.net
Member Avatar for lmalave
0
1K
Member Avatar for hq1

Write a program that can be used by a small theater to sell tickets for performances. The theater’s auditorium has 15 rows of seats, with 30 seats in each row. The program should display a screen that shows which seats are available and which are taken. For example, the following …

Software Development c++
Member Avatar for happygeek
0
9K
Member Avatar for selfTaughtCPP

Hi there. I am new to cpp and self-taught. I tried playing with switch case and functions. But the output of this simple temp conversion program does not work as expected. I get wierd numbers in output. I even tried initializing the variables, still no use. I have indicated in …

Software Development c++
Member Avatar for tinstaafl
0
183
Member Avatar for Ehtesham Siddiq

Hi, My application is in VS2010,Silverlight and coded in C#.Net. My requirement is i want to upload Image in my Imagebox control.As there is no PictureBox control in Silverlight im using ImageBox. I have a Imagebox,below that a Browse button. When the User clicks on Browse button,Dialogbox should open and …

Software Development asp.net c# image
Member Avatar for Marwen_1
0
3K
Member Avatar for Karthik_4

Hi I have around 20 python files. Each time I run these files in the terminal this form one after another : python a.py python b.py python c.py python d.py python e.py python f.py python g.py . . . (I have provided general file names here) This process takes lot …

Software Development python
Member Avatar for Karthik_4
0
13K
Member Avatar for Papa_Don

Group, I can't seem to append multiple files into one text file. Unfortunately it's creating the first file but is not creating or appending the additional files into the first file. My code looks like this: getRestranName = System.IO.Directory.GetFiles(folderName) Dim counter As Integer = My.Computer.FileSystem.GetFiles(folderName).Count fileCount = Convert.ToInt32(counter) fileCount = …

Software Development file-system vb.net
Member Avatar for Papa_Don
0
1K
Member Avatar for rhys1619

HI i'm writing a quiz for school and i don't know how to add a restart to the program or a score. Here is my code. -with the restart i just want a yes,no thing # rhys translation quiz #intro and intrustions print ("Welcome to the translation quiz \nYou will …

Software Development
Member Avatar for Teleka2099
0
213
Member Avatar for jcAmats

Hi. Can somebody help me? I am trying to create a program that reads random line from a file and displays them. My problem is, it displays the same line every time I press ‘n’ (it suppose to display another line from a file). Can somebody tell me how to …

Software Development c++
Member Avatar for zia shaikh
0
1K
Member Avatar for Smith5646

As I dig deeper into the capabilities of Visual Studio, I have seen that you can have multiple projects in a single solution. I must be missing something because I can't come up with a reason to ever do this? My guess is that I don't understand the benefit. So, …

Software Development vb.net visual-studio
Member Avatar for Bryan Anthony
1
2K
Member Avatar for kberrianjr

I have a problem that I am really having a hard time with. I have a textbox in my form that I am trying to add into autocomplete so when I get back into that form I can just type the first letter and have it populate. I have a …

Software Development vb.net
Member Avatar for Minimalist
0
502
Member Avatar for Mickey_2

I'm developing a dirt-simple text editor for personal use, customized the way I like it. My biggest difficulty is with grasping how OOP works. Could you kindly review the following code and suggest improvements (or at least link further information)? Much appreciated. from tkinter import Tk, END, INSERT from tkinter.scrolledtext …

Software Development oop python tkinter
Member Avatar for John_103
0
304
Member Avatar for Mickey_2

This script is to be a 5x5 grid of buttons, one saying "Click Me" and the rest "Don't Click Me." A correct click scores a point, an incorrect click costs a point. The buttons get shuffled after each click. The player has 60 seconds to maximize his score. The script …

Software Development python tkinter
Member Avatar for Mickey_2
0
5K
Member Avatar for j.parkerrrr

Help please, im using python 3 and im trying to print the state with maximum and minimum population from a text file...This is what the text file contains. Alabama AL 4802982 Alaska AK 721523 Arizona AZ 6412700 Arkansas AR 2926229 California CA 37341989 Colorado CO 4939456 Connecticut CT 3581628 Delaware …

Software Development python
Member Avatar for slate
-2
363
Member Avatar for nadiam

Hi. I have these exercises to do, to write the output of some coding given. I can compile it in eclipse but doesn't mean i understand. can someone please explain this code to me. thank you. int[] arrayA = new int[3]; //this part i know, create array size 3 int[] …

Software Development java
Member Avatar for JamesCherrill
0
331
Member Avatar for kberrianjr

I have been searching all over for a way to open a text file that was created using vb.net on one form and open that same text file and place the contents into a list view. The text file will have a description, a part number, and a quantity, this …

Software Development listview vb.net
Member Avatar for tinstaafl
0
306
Member Avatar for mathgirlgrade6

Hi, So how exactly do we take the length of an int array? Lets say that there is an array called int nums []={2, 1, 2, 3, 4}; Is there a function that can be used to find it?

Software Development c++
Member Avatar for Donald_6
0
19K
Member Avatar for prahesh

class Data { string name; string ID; public: Data(){cout<<"Data"<<endl;} }; class info{ string name; string ID; public: info(){cout<<"info"<<endl;} }; Two classes defined above. Now I want to create a vector of type std::vector<Data obj1, info obj2> container; further I want to use the vector features using the vector container. How …

Software Development
Member Avatar for prahesh
0
306
Member Avatar for Mr.M

Hi Dw. I have a MS Access database that has 9 columns what I want to do is to retrieve all data from a database only on 5 columns. I think I have to use the `select * from data` but I don't know how to select the columns I …

Software Development microsoft microsoft-access vb.net
Member Avatar for Mr.M
1
862
Member Avatar for Regan_1

I am quite new to python programming and having trouble with this program. This is what my GUI looks like [Click Here](https://gyazo.com/5e45577a99ae131dfa4a1a9a42cbfb0e) . What I am trying to acomplish is by have the two comboboxes select the units and then calculate them. Code: self.measurements = StringVar() self.Combobox_Length_Left = ttk.Combobox(self.length_frame, textvariable …

Software Development gui python tkinter
Member Avatar for Regan_1
0
2K
Member Avatar for Strong_1

1. Design a system for an electronics retail store which sells different brands of electronic items like TV, Fridge, Oven, Music System of different brands and styles. 2. You develop a menu driven system which looks like as given below: s. Sell g. Generate Bill c. Cancel the sale r. …

Software Development c web-design
-1
145
Member Avatar for mattrweaver

I am using Python/Pandas. I need to split personal names so that names that end in "Van Dyke", both words end up in the last name. So, if the name is Richard Wayne Van Dyke, Wayne is the middle name and Van Dyke is the last. Complicating matters are names …

Software Development python
Member Avatar for snippsat
0
3K
Member Avatar for Violet_82

Hi guys, I wonder if you can help me at all. As some of you will know I do a bit of java development here and there but unfortunately I don't really have any programming background, like, I haven't studied computer science - I just learned (well, that's an overstatement) …

Software Development assembly career java
Member Avatar for Violet_82
0
277
Member Avatar for brugernavn

Hello, I got this error: `IndentationError: expected an indented block` Im new to python and only used to php, i have no idea what to do. #!/usr/bin/python import numpy as np import argparse import cv2 cap = cv2.VideoCapture(0) while(True): # Capture frame-by-frame ret, frame = cap.read() # Operations orig = …

Software Development python
Member Avatar for brugernavn
0
1K
Member Avatar for Suzie999

Hi all, I'm having trouble finding information for what I need. I think it's because I don't really know the nane of what I'm looking for, so keywords are eluding me in my search. I hope my explanation might give someone a clue who can help or at least tell …

Software Development seo user-interface
Member Avatar for Suzie999
0
267
Member Avatar for Mr.M

Hi Dw. I'm trying to read a text file. This text file has a multiply lines and what I want is that I want to separate each line or should I say I want to split each line (chop it) so that I will be able to assign these fields …

Software Development vb.net
Member Avatar for Mr.M
0
686
Member Avatar for sureshk75

I got this code on using splash screens and liked it however, I'm unable to get the text to update based on the current event(in the example it's just a range of numbers). Would love to get some input on what I'm doing wrong here. Thank you from tkinter import …

Software Development python tkinter
Member Avatar for sureshk75
0
1K
Member Avatar for nitin1

Hi, I am stuck with a problem. I have two Date objects (util class objects). I want the difference between these two dates as the number of days between them? I am using Java 8. Can you please help me with this? Searched the web a lot. Some are saying …

Software Development java
Member Avatar for JamesCherrill
0
835
Member Avatar for nitin1

Hi, I was using booleans earlier in my class. --> isProductRestricted --> internal --> isProductGlobal I am using lombok too. So putting @Data at the top of class too. But, now I changed these boolean to Boolean variable. I got errors where ever `Object.isInternal()` was used. I am not getting …

Software Development java
Member Avatar for nitin1
0
367
Member Avatar for marcolanza24

Hi Everyone, I have a project from school which is a console application that takes hard-coded items and process those inside of one of my custom class which intherit from a list of strings. Then, it processes those items and apply the Apriori Algorithm (I cannot use any existent package …

Member Avatar for Raul Perez
0
328
Member Avatar for Mr.M

Hi Dw. I'm having a client server which the server read a text file line by line and send each line to the client upon client connection. The problem I'm having is that on the client side the data is combined, meaning I get all lines that are on the …

Software Development client-server visual-basic
Member Avatar for Mr.M
0
422
Member Avatar for Saboor880

Hello! I have written a simple program which connects netbeans with SQL Server database. The program is giving an exception. I am displaying the source code of my program and exception below. Please guide me to solve this problem. public class dbconnection { Connection con = null; public static void …

Software Development java java-netbeans sql
Member Avatar for Saboor880
0
241
Member Avatar for johndohmen1963

Hi i have a conflict with a string i want some words of a string to make lowercase shal i have as string Valkenburg Aan De Geul But i want it to make it as Valkenburg aan de Geul the folowing code dos not work ang gives a conflict If …

Software Development vb.net
Member Avatar for johndohmen1963
0
218
Member Avatar for Noorul Ariff

Dear... I'm doing INVENTORY PROJECT... I'm using ACCESS as BACK-END... My tables are PURCHASE and SALES... In PURCHASE table, fields are CODE(primary key), PRICE, DATE, TOTAL, QTY... when I'm entering datas in form and when i click submit, the datas stored... but when i enter same DATA(CODE), it is showing …

Software Development microsoft-access seo vb.net
Member Avatar for Steffany
0
8K
Member Avatar for Tycellent

Hey everyone, In addition to... Lazy Foo's Tutorial http://lazyfoo.net/tutorials/SDL/index.php "SDL Game Development" - Shaun Mitchell book are there any other recommended resources (does not have to be SDL) people could suggest? I've already created a console-based text adventure game and am really interested in expanding it into a text-adventure game …

Software Development c++
Member Avatar for wafa_1
0
295
Member Avatar for cambalinho

i have these code for get image pixel data: typedef std::vector<BYTE> pixeldata; pixeldata GetImagePixel(HDC hdcImage) { BITMAP bmp = {0}; BITMAPINFO Info = {0}; memset( &bmp, 0, sizeof(BITMAP) ); HBITMAP hBitmap =(HBITMAP) GetCurrentObject(hdcImage, OBJ_BITMAP); GetObject(hBitmap, sizeof(BITMAP), &bmp); BITMAPINFO info { }; info.bmiHeader.biSize = sizeof(info.bmiHeader); info.bmiHeader.biWidth = bmp.bmWidth; // pay attention …

Software Development c++ objective-c
Member Avatar for cambalinho
0
338
Member Avatar for Rakham

Hi! I do have my own VB6 mp3-player, which uses "Un4seen BASS.DLL" audiolibrary to play mp3 files. It works fine, but it doesn't support reading album cover (picture) from ID3V2 tags. For reading tags in text format, I use imported vb6 class module, that I found few years ago. But …

Software Development visual-basic
Member Avatar for Glyn_1
0
894
Member Avatar for sashiksu

Hey, I'm looking for big answer for my big answer, Even I can't think can I do this, this way. --- In my program I load some mysql table's columns to list boxes. Think I load Customer_id and name to two list boxes. Then I want to move these list …

Software Development vb.net
Member Avatar for Raul Perez
0
260
Member Avatar for Papa_Don

Group, I'm trying to import an EXCEL table into an SQL Server Table. Although new to SQL, I've done it several times. However for the first time I'm having to import a column that is a date. I'm not sure how the EXCEL column should be formatted so that it …

Software Development microsoft-office sql vb.net
Member Avatar for David_Fisher
0
394
Member Avatar for AleMonteiro

Hi, I recieved an VB.NET solution to study and then maintain, but I can't compile it, it's giving a lot of errors about Office integration like **'MsoTriState' is ambiguous in the namespace 'Microsoft.Office.Core'** So I checked the object browser and indeed there's the same object in two diffente namespaces: [Microsoft.Office.Core] …

Software Development microsoft-office vb.net visual-studio
Member Avatar for AleMonteiro
0
2K
Member Avatar for letters1417

Hello! I have to print patterns using '*' and I am at a loss how to get these patterns printed! I figured out the first one, * ** *** **** ***** ****** ******* ******** ********* ********** and now i have to do it upside down: ********** ********* ******** ******* ****** …

Software Development java programming-construct
Member Avatar for JamesCherrill
0
2K
Member Avatar for steven.rose.94

what is my best approach to deal with negative floating values in Python3? I know I can remove the negative all together with strip but I'd like to return the negative result if possible Example the following code returns a math domain error due to the negative number: eps = …

Software Development python
Member Avatar for steven.rose.94
0
347
Member Avatar for Mr.M

Hi Dw I want to record video with audio, the current program has two forms of which one form record external video and the other form record internal so I've reduced the size of an external video capture to lower right hand corner of my screen and set it to …

Software Development audio vb.net video webcam
Member Avatar for Mr.M
0
2K
Member Avatar for Gregt1991

I am working on a program that should convert between in, ft, mi, mm, cm, m, and km. The question is: Write a unit conversion program that asks users to identify the unit from which they want to convert and the unit to which they want to convert. Legal units …

Software Development java legal
Member Avatar for happygeek
0
21K
Member Avatar for cecsFTL

For this project I need to generate all three digit numbers where the 1st digit is always larger than the 2nd, and the 2nd digit is always larger than the third. I'm not asking you guys to do it for me but to point me in the right direction. I'm …

Software Development java
Member Avatar for JamesCherrill
0
2K
Member Avatar for johndohmen1963

Hy It's a long time ago i asked something here. But now i am asking again something First i give my code Dim conc As New SqlConnection("Data Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=|DataDirectory|\BurgerlijkeStand.mdf;Integrated Security=True;Connect Timeout=30") conc.Open() Dim cmdc As New SqlCommand("Select COUNT (*) FROM dbo.[Landen] ", conc) Dim i As Integer = cmdc.ExecuteScalar() cmdc = …

Software Development open-source vb.net
Member Avatar for johndohmen1963
0
154
Member Avatar for SelArom

hi! I haven't been here in a while, but i'm glad you're still around since I need some help! I've got to implement a round-robin simulation of process execution. I've decided to do this in VB.NET because it's my strongest language and it's a difficult concept! I've got some of …

Software Development queue vb.net
Member Avatar for Mr.M
0
2K
Member Avatar for jatin24

Hi, Im trying to include the feature of automatically generating a word document through C# using a pre-defined template. Im able to insert 'mailmerge' fields in the word template documents at specific locations, and accessing these through the code in C#. I can update the values of these fields, no …

Software Development c c# c++
Member Avatar for vnikitha
1
3K
Member Avatar for glao

Hello , I want to ask why I am not receiving the same result using either the `if` with `break` inside the while loop ,either the `while( x!=X && y!= Y )`. #include <stdio.h> #include <stdlib.h> int sol( int X, int Y ) { int x = 0, y = …

Software Development c
Member Avatar for glao
0
189

The End.