64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for carrzkiss

Hello All; It seems that I have just run into a small issue that I am hoping can get resolved pretty quickly, as it is the only thing that is holding me back from completely this part of my task. In an ASHX file, I am needing to read a …

Member Avatar for carrzkiss
0
159
Member Avatar for IndranilM

Hello Folks, I have developed a s/w on vb.net2008 and want to make a setup of it so that my client could easily install it in her system without having .net framework installed in it. If anybody could provide me a step by step method i would appreciate. Regards Indranil …

Member Avatar for GeekByChoiCe
0
115
Member Avatar for jeffhorton1965

Help please.. I need some help in C to open a file and search for a string. If the string is found then move one space and copy the next string to end-of-line back to buffer. I am creating a program using pthreads and need to search this file in …

Member Avatar for jeffhorton1965
0
148
Member Avatar for dpswt

Hey guys, I'm new here and my question is what to use (if it exists) and possibly how to simulate a "notebook" where instead of Tabs I would like to do it with buttons (wx.Button). Being more specific, what I would like to do is to make the same functionality …

Member Avatar for dpswt
0
178
Member Avatar for theMediator

Hello all, I've developed an application for mobile devices that, upon being shut down, continues to show the loading animation for an infinite amount of time. However, I have noticed that once you click on something else, i.e. open another window or folder the animation disappears and does not reappear …

0
61
Member Avatar for dreinzy

Hi, I'm trying to code a league table system and I was wondering if there's an easy way of doing this: [CODE]$result=mysql_query("UPDATE Championship SET played="++1" WHERE team_name='$home_team'") or die(mysql_error());[/CODE] The problem lies in the played="++1" part, I can set it to be any integer, but that's not much use, I …

Member Avatar for dreinzy
0
105
Member Avatar for vbx_wx

can someone help me ,i am trying to enumarate some registry keys,i doesnt get me any error,just the output is wrong: [CODE] void Registry::open_key(HKEY Key , char* subkey) { RegOpenKeyEx(Key , subkey , 0 , KEY_ENUMERATE_SUB_KEYS | KEY_QUERY_VALUE , &hkey); } void Registry::querry_info_key() { RegQueryInfoKey(hkey , 0 , 0 , …

Member Avatar for vbx_wx
0
440
Member Avatar for phpDave

I have been working with this for a while now. User page has a counter that they can reset when they click on a link. The link goes to a script that updates the counter to zero but when I test it all rows in table update to zero. [CODE]$colname_Recordset1 …

Member Avatar for phpDave
0
193
Member Avatar for thriek

Hey, im in need of a little help... im trying to have my .exe show an image with sdl, wait 2500 milliseconds, close the image and then return to the black console screen with my cout statments and whatnot appearing. But instead when i exit sdl, the whole program exits. …

Member Avatar for thriek
0
411
Member Avatar for overwise

hi i'm new in php, and i'm making my first db driven site. it's something similar to "news" cms concept. i made pages for uploading images, and inserting data into db table. it works. now i'm making a page where i want to display that content. here, i need some …

Member Avatar for overwise
0
84
Member Avatar for mornej

Hi I am a beginner programmer and I would like to know how I can create a new page(.aspx) usong a button. So What I am actually asking is: I want to have a page that you can enter your information in. eg name Then if you press submit it …

Member Avatar for mornej
0
100
Member Avatar for gklandes

I've started a new application in Coldfusion using the ModelGlue 3 framework. For some reason, the "defaultType" on my event-handlers is not working. Here is a snippet from the modelglue.xml file... [CODE=xml] <modelglue> <controllers>...</controllers> <event-types> <event-type name="templateMain"> <after> <results> <result do="view.template" /> </results> </after> </event-type> </event-types> <event-handlers defaultType="templateMain"> <event-handler name="dashboard"> …

Member Avatar for gklandes
0
100
Member Avatar for synxmax

Dear Guys I want to start creating mobile based applications and i am newbie in this field , where should i start , how to create a simple application jar file which can run on mobile devices , for example a simple interface with buttons , sound handling , graphics …

Member Avatar for synxmax
0
154
Member Avatar for nahmartin

Hello Most of my C++ is self taught so please excuse me In my code I am writing a large amount of data to file [CODE] for(int i=0; i<itr_atoms; i++) file_out << i+1 << " 1 " << atoms[i][0] + origin_x << " " << atoms[i][1] + origin_y << " …

Member Avatar for nahmartin
0
195
Member Avatar for SubatomicRhythm

Im trying to work out how to do a project called pig latin in vb.net 2003... so far I've gotten it to work for a single word. If there are spaces it still acts like there is only one word with the rules (ex: monkey stuff = onkey stuffmay) I …

Member Avatar for apegram
0
173
Member Avatar for hkBattousai

A most basic TCT connection is established with the code below: [CODE]// Initialization IPEndPoint m_IpEndPoint = new IPEndPoint(IPAddress.Parse("127.0.0.71"), 5000); Socket m_Socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); NetworkStream m_Stream = new NetworkStream(m_Socket); // Read/write operations m_Stream.Write(System.Text.Encoding.ASCII.GetBytes("Hello world!"), 0, 12); byte[] read_buffer = new byte[4096]; m_Stream.Read(read_buffer, 0, 4096); // Closing open resources …

Member Avatar for mcriscolo
0
349
Member Avatar for dangari

Hi all.I have been using a certain javascript code to display a "Please wait..." message on screen but it seems to work in some instances and not in others.Please assist me with javascript code that works in all instances Below is the code I currently use. In the head tags …

Member Avatar for harshal82
0
2K
Member Avatar for azegurb

hi all, I have a problem getting value from select option my code is below [CODE] <form name="secmek" action="add.php" method="post"> <select name="list" id="list"> <? @$db=mysql_connect('localhost','uname','pass'); mysql_select_db('dbname'); $sorgucat=mysql_query("select * from category"); while($satircat=mysql_fetch_row($sorgucat)) { echo "<option value='$satircat[0]'>$satircat[1]</option>"; } ?> </select> <input type="submit" value="poz" name="del"> </form> [/CODE] and this is my category table …

Member Avatar for HITMANOF44th
0
131
Member Avatar for beforetheyknew

Hi guys, I'm still learning java and to code in general. How would i take a word, open a web browser, and define the word in google ? Is that even possible ?

Member Avatar for jwenting
0
102
Member Avatar for baseballfury

Hiya All, Not sure if i should be putting thi up on the SQL section but i think the problem lies in the PHP part of my code. This is what i've got. I'm counting the number of times a category shows up in my database returning the name of …

Member Avatar for baseballfury
0
195
Member Avatar for kevintse

Hello, everyone. I have a question to ask. According to The C++ Programming Language (3rd. Ed.) by Bjarne Stroustrup on page 405: "Members declared [COLOR="Red"][B]protected[/B][/COLOR]are far more open to abuse than members declared [COLOR="red"][B]private[/B][/COLOR] . In particular, declaring data members protected is usually a design error. Placing significant amounts of …

Member Avatar for kevintse
0
1K
Member Avatar for serik
Member Avatar for peter_budo
0
95
Member Avatar for darab

Hi Friends I have about 10 hour recorded sound and now i need when user click in one button from that sound minutes of 6:45 play and then after 5 second it stops how i can do it(not from at the beginnig i want it start from 6:45 reapet not …

Member Avatar for kvprajapati
0
132
Member Avatar for pritesh2010
Member Avatar for kvprajapati
0
110
Member Avatar for sniigg

Hi, I have [code] SessionData sdc = new SessionData(); [/code] And all the properties of sdc are stored in a table in sql server. I want to retrieve the properties of the sdc dynamically. And i know [code] sdc. reader1["xmlname"]= [/code] is a wrong way of doing it. So can …

Member Avatar for sniigg
0
113
Member Avatar for DarkT

Hi everyone. We were given a homework to code a hash table. The objects and their members were given by our professor and we were only supposed to implement the functions (Add, Remove, Contains and Print), so I shouldn't change the objects. I should also do a copy constructor and …

Member Avatar for DarkT
0
2K
Member Avatar for gptArun

hi all, i m new to sharepoint pls help - Any idea about the Sharepoint Databse structure ? I am using SqlServer 2005 with .NET, Sharepoint How to access my database? where is connection file in sharepoint ?

Member Avatar for gptArun
0
155
Member Avatar for amby

i want to convert string into byte....this can be done in vb.net..can somebody help me in doing this in vb6.0..here the simple code.. Private Sub Form_Load() Dim str1 As String Dim i As Byte i = CByte(Val(str1)) Text1.Text = i End Sub but this code still not able to convert …

Member Avatar for boopathi33
0
314
Member Avatar for jamshed ahmed

JAVA SCRIPT CODE [CODE] function NumbrOnly() { if(event.KeyCode==45 || event.KeyCode==46 || event.KeyCode==48 || event.KeyCode==49 || event.KeyCode==50 || event.KeyCode==51 || event.KeyCode==52 || event.KeyCode==53 || event.KeyCode==54 || event.KeyCode==55 || event.KeyCode==56 || event.KeyCode==57) { event.retunValue=false; } <asp:TextBox ID="TextBox3" onkeypress="NumberOnly('TextBox3')" runat="server"></asp:TextBox> [/CODE] WHAT IAM MISSIGN AND WHEN I WRITE event. then after 'dot' it …

Member Avatar for kvprajapati
0
164
Member Avatar for SecurExpert

Hi guys, I gat a VB project for a hospital information management system, almost in completion. The issue is that, i want it to collect information from the user installing it. Information like maybe the database name, etc and the likes, you know relevant information necessary for the program to …

Member Avatar for SecurExpert
0
135
Member Avatar for himit

Hi, I am trying to parse an xml which i am getting in a variable in my xsl. till the time i do not have any namespace in my xml i can parse all the tags of my xml from my xsl, however, for any tag with a namespace i …

Member Avatar for himit
0
123
Member Avatar for teg1989

I'm an extreme beginner with Python (this game is the first time I have ever seen it) so please bear with me. Creating a simple dice game. Place a bet. Three dice are rolled, if any are the same value you lose. If you win, you get double your bet. …

Member Avatar for ~s.o.s~
0
2K
Member Avatar for 3cats

I have looked around on this forum and none of the past posts really addressed my issue. I created a .txt file with cust no first and last name. I open the file and read in the first line of the file, this part works well. And it displays to …

Member Avatar for 3cats
0
168
Member Avatar for cleigh

I am asking this as general question first because I am not sure that what I am trying to do is even possible. I am using Dreamweaver 8. I have created a php page that accesses a mySQL database to include information from just one record on a form. Through …

Member Avatar for cleigh
0
119
Member Avatar for mahela007

I"m trying to make a [URL="en.wikipedia.org/wiki/Sudoku"]sudoku[/URL] puzzle generator (or at least the basics of one) for my project. I'm approaching this by dividing the sudoku grid into 9 rows. Each of the rows will be represented by a list and each list will have 9 elements to represent the nine …

Member Avatar for mahela007
0
366
Member Avatar for white feather

[CODE] maxDays = calendar.getActualMaximum(calendar.DAY_OF_MONTH); System.out.println(maxDays); [/CODE] When looking through the javadocs it seems like this would work but it apparently doesn't. Any help on figuring why it doesn't or another way would be appreciated

Member Avatar for BestJewSinceJC
0
152
Member Avatar for drummy

Greetings community, I've exhausted all ideas and patience and turn to the community at large for help. I have data formatted as an ASCII text file with easting, northing, and depth fields. I've attempted an arrayList with some success, but there has to be a better and more efficient approach. …

Member Avatar for drummy
0
170
Member Avatar for chec13

Hello, I just started trying to learn c++ a few days ago. Right now I have run into probems, which, has always happened when I try to learn a programming language. Can anyone help me fix this simple multiplication program? [CODE]#include <iostream> int Multiply27( first, second) { cout << "in …

Member Avatar for chec13
0
167
Member Avatar for Naloth

I'm getting errors at every occurrence of my void definitions. "expected primary-expression before "void"" and "expected ';' before "void"" at my "void displayMenu ()" "a function-definition is not allowed here before '{" token" "expected ',' or ';' before '{' token' " At every future occurrence of void. Any ideas? I've …

Member Avatar for Naloth
0
162
Member Avatar for g2gayan

Hello,.. Im a New Guy to this forum and 1st of all;... Hi :twisted: im a newbie to c# programming as well ,,, anyway.. i have a huge issue .. here is what s going to happen.. [CODE] if (txtPath.Text != "") { FileInfo fn = new FileInfo(txtPath.Text); string p …

Member Avatar for g2gayan
0
370
Member Avatar for gnarlyskim

I'm working (well have been for the past few weeks) on a polynomial class to do different things between two polynomials: multiply, divide, get remainder, subtract, add. The coefficients are stored in a pointer to an array listed under private and the degree (also the amount of slots in the …

Member Avatar for gnarlyskim
0
88
Member Avatar for warlock07

So here is the algorithm I am trying to design...i'm not sure it will make any sense. I have a sequence of n numbers(in ascending order). I have an another number 'x'. If i have 2 chances to compare x with a number greater than it but unlimited chances to …

Member Avatar for warlock07
0
208
Member Avatar for Sthe

Hi guys I'm completely new to programming, but would like to learn how to create crosswords in j2me, can someone help me with a source code...thanx:)

Member Avatar for peter_budo
0
127
Member Avatar for pinsickle

Probably a dumb question but, How can you tell if a "split" has occurred all the way up a btree? Would it be that the parent pointer would be NULL? Like I said probably a dumb question. I've got my BTreeNode class working (including the add) but the BTree class …

Member Avatar for pinsickle
0
118
Member Avatar for God Coder123

I'm new to the code blocks ide. How exactly do i change the colours within the code window? Also how do i make code blocks portable as i use it on a number of different computers. any help would be much appreciated >_<

Member Avatar for God Coder123
0
387
Member Avatar for jamesbarnhill

I'm pretty sure this is a simple fix, but I don't see it: [CODE]foreach($rows as $row) { $result .= "<li><a href='"javascript:void(0)" onclick="javascript:chatWith('.$row->username.')">" .htmlspecialchars(getNameFormatOnline($row->name,$row->username,$ueConfig['name_format']))."</a></li>\n"; }[/CODE] This is a list of online users; putting the username inside "javascript:chatWith('USERNAME_HERE')", to initiate a chat. Thanks, James

Member Avatar for CFROG
0
149
Member Avatar for ultimatebuster

[CODE] # What exactly is the difference between: class Test: pass # and class Test2(object): pass [/CODE]

Member Avatar for vegaseat
0
81
Member Avatar for ruscan

Hello, I have a little issue getting what I want displayed from a single table. Basically, here is what I am trying to accomplish. I have the following type of table: Place Action B/S Qty Type City Full B 1 View City Partial B 1 View City Partial B 1 …

Member Avatar for unleashedmaniac
0
147
Member Avatar for SgtMe

Let's say I have this: [CODE] class main: def add(self): print '1 + 2 = 3' [/CODE] I then want to be able to call the add function again from within itself. Like this (BUT THIS DOESNT WORK!!!) [CODE] class main: def add(self): print '1 + 2 = 3' self.add() …

Member Avatar for SgtMe
0
82
Member Avatar for jkrause

Hi all! I have two combo boxes: cboRepairCategory (plumbing, landscaping, etc) and cboVendors. I am using Stored Procedures in SQL to store the data from my database and then load them into the combo boxes. The cboRepairCategory will be loaded first. Once the user has selected what type of repair …

Member Avatar for jkrause
0
122

The End.