199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jared.geli

I was wondering if I can fill up an edited row based on the value in my Label. Here's the scenario: An employee will add and edit rows in the DataGridView1. All rows involved in adding and editing will fill up the last row with the Employee ID of the …

Member Avatar for jared.geli
0
4K
Member Avatar for Zain_2

This is just a function in my program. I am getting error in this function. I know it is something to do with the structs. The error points to 'struct BOOK book;' I am trying to print all books for user to see. Library_Management.c: In function ‘viewbooks’: Library_Management.c:217:14: error: storage …

Member Avatar for Ancient Dragon
0
376
Member Avatar for eldiablo1121

Hello, I'm trying to write a program that takes an input file name and lists the folders in a heirarchy ex.Folder subfolder etc I have most of my code, but I'm getting 2 errors that are connected and I have no idea how to fix it. Here is my code: …

Member Avatar for eldiablo1121
0
271
Member Avatar for trishfernan

Hi, I have developed a drop down. In that I was trying to figure out how to reduce the <li> text gap or spacing. What do you think, which css attribute is creating this gap or spacing. Here is the demo [Click Here](http://jsfiddle.net/RtqCL/) [Click Here](null)

Member Avatar for diafol
0
94
Member Avatar for Ng

How To Determine The Best Score? I am doing a lab regarding 'guess number game' Actually,the answer should be the random number,but I set the exact number to 88,because it is easy for me to test other requirement. I need to printf("Best Score so far [X]") How to make comparison …

Member Avatar for Jamblaster
0
228
Member Avatar for CodingCabbage

I'm starting my Computing project and am using Python linked via sqlite3 to a database. As part of my project I shall be searching for maths books in the database via name or module etc. I wish to display the results on a GUI in python so need to set …

Member Avatar for Gribouillis
0
359
Member Avatar for Heather_1

cant figure out how to get the floors and occupancy rate to show Public Class Form1 Private Property occupancy As Integer Private Property occupancysum As Integer Private Sub GroupBox1_Enter(sender As System.Object, e As System.EventArgs) Handles GroupBox1.Enter End Sub Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click Dim intOccupancy(8) …

Member Avatar for Jamblaster
0
431
Member Avatar for laura301019

I am creating a page scraper and would like to include a text file that contains the words such as 'a', 'the', 'on' etc. But not sure how to do this, i think I have created the file fin=open("ignorelist.txt","w") for line in fin: but not sure how to go about …

Member Avatar for vegaseat
0
195
Member Avatar for HunainHafeez

how to access classes or objects defined in APP_CODE folder ? i defined some classes there but how to access those ?

Member Avatar for HunainHafeez
0
170
Member Avatar for sk8ergirl

I'm practcing for my test and I couldn't solve these questions I spent hours trying to solve it but every time I get error ArrayList<objClass> li = new ArrayList<>(); public objClass RemoveAtPos(int pos){ // I'm trying to remove the object at the given pos , but first I want to …

Member Avatar for Seldar
0
154
Member Avatar for CJMW

Wassup. I'm writing an application for web development. I have run into an issue and can't seem to overcome it. I have a button within the application that upon being clicked, will create a new tab that contains a rich text box. This new tab can then be used to …

Member Avatar for Fenrir()
0
338
Member Avatar for cambalinho

i know use SetConsoleTextAttribute(): SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), ForgC|(BackC<<4) ); (too be honest: i don't have sure if i can avoid the '<<4') i need ask these: can i add it more data and then use it? like: Blink=128 SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), ForgC|(BackC<<4) | Blink); and then test if these value is there?

Member Avatar for cambalinho
0
247
Member Avatar for JohnOSull4021

Hey guys, I have a program similar to X's and O's. But I need to put the "CheckWin" method in another class and call it from there. Im having no luck, can anyone help? (CHECKWIN PART AT VERY BOTTOM) import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.io.*; import java.util.*; public …

Member Avatar for stultuske
0
189
Member Avatar for danielPROGRGAMS

So i have a recent python project and i'm struggling a little, if anyone could be of any assistance that would be great :). The project is to make a 'Flash Cards' type quiz within which i am required to make a random generator to import one randomly chosen keyword …

Member Avatar for TrustyTony
0
472
Member Avatar for duke2303888

Ok this may sound strange but I have an app that pulls records form a DB then puts them in a string ready for me to send out :) yay works fine but now i want to add 2 records at the top of the report every time so record …

Member Avatar for Reverend Jim
0
108
Member Avatar for rajeeeesh

How to extract data from xml file using xml minidom with respect to tags in xml file

Member Avatar for vegaseat
0
147
Member Avatar for Albert Pinto

Hi, just wanted to know how to delete a record from datagrid, i tried the following code but it gave me an error in deleting records, I am using Mysql Database. Following is the code: [code] Private Sub Button6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button6.Click 'recorddelete() Dim …

Member Avatar for KimberGariando
0
2K
Member Avatar for theashman88

I'm taking a database class, to be more specific MySQL. I want to know if I will use this if I enter the programing field as a C#, C++, or Java programmer. If so what will I need to know

Member Avatar for RomelynCastillo
0
334
Member Avatar for nirmeen.asad
Member Avatar for nirmeen.asad
0
1K
Member Avatar for ehsan2

How can i add one record from a table to another table in vb.net? Whats the instruction ?Using the instructions of squel , how can i put in the vb.net instructions? ehsan2

Member Avatar for Reverend Jim
0
205
Member Avatar for Nebil

Hi guys, I'm a little bit confused to declare a certain variable. I defined it under a button.It's in a do-while loop and it stores calculated values while other this are being executed. And i wanted to extract that value using another button.I know i can use a function but …

Member Avatar for tinstaafl
0
182
Member Avatar for kavitha N

Hi, I am looking for when you select a value from dropdown and submit. The results has to show in the same page with percentage. It is like voting. Thanks in advance.

Member Avatar for JorgeM
0
412
Member Avatar for happygeek

Last week, the NoSQL database host MongoHQ suffered a breach which exposed customer files, email addresses and password data to the attackers. The ripples from that breach are still being felt, as users of the Sunrise calendar app on the iPhone found out this morning. Luckily that password data was …

Member Avatar for long.duckdong.1848
0
545
Member Avatar for pritaeas

We're looking into the Enterprise Library, to see if the security part will fit our needs. We want to use application roles/rights, so we probably need to write our own security provider. What I'm looking for are decent resources on this specific topic. I've found several books already on the …

0
164
Member Avatar for kbear23

Hello, Need some help with Pointers, please. I have base class ShapeTwoD and 3 derived classes: Cross, Rectangle and Square. Each have different x and y values input by user. Eg, Cross has 12 sets of x,y coordinates, Rectangle and Square have 4 sets each. Can I know how to …

Member Avatar for kbear23
0
2K
Member Avatar for smdjilani

I have created lot of c files and i executed them,but i can run the executed files only in terminal.... can we have a direct c code,on clicking the exicuted file it should open its new window and work.... How should i create it,please help me..

Member Avatar for rubberman
0
103
Member Avatar for lobnaallam

****Hi everyone! I have to make a pig latin translator for cs hwk. I've made my code and everything works up until i put it together. I need to debug it, but can't figure out the if statement in the main. The assignment is "Here's how to translate the English …

Member Avatar for lobnaallam
0
1K
Member Avatar for Indians

This is my javascript code. here i am trying to multiple two values in each row (totally 7 rows) and then doing addition operation at end of the table. its worked but problem is NaN. when i entered all fields then only it shows the final value. if user entered …

Member Avatar for Indians
0
200
Member Avatar for DanielTradeWs

I have this code working on VB.NET 2008 but not working in VB.NET 2010 and show no error code. When I use the query analyzer the query work good, but when I try on my code nothing happen. I can do SELECT code and that ok, it’s just the update …

Member Avatar for DanielTradeWs
0
325
Member Avatar for muktapuram

Hi , I am having a list of checkboxes ,each of them having some values in mysql database. If we click on any two or three check boxes,i should get the data from the respective tables. and should be hidden if i uncheck the checkboxes. This is just like searching …

Member Avatar for muktapuram
0
1K
Member Avatar for mehdix

Hi All, I was assigned to code a project which to some extend simulates timetable of an airport. This has to be implemented using linkedLists. The poject should consist of Node class and SLL (singly linked list) class. The logic of the project is like this: There should be a …

Member Avatar for deceptikon
0
277
Member Avatar for tryphy

Hi everyone, I have an Login page where the Admin enters his username and password and enter his, After he has enter into his page, there is a option for him to change his password.. Enter Current password: Enter new password: Confirm new password: Confirm >> When he clicks the …

Member Avatar for liza_1
0
2K
Member Avatar for xxn5

how to save ListBox in vb.net Dim files() As String files = Directory.GetFiles("C:\", "*.mp3") Dim file As String For Each file In files ListBox1.Items.Add(Path.GetFileName(file)) Next output : 00001.mp3 00003.mp3 00005.mp3 .... want to save all item wth Only filenam to another folder.

Member Avatar for chuchaykaw
0
218
Member Avatar for Deegirl

Hello, is this how a constructor is created and initialized. I am getting an error; VB does not like the "New" what I am trying to do is to create a constructor with one argument and initialize its attribute. Public Sub New(ByVal newProdNumber As Long) intProdNumber = newProdNumber End Sub …

Member Avatar for chuchaykaw
0
224
Member Avatar for designershiv

Hi, I like to scroll all the scroll bar at the time.first scroll is working fine.but other scroll not working anyone have idea <html> <title></title> <head> <script src="http://code.jquery.com/jquery-1.10.2.min.js"></script> <script> $(document).ready(function(){ $('.box').each(function(){ $(this).bind('scroll',function(){ var leftPos = $('.box').scrollLeft(); var leftPos = $('.box').scrollLeft(leftPos); }); }); }); </script> <style> .box{ width:500px; overflow-x:scroll; } .clear …

Member Avatar for designershiv
0
279
Member Avatar for jared.geli

Hi I need help in making an auto complete feature in my datagridview where if I input a certain cell it will automatically have a value or it will have a autocomplete suggestion (like a textbox link to a table) based on my other table. I don't have any clues …

Member Avatar for chuchaykaw
0
1K
Member Avatar for edrianjon

Hi guys, 1st year cllege student here. New on C Programming. My program's main unction is that it will display products with fixed cost and a person will just enter numbers and will be multiplied to the fixed cost. The product of those should be displayed correctly but in my …

Member Avatar for Learner010
0
122
Member Avatar for kyle.mace.35

I need help converting ascii to hex. This is my code so far. ASCII DB 0DH,0AH,'THE ASCII CODE OF $' HEX DB ?,' IN HEX IS $' CHAR DB ?,'$' .CODE MAIN PROC ;initialize DS MOV AX,@DATA MOV DS,AX REPEAT: LEA DX,MSG ;get message MOV AH,9 ;display string function INT …

Member Avatar for Assembly Guy
0
3K
Member Avatar for karan_5

I want to store one column value in array because it is auto incremented and also it is a primary key and this values i want to insert into another table where that primary key refer as a foreign key so anyone can help me to come out from this …

Member Avatar for karan_5
0
280
Member Avatar for dannilip

I have this code: private void words(string path) { List<string> text = new List<string>(); var intro = "Video File Name:"; var words = File.ReadAllLines(path) .Where(line => line.StartsWith(intro)) .Select(line => line.Substring(intro.Length).Trim()); } When i use a breakpoint and look after all on the variable words i see: System.Linq.Enumerable.WhereSelectArrayIterator<string,string> I want to …

Member Avatar for Ketsuekiame
0
503
Member Avatar for ScubaSam

Hi everyone, I need some help, I don't know where and how to begin and I'm seeking for some advice. Problem: I need to design a custom C# library to better manage a client list for internal projects. The library must be capable of importing data in a textfile(clients.txt) into …

Member Avatar for Ketsuekiame
0
293
Member Avatar for johnrosswrock

Hello everyone, I have a project which i want to publish but the problem is i don't know how to add my name as the developer in the setup... can anyone tell me how to do that... thanks in advance

Member Avatar for johnrosswrock
0
186
Member Avatar for riahc3

Hello, We uploaded some videos in the back to YouTube and they reproduce perfectly on our webpage. The thing is, with mobile becoming more and more intresting, playing them in a HTML5 video player would be more universal. How can we make this change?

Member Avatar for riahc3
0
203
Member Avatar for tinku.cater

Write a payroll program that pays time and a half for anything over 40 hours. This should have 3 functions in addition to main The first function asks the user how many total hours were worked and the pay rate and returns this information to main. These values must be …

Member Avatar for Gribouillis
0
280
Member Avatar for Indians

1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'NOT NULL, CreatedOn DATETIME NOT NULL, ModifiedOn DATETIME NOT NULL, `StartD' at line 1 CREATE TABLE `billing`.`ebUsers` ( `UserID` INT NOT NULL AUTO_INCREMENT …

Member Avatar for urtrivedi
0
225
Member Avatar for jelineease

Hi, Im ne to vb.net and I have a file and instead of sending it to a printer I want to converting it to a PDF from any ideas on how O can make this work? Im using vb.net 2010 Thanks all answers are appriciated

Member Avatar for jelineease
0
135
Member Avatar for beastie805

I need help reading a bool function from my HW assignment, I am not asking you to do complete my assignment for me. All I need help with is reading my bool function in main. Thank you for looking #include<iostream> #include<fstream> #include<string> using namespace std; struct StudentType {string studentName; int …

Member Avatar for beastie805
0
688
Member Avatar for sirlink99

Good Day. I am relatively new to android programming and I am having problems displaying action Items on my action bar. I can manipulate my actionbar through Java code (show and hide text, Icon and action bar), however when I try to add my own images to the action bar …

Member Avatar for sirlink99
0
172
Member Avatar for supernova122

I am using VS2008 to develop web application with vb.net under .net 2.0 and Crystal Report 7.0 reportclass. I have changed some wordings in a Crystal Report template (file1.rpt) which is included in the source program of vb.net (in a .soln file) in testing environment. Now I want to apply …

Member Avatar for supernova122
0
322
Member Avatar for tohtori.o

I'm trying to do the following: 1. get username typed into the userField 2. make a SEARCH mysql_query with the username as a variable I'm having a hard time getting past phase 2 since mysql_query takes a const char* as the query string, and I can only get username as …

Member Avatar for Ancient Dragon
0
287

The End.