199,114 Archived Topics
Remove Filter ![]() | |
Thanks in advance for any one who helps me. Code is in C using unix system calls. I am writing a code that forks a process and that forked process gets worked on by a function, in my case its called processone. I had a similar program, in which i … | |
hi, can anyone please guide me how to install PHP fourm and IIS server on WIndows XP . i really need to get started with this tahnx | |
hello reader.. i am developing a website. One of the web's page is PRODUCT page where user can view, or purchase the item. There are 3 categories under PRODUCT which are; pet, gardening and food.. I'd like to implement user preferences in this page. User will pick its preferences via … | |
I am able to create .xlw files that will open with Microsoft Excel, but is there a way to turn that into a .csv file? The code I use to create the .xlw file is as follows: [code]Set oExcel = CreateObject("Excel.Application") Set oBook = oExcel.Workbooks.Add Set oSheet = oBook.Worksheets(1) oSheet.Range("A1").Value … | |
hey...i'm having trouble passing a user define 2d array... [CODE] void genrand(int &game[][],int &size) { int i,j; for(i=0;i<size;i++) { for(j=0;size;j++) { game[i][j]=(rand()%100); } } } int main() { int size; int game[][]; cout<<"Please enter your Game Size"; cin>>size; genrand(game[][],size); return 0; system("pause"); } [/CODE] This is my code...i read in … | |
Hi! I have been programming in FreeBasic for 2 years now, and decided to switch to C++ a few weeks ago. This means that I'm not completely new to programming. I downloaded Visual C++ Express Edition 2008, and have already read all 12 chapters of C++ Beginners Guide (well the … | |
hi this may sound simple but i can not get it to work i have try for about 5-6 weeks now and this my last hope all my project is to make a job dater base that workers can add jobs and cliences can see there job but i am … | |
Hi, I am using this zipfile.Zipfile module to zip around 600 MB of data. But after zipping, the size of the zipped folder is app. same. file = zipfile.ZipFile(yesterday_date_time + ".zip","w") os.chdir(rawFileLocation) dirList = os.listdir(rawFileLocation) for fnames in dirList: file.write(fnames) file.close() If i try to use compression method as ZIP_DEFLATED, … | |
Hi I've been doing a study of some PHP code developed by another author in 2002. The article could be found at: [url]http://www.devshed.com/c/a/PHP/Building-A-PHPBased-Mail-Client-part-2/3/[/url] The functions I need help with in understanding are: function parse($structure) //custom function developed by author function get_attachments($arr) //custom function developed by author The following line gave … | |
Hi, I am having issue with the Scanner class, it seems to fall through to the next line, depending on how I call it from my class. I cannot track find a pattern to this. Except it tend to happen more when calling the nextLine() from the Scanner class. Some … | |
Hi All, as per as I know dataset can do the work of datareader.Only the difference in connected and disconnected architecture.But Is there any area where we have to use only datareader without dataset? | |
[code]include<stdio.h> #include<conio.h> void main() { char u,pp; printf("\n\n\t\t enter the username and password"); scanf("%c%c",&u,&pp); getch(); }[/code] what was wrong in this code, Its taking the username but its not properly taking the input of password. And my another doubt is how can i use string for this program instead of … | |
Pls see my code.Nothing is displaying in the grid [code]Private Sub MainForm_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim connString As String = "Provider=SQLOLEDB;Data Source=MSALAMEEN;uid=sa;pwd=Sa1;Initial Catalog=Biometric" Dim myConnection As OleDbConnection = New OleDbConnection myConnection.ConnectionString = connString Dim da As OleDbDataAdapter = New OleDbDataAdapter("Select ID from bdata", myConnection) … | |
Hai, I don know how to store data from datagrid to SQL database. I also don know how to find the number of records in dataset or datareader. for an example [B]myCommand = New SqlCommand("Select * from discounts", myConnection) dr = myCommand.ExecuteReader()[/B] How can I know whether there is any … | |
Hi, I have one question. You know some applications can be minimized to the lower right corner and with a hot key (e.g. ctrl+F1). Once the hot key is pressed, the application is activated or some event is activated. I wonder how to do that in java if there is … ![]() | |
Hi! I have a problem. I cannot update the row in GridView control. [CODE=asp.net ] <asp:Label ID="Label1" runat="server" Text="Username: "></asp:Label><asp:TextBox ID="unTextBox" runat="server"></asp:TextBox><%--<asp:RequiredFieldValidator ID="usernameRequiredFieldValidator" runat="server" ErrorMessage="*" ControlToValidate="unTextBox"></asp:RequiredFieldValidator>--%><asp:Button ID="unSearchButton" runat="server" Text="Search"/><br /><br /> <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" DataSourceID="MySqlDataSource" CellPadding="4" ForeColor="#333333" Font-Size="Small"> <Columns> <asp:CommandField ShowEditButton="True" /> <asp:BoundField DataField="Name" HeaderText="Name" SortExpression="Name" ReadOnly="true" … | |
Hi,Can anyone help in FEC coding in C++,I tried a lot but m not getting the logic. Atleast anyone can suggest me the logic. Thanks | |
Hi, I am using [B]file upload[/B] control in .net. But I want , the user only able to upload doc, docx and pdf file.How do I make it possible? | |
I was trying to find out what tk is (with respect to tkinter) and I regularly came across the words API and "binding". What do they mean? | |
Hi, I am a bit confused with sessions, I have read somewhere that session values get destroyed after the session is expired ; to test that i created two web forms each generating session values on page load, also i capture browser session id by: session.sessionid(); I am using mozilla … | |
Hi , I need to create a page that has databound controls . eg. Say i have a row with the following columns 1. TrackKey VARCHAR(50) 2. State VARCHAR(50) 3. Reason VARCHAR(50) 4. DateChanged DATETIME ------------------------------------------------------------ Now for each row in the table, the controls should be like this 1. … | |
Hi, In my DB I have 2 tables Units and Groups In Units I have Id Name In Groups I have Id Name UnitID This is my code [code] BMDataClassesDataContext db = new BMDataClassesDataContext(); TreeNode rootNode = new TreeNode("BM"); var n1 = from node in db.Units select node; foreach (var … | |
Hi, I am still a newbie to C++ and ran into a strange problem - I am using a static instance variable in my class, as soon as I do so I get an error LNK2001: unresolved external symbol error message - however this only occurs when I am trying … | |
The code below should produce my homepage but it doesnt display the stuff from the database, the page works by setting the content as the $content variable and then replacing it in the template file to make the page, any ideas? [CODE]$content = '<div id="leftindex">'; if ($db_found) { $SQL = … | |
Hi! What i want to do is for my program to detect all USB disks inserted and return the device path (/dev/XXX) and system type. My first tought was to fetch output from fdisk -l but thats not very fancy and i guess there is some function or such to … | |
Looking at the source code of this website: [URL="http://superdialcouk.dmshop.biz/numbers/0207/choose.php?dmb1_SessRef=2009-08-22_15-29-14_8068_0003"]http://superdialcouk.dmshop.biz/numbers/0207/choose.php?dmb1_SessRef=2009-08-22_15-29-14_8068_0003[/URL] What code do i copy and paste to get that table of telephone numbers on my website, the numbers need to remain dynamic in thesense tat if theyre purchased from the site given above - they then should not be viewable … | |
Hello everyones, I want to delete where my id has unique identifier in the table in my database.... how can I do it? Thanks | |
Good Day All, Not sure if I should post this request here or under the SQL Forum. I am studying JAVA and my code is for JAVA, but my query is regarding the SQL prepared statements to be used in my JAVA code. I have a program called SingleUser.java. The … | |
[url]http://www.braiform.com/Menu-Two/Hanger-Catalogue/?id=29[/url] check the above website . on mouse over of any image a pop up appears and displays the image information i want to achieve the same thing in my project Please tell me which language is used for this purpose and how to do that. | |
hi all java application which is made of awt and threads can be call from jsp is possible or not . i am having one application which is in swings and i want to call that application from jsp so that i can run or use this swing application in … | |
I have sqltable which has two fields category_id category_name 1 india 2 africa 3 china In front end i have 2 text boxes categoryid category name But the category id field is read only , i mean i am automatically incrementing it by one. Then i am displaying the data … | |
Hello good people of vb.net, I'm experiencing problems with an application I'm writing. I have a login dialog that is loaded in the main form's load property, like this: [CODE] Private Sub FrmMain_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load ' show login if configured If My.Settings.login Then … | |
I am having a much harder time than I should trying to deallocate the memory used by an STL map. Some example code: [code] void mainfunc() { testmap(); testvect(); } void testmap() { map<int, float> testmap; for (int i = 0; i < 1000000; i++) { testmap[i] = (float)i; } … | |
Hello, this is my 1st post here,:) I have a problem With C#.net 2008, I can't find the way to send variables from form to form, Could you post here all the ways to do so? + But my problem really is this.:icon_eek: I have 2 Forms, 1-[B]Form1[/B], 2-[B]SP[/B]([I]name of … | |
Hello, I have an array 'summed_MWloss' which has the following content: [0.00024064097412677081, 0.0010840802387205584, 0.003607376872954593, 0.0078014804983401742, 0.013657631815844617] I am having trouble writing it into a CSV file into seperate rows. The code I am using at the moment is: [ICODE]t = open(r'F:\IPSA\My_Work\Python_Files\my_powerD2.csv', 'w') output = csv.writer(t, dialect='excel', delimiter=',') output.writerow(summed_MWloss)[/ICODE] which allows … | |
Hello all, I'm trying to add a new row to a new datatable. The following is my code,but I get the error of "Cannot find the column 0." Anyone can help me on this? [CODE] Imports System.Windows.Forms Imports System.Data Imports System.Data.OleDb Public Class Form1 Dim cn As New OleDbConnection Dim … | |
hello dear users.. i am working on a simple 2d game like DANGEROUS DAVE (if anybody played he will know better)... i was working fine although i am new to openGl and glut... now there is a problem that i want my character ( in fact a bmp image) when … | |
pls someone give me a puiz project using visual basic 6 and ms access with adodc connection...plssssssssss... i am under pressure....pls upload file and send me immmediately | |
how can i print a triangle in java.Its shape is like this A B C D E F G H I J K L M N O i have to use ascii code for printing alphabets. | |
I need to modify the invetory program to be CARS not cd's, dvd's or computer equipment. I have the program for cd's, what would it take to change the pruduct to CARS? | |
package javaapplication1; import java.util.*; import java.io.*; public class GO { public static void main (String[] args) throws FileNotFoundException { Scanner inFile = new Scanner (new FileReader("grades.txt")); PrintWriter outFile = new PrintWriter ("output.txt"); int q1,q2,q3,q4,q5; double g = 0; int ctr = 0; double ave; String name; double cAve; String grade; … | |
Hi all, What I want to do is, when I leave a cell I want to make sure that that cell is not null, that is there is a date data there, and when I leave, I want to add some days to date and place this result on another … | |
I have a file like this: [CODE] 2 | H| 2 | H| 2 | H| 2 | H| 2 | H| 2 | H| [/CODE] & this code to read it in: [CODE] f = fopen(p, "r"); char *t[100]; int i = 0; int i2 = 0; int n … | |
I wrote a java class to connect to database (DBManager.class) and then use JSP to call the java class to get the output that is read from the database. Here, i use Apache tomcat. it gives me an error when i try in my browser here the message error: [QUOTE]org.apache.jasper.JasperException: … | |
Hello, I have a class with as many objects I need. I am changing the value of some member variables individually here and there, however, now I want to be able to change one specific member variable of all objects e.g. bool visibility at once, so that all objects wll … | |
This a portion of my code with 2 sets of 2d array [CODE] public class Form2 { public static void main(String[] args){ int[][] dayForm = { {25,15,28,17,19}, {31,21}, {23,24,19,18}, {15,19,22}, {14,17,13,18}, {8,12}}; int[][] boardForm = { {10,18,17,17,15}, {16,9}, {13,19,15,25}, {11,10,8}, {14,17,19,13}, {11,4}}; final int SIZE = 4; int[] totalday = … | |
Hi, I am using Weblogic 9.2 MP3, I want to find Programmatically IP, Port & Server State of Weblogic. Let say there is a page named index.jsp deployed on domain mydomain. So after weblogic is RUNNING, I can access that page by hitting URL [url]http://1.2.3.4:9876/mydomain/index.jsp[/url]. I want the IP(1.2.3.4), Port(9876) … | |
hi friends, in visual C# 2008 express edition IDE, when I tried to add more than one C# source files in the same project then I got following errors: [CODE] Error 1 Program 'C:\Documents and Settings\Santosh Tripathi\My Documents\Visual Studio 2008\Projects\ConsoleApplication1\ConsoleApplication1\obj\Debug\ConsoleApplication1.exe' has more than one entry point defined: 'ConsoleApplication1.Class2.Main()'. Compile with … | |
Hi there all, Could someone please tell me how I could increase my precision for floating point arithematic? My requirement is that I add a very small value of the order 10^-7 with a relatively big value, say 36.63 and then I want multiply it with 10^7. The problem Im … | |
Is it possible for me to typecast or convert a type [icode] IplImage* [/icode] to [icode] const char* [/icode] It seems impossible, but i would like to send a frame captured from webcam through a winsock socket directly through memory but the 'SEND' function only accepts type const char *. … |
The End.