199,114 Archived Topics
Remove Filter ![]() | |
Hi everyone, I develop application using Java-RMI, and I want to run as XHTML web page, help me please, thank you? | |
Hi there I am new to .net and I have put at least 4 hours in to figuring out why i cannot view my results when I run a datagrid in my 2010 visual studio WPF application. Also, it looks like it is only filling one record in the datagrid. … | |
how would you go about highlighting text in the tkinter text widget ? | |
[CODE]/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * MainMenu.java * * Created on Feb 22, 2012, 7:28:37 PM */ package f1carracing; import java.awt.Color; import java.awt.Graphics; import java.awt.Image; import javax.swing.Icon; import javax.swing.ImageIcon; import javax.swing.JOptionPane; /** * * @author … | |
[CODE] Private Sub save_Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim i As Integer w = New IO.StreamWriter("e:\test.txt") For i = 0 To ListBox1.Items.Count - 1 w.WriteLine(ListBox1.Items.Item(i)) Next w.Close() End Sub[/CODE] this code will save all items in listbox but i want when u click an item(selecteditem) … | |
![]() | Hi All. I'm getting to grips with OOP (slowly) and I was wondering how you go about applying general functions to classes. For example, if I have a few general functions - this is a silly example, but should give you an idea of what I'm asking: [CODE]function strBig($str){ return … ![]() |
Well, when almost finishing this tutorial: [INDENT][/INDENT][url]http://msdn.microsoft.com/en-us/library/ff677562.aspx[/url] I found a problem on connecting the Add-in to the database, and so the lobInstance canĀ“t be opened: [url]http://i.stack.imgur.com/AFzie.png[/url] This is the error code. (in fact the error message was being popped out when the Excel 2010 client starts, but I commented the … | |
Could I find some translator which could translate partial C++ codes to equivalent C codes? like [code] int max(int A, int B); double max(double B, double B); [/code] would be translate to something like [code] int maxInt(int A, int B); double maxDouble(double B, double B); [/code] [code] template<typename T = … | |
The following errors popped up upon compiling is there a way to fix this in dev c++ ??? Please resond here or to <snip> Thank you. \Dev-Cpp\lib\gcc\mingw32\3.4.2\include\syslimits.h [Warning] #include_next is a GCC extension <- I have mingw installed from the included updater in dev c++ C:\Dev-Cpp\include\sys\types.h ISO C++ does not … | |
I want to manually test my sites to check if they are secure against SQL injections. Whats a good way to attempt it. How do I get started? thank you | |
What is meaning of "nature of entity"? e.g. kind of function, global variable? Is there any code to check it? Also, how to detect the memory section in memory map? e.g. environment, command line arguments, code/, global initialized data, global uninitialized data, stack, heap etc. Is there any code to … | |
Hello, I want to do horizontal fragmentation of a table say employee. But fragmentation is often related to distributed databases. So i want to ask how can i do this on my single home computer? Could anyone list out the steps that should be performed. I saw the concept of … | |
Good Morning... First let me start by thanking those of you that respond with great education information in here.. You have made my learning curve (time invested) much shorter than it would have been with just a reference manual. I know I still have a lot to learn, but this … | |
hi, i'm developing this small seo component, i want to know how it should be done. now i'm writing seo meta tags and other tags search engines looking into the page. i'm getting the content of the page and look for the previous set of say, keywords and replacing them … | |
Hey everyone, The query i'm trying to perform shows a list of auctions that a user has bid on, name, id, date ended, current price etc. But also the number of bids that the user has placed on the time. [CODE] SELECT id, name, count(*) AS bid_count FROM wp_wpa_bids WHERE … | |
Hi All, I can't figure this out, I have a listview and I want to export it and finally found how to do it but I'm stuck here.. Here's the code. [CODE] Dim Row0 As WorksheetRow = sheet.Table.Rows.Add Row0.AutoFitHeight = False Row0.Cells.Add("PROJECT_NAME", DataType.[String], "s67") Row0.Cells.Add("USER_NUMBER", DataType.[String], "s68") Row0.Cells.Add("JOBNAME", DataType.[String], "s68") … | |
The startup that I set in my project is not the same when I open the exe file of my project. Someone can help me? tnx | |
Hi I have been going through a tutorial i came across online. Please let me know what this would read if it wasn't written in shorthand. Regards [CODE] $products = isset($_SESSION['products']) ? $_SESSION['products'] : array();[/CODE] | |
i want 128 bit key in my academic project. Can any one please tell me how to generate 128 bit key in c++. | |
Hello people, I hope everyone is well. I have just started learning silverlight and retrieving data through Linq to SQL. I have a problem with retrieving certain coulums from the table. I can retrieve through an object that retrieves all the columns but I don't want this. i managed to … | |
Ok, as easiest as i can explain. - There are many child.sid to parent.id - There are many child.nid to child.sid - There are many child.id to child.nid child.id is just the id of a child row. And each row has rating column. In the query i'm grouping by child.nid. … | |
I have a project where we are calculating the cost of shipping a product from manufacturer to warehouse using North-west corner and also using another method to find the minimum cost to meet the demand. I am stuck on coding the minimum cost algorithm, I understand the minimum cost algorithm, … | |
I am facing problem in database. i want to select tables which have been updated from last one week.. | |
You are to write a program that will allow Apollo College to maintain the marks and grades of its students in a programming class. Assume there are ten students in the class. Your program will need to store the following information for each of the students: 1. Studentās name, to … | |
serial port problem is occuring,,, pls guide on the same as i new to this,,, [CODE]#include <stdio.h> #include <string.h> #include <unistd.h> #include <fcntl.h> #include <errno.h> #include <termios.h> int main() { int fd; int wd=0; unsigned char buff[] = { 0x02, 0xFA, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x23, 0x01, … | |
is it possible to access an access database without ms office or just using references or .dll | |
Hi Ive got an error message saying "Object reference not set to an instance of an object." It doesnt make sense to me and the troublshooting tips says to make a new keyword, but since Im new to C# I dont fully understand it. Heres the bit of code thats … | |
Hello, Can any one provide me with the Crsytal report runtime installer for Visual Studio 2010.. I have the installer of Visual Studio 2008 but its of no use... I need the installer that is the .msi file.... Can anyone provide it to me...coz I have searched a lot.... | |
Any commands for creating database using oracle command? as well as creating tables? I have this in creating table but did not work. Having invalid table name error. [CODE] Imports Oracle.DataAccess.Client Imports Oracle.DataAccess.Types Public Class dump Dim conn As New OracleConnection Private cmd As OracleCommand Private da As OracleDataAdapter Private … | |
please help!!! i have a datagridview on my form with customers info which is linked to my database. i want to execute a line of code based on the information in one of the columns in the datagridview??? for example i have a datetime column which stores dates(and maybe time) … | |
Hello VB.net'ers. I've got a problem. I have a feeling it is an easy one, but for the life of me i cant figure it out. My project at the moment is to grab content from a website and use it in some way (havent worked out this part yet, … | |
Hey, We have a good few websites that use Google's reCAPTCHA and in the past 24 hours spammers have been bypassing the reCAPTCHA... has anyone else been having this problem?? Or know of a fix. Spammers haven't been able to use the form until last night when somehow they got … | |
I'm in the process of converting a complex system from VB6 and C to C#. However now I'm in a position where I need to call a C# dll from VB6 and I need it yesterday. The only solution I found was using Interop, which didnt work, and seemed to … | |
I want to add task scheduler in my project, but i never went through any such thing before so am confused how to start with of. Either i have to add third party tool for that or .net will provide any class for that. in my project i have to … | |
Hi! Could someone show me how to implement swap algorithm in php and mysql? ie: I have 4 records in a table each are sorted by column position say position 1 2 3 4 if I move an existing position from 4 to 1 number 1 will be moved to … | |
Im trying to call another perl file from within a perl program. I have been told it's system("file.pl"); but this doesnt seem to work | |
Hi. I am a beginner with Python. I've done some PHP work in the past but I suspect this is not helping with my progress in Python. I have a text file that basically looks like this: [CODE]a=1 b=2 c=3 a=4 b=5 c=6 a=7 c=8 a=9 b=0 c=11[/CODE] At the … | |
hi , i want to ask if some one know how can i calculate number of variables or used variables in a java file? is there any way to do it? | |
ORA-01000: maximum open cursors exceeded tips I am getting following error. I made a combo box with select query behind it, i used itemlistener to fetch data. Today during testing i found that if user move too quickly in combo box so select query will be fired for each number … | |
hello there, i am new to oracle. i am trying to load different database, which i have just created using database configuration assistant in oracle, called "mydb". i want to load it when scott user logs in. btw which database loads when scott logs in, is it orcl or something … | |
i am inserting a row in an acces table but I also want to get the id of the last inserted row so that I can use that value. Any ideas on how I can go about it? [ICODE] Dim iSql As String = "Insert into CompanyDetails (code,description) 02 Connections.MyDataAdapter(iSql) … | |
Hi all! Quick summary: I'm attempting to shutdown a socket, but the framework that I'm inheriting an Interface from already contains an implementation of a "shutdown" method. Therefore, I am unable to call "shutdown" for the socket. Longer Explanation: How can I fix this? I originally tried looking for a … | |
Hi everyone, I'm building a project with CakePHP and I would like to be able to have pages that are created dynamically. So, if a user goes to [url]www.domain.com/page-name[/url], the controller should take the /page-name part of the URL, search the database for it, and then display the results in … | |
I am parsing a file and populating a static array of objets in a servlet. Then i pass the static array and try to access the array in the jsp by using the JSTL <c:forEach> tag in the loop i want to populate a table. I am perfectly able to … | |
good day guys; I hope somebody could help me again with my problem I'm working with this for a month now and It seems I cant analyze what's wrong with my code. now here's what I want to happen I want to count and pull the records from a table … | |
i need help with my code in retrieving the image stored in the database.. what is the problem of this code? it only displays a blank page.. this is the code : [CODE]<%@page import = "java.sql.*"%> <%@page import = "java.io.*"%> <% Connection connection = null; //login is the name of … | |
Hi Guys.I am developing a transport management system in wpf using mvvm pattern.Its a distributed software and i have heard that i would have to use Wcf.Are there any alternatives or is there any need of using Wcf? | |
actually i'm developing web template using asp.net and c#. i have mainTemp.aspx page which is include usercontrol page. in my usercontrol i have a listview which in this listview i have to create dynamic table inside the ItemTemplate based on a XML file. my listview code including the ItemTemplate is: … | |
Trying to teach myself Java, for better or for worse. The program I intend to create should pick a random playing card from a deck of cards, determine the suit and face value, then return all variables as shown: "You picked 14, the 2 of Hearts." The problem is I … | |
My Table looks like Table Name: Categories CategoryID : int CategoryName: text Description: text Picture: Image Now I want to display all these fields in a DataGrid. I have done this, [CODE] DataGrid1.DataSource = DataTable or DataView; DataGrid1.DataBind(); [/CODE] [CODE] <asp:DataGrid ID="DataGrid1" runat="server" AutoGenerateColumns="False" Width="100%"> <Columns> <asp:BoundColumn DataField="CategoryID" HeaderText="Category ID" … |
The End.