132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for tqmd1

Dear Experts I have following codes to to show data in listview. It displays first column empty. The value of first column is displayed in column2. How to show value of first database field in column1 Please help Dim StudentID As Integer Dim Name As String Dim Address As String …

Software Development listview vb.net
Member Avatar for me655321
0
772
Member Avatar for Lida_pink

How can I show the next 15 odd numbers of for example number 10 ?

Software Development visual-basic
Member Avatar for Lida_pink
0
1K
Member Avatar for sathya8819

Hi, I am developing an image processing application and I face one problem. When I run the application, all I get is a blank form, even though I have a lot of controls attached to it. I know it must be a dumb mistake on my part, but I am …

Software Development
Member Avatar for Geekitygeek
0
170
Member Avatar for Xaenthe

I just know I'm doing something stupid. The part of my assignment I'm working on is to prompt the user to enter the name of a stock, earnings per share, and price to earning ratio, and then display it after everything is entered. What it's doing now is asking for …

Software Development c++
Member Avatar for Mouche
0
107
Member Avatar for mpgitc

Hi People I have a strange problem while using a delegate to update a textbox. I am using an SDK from Swyx, which is a VOIP (telephone software) package. The activeX triggers an onChnage event which has an event handler attached. I can change properties within my class using the …

Software Development
Member Avatar for mpgitc
0
186
Member Avatar for sathya8819

Hi, I am developing an image processing application and I face one problem. When I run the application, all I get is a blank form, even though I have a lot of controls attached to it. I know it must be a dumb mistake on my part, but I am …

Software Development vb.net
Member Avatar for me655321
0
103
Member Avatar for Phaelax

I've played around with HTMLEditorKit and HTMLDocument, and while I've managed to do the parsing I needed, I also need the complete source code of the document to pass along to a webkit renderer. Java's existing document throws out some tags after I read it in. [code] HTMLEditorKit kit = …

Software Development api html-css java
Member Avatar for Phaelax
0
113
Member Avatar for Mitja Bonca

I would like to ask someone, even someone has told me it is not possible. I have a child form2 which is always visible (there is a listView, which shows some data). Then I have a new child form 3 (which is currently opened) and the form3 now does come …

Software Development listview
Member Avatar for Geekitygeek
0
123
Member Avatar for P00dle

I am using the netbeans gui builder. I dragged a filechooser onto my frame, and it does almost everything I want it to do. How do I remove the buttons? I dont need them - the user just has to select a file, or type in a file name, the …

Software Development gui java
Member Avatar for P00dle
0
58
Member Avatar for Roax

:( I am have been trying to update changes from my vb.net program to an access database file and it simply will not work. I have am using table adapters. I'm not familiar with SQL so i can't go that route. It updates the dataset fine but not the database... …

Software Development microsoft-access vb.net visual-basic
Member Avatar for reach_yousuf
0
265
Member Avatar for JBeginer7891

Hi members! Sorry I need a help with this snippet. I am still workin' on it... the thing is all the three buttons ain't working. And Can anyone tell how to compare the values of username and password against a database in Ms access. Thanks Here is my code import …

Software Development gui java java-swing
Member Avatar for JBeginer7891
0
604
Member Avatar for mhz42

Hello everyone, I'm quite new to c# and .Net, and i was wondering if you can give me some guidance on a specific problem that i have I'm currently trying to use Jxta.NET: a .net wrapper for JXTA-C, which is the C implementation of the JXTA protocol. So, i went …

Software Development
Member Avatar for mhz42
0
223
Member Avatar for wildplace

[CODE]class calculator: def __init__(self, num, operator): self.__num = num self.__operator = operator def changeNum(self, newNum): a = newNum return a def getNum(self): return self.__num [/CODE] [CODE]def click(num): if num == "one": v = "1" elif num == "two": v = "2" elif num == "three": v = "3" elif num …

Software Development python
Member Avatar for Namibnat
0
105
Member Avatar for adcodingmaster

hi All i have a question. plz answer if u can. i must b very thankful to u question is Why use abstract classes at all? Why not just declare a class and then make sure you never instantiate any variables of that type? thnx in advance

Software Development java
Member Avatar for ~s.o.s~
0
94
Member Avatar for lloydsbackyard

import javax.swing.*; import java.awt.*; public class sample { public static final int width=500; public static final int height=500; public static void main(String[] args) { JFrame mywindow=new JFrame(); myWindow.setSize(Width, height); JLabel myLabel= new JLabel ("How do i insert picture in this window? I want to create a photo gallery on this …

Software Development image java java-swing
Member Avatar for vjmir
0
91
Member Avatar for joperalez

I know this is using C. But if i was using the stdlib.h to use C in C++, can i somehow save the output into a variable. That way i can save the value for later use. something like... int a = 15; int b = 7; int hexValue = …

Software Development c++
Member Avatar for Nick Evan
0
124
Member Avatar for th3learner

Hello I have one textBox...let say i want some to enter their name in textbox but i dont want user to enter integer value in text ONLY character. can any one here tell how to make program for this OR any inbuilt function is there. I m using visual studio …

Software Development visual-studio
Member Avatar for sknake
0
456
Member Avatar for devnar

Hi, I'm trying to call a bunch of methods during run-time using reflection, but I'm getting an exception saying "IllegalArgumentException: wrong number of arguments". Here's some information on the variables used. - All elements of mailTestClass[] are classes that extend AbstractTestCase. (FirstTestCase extends AbstractTestCase and FirstTestCase.class is the first element …

Software Development java
Member Avatar for devnar
0
972
Member Avatar for grimbaum

Hello all! I´m doing the n-queens prolbem in an recursive manner with a twist. The twist i the possibility to chose to place 2-8 queens in a 8x8 board.I have problem with storing the rows properly and print them at the right time inside the recursion,please feel free to give …

Software Development c
Member Avatar for hunter666
0
156
Member Avatar for beanboy

hi helpers, i wanted to develop a discussion forum in java,...downloaded jforum 2.1.8 War file,...imported to eclipse,...what else should i do to run the project?.....sadly i didnt find 'how to' any tutorial in net :( i've never worked with any open src projects b4,...how to configure mysql db for it?...where …

Software Development java
Member Avatar for Phaelax
0
2K
Member Avatar for rajeshwari_ib

Hi friends I am new to python. I have doc file and jpg file. I want to append jpg file content to doc file. How to achieve this with python please help me.

Software Development file-system python
Member Avatar for nezachem
0
100
Member Avatar for daviddoria

Why people write such cryptic code I will never understand... Can someone explain what is going on in the following: [code] double color = {1,2,3}; double *ptr; // ... assign ptr .... *ptr = *color++; ptr++; [/code] So this line [icode] *ptr = *color++; [/icode] sets the value of the …

Software Development c++
Member Avatar for kvprajapati
0
131
Member Avatar for Diamonddrake

I am able to post data to a form so long as its strings. by creating a dictinary of keys and values, then creating a string in the style of key+ "=" + value "+ & repeat. then passing it to a method kinda like [CODE] private string PostData(string url, …

Software Development asp file-stream web-browser web-server
Member Avatar for Diamonddrake
0
331
Member Avatar for Nogat21

Hello, i'm building a client-server application using sockets in C. I'm trying to send a structure through a socket, but the values after "deserialization" (the use of htonl-ntohl) come adulterated and i dont know why. Maybe you could help me? Here is the code: Server.c [code=c] #include <stdlib.h> #include <string.h> …

Software Development c client-server data-structure ubuntu
Member Avatar for gerard4143
0
207
Member Avatar for gian10890

here's my code: this code executes by pressing ALT Q, then the msgbox will return the key value of Q which is 81 [CODE] Private Sub Form_KeyUp(KeyCode As Integer, x As Integer) If x = vbAltMask Then If KeyCode = vbKeyQ Then MsgBox KeyCode End If End If End Sub[/CODE] …

Software Development visual-basic
Member Avatar for vb5prgrmr
0
108
Member Avatar for IT21

hey, im wondering what is the best way to go about creating queries... my program.. i am creating a staff search program, i have craeted my databse and have included queries in access. but imnot sure how to call them in vb.net wondering if anyone can help me on that... …

Software Development sql vb.net
Member Avatar for me655321
0
90
Member Avatar for travism

I wrote the following function that takes a string with spaces and replaces the space with an underscore ( _ ). The function works, but I believe there is a less novice way of doing it. Anyone have any suggestions? BTW, this is written in Linux and compiled with G++. …

Software Development c c# c++
Member Avatar for travism
0
7K
Member Avatar for rutaba

Hi all.. i want to know that for building a project of [B][COLOR="Red"]Flight reservation system[/COLOR][/B] in C#.net i should follow what datastructure? and would this project better developed using C#.net or ASP.net.. Need ur kind suggestions.. Regardz..

Software Development asp.net
Member Avatar for jen]
0
229
Member Avatar for dalymiddleboro

Hello guys, I'm brushing back up on C++ it's been a long semester of Assembly Language. Anywho, I am writing a program that keeps track of my grades and can average them up if I need and do many other things. I'm using a switch statement as my menu select. …

Software Development assembly c++
Member Avatar for mrnutty
0
116
Member Avatar for lotrsimp12345

Here's what i have. Not sure what it is doing exactly. You pack a account object and then you write it to the buffer right? So shouldn't it print after i write it? Main #include <iostream> #include <iomanip> #include "account.h" #include "Lentext.h" #include "Deltext.h" using namespace std; int main() { …

Software Development c++
Member Avatar for Ancient Dragon
0
324
Member Avatar for EngneerNitemare

Hey all, I have this for loop and it keeps printing a '}' at the end of my alphabet and I can't figure out why. Please help me figure out how to get rid of it! :) Thanks! - EngneerNitemare [CODE]// PREPROCESSOR DIRECTIVES #include <iostream> using namespace std ; // …

Software Development c++
Member Avatar for mrnutty
0
139
Member Avatar for gazza123

Hi everyone. I'm fairly new to programming with spim. This is the first time I've tried to multiply numbers and I keep getting errors! I looked up on 'SPIM quick reference' how to do multiplication but can't get it to work. Any help would be greatly appreciated :) PS. I …

Software Development assembly
Member Avatar for afuller454
0
525
Member Avatar for aitrade

Hi, I have a similar problem. I need to read and store information from a file such as: in int count=7; //count int float end = 7.5 ; //end out float myout =0; //my out I need to store type(e.g. in or out), variable type (e.g. int), variable name (e.g. …

Software Development c++
Member Avatar for aitrade
0
75
Member Avatar for SpaceMarine542

"Write the definition of the method doubleArray that initializes the elements of beta to two times the corresponding elements of alpha." is what it says I have to do but i can't figure out exactly how to do it. Any suggestions on how to do this? Here's my code: [code] …

Software Development java
Member Avatar for maye13
0
118
Member Avatar for sheztc

Hi i'm new to C++ and have made a grading system application. The application works, but I would prefer to use one variable for student name instead of two seperate variables, but when I try to do this it skips to the next line of code when I run the …

Software Development c++
Member Avatar for jonsca
0
132
Member Avatar for mps727

Hi. I'm writing a custom control and I want to be able to click and drag items in it, but have them be just a dotted outline as they are dragged along. This behavior is seen in Photoshop when clicking and dragging layers (See image below displaying this behavior). I …

Software Development
Member Avatar for mps727
0
213
Member Avatar for spookyfish

Hopefully this title makes some sense, i wasn't really sure what to put. Hi i need some help with this assignment. Unfortunately, I'm not sure what I've done is anywhere close to what it needs to be. I need to read a list of customer data from a text file …

Software Development c++
Member Avatar for Ancient Dragon
0
124
Member Avatar for sidd.

hi i have a file with ASCII as well as extended ASCII. I am unble convert this values to binary. Any help plzzz

Software Development
Member Avatar for DdoubleD
0
165
Member Avatar for checker

[CODE]reader = csv.reader(open('new_mondy_csc_data_revise.csv'), delimiter=',', quotechar='"') header = tuple(reader.next()) print "%-14s|%-10s|%-5s|%-5s|%-11s|%-11s|%-11s|%-11s|%-11s|%3s" % header # read header line from csv print "-" * 45[/CODE] There are a total of 10 fields in the header across a csv file I want to print the first three instead, how can I do that?

Software Development python
Member Avatar for checker
0
104
Member Avatar for wildplace

self.button1 = Button(root, text = '1', \ command = self.buttonAction) self.button1.grid(row = 1, column = 0) self.button2 = Button(root, text = '2', \ command = self.buttonAction) def buttonAction(self): if self.button1 [COLOR="Red"]is clicked/pressed... [/COLOR]: value = 1 how do i express the word in red in python code?!!?? thanks :D

Software Development python tkinter
Member Avatar for lrh9
0
129
Member Avatar for Snapster5

heya, i am working on this program wonderig anyone can help me finish it . i put in most of the //info on whats suppose to happen but am having trouble figuring out actually how to. [CODE] *Program Description: This program is designed to insert numbers into * an array …

Software Development c++
Member Avatar for Ancient Dragon
0
179
Member Avatar for BobRoss

Trying to replace '\n' or its decimal equivalent of 10 after it has a decimal value added with its original value of '\n' or 10. This way the newline character won't appear in the ciphertext as some other visible character. [code=c] while (!plainText.eof()){ string plainLine = ""; getline(plainText, plainLine); int …

Software Development c++
Member Avatar for BobRoss
0
122
Member Avatar for Tech B

Thought someone might like this little script. Its an animated wallpaper. You'll need to draw the frames though. I used Windows paint to make the frames. I drew two stick people fighting. You'll need to know the basics about animation. I saved each picture as .bmp It worked with .jpg …

Software Development python
0
941
Member Avatar for javaStud

Hi. I am having some problems with files. I am trying to read some contents from a file, transfer them to an array and then read the contents of the array. The problem that I am facing is that the output is not that is suppose to be. The file …

Software Development c file-system
Member Avatar for javaStud
0
92
Member Avatar for ukbassman88

This is the last questions I have about arrays. I have no idea of where to go with any of them except writing the header of the functions with the parameters. Again this is just questions from a study guide for my final exam so I am not asking you …

Software Development c++
Member Avatar for Lerner
0
132
Member Avatar for girl.java

what is the main function for this variable in the code [CODE]int n= 1;[/CODE] [CODE]import javax.swing.*; public class Qustion3C{ public static void main (String args[]){ int[] a={1,4,9,6,1,9,7,8,2}; int x; int n= 1; <<<<<<<<<<<<<<<<<<<<< wondering about this String c; c= JOptionPane.showInputDialog(null, "please Enter x value"); x= Integer.parseInt(c); for (int i=0; i<a.length; …

Software Development java java-swing
Member Avatar for JamesCherrill
0
108
Member Avatar for ykornx

Hi, i have a project to generate code for TabControl. I'm doing 1 form whit textbox-es to enter the tabcontrol properties (name, size, pozition ...) For the number of the tab pages in the control i'm generating dynamicly another tab control with the number of tab pages entered in the …

Software Development vb.net
Member Avatar for ykornx
0
1K
Member Avatar for leliana

hi..i'm new in java programing .. sorry but i don't know where i should write my question.. i have this program "FTP client " with 2 errors .."illegal start of expression " and "134 error "class ,interface ,or enum expected " i checked "{} ()"...can you help me plz?[CODE] import …

Software Development client-server java user-interface
Member Avatar for majestic0110
0
153
Member Avatar for iWire

I have just transferred a site over to a new server. The perl scripts were working just fine on the old server and now it seems to be having issues and outputting the header content to the screen. When I fill out a login form that gets send to the …

Software Development display perl
Member Avatar for wickedxter
0
130
Member Avatar for ukbassman88

This is another question from my study guide for my final exam. If you all could please give me some help. Write a value returning function called "found" with parameters of a float array a float item and a integer length, that searches the array for any value greater than …

Software Development c++
Member Avatar for ukbassman88
0
95

The End.