199,114 Archived Topics
Remove Filter ![]() | |
Hello everybody, I started c++ half a year ago, with the .cpp programs. Now i want to create a program with the Windows Application forms. But how can i multiply with textboxes? I want something like: textBox1->text = (textBox2->text * 3) But this code gives an error, i need something … | |
Hello everyone, I'm developing a website in ASP.NET. I have a Gridview and in it two LinkButtons: [I]Details [/I]and [I]Options[/I]. When the user clicks on Details, I have to show a Formview with the Details information. This part is already done. The part that is being difficult for me is, … | |
3. Create a class by vector with an array of” int” type as its member data (The array created dynamically)find the last largest and avg value of the vector 4. Explain the sequence of steps to be followed in performing the following operations over a binary file catching of empty … | |
I have a main form and I have menu's that open up within the form, but when I open a menu they open off the form. What do I need to do to make the forms open at the center of the main form? Thanks | |
![]() | [code=c++] #define MIN_PASS_LENGTH 6 #define MAX_PASS_LENGTH 12 #define NUMBER_OF_PASSWORDS 3 #include<iostream.h> #include<stdlib.h> #include<time.h> #include<conio.h> #include<fstream.h> #include<string.h> //int i; //letters //int j; //numerals char rand_small_letter() { int nHigh = 122; int nLow = 97; int small_letter = ((rand()%(nHigh - nLow + 1)) + nLow); //values from 97 to 122 return (char)(small_letter); … |
Hi, I have a site that allows users to upload images. I am able to upload image, save to server, and display images right away. Problem is that the images dissapear after I navigate away from the site! I am using the file system to store images. You can view … | |
I have not yet started this, I want some advice on how to proceed before I waste too much time! I am writing a Service which listens on a COM port, parses input, and stores relevant data to a database. I am fine with all of this, except I need … | |
I wrote this program back in high school 10 years ago and I found it today. I'm getting back into programming and I'd like to get it working again, some of the headers are deprecated which I tried to fix, and I was using borland c++ and now have Dev … | |
i have a datagrid .its name is dg and a button its name is btn. I want print my datagrids information by clicking on the btn. I need it urgent. | |
Hello, I'm having a problem understanding why would a form I built before would stop working now. Basically I have some javascript functions that are being called in a reservation form with 2 buttons. This is the JS code: [code]var bgMemory; // save color information var fgMemory; var statusinfo = … | |
Hello~! ...again.. I got some help from you guys a while ago with this same app because it wouldn't run on winxp. It runs fine now, but my brother is still telling me he cant get it to work right...so rather than go through all the trouble of trouble shooting(he … | |
1. Create a class by name student with the necessary member data provide the facility. A. Create a list of stack B. search a student by reg.no 2. Create a class by name dates A. overload “<” operator to compare two dates B .overload “++” operator to compare date by … | |
I am using a Flash file that calls gallery.xml its hardcoded into the flash and i cant edit the flash file. the code in my page looks like [code=Coldfusion] <cfsavecontent variable="gallery"> <?xml version="1.0" encoding="UTF-8" standalone="no"?> <gallery frameColor="0xFFFFFF" frameWidth="15" imagePadding="20" displayTime="6" enableRightClickOpen="true"> <image> <url>http://www.modelproductions.com/proimages/avatar9.jpg</url> <caption><![CDATA[<font size="50">Example Gallery</font><br>An example large format <u><a … ![]() | |
Had a repeater giving out an rss xml data feed, but it took too long to load, so I'm using an ajax incremental page loader and need to get the xml into an innerhtml format so I can write it back to the page's div tag via a web service. … | |
Hello.. Im trying to pass an integer to a function by adress because I want to change the value of the integer in the function. But it will not.. please help. Here is my function call: [code=c] insert_sorted(&VH, &L, n); [/code] Here is my function: [code=c] void insert_sorted(VirtualHeap *VH, LIST … | |
Hi, I've got 2 columns of numbers and need to divide the SUM of COLUMN 1 by the SUM of COLUMN 2. I've tried [code] (SUM(col_1))/(SUM(col_2)) [/code] AS col_3 but this doesnt work. Please help. Kind Regards Asil | |
hiii i have a field called DRIVE ACCESS under it user enters PATH DATE what i want is that when user click on + two new boxes open which allow him to enter the details for second DRIVE basically i want to enter text boxes dynamically using javascript.... any ideas … | |
I'm developing a recursive method for a class which will return a complicated data structure (a list of dictionaries which will contain lists of dictionaries as values). The data structure could be something like that: list<map <string,list<map <string,list< map<string,list<...> > > > How can I refer to this structure while … ![]() | |
Hi I want to store value from a row into a variable. I have used the following coding but it is not working properly. It is generating the following error: [B]Index was outside the bounds of the array.System.Data[/B] Please note that the table contains only one row. [code] objSqlConnection.ConnectionString = … | |
here is a code [CODE] #include<stdio.h> int main(void) { int b[10][5] ; int (*q)[10][5] = &b ; printf("%d", (char*)(q+1) -(char*)q); } [/CODE] the output it produces is 200 while if I change the typecast to (int *)(q+1)-(int *)q, the output is 50. I know that q is a pointer to … | |
Hi I use the reporting services to generate the report.I use query like "Select Distinct(ID) from Table1".In that query Its generate the number of ID ,So In report user able to several "ID" at one time,so I think if I can use combo box then user can select ID which … | |
Hi. In my attempts to create an email client, netbean's GUI builder has made me very unhappy... so, I decided I'd rather code it by hand... not my best idea, but whatever. Now, I'm trying to nest a Vertical JSplitPane in a Horizontal JSplitPane, and I can't see the left … | |
Hi guys, I have the same post in the java category. I tried using C# in coding this project on how can a user log-in his online accounts using a windows application created in C#. The windows application can store his username, passwords and the corresponding URLs, and all i … | |
hello, i was just wondering as to what is the major difference between the Endswith() and Equals() method in .net (c#) ? I wrote the following code for string comparison n also for numerals by using Endswith method however even if i use Equals method i get the same output … | |
Hi I am developing an application (using C# and SQL SERVER 2005) for calculating fine in an library. The fine calculated should not included Sundays. I have used the following code to calculate the fine. But the code includes all the sundays and hence Fine is charged for all the … | |
I have an asp.net application done in visual studio 2005. When I run the application from code, it rums properly but when I compile the site and run it from IIS there is an ODBCerror. The same is the case when I run the code from IIS instead of running … | |
Hi I am developing a windows application. For your infomation FRONT END : C# (VISUAL STUDIO 2008) BACKEND : SQL SERVER 2008 In a single form I have an option for add and remove books. Two different buttons are used(Add and Remove Books). When I click on Add button the … | |
[code]Excel.Application ExcelApp = new Excel.ApplicationClass(); ExcelApp.Visible = false; String WorkbookPath = filename; Excel.Workbook ExcelWorkbook = ExcelApp.Workbooks.Open(WorkbookPath, 0, false, 5, "", "", false, Excel.XlPlatform.xlWindows, "", true, false, 0, true, false, false); Excel.Worksheet Sheet = (Excel.Worksheet)ExcelWorkbook.Sheets[1]; DataTable newTable = new DataTable(); string strConn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + filename + ";Extended Properties= Excel … | |
PLEASE HOW DO I START USING JSP TO BUILD WEB PAGES ON NETBEANS FROM SCRATCH.I HAVE LOOKED UP ALMOST EVERYWHERE AND IT KEEP CONFUSING ME.(I HAVE netbeans ide 6.1 VERSION). ALL MY CODES HAVE BEEN WRITTEN IN JAVA AND I NEED TO UPLOAD THEM USING WEB PAGES AND NOT JUST … | |
Hello all, I want to update the database thru datagrid n also delete the contents of the selected row from the datagrid n then the database should be updated. however am getting a repeated error as to Unable to find Table[0] or Update unable to find TableMapping['Table'] or DataTable 'Table'. … | |
I'm trying to export an excel file to my sql database. But not all the column inside the excel file i need. So, i just need some selected column for input to the database. But now i still cant finish with the code. HELP ME PLS.(red color word is where … | |
i need to how to give codings to buttons that are present in confirm dialog box. For Example if there are two buttons as "YES" and "NO" and if i click "YES" then the program should close. If i click no then th dialog box should return to the program. … | |
Hi All, I am trying to echo the held text in the "Title" field where the id has a fixed value of 1, but i am getting the following error: supplied argument is not a valid MySQL result resource in C:\wamp\www\index.php on line 46 your help would be greatly appreciated. … | |
I m trying to execute the sdo_migrate.to_current method like this : [CODE]execute sdo_migrate.to_current('tablename');[/CODE] but i keep getting invalid sql error, and i dont understand why. Please help | |
![]() | [url]http://gvkalra.freehostia.com/FH/home/[/url] the username & passwords are:: admin and admin.... you need to register to publish new notices - anyone can register for now .... do let me know your inputs via the feedback link |
When I fetch the records from the LIKE the query returns no results but when I fetch records from the equal to (=) then the query returns results. Following user name are stored in the database: (1) `~@#$%'\|/?.><^&%@()-_+-: (2) (){}[]|\/?"*&^%$#@sujeet` I am searching the records from the LIKE operator as … | |
I used AppendBoundItem in dropdown -but it keeps on adding extra list of data everytime I click does any one have any idea how to restrict it. thanks here's the code: [code] <asp:ObjectDataSource ID="SrcCty" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="stateTableAdapters.CityTableAdapter" > <SelectParameters> <asp:ControlParameter ControlID="ddlSt" Name="MyState" PropertyName="SelectedValue" Type="String" DefaultValue="null" /> <asp:ControlParameter ControlID="RBl1" Name="mytype" … | |
hello every body how to design multi pages in crytal report ? | |
this is our homework... // make a c program that will ask any number from the user. //Output all numbers multiples of 3 from number to 30. [ICODE]// make a c program that will ask any number from the user. //Output all numbers multiples of 3 from nuber to 30. … | |
i tried to create a program that would get the sum of the squares but i couldn't get the right output. Could u help me debug? and tell which part of my codes where wrong.PLEASE! :S [code=cplusplus] #include<iostream.h> #include<conio.h> #include<math.h> int x,num; int f(int); main () { clrscr(); cout<<"Enter a … | |
hi I have a simple log in form. I want that after user logs in , he should not be able to goto login page again using back button of browser. Does page reloads fresh when back button is clicked or it simply displays what was earlier. login.jsp [code] <% … | |
[U]I need someone to help me with the following problem please:[/U] First of all I have 3 (there are more, but only these 3 files are needed) files: index.php (this file is composed of several other files with a .inc extension) cfg_db_connect.php (contains the code to connect to a database. … ![]() | |
Hi all, I have made (just to learn C#) a calculator program, which is working OK. I made a Round button class for it, but the edges of the buttons still look "crispy". I set [B]SmoothingMode [/B]and [B]PixelOffsetMode[/B] to [B]HighQuality[/B] but it seems to have no effect. Is this once … | |
Hi, I am modifying a software in delphi, The software is in Turkish, but it cannot show special Turkish characters properly. Can anyone help me solve this problem. | |
Hello, I have an application written in python and Tk. My application is to be scriptable with python, i.e., the user gives a small piece of code written in python, and that is to be executed by my application in a different interpreter, with different set of local variables. I … | |
Hello to all, [INDENT]I am making an application which will only take images, convert it into binary image using a threshold. Now this binary image will be segmented horizontally on the basis of black pixels. In the attachment [ATTACH]10789[/ATTACH], this is the original image file. Now i have to segment … | |
![]() | Hello, I have a small question. I have done some projects in C++ and Delphi. In C++, when I work with classes, I always use pointers.I make functions and classes that takes pointer to a class as an argument. But in Delphi, like this example: (some class).Create(Owner: TComponent) function take … ![]() |
Hi All, I am using the below code to write into a text file [CODE] # Write into log file inp=file(Doc\Log.txt, 'w') inp.write('Log file start') inp.close()[/CODE] The text file 'Log.txt' is present in 'Doc' folder inside the application folder. Now I want to create a text file with a time … | |
Hi, There's no error on my codes for searching the Record in MSFlexGrid, but i want to know :-/ if its [B]possible to search the record in other column of MSFlexgrid.[/B]:-/ for example I want to search the record that is placed on the column 3 and not in the … | |
Hey Fellas...Im getting this error on a "select box"...im trying to parse some info: PWC6197: An error occurred at line: 88 in the jsp file: /jsp/cpanel/HomeSellerList.jsp PWC6199: Generated servlet error: string:///HomeSellerList_jsp.java:147: cannot find symbol symbol : method indexOf(java.lang.String) location: class java.lang.Object PWC6197: An error occurred at line: 88 in the … |
The End.