199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for vincezed

Hello I have some doubts in listveiw I have a listview with two columns, i want to add items to the first column which are given programmatically and the other column is from database... like [CODE] column1 column2 apple from database orange " banana " so on " [/CODE] can …

Member Avatar for vincezed
0
190
Member Avatar for mamabuttercup

Hi, I'm new to VB and I am supposed to be writing a program for my instructor using VB 2008. It is sort of like a quiz program. You build the "light bulb" program but instead of names and colors, it consists of two forms. Question 1 with a "next" …

Member Avatar for mamabuttercup
0
314
Member Avatar for sireesha g

Hi All, I have an xml [CODE] <?xml version="1.0" encoding="UTF-8"?> <columns> <column> <name></name> <displayname></displayname> <attributes> <attribute> <name>width</name> <value>100</value> </attribute> <attribute> <name>text-align</name> <value>left</value> </attribute> </attributes> </column> <column> <name>VersionCode</name> <displayname>Version Code</displayname> <attributes> <attribute> <name>width</name> <value>200</value> </attribute> <attribute> <name>text-align</name> <value>right</value> </attribute> </attributes> </column> <column> <name>MaterialType</name> <displayname>Material Type</displayname> <attributes> <attribute> <name>width</name> <value>100</value> </attribute> <attribute> …

Member Avatar for xml_looser
0
631
Member Avatar for ffej2ffej

I have been trying for some years now to learn Xcode in order to create Mac OS and now iPhone apps. I'll spare you readers the misery I've experienced and summarize by saying it hasn't gone well. One of the routes I've attempted is to read Aaron Hillegass' book. To …

Member Avatar for pseudorandom21
0
131
Member Avatar for Pascode

Hi, I've been trying for the past couple of hours to get this modal dialog box working, it is basically supposed to ask for text input and once entered will open a message box with that text. At this point though I'd be happy to just get the box up …

Member Avatar for cool_zephyr
0
247
Member Avatar for drewpark88

Hey Guys, I have a quick question for you. I display a new event every day that allows users to attend that event. The event id and user id are added to an event participants table. I have 3 tables in my DB: "userinfo" which holds stuff like id, Name, …

Member Avatar for drewpark88
0
174
Member Avatar for Tenaciousmug

I'm trying to SELECT * FROM table WHERE gender='whatever they clicked on'; WITHOUT refreshing the page. I am showing the gender table and then after the click a gender, I hide that table and then show the next, etc. It's working fine, but whenever I start using the AJAX to …

Member Avatar for vibhaJ
0
95
Member Avatar for markfw

Hello Quick question: Does anyone know why my window doesn't show frame? Thank Mark [CODE] import sys from PySide import QtCore, QtGui class UI_CMDTester: def __init__(self): self.__app = None self.__win = None def init(self, \ w_title, \ w_width, \ w_height): self.__app = QtGui.QApplication(sys.argv) self.__create_win(w_title, w_width, w_height) sys.exit(self.__app.exec_()) def __create_win(self, w_title, …

Member Avatar for vegaseat
0
226
Member Avatar for Todx

I'm having problems with .htaccess rewrite rule. I want to convert: [QUOTE][url]http://www.domain.com/?d=SOME_STRING[/url][/QUOTE] To: [QUOTE][url]http://www.domain.com/download.php?file=SOME_SRING[/url][/QUOTE] So far I've some up with this: [CODE]Options +FollowSymlinks RewriteEngine on RewriteRule @|\?d=(.+)$ download.php?file=$1[/CODE] Anyone have an idea on why this isn't working? *mod rewrite is enabled*

Member Avatar for vibhaJ
0
100
Member Avatar for Chair

Hi, Can someone help me pls why this doesn't seem to work? [CODE] private void dataGridViewempl_CellContentClick(object sender, DataGridViewCellEventArgs e) { if (dataGridViewempl.CurrentCell.ColumnIndex == 6) { CheckBox deletebox = new CheckBox(); deletebox = (CheckBox)dataGridViewempl.CurrentCell.Value; if (deletebox != null) { if (deletebox.Checked == false) deletebox.Checked = true; else deletebox.Checked = false; } …

Member Avatar for Chair
0
4K
Member Avatar for pagnarith

Dear all, I have tested my code in order to pass single value to single parameter field in crystal report from VB.NET Form, it is ok but the problem is that I want to pass multiple values to only one parameter field called "Product Name" and it displays only one …

Member Avatar for ggdal
0
830
Member Avatar for ankit.pandey3

[CODE]import java.io.File; import java.io.IOException; import java.io.FileOutputStream; import java.io.FileNotFoundException; import java.awt.TextArea; import java.awt.Font; import java.awt.Color; import java.awt.Image; import java.awt.Toolkit; import java.awt.Canvas; import java.awt.Graphics; import java.awt.FileDialog; import java.awt.event.*; import java.awt.image.BufferedImage; import javax.imageio.ImageIO; import javax.print.DocFlavor.URL; import javax.swing.JFrame; import javax.swing.JOptionPane; import javax.swing.JPanel; import javax.swing.JLabel; import javax.swing.JButton; import javax.swing.JTextField; import javax.swing.Timer; import javax.swing.event.MouseInputAdapter; import javax.swing.*; …

Member Avatar for ankit.pandey3
0
232
Member Avatar for branding4you

I made a mysql table on my website with backend that allows me to upload images of affiliate companies i deal with. I used this script and it works. I now have need to add URL to these. As you can see i select the directory the iamges are in …

Member Avatar for urtrivedi
0
190
Member Avatar for xaveri

When i try to update the row in datagridview, it doesn't get updated into database. Nothing happens when i change the fields. Not even the delete command is working. [CODE]<%@ Page Language="C#" AutoEventWireup="true" CodeFile="existBill2.aspx.cs" Inherits="existBill2" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>Editing Existing …

Member Avatar for xaveri
0
158
Member Avatar for sim08u

Hi guys i have an assignment and it's asking me to let the user enter data into one of three text boxes to search for something in a database it also has to show the results in a table and be hyperlinked to the next page being bookingdetail.php and the …

Member Avatar for urtrivedi
0
836
Member Avatar for computerbear

Hi there, I have been having some problems with my Visual Basic. In trying to figure that out, un-installing, and reinstalling, running virus scans, etc, I have lost a lot of my time to get this assignment done. I would just keep messing around with it and try to be …

Member Avatar for computerbear
0
378
Member Avatar for Fulladder

Hi, I want to start my final year project before the start of third year. The area I am interested in includes programming (Java, C# & python), web development, Databases and Networking. The project must be of a engineering type meaning I must outline a problem and find a solution …

Member Avatar for jon.kiparsky
0
143
Member Avatar for Tenaciousmug

I think this belongs here, but my $_POST['gender'] won't grab the gender that was submitted through a form. I am using AJAX so the page doesn't have to reload so it can go in a smooth transition, but the AJAX is grabbing the value perfectly fine. I have a feeling …

Member Avatar for almostbob
0
118
Member Avatar for anarchy2cruo

hi..i am new to perl language..ive given a task to extract some info from a logfile and print the extracted to a new file..what make it difficult is because it need to extract vetically..for example below with some conditions; [ICODE] ------------------------------------------------------------------------ C H W S Z S W T C …

Member Avatar for anarchy2cruo
0
111
Member Avatar for sireesha g

Hi All, I have one scenario, In xslt i have used a input tag of type="button" with id="button1", Now in xslt if a condtion is met, suppose <xsl:if test="price &gt; 10"> i need to disable the button1 Can any one please suggest me how to achieve this using xslt. Thanks …

Member Avatar for f_atencia
0
545
Member Avatar for Armanious

I'm trying to replace values in an array while removing extra values. This is what I have, but it doesn't seem to work and I have no idea why. I'm just challenging myself to not use any Strings in my project. This will be the last step. [CODE]/** * * …

Member Avatar for jon.kiparsky
0
1K
Member Avatar for JOSheaIV

I have been working on a massive project for awhile now to help do the scheduling at my work. One now I am working on a form design for entering in data to create a shift. Part of this is the start time and the end time of the shift. …

Member Avatar for JOSheaIV
0
889
Member Avatar for leetari

Hi there, I am working with a 2D array, my c++ program reads input from an external file and stores it into a 2D array. Say, for example, this is my input file: 9 5 6 2 4 1 0 8 6 7 3 5 2 9 5 8 My …

Member Avatar for leetari
0
4K
Member Avatar for Ronene

Hi guys , I have the following code : [CODE]x=int(input())[/CODE] If I get a string from the user string ,list or a double , then I'd an exception . Is there a way to get any input from any type , and store it within "x" , even though I …

Member Avatar for vegaseat
0
193
Member Avatar for Aaronjw

Alright, I am working on this for an assignment and I cannot seem to figure out where I went wrong... My first problem, whenever I input the CC number, the only one it accepts is the last one in my text file... My second problem, when it does accept a …

Member Avatar for Aaronjw
0
140
Member Avatar for ayoba01

hello the problem is about user when click button coin and it will display the decimal number and suppose to be like this : 0.10 also , i have made code about notes amount like RM 1.00 and RM 5.00 . here it is: [CODE] Private itotal As Decimal = …

Member Avatar for ayoba01
0
140
Member Avatar for hisan

Hi All, i have basic python knowledge please let me know how to get started with jython please let me know where can i find good online books for jython, how to write some small programs and how to run them

Member Avatar for vegaseat
0
149
Member Avatar for nacatak

Basically, I want to make a windows form application to be able to view and/or manipulate a postgres database. My first question is if using c#/winforms is an okay way to do this? If not, any suggestions? One of my co-workers suggested using drubal to make an interface to do …

Member Avatar for skatamatic
0
94
Member Avatar for ramesh m

how i add a two buttons and display in a textbox with the help of third button?

Member Avatar for ddanbe
0
70
Member Avatar for jems5

I am trying to sum data from a database using excel. The following gets me results for one criteria but I need help with this formula for multiple criteria. In other words "sum values where condition is both criteria 1 and 2 at the same time"...the formula is below. Start …

Member Avatar for BitBlt
0
70
Member Avatar for Muhammad Anas

Hello guys, I am trying to declare a two dimensional array in C++ on runtime. For this purpose I am asking the user about how many rows and columns should be created in the array. I have written the following code for this purpose. Apparently it is working just fine. …

Member Avatar for Muhammad Anas
0
159
Member Avatar for warlord902

Let me tell you I already got the tutorial on how to do this [url]http://db.apache.org/derby/docs/10.3/adminguide/tadminconfig814963.html[/url] But sincerely speaking I did not understood how to do any of the two methods described. Let me tell you my confusions and what I didn't understood and I am developing my project in netbeans. …

Member Avatar for warlord902
0
1K
Member Avatar for lielee

Hi. I'm trying to print from datagridview but I don't understand how to do it. I've found some coding and this is the best for me. [URL="http://www.vbnettutorial.net/?Id=132&Desc=VB.Net-Print-Datagridview-in-WinForms"]http://www.vbnettutorial.net/?Id=132&Desc=VB.Net-Print-Datagridview-in-WinForms[/URL] But the tutorial is using server and I'm using this to call my table from Acces to datagridview. I don't know where to …

Member Avatar for msrd
0
187
Member Avatar for aymenbnr

Well i just tried to turn Rows cells that contain the word Yes into green on form load when i put that code into a button it worked but on a form load i didn't work ! anyone can help me out ? Thanks [CODE] Private Sub Form1_Load(ByVal sender As …

Member Avatar for msrd
0
430
Member Avatar for philiop

Hi, I'm stuck trying to find a solution to this problem. Its a question taken from an exam for an interview. I have this object model: [B]Department[/B]: DepartmentId, Name [B]TeacherTeacherId[/B], FirstName, LastName, DateOfBirth, AnnualSalary, DepartmentId [B]CourseCourseId[/B], Name, TeacherId, DepartmentId [B]Student[/B]: StudentId, FirstName, LastName, DateOfBirth, AverageScore, DepartmentId [B]Department [/B]has a 1 …

Member Avatar for philiop
0
143
Member Avatar for iamthwee

[CODE]// create two new instances of LoadVars, one to send and one to receive data var dataOut:LoadVars = new LoadVars(); var dataIn:LoadVars = new LoadVars(); // define what should happen when the response is received, // using 'this' to refer to dataIn and get data from it dataIn.onLoad = function() …

Member Avatar for iamthwee
0
437
Member Avatar for dyingatmidnight

I'm having trouble getting my queries to insert properly. this is my table structure books(ISBN(pk), authorID(fk), formatID(fk), publisherID(fk), titleID(fk), yearPublished) the ISBN and year are past directly via a form but the foreign keys are all auto incremented in their own tables. I was trying this: [code] mysql_query("insert into authors(authorName, …

Member Avatar for dyingatmidnight
0
109
Member Avatar for Pinchanzee

I've got lists of links which change order when you click the "most" or "least" buttons, have a quick look at it, easier to understand: [url]http://pinchweb.com/browse/[/url] The problem is, I see a lot of repeated code, which seems pretty inefficient. There's 4 filters - leastrec (least recent), mostrec, leastpop (least …

Member Avatar for Airshow
0
243
Member Avatar for apanimesh061

I cannot find System.Web.SessionState and System.Web.UI in my Computer, though System.Web is there ! I can't even find any downloads on the net. Please help ... ! thanks

Member Avatar for Momerath
0
111
Member Avatar for Labdabeta

I need to make a function: [CODE]void GenerateNormal(float x[3], float y[3], float z[3], float &ox, float &oy, float &oz) { //Calculate coordinates for a glNormal and return them ox,oy and oz }[/CODE] I have a sinking feeling that the math will be quite difficult. Can anybody help me?

Member Avatar for Labdabeta
0
126
Member Avatar for ssreevidya.m

Hai, I used a table for generating grade for students. for thati used the fields: UpperBound[int] LowerBound[int] Grade [varchar(50)] I have some datas such as : UpperBound LowerBound Grade 61 70 D 71 80 C 81 90 B I sent the value 80.09 to Stored procedure. Stored procedure something like …

Member Avatar for BitBlt
0
187
Member Avatar for moone009

I believe this should be a very simple task for anyone good at batch scripting. Basically I need a batch script that will run through a directory and produce a text file for me. Directory: D:\SQLBackup If any folder in this directory has more than 145 records I need to …

Member Avatar for moone009
0
86
Member Avatar for MaYouSHka

hi all, i have been working for two months on a project and i have come up with an algorithm that is a mix of R. Mitkov's algorithm on anaphora resolution (robust, knowledge-poor algorithm) and several filters that are applied first to the xml file (a POS tagged text) to …

Member Avatar for TrustyTony
0
339
Member Avatar for crapmyster

Hello, Just having a liitle problem here. Basically, I have identfied three entities, Bookings, Guests and Rooms for a reservation system for a hotel. A guest can have many bookings. A booking can have many guests. A room can have many guests. A guest can book many rooms. A booking …

Member Avatar for dansteel
0
1K
Member Avatar for Sorcher

Hello guys! I want to make a viewer function that adds up everytime the script runs. I want to do it with a text file, something like this i guess.. [CODE]$fp = fopen("video1.txt", 'a'); ///I guess i need to get the current value of the file, then add an additional …

Member Avatar for Sorcher
0
78
Member Avatar for vuyiswamb

Good Day All I have a Generic function that in my Static Class. i have this Class in Silverlight [CODE] public static BitmapSource LoadImage(Byte[] imageBytes) { BitmapImage bmpImage = new BitmapImage(); MemoryStream mystream = new MemoryStream(imageBytes); bmpImage.SetSource(mystream); return bmpImage; }[/CODE] Now this looked fine for me until i had to …

Member Avatar for vuyiswamb
0
2K
Member Avatar for localp

I have a List [CODE]List<Food> item[/CODE] , which holds the following. 'Food foodID', 'Food foodName', 'Fruit fruit' Fruit is an Object. It is being saved into the 'List<Food> item' . Now i need to create an Object of 'Fruit' , and save all the 'Fruit' elements in the 'List<Food> item' …

Member Avatar for localp
0
167
Member Avatar for sourabhacooli

Hello All My question is How can i create insert,update,delete query by using class file and store procedure. This query is use for 3 tier. Please Give this answer as soon as possible.

Member Avatar for debasisdas
0
84
Member Avatar for philiop

Hi, I'm doing a short test for a job interview that I have. The code is C# and I am very new to this (2 days :S). One of the questions is. Write method to get all IPeople - Write a method in the SchoolManager to get all IPeople (Teachers …

Member Avatar for philiop
0
114
Member Avatar for kieky

Whenever i download docx, xlsx ar pptx files from IE, IE will save them as a zip file. whats wrong? can u help me? thanks...

Member Avatar for aspproject
0
116

The End.