199,114 Archived Topics
Remove Filter ![]() | |
Let's say I have a string with 1+5*9+4 etc.. whatever it may be. How do I use C++ do calculate this? I know recursive functions work here, but how? I figured I could loop ..searching for the * first ( higher precedence ) and then the +. No idea. Would … | |
I have a panel named "listState" on my aspx page Now in that panel i have number of dropdowns. I want id of that all dropdownlist present in "listState" How can i do this using JQUERY I tried following code $('#<%=listState.ClientID%>').find("select") But it doesnt gives me id of all dropdownlist. … | |
Hi! I am thinking of starting a program for a java enabled phones or smartphones... I am a beginner there for i don't have advanced knowledge of such programming... So heres my requirements; 1.the code should be able to run in netbeans 2.step by step process with explaination for understanding … | |
We use a single database in SQL Server 2005 and the size is around 190 GB. We plan to spilt the database in following methods; 1. single instance multiple database without synonyms 2. single instance multiple database with synonyms 3. multiple instance multiple database Need inputs on the below queries: … | |
Dear, Currently i'm doing a project to design a chatting program using MFC( Microsoft Foundation Classes) and Visual Basic (VB). Just wondering, could you help me with this topic? Your attention kindly appreciated. Thank you. | |
Hi, I wanted to know what does the ("{0}, {1}" signify in : [CODE]Console.WriteLine("{0}, {1}", mixedCase, lower);[/CODE] Couldn't find it on google at all. Thanks for everything! | |
In Windows, events are kernel objects. I am thinking that because of this, they should be accessible across processes, given each process has security access and the name of the handle. Another engineer argued with me that they are used only within processes...but I believe he is wrong. Anyone know … | |
Note, I screwed up and asked how to get DisplayMember text, I meant to put ValueMember... I have a combo box I'm populating from a datatable. It has two columns, one for display and one for value. I can find the index of the associated item in the combobox list … | |
Hi Peoples I have been cobbling together a simple JS/CF gallery page that shows the thumbs down the page (a block of5 lines of 3)AND when you click on a thumb it changes the placeholder image with the larger image of the thum clicked on. My problem is that the … | |
I am having trouble with the standalone builder I keep on getting this Message: [CODE] I: Dependent assemblies of C:\Python27\python.exe: I: x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_none checking Analysis building Analysis because outAnalysis0.toc non existent running Analysis outAnalysis0.toc Analyzing: C:\Users\Samarth\Desktop\PYINST~1.1\support\_mountzlib.py Analyzing: C:\Users\Samarth\Desktop\PYINST~1.1\support\useUnicode.py Analyzing: C:\Users\Samarth\Dropbox\Projects\DATABANK\data-bank.py W: library coredll.dll required via ctypes not found I: Analyzing C:\Python27\python.exe … | |
[CODE]blinkOnNewMessage: function(dateObject, userID, userName, userRole, messageID, messageText, channelID, ip) { if(this.settings['blink'] && this.lastID && !this.channelSwitch && userID != this.userID) { clearInterval(this.blinkInterval); this.blinkInterval = setInterval( 'ajaxChat.blinkUpdate(''+this.addSlashes(this.decodeSpecialChars(userName))+'')', this.settings['blinkInterval'] ); } }, blinkUpdate: function(blinkStr) { if(!this.originalDocumentTitle) { this.originalDocumentTitle = document.title; } if(!arguments.callee.blink) { document.title = '[@ ] '+blinkStr+' - '+this.originalDocumentTitle; arguments.callee.blink = 1; … | |
listview1.items.add << it's is possible to declare a specific subitems vertically? i don't know how, but i'm still trying fix this please help here's my sample [CODE] Dim item As ListView Dim row As ListViewItem = Me.lstLicense.Items(0) With row lstLicense.subitems.Add(16).Text = (objDataReader("Division")) End With [/CODE] | |
i need to use copy clipboard for copying files for example i ll copy some file then i need to save this somewhere in my program how can i do that? i searched little but i just can find copying strings. :S I need more than that :) Thx for … | |
Hi all :) I'm having some issues with getting the value of a textarea which I fetch with jquery's ajax function. I'm displaying some comments in my ajaxcontent. All the comments have a onClick quoting link which is supposed to send the id of the textarea which is to be … | |
Greetings to all. My problem is not particularly VB.Net specific but having looked around this forum, I didn't know exactly where to post it and considering that I'm writing my program in VB.Net, I just decided to do so here. I apologize in advance, if that was wrong of me. … | |
![]() | I'm working on a quicksort class, but I'm required to get the pivot multiple ways (last value, median of 3, and median of 5). Getting the median of 3 is easy enough with a few if statements, but I'm having trouble figuring out how to get a median of 5 … |
Hi I am trying to use a gridview to display information, providing update/delete functions. But I'm keeping getting error messages. This is the code: [CODE] <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server"> <asp:GridView ID="GridView2" runat="server" AllowSorting="True" AutoGenerateColumns="False" AutoGenerateDeleteButton="True" AutoGenerateEditButton="True" DataSourceID="SqlDataSource1" DataKeyNames="name, number"> <Columns> <asp:BoundField DataField="name" HeaderText="name" SortExpression="name" /> <asp:BoundField DataField="number" HeaderText="number" SortExpression="number" /> … | |
So I've made a game called HangMan, but it still needs the finishing touches. Anyways, a bit about the game... A JFrame shows 26 buttons for the letters of the alphabet and a whole set of other buttons to make up empty slots (they eventually will be filled in everytime … | |
Hello! How can I send a form's informations to several php file...!? For example, a user with a form can to register several website or blog. I am waiting for your guidance and thanks! | |
Hi, i need some help with a program that calculates the numeric value of a name. The value of a name is determined by summing up the values of the letters of the name where 'a' is 1, 'b' is 2, 'c' is 3 etc., up to 'z' being 26. … | |
Hi I come from Python background and learning C++. In one of my programs, I need to have one key with multiple values and both being strings. for e.g. [CODE] "str1" ---> "value of str1" "str2" ---> "value of str2" "str1" ---> "value of str1 1" "str1" ---> "value of … | |
Hi i got some problems with c pointers...feelin trouble to get through it..here is a problem .anyone plz explain the solutin to me.. #include<stdio.h> main() { int arr[3]={2,3,4}; char *p=arr; p=(char*)((int*)(p)); printf("%d",*p); p=(int*)(p+1); printf("%d",*p); } | |
Hello everyone. I am a new C++ learner and I have a question, is there only a constant C++ syntax in the world or there are many different types of C++? Because last month when I surf internet to see somebody made his own C++ program, I saw it his … | |
Hi.. I have a file with title output.dat.format of this file is as follows [CODE] 0 0.00E+00 0.00E+00 -2.00E-02 9.48E+02 1 0.00E+00 0.00E+00 -1.80E-02 9.48E+02 [/CODE] yes,Thats right.without any comma between.(just tab space) i need to create a file from this output.dat which has form similar to [CODE] 0,9.48E+02 0,9.48E+02 … | |
I don't know how to use Notify and wait in my program but I am required to. The point of my program is that there are two threads, one which assigns the inputted object to the numbers 1-10 and another that reads them. Could anyone help. [CODE] package vairables; public … | |
Hey guys, I am pretty new to c# and have just developed a login client/server application. I am coming from PHP programming environment and my question is now. Is there any similar function in c# as the SESSION variables in php? Say i am logged out in my c# application … | |
Hi! I'm still new to assembly and I'm trying to do a selection sort using assembly.. There's a problem somewhere and I can't seem to find it.. Please help me. Here's my code so far: [CODE=assembly].section .data format: .asciz "%d\n" values: .int 5, 3, 2, 4, 7 smallest: .int 0 … | |
Ok, here's the deal. I'm trying to call make visible an object, i can do this: Button1.Visible = True but, i was wondering if there is a way that i can call it like this. Lets say i have a variable 'OBJNAME' wich value is "Button1". What i want to … | |
Hello guys. I have two forms. First form, which appear when you enter in the program, it's like a Form Intro ... ( like in C# when you enter in C# a form appear for some seconds, which there is written intro etc. ). Ok, and after 8 seconds, my … | |
Hello guys I need some help about the Pascal's Triangle. It's not about showing an output of the triangle itself but it's a little different. The user will be asked to choose a row number in the triangle. After that, it will output the sum of all the values above … | |
[B]Problem[/B]: (The Person, Sruden, Employee, Faculty, and Staff classes) Design a class named Person and its two subclasses named Student and Employee. Make Faculty and Staff subclasses of Employee. A person has a name, address, phone number, and email address. A student has a class status (freshman, sophomore, junior, or … | |
Hello. I'm writing Windows Form App and I found "tiny" trouble. I can't manage with finding control by a name. I have this code: [CODE]private Control FindByName(string name) { foreach (Control c in this.Controls) { if (c.Name == name) return c; } return null; }[/CODE] and simply it doesn't return … | |
![]() | New user to Daniweb in the hope i can get some help cus my brain is fried. Im relitively a n00b at php but i can handle the basics, working with images is beyond me at the moment but im learning. I have the below code, which works. it uploads … ![]() |
im using SimpleCart script and when the custmer press the Checkout Button [CODE]<a href="javascript:;" class="simpleCart_checkout">Checkout</a>[/CODE] this code run [CODE] me.checkout = function() { if( me.quantity === 0 ){ error("Cart is empty"); return; } switch( me.checkoutTo ){ case PayPal: me.paypalCheckout(); break; case GoogleCheckout: me.googleCheckout(); break; case Email: me.emailCheckout(); break; default: me.customCheckout(); … | |
i have created a database on a temp site and i am making a form where uses can add or update information to the database that will then be displayed on a page in the site. Here is the code for the form: [CODE]<form action="leaderboard.php" mehtod="POST" /> <p>Points: <input type="text" … | |
I have a jquery sliding image gallery and a lightbox gallery on the same html page. The only way i can get the sliding gallery to show in a browser on the page is to have the lightbox script placed above the slider script. This will make them both show … | |
Hi, Please bare with me on this ill try and explain what my problem is the best i can and if you could forgive my lack of knowledge that would be great. im fresh out of university after completing a web development degree and ive just landed a new job … | |
Making an Android app for my senior project. The app that the professor wants will have approximately 225 strings. It's basic Q and A with the questions and answers always being in the same order. Would it be better to use the sql database or the strings xml to store … | |
I'm having a strange problem with a website I'm working on. What I want to do is pass a SQL query variable (in this case cid) using a link, but for some reason it just isn't working. This type of query works just fine on other pages of this site, … | |
Hello all, This is my first post here.Woohoo! Seems like an awesome place to collaborate. So heres my issue, thread title explains pretty well though. I have a C# app that I am working on, and I have a datagrid and one button in the UI. Heres me ISSUE: I … | |
Hi friends, I wanted to restrict my text box to have only 10 characters.I have used the following code [CODE]Private Sub txtSpouseWorkPhone_KeyDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles txtSpouseWorkPhone.KeyDown If txtSpouseWorkPhone.TextLength > 10 Then MsgBox("Only 10 characters are alowed", MsgBoxStyle.Critical, "Invalid PAN No") txtSpouseWorkPhone.Text = txtSpouseWorkPhone.Text.Substring(0, (txtSpouseWorkPhone.TextLength - … | |
Hello, I have a question/ I want to get the selected value from a form without submit, and then to use this selected values in another php file. i think if i can put the values in array, and then to register the array on a session, and the to … ![]() | |
Assignment You are to write a program that will convert any base 10 number a to any base b. Input two values, the first in base 10 and the second value is the base that is to be converted into. Bases only between 2 and 9, and flag invalid input. … | |
I know that this is probably a stupid question :\ but I am stupid... I am getting [ICODE]1>angledCollision.obj : error LNK2001: unresolved external symbol "protected: static class angledCollision * Singleton<class angledCollision>::ms_Singleton" (?ms_Singleton@?$Singleton@VangledCollision@@@@1PAVangledCollision@@A) [/ICODE] [ICODE]1>spawningArea.obj : error LNK2001: unresolved external symbol "protected: static class angledCollision * Singleton<class angledCollision>::ms_Singleton" (?ms_Singleton@?$Singleton@VangledCollision@@@@1PAVangledCollision@@A) [/ICODE] I … | |
Hi, I have a datagridview.And as per my requirement the data is supposed to be filled from three different tables in database.I have created the query and is succesfully able to populated the data in it with the cross join. Have a look at my structure. Table1,Table2,Table3. table1 has 2 … | |
I'm currently practicing working on mobile application using vb .net 2008. So I have these 5 forms that I link together. The form # 2 is where my quit button was positioned. I want to quit the whole application but form # 2 was the only form that is terminated … | |
Hi there! I am newbie in JS. I am making making class project and faced with some problems. I have found script (here) and learned. here is my problem: 1. not updating row number and row ID after deleting rows 2. not updating total sum if user change quantity 3. … | |
hello friends, i want to get the class name from li tag for example [CODE] <ul> <li class="itme11"></li> <li class="itme21"></li> <li class="itme31"></li> <li class="itme41"></li> </ul> [/CODE] and i want to access the class item31 how do i get the class name item31 with javascript?? plz help me to solve out | |
Hey guys what's the easiest way to find the Nth occurrence of a character in a string? I'm hoping there is a standard library function with a name like "NthOf" or something. Thx. |
The End.