199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for kgizo

Good Day I have been struggling lately to get the right path to execute php scripts on the command line. My php folder is found in c:\>xampp\php which I specied as the path above by accesseing the environmet variables directory. I was wondering whether I am doing anything wrong because …

Member Avatar for kgizo
0
518
Member Avatar for Gen_2

i can't find the error converting data type varchar to numeric pls help.. i already wasted a lot of hours to identify this error. conn = New SqlConnection("Server=GEN-PC;Data Source=GEN-PC\SQLEXPRESS;Initial Catalog=Brgy;Integrated Security=True;") If ResidentialComboBox.Text = "" Or LNameTextBox.Text = "" Or FNameTextBox.Text = "" Or MNameTextBox.Text = "" Or GenderComboBox.Text = …

Member Avatar for Gen_2
0
437
Member Avatar for trade19

Hi I am having a problem with the "nextz" part "Click Here to see the new winning number." I want to kill this button after it shows the winning number. but it prints another number every time I click the button. how can i click once show once. Thanks for …

Member Avatar for trade19
0
175
Member Avatar for johnnyboy123

Hi everyone, I am quite new to vb.net. Recently, I've been learning about Oledb commands and it's ability to save records in a form to a database. So, I started a project and now I am stuck. Here's the scenario: The form comprises of several comboboxes, a listview box and …

Member Avatar for Reverend Jim
0
471
Member Avatar for vuyiswamb

Good Day All i am opening a Popup and i want to bind the "onbeforeunload" to the popup that if someone clicks on the close button in the window or close button in the page , the event should fire a javascript function that is on the page that opened …

Member Avatar for Troy III
0
252
Member Avatar for Subhashini.V

using vb.net and sql query i need to join multiple tables to view in one datagridview control .In each table i need to take only one field and want to dislpay all in the datagridview control...can anyone provide me the apat code for this

Member Avatar for Begginnerdev
0
314
Member Avatar for b.boudj

here a piece of vb code where i have a problem: If G_ObjConnectionTemp.State = ConnectionState.Closed Then G_ObjConnectionTemp.Open() End If ' at this stage the connection is verified to be open Dim Obj_CommandF As New OleDbCommand("delete from ficheclient", G_ObjConnectionTemp) Using G_ObjConnectionTemp Obj_CommandF.ExecuteNonQuery() End Using Dim xx = G_ObjConnectionTemp.State.ToString ' at this …

Member Avatar for Begginnerdev
0
127
Member Avatar for Wilfred_2

A blue passenger train moves southwards at a speed of 120km/hr. Unfortunately as it enters a junction it collides with a brown goods train moving northwards. The collision happened 50 minutes after the goods train takes off. Using a Java program illustrate the answer.

Member Avatar for JamesCherrill
0
124
Member Avatar for boris90

Hi! I've had this problem for a couple of days now, and I don't know what it is. My Visual Studio 2012 project worked perfectly before, but now it just hangs at the "Generating code..." part. It *litteraly* takes forever. I once left it for more than 30 minutes, and …

Member Avatar for dreslough
0
2K
Member Avatar for john.kane.100483

Hi really need help. I'm new to programming and my teacher just gave a problem program "Conversion from any base to base 10" . So search in google and find this source code. I just combined the source code. This will run if it not combines. But I want this …

Member Avatar for David W
0
250
Member Avatar for mattyd

I am working with a form validation script; I am testing it first and all seems to work fine except for the email validation. This is a snippet of the script dealing with the email validation: else if(! eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$", $email )) { $_SESSION['reg']['email']="Please enter valid email address."; For example, if …

Member Avatar for cereal
0
236
Member Avatar for Mohamed_26

Hello, I am able to add one item into the basket. But, I was told that using Javascript I can add more items. Can you please help me? <?php require "connect.php"; $query = "SELECT `DVDID`, `NameOfTheDVD`, `Quantity`, `Price` FROM `DVD` "; $stmt = $dbhandle->prepare($query); $stmt->execute(); $num = $stmt->rowCount(); echo "<table …

Member Avatar for Mohamed_26
0
237
Member Avatar for Elixir42

Hi Kind-DaniWebbers, How do you initialise a boost::archive:binary_oarchive in a different place to where you declare it? So: class CBase { std::ofstream m_ofs; boost::archive:binary_oarchive m_binOA(); // <== default constructor virtual void Open(std::string& s) = delete; }; class CDerived : CBase { void Open(std::string& s) override { CBase::m_ofs("filename.bin", std::ios::binary); CBase::m_binOA(CBase::m_ofs, /*flags*/); …

Member Avatar for Elixir42
0
426
Member Avatar for vegaseat

Here is an example on how to put at least lines and circles onto your windows console display. Yes, you have to jump through a hoop to do it. Dev-C++ can do this thanks to some BCX generated code. You have to set up your project as a Console Application …

Member Avatar for petersvp
0
10K
Member Avatar for Mohamed_30
Member Avatar for JamesCherrill
0
235
Member Avatar for balamurugan.rajendran.14

Hi, Could someone please help me to optimize the attached code file. as i'm new to c# world. Thanks in advance cheers

Member Avatar for JorgeM
0
227
Member Avatar for kumar89hitesh

how does xml work in web development? Please give me suitable example.

Member Avatar for jwenting
0
121
Member Avatar for moses.makokwa

how do i link an ms access database to an htnl page 'syntax on how to go about it'

Member Avatar for ebespinas
0
93
Member Avatar for ashwinshenoy

Hi All, I have just completed my project in VB 2008 express edition. Now I want the project to be converted to .EXE so that I can deploy it on other computer / laptop. Could any one please help.... Regards, Ashwin

Member Avatar for joshl_1995
0
2K
Member Avatar for Dostoyevsky

Hi All, I've just joined your community hoping to get help with Visual C++ and Visual Studio 2008. I'm not much of a developer and different people were putting this together for me so the code is a bit messy as well. Right now I have everything in place but …

Member Avatar for Dostoyevsky
0
256
Member Avatar for johnef_sh

I am working on a Google Map api3, I am adding points on the map and save it to my database this part is working fine now in the end of adding the map and click on save and close I need to redirect to another page which will tell …

Member Avatar for johnef_sh
0
252
Member Avatar for hvebsr

When I format the date so that a field gets the value as year-month-day-hour-minute-second, I omly see the date-portion, the rest is filled with zeros. I use: strDT = Format(Date, "yyyymmddhhmmss") I get '20140226000000' What goes wrong, or how can I get the desired result?

Member Avatar for hvebsr
0
97
Member Avatar for mwenyenia07

I have a form for member registrations that after submitting it, it takes some seconds to a minute depending on inteernet link. during these period, The browser just spins but I want this spinning be acompanied with a message like 'please wait while we process...'. How can I do it?

Member Avatar for JorgeM
0
141
Member Avatar for nadiam

hi, so i didnt know how to phrase this question in google to get some clue so im just gonna ask here. And im also not sure if this is the correct place to ask because im not sure what language id have to use. anyway, i have a popup …

Member Avatar for JorgeM
0
149
Member Avatar for kalyan_1

Could some one help me out with the basics of Structures ? How to use them in C programs ? etc.. Thanx in advance.

Member Avatar for David W
0
131
Member Avatar for Siphokazi_F

# Hi, # I just joined this forum. I am a second year student doing Information Technology(Software Development stream) at the Durban University of Technology. I have just started doing source code for ASP.NET c# and I would love to know how the MultiView and GroupView components work and what …

0
80
Member Avatar for LyingInAHammock

Out of my depth a little :-) How do I create a pair of longitude and latitudes to create a polygon showing a 2 mile radius of a particular longitude and latitude? in Java Android. I know how to find your current longitude and latitude but I just can't figure …

Member Avatar for jwenting
0
564
Member Avatar for jainasamiento

• my assignment is to find the commission of each monthly sales,how can i get the right answer? monthly sales is 0-19,999(4%)/ 20,000-29,999(5%) /30,000-39,999(6%) / 40,000-49,999(7%) 50,000-above(9%) using if/else statement then,,how can I make a flow chart related on this problem.? can you plese lead me to the right answer?

Member Avatar for David W
0
267
Member Avatar for john.kane.100483

Ok so I try to do it this program by myself and I can't do it mysfelf. Im a new to this programming stuff. So I came here to ask help. Hope you can help me. My prof gave me program that will convert any base to bae 10. "Conversion …

Member Avatar for john.kane.100483
0
737
Member Avatar for KushMishra

Hi All, I have got one scenario here in which I need to bind a DataGrid to a collection (array, ObservableCollection etc.). My Collection name is "WarningList" and the code is as follows :- **ViewModel :-** WarningList = {({result.WarningMsgCode, result.WarningColor})} **xaml :-** <data:DataGrid x:Name="gridSystemWarnings" Grid.Row="2" Grid.Column="1" Grid.ColumnSpan="3" Grid.RowSpan="2" DataContext="{Binding}" IsReadOnly="True" …

Member Avatar for KushMishra
0
272
Member Avatar for nitin1

hi, Can anyone suggest me the approach for finding the lcm of the n numbers? my approach: find the max of the n numbers and start dividing it by all numbers , if all are dividing it then print it, else take next multiple of the max number and repaet …

Member Avatar for ShapesInClouds
0
3K
Member Avatar for riayas

I have 2 forms , form one has a datagrid with 10 columns form 2 has a listview box with 4 columns i want to populate the listview columns with 4 of the values from a row in the datagrid when the row is selected and the 'add ' button …

Member Avatar for riayas
0
714
Member Avatar for jpizzolato

I am trying to upload a csv file to a website that was created using a MySQL query in a php file. Here is the code: ************************************* // Fetch Record from Database $output = ""; $table = "customer"; // Enter Your Table Name $sql = mysql_query("select * from $table"); $columns_total …

Member Avatar for sikander123
0
299
Member Avatar for Za3mi

Asslam-o-Alaikum friends! Friends i am a student of bscs and trying to load an image on turbo c or anyother compiler such as dev c or c free which are common in use in our university. Please suggedt me what should i do first for this purpos??

Member Avatar for Za3mi
0
921
Member Avatar for Sumith Asanka

Hi Guys I have asp.net application there i have a dropdownlist , even if i select any item from that list when going to debug mode i always get the first list item number and index but interface shows the selected item on it , what is the reason for …

Member Avatar for wasimmalik
0
211
Member Avatar for patk570

Hello everyone, I am trying to get a code that will check the length of the a 'key' that will be generated in xxxxx-xxxxx-xxxxx-xx format. I need it to verify that it meets the requirements. I do not need it to validate on the server, but i do need it …

Member Avatar for JorgeM
0
408
Member Avatar for DanJones

Hello, im trying to write a program that will read the id3v1 tag of an mp3 file, output the current information, and then allow the user to edit the ID3 tag. I can get it to output the information but I'm having some issues getting it to edit correctly. #include …

Member Avatar for BobS0327
0
1K
Member Avatar for Kent55

I am making a quiz for my Computer Science class where there are keywords and definitions and the user has to match the correct keyword to the definition twice and until then it keeps on going while tracking the time taken. Both the keywords and the definitions have to be …

Member Avatar for Reverend Jim
0
358
Member Avatar for bLuEmEzzy

Good day, can you please help me how to add textbox dynamically and insert its value to database. I tried Javascript in adding textbox, but how can I insert its value?? Thank You!

Member Avatar for bLuEmEzzy
0
1K
Member Avatar for isslam.akkilah.5

am trying to read file in java but i have an issue bufferReader are stating from number 2 `public static String lineLengths() { try { String file = "C:\\\\Users\\\\isslam\\\\Documents\\\\NetBeansProjects\\\\AnimeAid\\\\tra.srt"; BufferedReader br = null; try { br = new BufferedReader(new FileReader(file)); } catch (FileNotFoundException e) { System.out.println(e); } String line; while((line …

Member Avatar for isslam.akkilah.5
0
146
Member Avatar for brett.warren.1612

I getting an error when I try to run this function here: def get_char_out(prompt=None): while True: try: return str(raw_input(prompt + ' ')) break except ValueError: print '\nInvaild input' print get_char_out('String, please') I keep getting this error here: String, please Traceback (most recent call last): File "main.py", line 11, in get_char_out('String, …

Member Avatar for brett.warren.1612
0
214
Member Avatar for SimonIoa

I have a problem with a script. i want to be able to create events and then to be shown with ajax this is the javascript/ajax $(".event_button").click(function() { $("#flash").show(); $("#flash").fadeIn(400).html('Loading Update...'); $.ajax( { type: "POST", url: "message_ajax.php", data: dataString, cache: false, success: function(html) { $("#flash").fadeOut('slow'); $("#content").prepend(html); $("#event_title").val('').focus().css("height", "40px"); $('#preview_event').html(''); $('#eventvalues').val(''); …

Member Avatar for SimonIoa
0
232
Member Avatar for Tinnin

Hi all, I've bought the book "Objective-C Programming - The Big Nerd Ranch Guide" and I'm running through the beginning chapters which just regard C. I'm doing this on my laptop running linux as I don't have a Mac (yet). I'm having trouble with this code: #import <stdio.h> #include <readline/readline.h> …

Member Avatar for Tinnin
0
2K
Member Avatar for Amiet_1

Hey Guys hiee, I am new to VB.net. I am making an application which should run on mutiple pc. In that application there are two main accounts 1) Admin Account and 2) Other User Account. I want multiple "Other User Account" user to connect/access application simultaneously. And tell me one …

Member Avatar for Amiet_1
0
319
Member Avatar for nyt1972

Hello, Hope this is the right place to post, I am a student and want to create an OS like DOS just for practice, I know functions, arrays, pinters, structures and file handling but dont know how to start writing an OS, please help me. Regards.

Member Avatar for imawesome511
0
4K
Member Avatar for jared.geli

Hi guys about my previous post on [Copy Selected rows from Datagrid to another](http://www.daniweb.com/software-development/vbnet/threads/471088/copy-selected-rows-from-datagrid-to-another) that was answered by oussama_1 and Deep Modi, I was wodering if is it possible to detect that there is a similar row between the 2 Datarids to avoid redundancy? Does it require a datatable or …

Member Avatar for oussama_1
0
139
Member Avatar for cilla

I've been really interested in Django lately, so I came here to check out the scene on the forums, only to find there's no Python/Django subforum in Web Development. Where can I come on here for support regarding web development with Django?

Member Avatar for JorgeM
0
279
Member Avatar for Doogledude123

So I have a button which adds a "Miner" then removes the cost of the Miner. The problem is that it is taking away too much, double the cost, and also will not buy if the current gold is equal to the cost. I have no idea why it is …

Member Avatar for sepp2k
0
305
Member Avatar for everton.retweets

Hi Everyone... I have the following php to check against two vars... $minute & $second I am making a new var out of the above $fgt = $minute. "" .$second; if((strstr($fgt,"45:00"))) { $hint = 'Error'; registerError( $hint, $hint, $error_title, '<h3>Error - Goal Time Can Not Be Greater Than <strong>(45:00)</strong></h3>' ); …

Member Avatar for everton.retweets
0
147
Member Avatar for kalyan_1

Having trouble understanding pointers . Could anyone please help me out ? thanx in advance.

Member Avatar for David W
0
131

The End.