199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for XodoX

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 …

Member Avatar for Taywin
0
165
Member Avatar for MARKAND911

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. …

Member Avatar for touch_the_sky
0
145
Member Avatar for anonymousi

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 …

Member Avatar for anonymousi
0
273
Member Avatar for skumar_nasa

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: …

Member Avatar for BitBlt
0
185
Member Avatar for shwutyng

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.

Member Avatar for BitBlt
0
543
Member Avatar for techlawsam

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!

Member Avatar for Mitja Bonca
0
10K
Member Avatar for monstro

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 …

Member Avatar for mritpath
0
386
Member Avatar for tombihn

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 …

Member Avatar for tombihn
0
1K
Member Avatar for Reverend Jim
Member Avatar for grabit

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 …

Member Avatar for Taywin
0
154
Member Avatar for SamarthWiz

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 …

Member Avatar for SamarthWiz
0
370
Member Avatar for ankit.pandey3

[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; …

Member Avatar for Taywin
0
105
Member Avatar for TIP.Synergy

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]

Member Avatar for NetJunkie
0
197
Member Avatar for Oneryavuz

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 …

Member Avatar for NetJunkie
0
241
Member Avatar for Aksel

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 …

Member Avatar for Aksel
0
147
Member Avatar for TriceD

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. …

Member Avatar for TriceD
0
495
Member Avatar for BobTheLob

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 …

Member Avatar for JamesCherrill
0
132
Member Avatar for calnastic

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" /> …

Member Avatar for kvprajapati
0
332
Member Avatar for laitingfei

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 …

Member Avatar for Taywin
0
314
Member Avatar for fffkral

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!

Member Avatar for NinjaMediaD
0
154
Member Avatar for tcfersure

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. …

Member Avatar for woooee
0
144
Member Avatar for imcgrath1

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 …

Member Avatar for mike_2000_17
0
3K
Member Avatar for saurav2007

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); }

Member Avatar for cse.avinash
0
195
Member Avatar for tyu1996

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 …

Member Avatar for cse.avinash
0
195
Member Avatar for kaskoraja

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 …

Member Avatar for kaskoraja
0
278
Member Avatar for vishal1949

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 …

Member Avatar for Taywin
0
280
Member Avatar for sparkey

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 …

Member Avatar for sparkey
0
153
Member Avatar for loveMii

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 …

Member Avatar for loveMii
0
143
Member Avatar for Jesus Jacques

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 …

Member Avatar for Jesus Jacques
0
1K
Member Avatar for charqus

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 …

Member Avatar for nick.crane
0
172
Member Avatar for PurpleHeaven

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 …

Member Avatar for Taywin
0
219
Member Avatar for agmolina90

[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 …

Member Avatar for Taywin
0
602
Member Avatar for fka

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 …

Member Avatar for ddanbe
0
405
Member Avatar for jacko_162

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 …

Member Avatar for jacko_162
0
268
Member Avatar for DarkBerzerk

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(); …

Member Avatar for DarkBerzerk
0
126
Member Avatar for elcubanoluis

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" …

Member Avatar for smantscheff
0
218
Member Avatar for bubbafunk1

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 …

Member Avatar for Aisha_mdf
0
147
Member Avatar for perceptis

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 …

Member Avatar for Ketsuekiame
0
247
Member Avatar for rickster11

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 …

Member Avatar for jwenting
0
95
Member Avatar for httpgal

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, …

Member Avatar for httpgal
0
208
Member Avatar for SyncMaster170

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 …

Member Avatar for Teme64
0
626
Member Avatar for deepanbecse

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 - …

Member Avatar for deepanbecse
0
117
Member Avatar for titosd

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 …

Member Avatar for diafol
0
147
Member Avatar for bennetk2

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. …

Member Avatar for bennetk2
0
2K
Member Avatar for falconmick

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 …

Member Avatar for falconmick
0
541
Member Avatar for Ehtesham Siddiq

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 …

Member Avatar for Ehtesham Siddiq
0
301
Member Avatar for jefroxnergal

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 …

Member Avatar for jefroxnergal
0
98
Member Avatar for newmaster

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. …

Member Avatar for newmaster
0
2K
Member Avatar for jogesh_p

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

Member Avatar for jogesh_p
0
131
Member Avatar for pseudorandom21

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.

Member Avatar for Momerath
0
440

The End.