199,114 Archived Topics
Remove Filter ![]() | |
Hallo to all, I need help on how to put a radio button on the coordinates I want. . .I have this map program and I want to place the radio button on the specified place on the map. I don't know how. . .I have attached an image of … | |
[code=cplusplus] #include <iostream.h> #include <conio.h> char *mystrstr(char *,char *); void main(void) { clrscr(); char *str1,*str2; str1 = new char[100]; str2 = new char[100]; cout << "Enter first string: "; cin.get(str1,99); cin.get(); cout << "Enter seconed string: "; cin.get(str2,99); cin.get(); cout << mystrstr(str1,str2); getch(); } char *mystrstr(char *s1,char *s2) { // … | |
Urbancode today unveiled AnthillPro 3.7, the latest version of its build and deployment automation tool that piles seven popular source code analysis tools onto its [url=http://www.anthillpro.com/html/products/anthillpro/tool-integrations.html]list of third-party integrations[/URL]. There's also support for the GIT repository and DB2 and PostgreSQL databases, the company said today in a statement. Anthill Pro … | |
Hi, I have the following functions [CODE]void LoadData(char* file, float* data1, float* data2) { // read data size and contents from file data1 = new float[dataSize1]; data2 = new float[dataSize2]; // store data data1[0] = 1.0f; data1[1] = 2.0f; // etc ... } void ComputeData() { float *data1 = NULL; … | |
This one I almost have figured out (I believe). it is a program that takes a String in the main class and calls on a method to count the vowels inside the String. I then have to count each vowel (a,e,i,o,u) and input the total number of vowels (separately) into … | |
How to write a query to retrieve the [B]last record[/B] that is entered. ??? | |
Hey all. This is the query I'm trying to run: [CODE]select * from url_0, url_1, url_2 where url_0.url = 'http://google.com' or url_1.url = 'http://google.com' or url_2.url = 'http://google.com'[/CODE] but it is returning things that are not [url]http://google.com[/url]. why? how can I get it to only return entries that are exactly … | |
Hi, I am trying to make a quiz and i want it so, that if you get the correct answer you go to the next form and close the previous one but if not, it will make pop-up box that goes back to the question when pressed OK. Here is … | |
This should be an easy question, I googled it and was noytable to get it working 100%. I have a sql DB which records people signing up via a form for a newsletter/group. I have the form working fine where it inserts the data into the Db correctly. I now … | |
Plz tell me how can i delete a particular string from given file .... plz help .. I've no idea :( | |
Hi there, I got a master page and I need a panel to stay at the bottom of the web page. This is my panel: [CODE]<center><asp:Panel ID="uxButtonsPanel" runat="server" BackColor="Transparent" Height="10px" Width="650px" BorderColor="#C00000" BorderStyle="Groove" BorderWidth="6px" HorizontalAlign="Center" Direction="LeftToRight"></asp:Panel></center>[/CODE] I've looked in many places on the internet and many mention the use of … | |
Hi everyone. I know that asking for project ideas is generally frowned upon, but I wish to ask anyways. This isn't for school, it's just because I want to. I want to start writing applications that would be used in a business or workplace environment. I don't have a lot … | |
Basically the please hit any key to enter doesn't show up in Visual C++.Thanks for help main //CS 310 /*Create a text file and input in certain data into the text file*/ //Program one #include <iostream> #include <fstream> #include "Account.h" using namespace std; int main() { account b; char name1[256]; … | |
Hi All, I have an array of 3 objects stored in cdList. Because I have now added them to an array, the usual method of displaying no longer works: [code]System.out.println(cd1.getArtist() + " " + cd1.getTitle() + " " + cd1.getCost());[/code] My questions are...... how would i amend to output the … | |
Hi, Im fairly new to java and im working my way through a load of exercises and im a little bit stuck on something. I have two classes, one of which holds the main, which creates 3 objects. I would like to know how to how to count the total … | |
Hello, I need a bit of help- I get the following error on my site when I add a banner: Warning: mktime() expects parameter 3 to be long, string given in /home/goldenpl/public_html/ptc/admin2/banners.php on line 69 Here is the file code: [code=syntax] <? $includes[title]="Banner Manager"; if($action == "add") { $sql=$Db1->query("INSERT INTO … | |
It took me very little effort to put a JComboBox in a JTable so that when the cells in a certain column are clicked, it lets the user choose from a drop down list of items. However, my program requires that the underlying combo box can change, since the list … | |
Hi, I am doing network programming in C on Ubuntu using gcc. I am facing the problem how to convert an Integer Type to ASCII Type. I have used itoa() and sprintf(), but wasn't that fritful. Can any one suggest a suitable solution to it? ![]() | |
hi how can i terminate a process using vc++ i check somewhere and i found TerminateProcess function but this is not useful to terminate a process by it's name[for example notepad.exe] i hope you help me | |
[CODE]#Program to count number of specific vowels msg = input("Enter a message:") msg_lower = msg.lower() VOWELS = list(aeiou) msg_list = list(msg_lower) x = () for letter in VOWELS: x[letter] = msg_list.count(letter) for letter in x: print(a, x(letter)) print(e, x(letter)) print(i, x(letter)) print(o, x(letter)) print(u, x(letter)) [/CODE] I get an error … ![]() | |
Hi I am looking for an internet explorer project which blocks all the websites and in turn direct or opens a single website which i specify. Ex: in the code of the project if i give a website name abc.com whichever website u open in IE it may be google.com, … | |
Hi, I am for the first time using Strings in a program, and for some reason my program wont compile. When I use integers the program compiles and runs fine, but since I've changed it to use strings it's giving the following error (Visual Studio): [QUOTE] error C2511: 'Leads::Leads(std::string)' : … | |
[CODE]Hello everyone, I am write a program, which have to read an excel file and save it in an access table. The excel file will be upload. The data will be read and saved in an access table named smsbestand. Can anyone one help here is the code: extension = … | |
Hello everyone, I have to write a code to creat a pseudo assembler..I have an input file from which i read the assembly instructions from there i get the register numbers ...i have to convert that into machine code..i.e binary form... Now my problem is that i can find the … | |
[CODE]using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; namespace WebApplication5 { public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { SqlConnection conn = new SqlConnection( " Server =localhost\\SqlExpress; Database= … | |
Hi guys good day.! I have two numbers(105 & 210). I want the 105 to be left align in textbox1 and 210 to be right align in the same textbox at form load. Would this be possible.? Thank you guys for giving time with this post.! God bless us all. | |
Hi! I m getting difficulty in pointers can u help ? | |
Has anyone got any idea how to make an IM Client in C++..IS IT POSSIBLE??? Also I tried downloading Source code of pidgin.. But couldn figure out anything.... | |
Mkay so im not sure if this is where to post this thread...but im sure anyone here can help me out here.... I work in a ware house full of equiptment of different types, all of which have a different S/N barcode. every morning i scan multiple pieces into an … | |
Hello everyone. I was wondering if you could help me out. I've setup a bridge between my gaming ladders script and my vbulletin. Basically so the people registered on my forums do not have to sign up twice to use my websites features. I can manually update the database by … | |
Hello, I'm learning C# and i want to know how i can add a item in a ListBox like this, the user click in a button, then it creates a item in the ListBox and in the ListBox the user digits what he want in that field, when the user … | |
I would like to create a program to check dimension of piece part. My probram should be consist of interface form to get input from user and display mode to show the final result after program completely processed. Now I have completely created user interface form that is "Form1". This … | |
I have two columns with stirngs ( "String1" and "String2) . How to make string inputed in text field ($search) to be comparative with sum of the both strings ("String1String2") Something like as: [CODE]" SELECT id, string1, string2, FROM table WHERE string1+string2 LIKE '%$search%' "[/CODE] | |
I have phone area textbox and i want to test it against values like 1111111 or 9999999. I want at least 1 character to be different in this text area(it is exactly 7 characters long) How can i do this in its shortest way? | |
I have a datagridview control which shows workdays from database, now i've to find /search the date picked from datetimepicker, when the selected date is found in the grid, pointer should be in that row or that row should be selected.can anyone help me how to do it?thanks in advance. | |
Hi, I have this question, having two numeric values field1 and field2, i need field3 by default to be the difference between field1 and field , any idea?? | |
Dear Friends I worked with VB.NET V 2005 In my project i have using so many sql statements (insert, update..) those working properly In newly i created form i have coded sql insert statement so when i execute it its getting error "Number of query values and destination fields are … | |
how do i select a row in a table columns i dont know the name of(and find the name of it)? but i know the cell/field of the column has a value of "55" i also have to EXCLUDE ONE COLUMN that i know the name of. does anyone know … | |
Hi Folks, I have a login page and stored username and password in mysql as 'admin' and 'admin' respectivley. My problem is like if I am entering a username and paasword like ADMIN and ADMIN its get logged in I want restrict that.So please anybody have look at this.. | |
hi i am trying to clear session varibles its working fine but the problem is when i click back button in browser it is redireding to previous page here i want to do redirect to specied page pls helep me its urgent thanks in advance | |
This Question is not programming related but rather important for all compiler related programming languages especially the Language C. what is portabily? since my graduation i have been taught C is not 100 % portable language. but i dint get any satisfactory answers for,not 100 % portable? where its lagging … | |
Hello! This is my first post and I am a beginner in Java programming-so don't come down on me too hard :) I have a problem that I need to solve over the weekend and I was hoping some of you could help me out. The problem at hand is … | |
I am having a bit of trouble with a property. I am developing a class "Photo" which has properties etc for a single photo using System.Drawing; public Image Imge { get { try { return _Imge; } catch { Bitmap bm = new Bitmap(100, 100); Graphics g = Graphics.FromImage(bm); g.Clear(Color.WhiteSmoke); … | |
Hi, I am getting an error called 'Data type mismatch in criteria expression'. This only happen when I tried to add an item. Can anyone tell me what is the problem with my code? I am using access database. | |
[CODE]#include <iostream> using namespace std; int main() { cout << "Enter the number of students: "; int numberOfStudents; cin >> numberOfStudents; double score = -1; for (int i = 0; i < numberOfStudents; i++) { cout << "Enter a student score: "; int score1; cin >> score1; if (score < … | |
Hi guys, i am faced a problem here where is i need to select a query where the column name is dynamic: table a col1 | col2 ---------------- A | Ali B | Abu C | Kawan A | Bayu B | Cawam C | didik how i write a … | |
[CODE]namespace WebApplication4 { public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void btnAdd_Click(object sender, EventArgs e) { if (upImage.HasFile) { if (CheckFileType(upImage.FileName)) { string fielPath = " !/UploadImages/" + upImage.FileName; upImage.SaveAs(MapPath(filePath)); } } } bool CheckFileType(string fileName) { string ext = Path.GetExtension … | |
I am getting the following error when I tried to connect to the database. Can any one help to resolve this problem. Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'abc'@'rxsxllxr12.zzzzz.net' (using password: YES) in /home/abcd/public_html/Invoicesystem/includes/class.DBcore.php on line 62 Error in Query Execution.Error : Unable to Connect the Server216.120.228.13 MySQL Error: … | |
I want to have a date picker for my application. It should be really simple... I went through many examples. But all I found contains very large files (LOCs)....How can I impliment a simple calender? to pick a date and time.... (jst wanna use them in two comboboxes... to pick … | |
hello, can i check with you all,how do i code to get the parameters from textbox in javascript and pass the parameters to the servlet after a button is click. thanks camilia |
The End.