64,152 Solved Topics
Remove Filter ![]() | |
Hello everyone, [B]I have a TextBox and a Button on my webpage. On Page Load I'm displaying the contents of a TextFile(with multiple lines)on the TextBox.Then I'm editing the TextBox.Then On ButtonClick ,I debug it and check the TextBox value.The value shown is:The value last edited on textbox appended with … | |
How to show the time and data in the user's timezone? I don't know it at all! Can anyone teach me? Thanks! | |
hi i have two table : Guest and Country.. which are linked by a country id foreign key in guest table .. now in my program i would like to do a data grid view showing all guests details .. how can i show the name of the country instead … | |
Hi, I have a situation where i am inserting to two tables from a web form but the first table needs to be inserted to so i can get the PK, then use the PK to insert into the second table. So what I would like to do is rollback … | |
I am new to assembly. I found this code here [url]http://www.daniweb.com/software-development/assembly/threads/117744[/url] What I am having trouble with are the following lines [CODE]L0_95: ; this segment prints ASCII code 0 - 95 mov si,6 ; refers to the string we declared at the beginning mov cx,4 ; I think this is … | |
hi, anyone know how to fix the inputs in a textbox must be a number ? | |
I've looked all over the internet for a suitable solution to my problem, and I just can't fine a simple and effective one; so I hope I can get some help here! First off I am programming a hotel booking system for my college computing project. This consists of a … | |
When I debug, it shows executing the routine, but the ddl's selected index is always zero, no matter which item I select. It didn't always do this. Earlier, it would work correctly for one dataSource, but not another (yes, I use a different data source, depending on who logs on). … | |
I need help ... again. I'm having so much problem in here, on how to multiply column 0 to column to which is. The column 0 is the quantity, and the column 2 is the price. I have a pizza hut Ordering system. Here is my problem. After i click … | |
I made myself a project which is to make a virtual inventory but I have been having difficulty with pickling the variable: inventory. Could someone please insert the strip of code in order to save the variable in a seperate file and make it able to import it. [CODE]import pickle … | |
i have this code, i need to have [B]for()[/B] inside this boolean method, but it shows an error that return method is missing. how can i solve it? [CODE] public static boolean findPrevious(int dataIdx, int featIdx, String data, String[][] array){ for(int i=0; i<dataIdx; i++) { if(array[i][featIdx] == data) return false; … | |
Hello guys it my first time trying c# i am trying to solve this problem and this is what i got so far i dont know where to locate the auto implementation properties to which class i a little bit confused appreciate any help the question is add below [CODE]using … | |
I need help i'm out of ideas, i don't know how to add numbers in a currency format. need help please. Thank you in advance. | |
hi all, i have an applet code here..i wanna do database operations later on..but i m stuck to this basic applet function..have a look [CODE]/* * @(#)Appletsamp.java 1.0 11/04/09 * * You can modify the template of this file in the * directory ..\JCreator\Templates\Template_2\Project_Name.java * * You can also create … | |
C:\Users\Kostya\Desktop\c++\MacroWriter\ifexists.cpp|27|error: ambiguous overload for 'operator=' in '((farm*)this)->farm::sendeachbase[i] = 0'| Ok so I am making a class for my program and I want to initialize some of its variables to 0's. I haven't done anything with classes for a while so I am not good with this stuff. This is my … | |
Hi, I have 2 images stored in the variables [ICODE]Image img_arrowl; Image img_arrowr;[/ICODE] and now I need a function or method to set the opacity of these two images. So the syntax I'm after would be something like the following: [CODE] img_arrowl = set_imgopacity(img_arrowl,0.75); img_arrowr = set_imgopacity(img_arrowr,0.75); [/CODE] The only … | |
Hello. I am doing an exercise and faced an problem my code is: [CODE] protected void ddlStudents_SelectedIndexChanged(object sender, EventArgs e) { SqlConnection conn = new SqlConnection(connection); SqlCommand comm = new SqlCommand("GetFullStudentProfile",conn); comm.CommandType = CommandType.StoredProcedure; comm.CommandText = "GetFullStudentProfile"; SqlDataReader reader; try { conn.Open(); reader = comm.ExecuteReader(); reader.Read(); StringBuilder sb = new … | |
Hey guys I have an encrypted ip address in php like $visitor_ip = ip2long($_SERVER['REMOTE_ADDR']); $visitor_ip looks like this 1860881473 can i decrypt this number to get a proper ip like "42.108.196.150""? if there is a way todo so? Thanks again | |
OK, I need help!!!!!!! I've tried every advice I could find on google, nothing works for me!!!!! my DB has data in hebrew I can't figure out how to set the collation and everything else right so that my site would show the data in hebrew when I echo it … | |
Hello, I have date saved as varchar (Day,DD,MM,YYYY)in my database(DB) and it is displaying on my DB binded datagrid. I have binded it through VS.NET 2008. Is there any way I can get the sorting of my datagrid from date? Please tell me the possible solutions for it. Thanks Adnan | |
hi, for a 'total cost' field in sql i used the data type 'money'.. in c# what data type should i use to match that of the sql?? decimal or float?? thanks | |
Hello All, Can any one tell me how we bind data to a ComboBox from a dataset? Thanks for your precious help | |
I am 4 months new to PHP! So please be gentle with me. : ) I have an input form that contains check-boxes(it works and posts array to database correctly!) I have an update form that contains the same check-boxes (it updates and posts array to database correctly BUT IT … | |
I have a php script that pulls several rows of invoices from a database and displays them on the screen in table format. I have created an onclick per row within the while loop in order call another php script that runs a query to pull all the attachments for … | |
Could someone help me with this code? I need to compare the date completed(datecomp) to the date paid(datepaid) to establish the number of days difference(dayslate). Thanks in advance! [CODE]<?php $stat = mysql_connect("localhost","root",""); $stat = mysql_select_db("oodb"); $query = "SELECT name FROM oocust Where ordernum='$ordernum'"; $stat = @mysql_fetch_assoc(mysql_query($query)); echo $stat["name"]; $result= mysql_query("select … | |
Hello: I'm having difficulty getting variables that are passed to another page in a url after migrating from an apache on window server to a apache on unix server. Here is the url: [code] <meta http-equiv="refresh" content="3;url=/i-cmsys/editableinvoice/index.php?edit_mileage=<?php echo $_POST['edit_currentmileage']; ?>&edit_servicearea=<?php echo $edit_servicearea_str; ?>&inputbox=<?php echo $_POST['inputbox']; ?>&edit_clientID=<?php echo $_POST['edit_clientID']; ?>&edit_firstname=<?php echo … | |
I want to put this in a table so I can repeat this twice in two cell. [CODE] $intNumber = 1; $sql=correctanswer($_SESSION['username1'], $_SESSION['smodule']); echo "<strong>the ones are ticked is right answer </strong></td><br />\n"; while($info = mysql_fetch_array( $sql)) { echo " <strong>$intNumber, {$info['Que_Question']} </strong><br />\n"; for($i = 1; $i <= 4; … | |
Note: vector < vector < string > > addresses; I am having a problem with this line of code: addresses.push_back(addy.c_str); I am trying to push back an email address in the i location of the 2-d vector. I have tried: addresses.push_back[(addy.c_str)]; and addresses.push_back[i][(addy.c_str)]; but nothing is working >:/ I appreciate … | |
Hi Guys, I have a problem with selecting several item from a combobox which are suppose to call same method. let's say I have a combobox populated like this list One Two Three Four Five Six Now I would like to let if user select one of these three option … | |
Is changing the currentLoc variable with an [B]IF[/B] statement a bad way to terminate this loop below? I'm told: [I]"...something in the loop body must cause the expression to become false at some time. One of the things you do not do ever, is write an if statement to change … | |
This program accepts input in the form of a String of names and grades. It picks out the names and picks out the grades and puts them in seperate arrays. Then it needs to output them together sorted by grades and then by names. I can get the Grade Order … | |
i am working on a virtual make-up software and the only thing i lack to totally finish it is the lipstick part. is there a way that i can trace the edges of the lips of the picture that im editing and fill its insides with colors from a colordialog … ![]() | |
Whats up guys? I need help my code is not working too great could someone please help me? My Input should be : 03/12 hello there My Output should be : March the 12th: hello there It needs to work for January, February, March, April, May and June. And all … | |
Hi to all, I have a severe problem with memory when executing my application. At start it merely uses about 14.000 K without doing anything. Then, when the main code starts in a seperate thread, it spikes up to 700.000 K (observed in TaskManager). Program in question is an implementation … | |
I've been trying all day to write an array into a file but it doesnt work. The code I'm using is: [CODE] fstream myfile; myfile.open ("array.txt"); for(int i=0;i<=9;i++) { for (j=0; j<9; j++) myfile<<array[i][j]<<endl; } myfile.close();[/CODE] What am I doing wrong? This works if I knew what I was writing … | |
hi, I have a button control problem: [CODE] public void Display1() { listbox.Items.Clear(); Dictionary<string, double> sortList2 = new Dictionary<string, double>(); Dictionary<string, double> sortList8 = new Dictionary<string, double>(); string getText = textBox2.Text; Array arr; StringReader re1 = new StringReader(getText); string[] firstString = new string[textBox2.Lines.Length]; string[] secondString = new string[Comset2.Items.Count]; sortList8.Clear(); foreach … | |
I have to create an app that computes the amount income tax that a person has to pay, depending on salary. Income tax should be calculated for each portion of income in each range. Here are the following income ranges and taxe rates: Not over $7825=10%income tax $7825-31852 = 15%income … | |
Hi i have a C++ DLL. What i am doing is that i am passing memory address to my C++ dll where it write message on that address and i want to read the message from that memory address. Here is my C++ function. [code] int _stdcall Test(int res, wchar_t … | |
Hey everyone, I am writing a program that needs to take 10 integers and display them, then it needs to sort them in order from lowest to highest and then display them again. I was trying to use selection sort to sort them, but I think I set it up … | |
Hello, folks! So i'm trying to add a tooltip to a treenode, But with no luck. I've tried things like: [CODE]Treeview.nodes(0).tooltiptext = "Hello" [/CODE] | |
Hi everyone, I have a 2d array whith 50000 lines and 14 columns, and I have to sum/multiply each value of a column for a fixes numbers, like this: a[1][14] = 0 a[1][14] + 2 = 2 a[2][14] = 2 a[2][14] + 2 = 4 a[3][14] = 5 a[3][14] + … | |
Hello ,I have one problem making one simple program(actually I am new in this language). So I have two webbrowsers.How I can every New Window that is opened in webbrowser1 to be opened in webbrowser2 instead? Thanks in advance | |
Hello I am currently stuck on trying to collect some string items from a richtextbox and then count how many items there are. I then want to relocate one of the string items if there are more than three into another richtextbox. I currently have been attempting to capture the … | |
I have read that OO supplies it's own python and uno.py [for 3.3 under ..\basis\program] - but there are ways to incorporate it into your current version such that a script can issue [COLOR="Green"]import uno[/COLOR] w/out issue. I have tried scripts that supposedly permit this and tried to work through … | |
The dictionary part isnt working. can anybody help?? [CODE] string path = @"C:\1\"; string[] file1_Lines = File.ReadAllLines(path + @"TraceSet.csv"); string file2 = File.ReadAllText(path + @"SBoxOutput.csv"); string[] file2_Lines = file2.Split(new string[]{"\r\n"}, StringSplitOptions.RemoveEmptyEntries); //creating 2 lists for average values of file1 and file2: List<float> averageFile1 = new List<float>(); List<float> averageFile2 = new … | |
hey guys I have a string containing email addresses like "ceo@facekut.com" <ceo@facekut.com>,"Rahul Mahajan" <creative.rahul007@gmail.com>......... Now is there a way in php to remove all the things between quotes "..." and make this look like below? <ceo@facekut.com>,<creative.rahul007@gmail.com>......... or [email]ceo@facekut.com[/email] ,creative.rahul007@gmail.com......... I would be very thankful if anyone has answer. Thanks | |
Hey All, Can any one tell me how two remove duplicate records from a table? | |
please clear the syntax error... [CODE] $locker_query ="update tbl_locker set locker_title='".$locker_title."',headline_text='".$locker_headline."',introductory_text='".$locker_intro_text."',popup_delay='". $locker_delay ."',repopup_frequency='".$locker_frequency."',forced_completion='".$locker_force_offer."',email_id='".$locker_email."',created_date=now(),guid='" . md5(time()). "' where locker_id='".20."'"; [/CODE] Thanks ![]() | |
hello Can any one please tell me how to highlight a selected row in C1TrueDbGrid | |
hello, Can any one help me in C1TrueDBGrid? I want to add a dropdown column in my C1TrueDBGrid which has different values for each row and on index change it changes value another cell of the row Thanks in advance |
The End.