199,114 Archived Topics
Remove Filter ![]() | |
Hi gusy, Can any one suggest , how to install DBD::mysql on windows mechine. (Its eating my head). I tried all the possible ways , but its not installing. 1) I tried to install directly from cpan , failed 2) manually downloaded, and tried to install, still failing : showing … | |
hi there, how can i add add a row to the bottom of the datagrid view in C#?? thanxx | |
Hey I'm having trouble using scanf to input two number and it is only letting me input 1. here is my code [ICODE] #include <stdio.h> int main() { int i ; int j ; int tl[10][25] ; int br[40][5] ; int point1[100][100] ; for(i=0;i<40;i++) for(j=0;j<25;j++) { printf("please enter value x,y … | |
i have a regular expression that's supposed to match any string containing certain words in no particular order. the pattern is in PHP: [CODE]var $pattern = /^(?=.*\bword1\b)(?=.*\bword2\b)(?=.*\bword3\b).*$/gmi[/CODE] this pattern works well both in javascript and php but in SQL, it does not work. I searched and found out that some … | |
String user_src=(String)session.getAttribute("user"); System.out.println(user_src); why i got null on console????? | |
![]() | I am new to C++ and cant get my program to compile because of #include recursion. I have 3 classes A, B, C. A includes B.h and C.h B includes A.h C includes A.h and B.h They include each other because they either need to send messages between themselves. No … |
I have these structs. and I have two files one is program.dat and other is course.dat and I am supposed to load the values from those .dat files to the struct. The separation between attributes in program.dat and course.dat is '|' for example programID|programTitle|ProgramCode........ and I have used string tokenizer … | |
Hello, I am trying to generate pdf on the fly in through php using TCPDF package. My table contains 70 columns, which i need to write into pdf. Only some 5-8 columns are writeen into pdf and rest of the data is cut as the width of the pdf page … | |
Cud any1 let me know how this code works with respect to pecedence and associativity Thanks in advance[code]#include <stdio.h> main() { int i = -3, j = 2, k = 0, m; m = ++i && ++j || ++k; printf ("\n %d %d %d %d", i,j,k,m); }[/code] | |
Hi, in part of my app I have to load an XML file and read an Attribute from it to output in a MessageBox. The MessageBox is called from a click event on a DataGridView. The way I have the code below I get an error that my INT gSize … | |
Hope your ready :P [CODE] /* THIS PROGRAM IS INCOMPLETE!! PLEASE DON'T CORRECT THE EMPTY FUNCTIONS!! Thanks, Spartan118*/ #include <iostream> #include <string> #include <windows.h> #include "H:\profile\desktop\rawrr\lvp\random.h" #include "H:\profile\desktop\rawrr\lvp\conio.h" #include <fstream> using namespace std; void combat() { randomize(); string object; cout << "Entering combat." << endl; cout << "You are behind … | |
Hey guys! Hope you all doing well :) I have the following error in my assemblies: 'System.CodeDom.Compiler.CodeDomProvider.CreateCompiler()' is obsolete: '"Callers should not use the ICodeCompiler interface and should instead use the methods directly on the CodeDomProvider class. Those inheriting from CodeDomProvider must still implement this interface, and should exclude this … | |
hi everybody! i have this code for queues but it doesn't execute due to final Queue s = new Queue(); what should i do with this? pls help me :( [CODE]// Testing the Queue class of the java.util package import java.util.*; import java.awt.*; import java.awt.event.*; import javax.swing.*; public class QueueTest … | |
Hi I'm writing a piece of code to update a users password when they have forgotten it, but, for some reason I cannot seem to get it to work. It is always echoing out that the secret answer is wrong. It's probably something stupid that I have looked over, if … | |
Hey guys~! I am working on a code and I am having some difficulties with it -- Basically I have a 3x3 grid of JButtons that represent the squares on a TicTacToe grid. The code seems to run fine but then after it determines a victor it crashes and says … | |
Please help, I have designed a form, that contains an upload button. The form can only take file upto the size of 1mb. Every time I press the submitbutton I get: [B]Notice: Undefined index: myfile in F:\wamp\www\Site\CRUD\Upload\insertscript.php on line 9 Invalid file type [/B] this is my form and below … | |
im trying to use stacks to output files with names here is what i have so far ive tried every combination of file.open i could think of any suggestions? [CODE] #include <iostream> #include <string> #include <fstream> #include <stack> using namespace std; int main(){ stack<string> filename; string fname; int count; ofstream … | |
Hai, I've been fiddling around with char, char* and string and thoroughly confusing myself as to what the actual differences are but all in all, I couldn't seem to figure out a way to edit a string/char/char* to do something like this automatically: [I]"File1.txt" "File2.txt" "File3.txt" etc.[/I] None of the … | |
hi there, i get a Argument Out of Range Exception in the line "dgvDAction.Rows[r].Cells[0].Value = dt.Rows[r]["TActionDes"].ToString();" when it runs for the second time.dt.Rows.Count = 2. why is this happening??? [CODE] String query = @"Select TActionDes,TAssignTo,TDueDate,TStatus,TDateComplete,TComment from TopicAction Where TopicNo=@topicno and Phase=@phase "; SqlCommand command = new SqlCommand(query, DB.getConnection()); command.Parameters.Add("@topicno", SqlDbType.VarChar).Value … | |
Hey all, I have a conceptual question. I have a 2-dimensional grid with on/off (0/1) values for every cell it. What I would like to do is to calculate the distance covered over cells with a value 0 and the distance covered over cells with a value of 1 when … | |
Hello, I am learning dictionaries and I need help. Here is a script and the task is to modify print_hist to print the keys and their values in alphabetical order. I imagine that the result should be like this: d 2 o 1 r 1 v 1 thing is I … | |
I have a form that has multiple text boxes, check boxes etc... The question is, instead of writing out: [CODE=c#] cmd.Parameters.Add(new SqlParameter("@myparam", (object)textbox.Text));[/CODE] a million times for each parameter, is it possible to load all of the names of the objects on a form into an array and just do … | |
Context: I have a search functionnality in my webapp that is looking in a few different xml for the ids im searching for. (I can search for a range, or different values). After search is completed it returns me a bunch of objects that I can click on and it … | |
hi, please help this problem , iwill used query after while condition this will not run the program. | |
hi there, when i pick a date from the datetime picker and do to save it in the databassse the time is as 12.00.00 am in the database with the date. how can i make the time to set the default system time to be saved to the database. i … | |
Please wrap code related toantivirus. Any information related to Antivirus. Code related to scanning etc. | |
Hi :) Well, I have an idea for a text based game that runs in the browser, but I have no idea how to code it. I am looking for someone who is good at coding and would like to help me out a bit! :) The game would be … | |
Hi all, I would like to make a method that replace from a string the character k with x if the number of characters k is bigger than the x number, and the opposite replace. My code is : [CODE] class Replacing_class { public static String changeString(String str) { char … | |
Hey guys I want to create a secure log in/ clock in / out form where different employees could log in and be automatically directed to there correct form. I have tried to create one but i keep getting "run time error 3011" [CODE]Dim WithEvents kell As Timer Private Sub … | |
As the title suggests Any help for keypress action folks?? Do we have a keypress func in c++. I'm runnin Win Xp Dev c++ | |
hi there, how can i check the checkboxcolumn in a gatagrid view in C#. thanxxx | |
I am working on a project for my programming class in which I need to use a Tracker class. The guidelines given to us are as follows: class Tracker: def __init__(self,window,objToTrack): # window is a graphWin and objToTrack is an object whose # position is to be shown in the … | |
hey, i need both the import.sql.date; and import.util.date, at the moment im importing them like import.sql.*; import.util.*; How do i specify which library i want for any particular Date object? | |
All, I have a DataGridView bound to an XML file, then I add an unbound column of checkboxes to the DGV. [CODE] private void btnReconcile_Click(object sender, EventArgs e) { DataSet ds = new DataSet(); ds.ReadXml(txtPath.Text); DataSet modds = new DataSet(); DataTable dt = new DataTable(); dt = ds.Tables[0].Clone(); foreach (DataTable … | |
[code] string sqlInsert = "INSERT INTO Transaction " + "(VIN, Price, TranDate, TranType) " + "VALUES('" + VIN + "', '" + price + "', '" + aDate + "', '" + transType + "')"; // check SQL string in Output window for debugging Console.WriteLine(sqlInsert); myDataAdapter = new OleDbDataAdapter(); //insert … | |
This is my code to create a new file below. The main problem is that the program does not halt for entering file name and also the program creates a file .txt and doesn't save anything in it. Please Help [CODE]int newfile() { system("cls"); cout <<"\t\t-------------------------------------" <<endl; cout <<"\t\t| NEW … | |
im having a problem with making stack with array converted to linked list so far this is my code ... [CODE]import java.util.*; public class Nkakainis { public static void main(String[] args){ Stack <String> istak = new Stack<String>(); String[] names = {"john", "mark", "peter"}; List<String> list1 = Arrays.asList(names); System.out.println("pushed " + … | |
hello all, I need assistance on MS Access 2007 database with C#, I have a form with many textboxes.. and i need to store these userfilled data to my database! and after that I need to see detail of any perticular item form database!!! please say how to do this... | |
I am attmpting to create a CheckBoxList which will have ListItems corresponding to the names of the of the columns. Then, when a user cchecks a name, that column would be made visible (checked) or invisible (unchecked). All columns should be visible in the beginning. Teh code below works except … | |
Hi experts I m using Hindi font In a text box, these textbox has a value [B][U]"uxn ¼dS'k½"[/U][/B], when I use select command for searching "uxn ¼dS'k½" value, it's show error. I know this error is showing for ' which is in "uxn ¼dS'k½" , how to search m I | |
Hi,i got this error. Error is: The updated data was repeated again.when i refresh the page,it comes correctly, How i rectify it codings given below --------------------------- Protected Sub GridView1_RowUpdating(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewUpdateEventArgs) Handles GridView1.RowUpdating ' GridView1.AutoGenerateColumns = False Dim row As GridViewRow Dim Exp As TextBox … | |
Good Evening guys ! do you guys have any idea how to create branch in Team Foundation Server (TFS) ? I mean development, production etc.. Thanks in advance !! | |
So, I made this function to return data from the registry. I'm going to be calling different things from different places to get hardware information. Unfortunately, it works the second time you call it. Here is the output: Could not find value: Identifier Returned: ?? Returned: x86 Family 6 Model … | |
Hi all ive been thinking of a writing a compiler in java for my final year project. I have started to browse the net for help but to be honest its confused rather than helping me to get a clear image of what I would like to do. E.g. I … | |
So uhm...I want to do the bubble sort and i found a code but actually i don't really know what's missing...ok...sorry but i am just a newbie and not so average of logic(lol. :p). My goal here is to complete this code, 'cause i tried to run it but it … | |
i have a form that is opening a popup page at some point but i can not get the value from the popup page that is selected from a gridview to the form. | |
Hey guys, just wonderin why I am getting a compiler error on this code... I've had this error before and spent ages tryin to fix it.... But i can tfor the life of me remember... Thanks to all who reply...:) [ICODE] class Date { public: Date(); private: }; class Time … | |
Hey guys, I know that the query is not good, but i CANT see the problem. Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\XAMPP\xampp\htdocs\betania\modify.php on line 8 Could you please help me out? [CODE] <?php include "connection.php"; if(!isset($_POST[submit])) { $q = mysql_query("SELECT * FROM inscrieri WHERE … | |
Hi, can anyone tell me how to access a specific memory location in C++ (I use Dev-C++ 4.9.9.2) without the OS giving me an error and stopping the execution of my prog? I've tried the following code on both WinXP and Win98, but they both gave me an error : … | |
Hey all, for this term in my conquest for a BS degree in Information technology, we were assigned to create a UML diagram of any object oriented program that we would like. My problem is I have no idea on what to create. There will be no coding for this … |
The End.