132,726 Archived Topics
Remove Filter ![]() | |
I have been reading the head first book about C and I am having a bit of problem with one of the given examples. The example is shown talking about a "code magnet" for a game of blackjack. I went to try out the code and tried to make my … Software Development c | |
screenshot for edit gridview : http://img829.imageshack.us/img829/2304/06v6.png screenshot for update gridview : http://img801.imageshack.us/img801/3417/j4p1.png this is my code inside tag <body> : <form id="form1" runat="server"> <asp:GridView ID="GridView1" runat="server" OnRowCancelingEdit="GridView1_RowCancelingEdit" OnRowUpdating="GridView1_RowUpdating" OnRowEditing="GridView1_RowEditing" OnRowDeleting="GridView1_RowDeleting" CellPadding="4" ForeColor="#333333" GridLines="None" AutoGenerateColumns="False" onselectedindexchanged="GridView1_SelectedIndexChanged"> <RowStyle BackColor="#FFFBD6" ForeColor="#333333" /> <Columns> <asp:CommandField ShowEditButton="True" ShowDeleteButton="True" /> <asp:BoundField DataField="p_user_name_id" Visible="false" HeaderText="p_user_name_id" /> <asp:TemplateField … Software Development asp.net | |
newbie question, but please i need help i just started learning gui programming on python, been getting this error on a code am writing concerning uising the get() method to read an integer from my entry box from Tkinter import * root=Tk() var=StringVar() label=Label(root, textvariable=var, relief=RAISED) var.set("converter") label.pack() L1=Label(text="x:") L1.pack(side= … | |
Hi, I have multiple Controls grouped in Groupboxes. I want to select the control from groupbox dynamically. For example, I am able to select the controls from GroupBox1 with the code below. However, I want to make it dynamically so that users can select any controls from any GroupBox. Would … Software Development vb.net | |
Hello guys could anyone explain what is the point in: #define DEBUG and #define NDEBUG? when should we use them and how?? I'd like to see some examples any help is highly appreciated Software Development c++ | |
Hi, I read many articles about this, but I still couldn't manage to solve it. I want to select the item of a listbox with MouseEnter event. It should be something similar like this Private Sub LBox_MouseDown(sender As Object, e As System.Windows.Forms.MouseEventArgs) Handles LBox.MouseDown If e.Button = MouseButtons.Right Then Dim … Software Development vb.net | |
Hi guys, im new to these forums and new to C++. I love games (mainly RPG's) so I figured I would learn C++ by making a little text based RPG. Anyways, I read through a few tutorials and an olc C++ for dummies book and this is what I cam … | |
Which Is simple To learn Php with mysql or python with mysql ?? php or python with some other database...?? | |
**hi! i need help on fixing this program i made it seems that i can't let it run. Can someone give me some advice on what errors i have made and how i can fix it. thanks ** #include <iostream.h> #include <conio.h> void main () { int i; int j; … Software Development c++ | |
Good Day all, My question is When I get the schema of an EXCEL worksheet with Column headers I get what's expected the names of the columns but when I get the schema of a worksheet without headers I get the first row of data as the Column Names. The … Software Development microsoft-office vb.net | |
write a program that simulates the energy use of a house hold based on mainly the geyser's energy consumption. This is the first in a series of assignments improving on the model for this simulation. As a simple model the yearly consumption is based on a sinusoidal function approximating annual … Software Development c++ | |
http://ideone.com/H7YIwR Here's my code to find palindrome in string..But surely it's too slow..Is there any good algorithms for such problems..And for some cases it's not giving the right answer.Thanks for the help. Software Development c++ mathematics | |
How to check if email id already exist in db using vb6 r.Open " select count(*) from login where username = '" & Text1.Text & " ' ", c, 3, 3 If Count > 0 Then MsgBox " already exist " Else MsgBox "valid" End If r.Close plese help this … Software Development email visual-basic | |
Hi all, Really appreciate your help if my function on dijkstra algorithm is correct or wrong? Many thanks... Function Dijkstra(Graph, source): Graph randomGraphGenerator = new Graph: Source V0 = new Source: for each vertex n in randomGraphGenerator: // initializations weight[n] := infinity // Unknown path // function from source to … | |
hello all i tried to fetch data from databse and try to stored it in an array and i want to compare new value that come from database with array if this new value is already stored in this array i like to executed new query if not in array … Software Development java | |
Hi, I have one form with multiple controls (e.g. Button,Textbox, RadioButton, ComboBox, etc.). I want to set the focus dynamically on a control using key F4 to highlight that control. Scenario: 1.Suppose the user clicks on any control 2.Press Key F4 to highlight that control so that the user will … Software Development vb.net | |
Hi. I've been working on this FTP client for a while and in it is Show selected image. I'm currently using this code: PictureBox1.Image = New System.Drawing.Bitmap(New IO.MemoryStream(New System.Net.WebClient().DownloadData(ToolStripLabel1.Text))) I added it to the Form load event. The picture I'm acquiring is from an FTP server but each time it … | |
Hi Dude, I need to design an application similar to windows media player. Many suggested to me JMF but my actual need is it should be exactly same as windows media player. In my swing window, I should have the capability to add/edit playlists. If double click it should get … Software Development audio java java-swing | |
dear friends, icreated small project to open excel using vb. everything works fine with one exception. i used VB express 2010 in xp OS when developing the project. when it runs on the windows 7 platform the opening excel file goes behind the my application. the VB form topmost function … Software Development microsoft-office vb.net visual-basic | |
Im trying to display data in a datagrid then once a row is selected show a different column of the database in a text box. I use the unique primary key in the datagridview as not visible so once the row is selected, i can get that integer and populate … Software Development vb.net | |
Hi.. i have created a tic tac toe game in vb net 2010.. im almost done with my project but there are still some errors. Can somebody pls help me with my code? A big thanks to whoever will help me.. my errors are: buttons remaining are still clickable when … Software Development vb.net | |
Hi i need some help, how to unit test a DAO? here my code: @Transactional public class ProjectDaoImpl extends HibernateDaoSupport implements ProjectDao { Log logger = LogFactory.getLog(this.getClass()); private String message; /** * {@inheritDoc} */ public List<User> retrieveAll() { return this.getHibernateTemplate().loadAll(User.class); } /** * {@inheritDoc} */ public boolean saveOrUpdateUser(User user) { … Software Development java | |
I am trying to read all the files in a folder, if the file name == that of the name the user entered, the text of a button (that when on clicked will open the file) will be set to the file name. But my code for some reason doesn't … Software Development java java-swing oracle | |
I created a simple password program which takes a string when its invoked, and prints thank you if its correct. Now I want to write a brute forcer. The password is a 4 blocks 4 digit password ( example 1234 5678 9012 3456, so its called like this C:\>pass 1234 … Software Development c | |
Hi. I am working on this ftp client and i want a column of the listview to show the date modified. I've got the code but here's the problem: Private Sub RefreshList() FTPDownload.Hostname = LoginMenu.TextBox3.Text.Trim FTPDownload.Username = LoginMenu.TextBox1.Text FTPDownload.Password = LoginMenu.TextBox2.Text ListView1.Items.Clear() Try For Each File In FTPDownload.ListDirectory Dim ext … | |
I would like split to some how split each item in the arry and sort it by Id[1] and then date[2] Been doing a fair amount of reading and cannot seem to figure this one out. Name,ID,Date John,432,2012-03-21 04:32:00 AM Bob,532,2012-01-01 12:12:00 AM Mike,932,2012-01-11 11:42:00 AM Mike,932,2012-05-01 12:13:00 AM John,1532,2012-01-11 … Software Development java | |
Hello people.. I've been working with listviews and FTP clients and i was wondering if you could help me with getting listview to show the icon for the relevent type. So like i have a files in the listview which is music.mp3 and testdoc.txt etc and i need the list … | |
hi !! my background in vb.net is not that good, but i need to make a voting system, user must be log in once and update his status into yes after voting, i have a table namely tbl_elemvoters it has a fields : voterid, username, password, name, grade, section and … | |
I get the following errors with my code when using nmake input.c(375) : error C2065: 'ulong' : undeclared identifier input.c(375) : error C2146: syntax error : missing ';' before identifier 'datelo' input.c(375) : error C2065: 'datelo' : undeclared identifier input.c(376) : error C2146: syntax error : missing ';' before identifier … Software Development c++ | |
Hi I am storing name and texts of controls (Label, Button, ComboBox, ListBox, etc.) into a dictionary. With ContainsKey, I am able to find the texts of Labels, Buttons, and RadioButtons. However, I am getting problem to find the items of ComboBox. Appreciate if you have an idea. If _dic.ContainsKey(selectedControl.Name) … Software Development vb.net | |
Hi to all, This is the first time i can use barcode..anyone can suggest how to use coding () in VB.Net.. Private Sub Button3_Click(print_click)(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click Actual VB6 Coding for the same module is.. Private Sub BTNPRINT_Click() Dim cur_dat_tim As String Dim copy … Software Development vb.net | |
I don't know if what I would like to accomplish is possible in VB, but here it is. Lets say my program creates a set of labels at run time. These labels will be named Label_n (n being an index value to uniquely identify the object). Later in my program, … Software Development vb.net visual-basic | |
Hello all, It has been a while but I'm on the right path - finally. So basically I am writing a very special application for a loved one. I have many great ideas but simply put I am struggling with I/O stream, it is very possible that I should research … Software Development c++ file-stream | |
This is a shameful question for me to ask but how do i keep the debug window open... it keeps on closing automatically rather than me closing it manually. I am using visual studios and it used to work when I just simply click (ctrl + f5). I doesn't work … Software Development c visual-studio | |
How do i create a c project properly in visual studios. They (Youtube) say to click on the C++ button and change it from .cpp to .c. But when I debug my code to see my code compiled, I get an error saying that a PDB file is missing. What … Software Development c perl visual-studio | |
This is an assingment i've been working on but since this is a merge between two previous developments i need a little help solving my issue here that would be highly appreciated. In a nutshell what this program needs to do is recieve a .txt file create a vector holding … Software Development c++ | |
Hi again, before a year ago when we were doing the graphics class at college my professor said that the coordinate system is reversed in programming that means that the Y axe is positive when facing down and the X axe is negative when facing right , however when using … Software Development c# | |
Hi. I was just wondering if there is a simple way to detect if the filetype is a sort of docuemnt which can be read and written. e.g. txt, docx, ini ect. I want to make it in s uch a way that when the listview selects and item it … | |
I'm having a devil of a time figuring out what I'm doing wrong. I get the message "Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another" at the datareport.show line. I've searched for a reason behind it but none I've found … Software Development visual-basic | |
Can u plx help me to display the score with each correct answer in Jumble word game in C++ and Gwin here is so far upto where i have gone #include"gwin.h" #include <iostream> #include <string> #include <fstream> #include <time.h> using namespace std; using namespace GwinColourNames; int main() { GWindow Gwin(500,400); … Software Development c++ | |
Ok so I have this problem: A friend that does a lot of online banking wants to keep track of their activity, so they save the "information" in a .docx file every time they are done. Now recently they have so many files that it is a hassle to search … Software Development java | |
Make a program that would count and add numbers which either one of the remainders when divided by 2 given divisors is equal to remainder searched. The program should accept 5 numbers to be divided by the 3 entered divisor. Sample Output: Enter divisors : 2 4 Enter remainder to … Software Development c++ | |
Hello! I am creating an assembly program that accepts a single character and displays the alphabet in reverse. The requirements are (1) The input character should be displayed (2) The alphabet should be displayed vertically and (3) Only the letter 'Z' should be accepted as input. I have managed to … | |
Hi, I have written a c code that finds euclidean distance between corresponding elements of two 2D arrays. i have taken two text files like this.. 9.0444 0.083404 -0.30599 -0.21367 -0.032527 -0.048789 -0.17683 -0.10523 0.050547 -0.028377 -0.06061 -0.0011242 -0.031838 9.164 0.18631 -0.3277 -0.1631 -0.014165 -0.041347 -0.063973 -0.059217 0.1422 -0.076865 -0.22507 … Software Development c | |
Hey guys! I have this program I'm working on, but I keep getting an error in my main class. Here's what I have: import java.util.Scanner; public class TicketingSystem { public static void main(String[] args) { Game game = new Game(); Scanner input = new Scanner (System.in); String teamName; game.addTeam(new Team(teamName)); … Software Development java | |
I have a simple program that is suppose to read character by character from a file, then if a counter reached a certain limit, it will print those characters in hex format and continue reading the next character from file: Here is my code, but it isnt working correctly, instead … Software Development c++ | |
while trying to compare times between two different ways of determing whether a number is odd/even without using modulo, i thought of using `long long int`s which my codeblocks compiler aint supports . and so i installed pelles c.( supports c99/c11 which inturn supports long long stuff.. ) and im … Software Development c | |
i want to write a C logic which would do the scnning the entire host in the network. i hve got IP address ,subnet mask and networka address till now by my code. But i don't know how to start..i want the functioanlity similar to NMAP. yours sincerely aditya prakash Software Development c | |
what is the logic to count number of objects created implicitly and explicitly inside the same program..Please help. Software Development c++ |
The End.