199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for harcaype

I'm trying to update/refresh my data grid but it doesn't seem to update whenever there's a new entry. I've search the net about it and they were talking about databind(). I can't seem to have that in my datagrid. My intellisense only shows DataBindings not databind(). here's my code (when …

Member Avatar for harcaype
0
116
Member Avatar for harcaype

I am trying a multi select query in management studio and I am only expecting a result that is a single output per row, however, when I tried executing it. The rows I called repeated once. For example I have 2 rows in my column1 and when I multi-selected my …

Member Avatar for harcaype
0
108
Member Avatar for Software guy

hi , i have a simple problem here, that is how can i convert an Decimal integer into Hexadecimal integer and not in Hexadecimal string. I have wrote the following code and managed to get the output from the program. But for a certain reason i cant use it again …

Member Avatar for Software guy
0
183
Member Avatar for tanha

Hi. I have two forms with the following names and properties: 1. register.php --- ----- action="register-exec.php" --- method="POST" 2. register-exec.php --- action="register-exec.php" --- method="POST" After submitting the register.php, I used session in register-exec.php to store the value of the register.php for later use as follow: [CODE]session_start(); $_SESSION['bookTitle'] = $_POST['txtBookTitle']; $_SESSION['bookInfo'] …

Member Avatar for tanha
0
118
Member Avatar for bhoot_jb

i think it is not possible to print vertical lines along with text data in vb6..so i thot of transferring the whole contents from vb form to a word document. but now i dont know how to do that. i want to transfer the data in a specific tabular format. …

Member Avatar for bhoot_jb
0
180
Member Avatar for veledrom

Hi, I have a subroutine(callMe) in Module1. I want to call "callMe" in other subroutine in Form1. I cant do it. I cant call subroutine in other subroutine. How do i do it. Thanks

Member Avatar for QVeen72
0
354
Member Avatar for mykar_88

hi i would like to know the functions of webbrowser1.busy,STATE_COMPLETE and all other properties of web browser. pls also let me know how to make the process sleep until web browser gets loaded. thank u

Member Avatar for mykar_88
0
171
Member Avatar for veledrom

Hi, Code below retrieves some of the enum values, not all. Why? Thanks [code] Dim RST As New ADODB.RecordSet Combo1.Clear RST.Open "Select Distinct Title From MyTable",Conn If Not RST.EOF Then RST.MoveFirst Do While Not RST.EOF Combo1.AddItem RST(0) & "" RST.MoveNext Loop End If [/code]

Member Avatar for veledrom
0
97
Member Avatar for msupstream

Hi, I have done some reading and searching without finding how subclasses relate to friend classes. Here is a little scenario: [code] class Dog; class Cat{ public: int getAge(){return age}; protected: friend class Dog; int age; }; class Dog{ public: Boolean foo(){return True}; protected: friend class Cat; }; class Puppy …

Member Avatar for Narue
0
156
Member Avatar for Mr.Wobbles

I am getting information from a database and reading it into an xml file - I've tested the SQL and it works just fine on the database I am using - but it won't return anything once I've got it and am trying to use it. Here is my code: …

Member Avatar for sierrainfo
0
100
Member Avatar for CoolGamer48

Hey, I'm attempting to write an XML parser in C++, and I have some questions on some XML syntax. First: what is the rule for what goes between the end of the last attribute and the end of a tag? E.g.: is this ok:[ICODE]<tag attribute="value" >[/ICODE]? is this ok:[ICODE]<tag attribute="value">[/ICODE]? …

Member Avatar for Narue
0
162
Member Avatar for karthik1

Hello, How to copy an item selected in a Listbox present in Form1 into a Combobox present in another form-Form2. Here the combobox contains a list of customers while the listbox contains only the selected few. For eg in the cbox i type "r" the i get a list of …

Member Avatar for selvaganapathy
0
114
Member Avatar for karthik1

Hello, I have a login form in Access which has a combobox and ac ommand button. The combobox has a list of customernames. On selected the customer in the CBox or specifying a part of the customername, when i click the commbuton i should get another form having a list …

Member Avatar for Jishnu
0
81
Member Avatar for ratperson

I am programming for the first time...trying to make a game in pygame. I need to know how to design a really good background. All I can do at the moment is draw lines and change the background colour. Please help!! I am making this for my boss and I …

Member Avatar for ratperson
0
80
Member Avatar for Mazille

Hi I'm a python beginner! I'm trying to make a list of 3 numbers per line but I get an error. =( Here's my code: [CODE=python]list2 = [23, 764, 12, 54, 83, 2, 543, 890, 1235, 453, 98] k = 0 while list2[k] != -1: first = str(list2[k]) k = …

Member Avatar for Mazille
0
1K
Member Avatar for ishlux

Hi all, i tried this code but its giving error fatal error: Call to undefined function equals() in D:\xampp\htdocs\demo\contractor_new.php on line 152 [code=php]<?php include 'database.php'; if(category.equals("sercategory")) { $result = mysql_query("SELECT * FROM service_category "); while($row = mysql_fetch_array($result)) { echo $row['servicec']; echo "<br />"; } } else { echo 'error'; } …

Member Avatar for ishlux
0
131
Member Avatar for aot

Can python programs with GUIs (such as Tkinter) be embedded into web pages? I have looked into CGI programming before, but despite a search, I have found no books relating how to do this with python. Is it possible? Can anyone recommend a good book? If not, what would you …

Member Avatar for Jon Pierce
0
185
Member Avatar for Dan301978

Hi guys, I hope you can help. I want to start work as a trainee developer and to do this I plan to train myself up in C# and .NET. In order to prove to employers that I have done this work, I plan to take the Microsoft exam 70-536: …

Member Avatar for sierrainfo
0
171
Member Avatar for beatlea

Hello, Could you explain me what this statement means? I am confused with k/=2 as iteration statement. [icode] for (int k = p; k > 0; k /= 2) [/icode] Thanks

Member Avatar for beatlea
0
119
Member Avatar for guerreronoli

The project is completed, the report is working in the JCreator, but not when i run jar file.. I've searched the forum but i couldn't find to my requirements. I want to know to how to make the jar file that the report should also work.. Help needed plz..

Member Avatar for lucky1981_iway
0
86
Member Avatar for QuantNeeds

Is it possible to store * and # in an array? I thought I could do this through the data type char. On top of that I was wondering if I could check the array elements to see if the element equaled that character, but I don't think that's possible. …

Member Avatar for QuantNeeds
0
76
Member Avatar for Mad Pat

I'm currently working on a little project for a friend of mine. He runs a computer shop and needs a small application to register sales and print out a sales ticket. I've done this in Open Office and it works fine (hey, stop throwing things at me!). The problem is …

Member Avatar for Mad Pat
0
1K
Member Avatar for Rockout101

I have started a new website and I know basic HTML but I am clueless with PHP. I need to set up a login system where members can save their info on the site. I need to learn PHP, cookies, and a login system. Thanks.

Member Avatar for cwarn23
0
105
Member Avatar for chetan1989

I have got a C++ program that accepts a string and gives output as a string now what I need do is take the string input from the textbox on a webpage and then submit the result to a database? Submitting to database is a later case but first tell …

Member Avatar for chetan1989
0
81
Member Avatar for cwarn23

I have been working on a php login system which is basically finished but needs one thing cleaning up. When the session is created/registered, a cookie is created. And according to firefox, the cookie will expire when the session ends. However, the session ends (according the the rest of my …

Member Avatar for nav33n
0
6K
Member Avatar for SwiftDeath

I am creating a new sorting algorithm as a machine problem and i encounter difficulties. The logic of my said the said algorithm is to create an array by inputing the total numbers to be accepted followed by the array variables and sorting it ascending or descending. The array would …

Member Avatar for SwiftDeath
0
240
Member Avatar for reniies

Hi all, I've developed a vb.net application for a desktop digital clock and deployed it. I made the application start at windows startup and it's working fine. But the taskbar button for the application is there in the taskbar every time the windows login. Please help me to modify the …

Member Avatar for reniies
0
267
Member Avatar for lil_panda

How would I go about deleting all '' characters from a string? [B]I am using the command line to pass parameters with parenthesis, so anyone who uses my program will need to use '\(', '\), '\[', '\]', etc.[/B]

Member Avatar for titaniumdecoy
0
103
Member Avatar for swingkitty

I have an assignment for my class that asks to modify my previous assignment to include a function for both A and B. The function for A should have the quantity of numbers passed in as a parameter and needs to return the largest number. The function for B should …

Member Avatar for swingkitty
0
88
Member Avatar for ferzan

Hello, I'm embarrassed for asking this question but for the life of me I cannot find an answer. This ultra simple code is giving this error as well as any other function that I'm trying to write. [CODE]a function-definition is not allowed here before '{' token expected `,' or `;' …

Member Avatar for ferzan
0
145
Member Avatar for Besherek

Hi folks, I have a small Paging problem, was wondering if anyone could help me out with. I have a blog that I need to page after a set number of blogs. The Next and Previous links work fine and so does the Page number Nav. However, my page number …

Member Avatar for Besherek
0
343
Member Avatar for Kavitha Butchi

Hello All, I have this strange problem .. I am using require function twice in a single program to call two different programs.Each one of them has their own database connections. The page doesnot execute completely untill I hit refresh.:-/ It works as if those functions are executing one-after-the-other while …

Member Avatar for Kavitha Butchi
0
144
Member Avatar for HLA91

Hey all I recently picked up the book "Java the first semester". It uses the EasyIn class to get user input. I have downloaded the file EasyIn.java but I dont know how to make the class accessible from my programs. [QUOTE]As long as the EasyIn class is accessible you can …

Member Avatar for peter_budo
0
186
Member Avatar for scru

Take a look at this page: [url]http://tejerodgers.com/[/url] and type four or more characters in the search box on the right. My problem is the div box that pops up. I'm only getting the behavior I want with Firefox. in Opera and in IE the page widens to fit it. What …

Member Avatar for scru
0
100
Member Avatar for gregorynoob

a mouse is trapped in a labyrinth.. and he has to find the cheese! the input is W and H (height and width), and a graph like this one: [CODE] ##...# C###.. ...... .####. .....M [/CODE] i'm supposed to calculate the shortest amount of steps he needs to make to …

Member Avatar for gregorynoob
0
189
Member Avatar for Clockowl

Hey guys, I come over from C, wanting to learn C++. I have a nice little book but figured I could use a project to get me going. So I magicly crafted code, and ran into this problem: [icode]C:\Code\Rapture\World.h|7|error: ISO C++ forbids declaration of `Breeture' with no type|[/icode] With this …

Member Avatar for Clockowl
0
173
Member Avatar for Acidburn

Hey guys, If I could get hold of a couple of sonar sensors would ther be a way to code for a such a sensor? If so what language would be recommended?

Member Avatar for Acidburn
0
148
Member Avatar for shadowrider
Member Avatar for butt_usman

Hello! All Well its a problem i have no idea about it ... check dis : i created a small graphics program.. like which draw a circle on screen.. it works very fine.. on other hand when i shift that code into my bigger program where i have used structers …

Member Avatar for Salem
0
168
Member Avatar for Shadow14l

I am using this function to download files: [code=python]def download(url): urllib.urlretrieve(url, url.split("/")[-1])[/code] I am downloading files from a site, but I don't know the EXACT filename... All I know is the id for them... Example: download("http://site.com/files/489411/") When i am to do that, it automatically resolves the appropriate filename and it …

0
85
Member Avatar for adaykin

Hello, whenever I try to call this function, web developer plugin for firefox gives me a message that says: "Error: addRow is not defined Source File: [url]http://localhost/xampp/Aptana/index.php[/url] Line: 1" Here is my code: [CODE] <script type="text/javascript"> var k = 7; function addRow() { var rowItem = document.createElement('input'); newRow.setAttribute('type', 'text'); newRow.setAttribute('name', …

Member Avatar for adaykin
0
126
Member Avatar for camthalion95

Menu.RC [CODE]POPUP "File" } MENUITEM "New", CM_NEW MENUITEM SEPERATOR MENUITEM "Save", CM_SAVE MENUITEM "Save As", CM_SAVEAS MENUITEM SEPERATOR MENUITEM "Exit", CM_EXIT { }[/CODE] I have another file with the definitions to CM_NEW, Etc.

Member Avatar for camthalion95
0
194
Member Avatar for triadR

hi all, i've a problem in converting struct into short here's the code i'm using, but it's still error while i'm running it. [CODE] typedef struct ip_header; unsigned short *temp; memcpy(temp, &ip_header, sizeof(ip_header)); [/CODE] any help will be greatly appreciated. thx.

Member Avatar for jephthah
0
223
Member Avatar for dtfan6

Hi everyone ! This is my first new post, I have a problem with my Java code. I am trying to make a first applet, and have gotten this code from a book, "Java - An Introduction To Problem Solving & Programming", by Walter Savitch and Frank Carrano : [code] …

Member Avatar for dtfan6
0
136
Member Avatar for saquib189

Hi, i have formview control in my page and on that i have two textboxes and button in it which display at runtime. i declare the button event in my aspx.vb [code=asp.net]Protected Sub insertbutton_Click(ByVal sender As Object, ByVal e As System.EventArgs) If Not Page.IsValid Then Exit Sub ' Determine the …

Member Avatar for a496761
0
103
Member Avatar for PatMcCrackIt

hi everyone.. I honestly don't know if this should be in the php forum section but here it goes. I am trying to create a fansite for a band and i would like to have all of their lyrics on my site. I do not want to create a new …

Member Avatar for nav33n
0
264
Member Avatar for CoolGamer48

Does this code look right for centering an image on the screen (in this case a chess board): [CODE=C++] int Chess::Board::Center(int width,int height) { if(m_texture == NULL) return 0; D3DXVECTOR2 center; center.x = (float)width/2.0f; center.y = (float)height/2.0f; m_position.x = center.x - (m_texture->GetWidth())/2; m_position.y = center.y - (m_texture->GetHeight())/2; return 1; } …

Member Avatar for CoolGamer48
0
106
Member Avatar for jk_bscomp

Hello everyone!!! I just want to ask if is it possible to create a chat program that send and receive message, audio and video for Local Area Network... I want to create a program similar to yahoo messenger that includes the future of voice and video but the difference is …

Member Avatar for Salem
0
132
Member Avatar for muddpigeon

ok i know i have posted the same request before but i am still completley stuck with where to go from what i have got so far. the program i have to do is basically a very simple atm program. the user has to enter a pin number between 1000 …

Member Avatar for teddies
0
229
Member Avatar for dinilkarun

data='115Z2113-3-777-55789ABC7777' I have a string in the above format. I want to remove 'ABC7777' from it. If there are any characters other then numbers after the right most '-' symbol, then only the string preceeding it should be retained.i.e., '115Z2113-3-777-55789ABC7777' should be stored in data. 'ABC7777' should be stripped off. …

Member Avatar for woooee
0
418

The End.