199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Bagleys

Hi i am trying to delete a file(s) from a checked list box, when i click a button. This is the code i have: [code] Dim item As IO.FileInfo For Each item In CheckedListBox1.CheckedItems Try item.Delete() Catch : End Try Next item [/code] But i get the error: Unable to …

Member Avatar for Bagleys
0
194
Member Avatar for gedas

hey guys, im working on a little program that would ask the user to input file name and would ask the user again to specify the output file so the contents of file one would be transferred in to the file 2. i have been working on it for few …

Member Avatar for gedas
0
181
Member Avatar for iamai

i get 1 error Cannot refer to an instance member of a class from within a shared method or shared member initializer without an explicit instance of the class. here is my code [CODE] Public Class test Private _course As String Public Shared Function function1(ByVal data As String) As Boolean …

Member Avatar for iamai
0
85
Member Avatar for campkev

I know how to use System.Web.Mail to send emails. Anybody know how to send encrypted emails?

Member Avatar for Lam4
0
162
Member Avatar for BoB3R

Hello, I am trying to do a program that is reading for example a.txt file that have 5 lines and i want him to show me for example line #3 only, i know i need to use fgets but i rly dont know how to start it a.txt [CODE]1;27.01.1957;8;12;31;39;43;45; 2;03.02.1957;5;10;11;22;25;27; …

Member Avatar for Dave Sinkula
0
128
Member Avatar for LaFreak

Hello all, <?php $result = mysql_query("SELECT Artikelnummer, Artikelmerk, Artikelnaam FROM Product ORDER BY Artikelnummer;"); printf('<table class="adminblok">'); while($r = mysql_fetch_assoc($result)) { printf("<tr><td>[B]<a href="#">[/B]%u[B]</a>[/B]</td><td></td><td>%s</td><td>%s</td></tr>",$r[ "Artikelnummer"], $r["Artikelmerk"], $r["Artikelnaam"]); } printf('</table>'); ?> The codes that are printed [B]bold[/B] are the tags that don't work on my website! Why is this and how can i …

Member Avatar for vaultdweller123
0
104
Member Avatar for deonis

Hello ! I am trying to make a little program, which would go through the string content, find some keywords inside of it and return their position in the text. Unfortunately my program does not work for the duplicated words like "AFIX" or "CONF" (see example bellow). Is there simple …

Member Avatar for deonis
0
138
Member Avatar for lws1976

I recently install wprdpress to my website, after all steps done, when I log in it show this error: Parse error: syntax error, unexpected '@' in /home/carsonle/public_html/wp-includes/general-template.php on line 430 After check my general-template.php files line 430 it show this: if ( !empty($cat) ) { Anyone can help me?

Member Avatar for ShawnCplus
0
100
Member Avatar for Ana D.

Hi, I have the following code: [CODE]<asp:GridView ID="MyGridView" runat="server" AllowPaging="true" PageSize="30" AutoGenerateColumns="False" AllowSorting="true"> <Columns> <asp:TemplateField HeaderText="Industry ID" ItemStyle-Width="150px" ItemStyle-HorizontalAlign="Center" SortExpression="ID"> <ItemTemplate> <asp:Label ID="IDLabel" runat="server" Text='<%#Eval("ID") %>' /> </ItemTemplate> <EditItemTemplate> <asp:Label ID=" IDLabel " runat="server" Text='<%#Eval("ID") %>' /> </EditItemTemplate> <FooterTemplate> <asp:Label ID="EnterLabel" runat="server" Text="Please, enter the new name: " /> </FooterTemplate> …

Member Avatar for Ana D.
0
95
Member Avatar for DavidDD

Hey! Alright, I am working a program in C++ (obviously ;P). I have been working on this game a very long time and took a break from it. I actually forgot how this line works: [CODE] vector<string> sWords(1); int a = 0; ifstream myfile("words.txt"); if(!myfile) { cout << "Error opening …

Member Avatar for DavidDD
0
351
Member Avatar for C++ Beginner

Problem: Write a program that has an array of at least 20 integers. It should call a function that uses the linear search algoritm to locate one of the values. The function should keep a count of the number of comparisons it makes until it finds the value. The program …

Member Avatar for hag++
0
2K
Member Avatar for achiman

Hi, Can anybody please tell me if there is a code in PHP that I can attach to a link and when it is clicked the web page is printed

Member Avatar for achiman
0
119
Member Avatar for baskar007

hi friends, I am building a small web application for linux in python lang. I am using httplib for the web interface. and currently i using the following exceptions in httplib. [QUOTE] httplib.HTTPException socket.error socket.herror socket.gaierror socket.timeout [/QUOTE] so i need error codes and descriptions for the exceptions. I have …

Member Avatar for baskar007
0
152
Member Avatar for Dilbert137

Dear All, I'm searching a code which allow the user to download directly a file from the php web page. Has anyone knows how to do it? It seems to be a simple coding. Regards Dilbert137

Member Avatar for Dilbert137
0
139
Member Avatar for stevetaylor15

I'm trying to return anattribute an identify if it has null or emtpy value. I know if i give the attribute a value it returns it find, but if it has no value it returns "object reference not set to an instance of an object"! How do i identify an …

Member Avatar for stevetaylor15
0
259
Member Avatar for basantxbs

Hi Everybody I want list a categories in a tree structure. like this cat 1 --> cat 1.1 -->cat 1.1.1 --> cat 1.2 cat 2 cat 3 i have a code which show all the category subcategory at a time but i want only those sub-category whoose parent category is …

Member Avatar for diafol
0
116
Member Avatar for rutaba
Member Avatar for moerpheus

hi, how do i get pdf lib to work with php. I want to generate pdf docs. please help.

Member Avatar for moerpheus
0
74
Member Avatar for phil750

I have code that outputs data as so [code] Input file name: file.txt Input text: Process id 1, Quantum No 2, Priority 0 Process id 2, Quantum No 3, Priority 1 Process id 3, Quantum No 3, Priority 0 Process id 4, Quantum No 1, Priority 2 Start of processing …

0
89
Member Avatar for P00dle

I need help with jFilechooser. I've already made the jFilechooser. The problem is that I want to change the text of the "save" butten to "Ok", as I need it to perform a save function, as well as a read function, on different occasions. Changing the code where the jFilechooser …

Member Avatar for P00dle
0
173
Member Avatar for leeba

I want to read he source file of the .exe I am writing. For example if I am running test.exe I want to read test.c Also if the name of the file changes it still had to open it. what i have tried is: [code] FILE *fp=fopen(*.c,"r") [/code] Can someone …

Member Avatar for leeba
0
675
Member Avatar for Bob1256

You can make a os in vb. But a os need's medim or high level coding e.g c++ or c I'm am working on a os in vb it is going pretty good I have the main menu sorted out the log in nd user and login and shutdown and …

Member Avatar for QVeen72
0
114
Member Avatar for dr.e

Hi. Can some one please help me as i am trying to read from access database and that work with data in a program. I used to work with VB from previous version and now it seems to me there are differencies. If someone can paste a working simple code. …

Member Avatar for pauldani
0
196
Member Avatar for shethia.tejas

hie, i want to operate a usb webcam using c or c++ language that is i want it to take pictures using c/c++ commands can any1 suggest me how can this be done. Also i want to find out two laser spots from an image using processing and track them …

Member Avatar for daviddoria
0
159
Member Avatar for merse

It is possible to write, but the compiler dont find the function when I want to use func(x): [CODE]template <class T> double func(const double& x, const double& error = 0) {...}[/CODE] I have to write separately, like this why? [CODE]template <class T> double func(const double& x, const double& error) {...} …

Member Avatar for Dave Sinkula
0
100
Member Avatar for Israelsimba

Ladies and gentlemen i thank you for your assistance in my system that i have been developing. my organisation is very impressed by it. i was thinking of a situation whereby my system could give a notification when a person's copies he subscribed run out. i mean when the copies …

Member Avatar for Israelsimba
0
121
Member Avatar for Poojasrivastava

hi..actually i am developing a web application wherein i need to print barcodes at client side. i have the PCL file that would print the barcode but the problem lies in printing at the client side and that too without opening the print dialog box. can somebody help me with …

Member Avatar for pauldani
0
4K
Member Avatar for DesperateDan

How can I correct. I have textbox that is empty and where the cursor is flashing and I wish to move to other textboxes. What happens is that the error message is displayed first and when I press OK, only then can I move to the other textboxes. How do …

Member Avatar for DesperateDan
0
143
Member Avatar for mshravs

i have a problem when there is no data entered in the database and the data is entered for the first time. then it is giving an error even though the data is get saved. here is the code : [CODE] Protected Sub submit1_Click(ByVal sender As Object, ByVal e As …

Member Avatar for pauldani
0
94
Member Avatar for samuel_1991

Hi, I have a 3 tables needed to be inner join before I got a full details of a transaction history (What item, shipment details, quantity, who bought it etc). The involved tables are ShopCart,ShopCartItem and OrderData ShopCart: [code] CREATE TABLE dbo.ShopCart ( ShopCartID int IDENTITY (1,1), ShopperID int NOT …

Member Avatar for samuel_1991
0
13K
Member Avatar for mvujica

I am quite new to XSLT and I want to add unique index to elements types to transform something like this: <item1> [INDENT]<item2>[/INDENT] [INDENT][INDENT]<item3></item3>[/INDENT][/INDENT] [INDENT][INDENT]<item3></item3>[/INDENT][/INDENT] [INDENT]</item2>[/INDENT] [INDENT]<item2>[/INDENT] [INDENT][INDENT]<item3></item3>[/INDENT][/INDENT] [INDENT][INDENT]<item3></item3>[/INDENT][/INDENT] [INDENT]</item2>[/INDENT] </item1> <item1> </item1> into: <item1 id="1"> [INDENT]<item2 id="1">[/INDENT] [INDENT][INDENT]<item3 id="1"></item3>[/INDENT][/INDENT] [INDENT][INDENT]<item3 id="2"></item3>[/INDENT][/INDENT] [INDENT]</item2>[/INDENT] [INDENT]<item2 id="2">[/INDENT] [INDENT][INDENT]<item3 id="3"></item3>[/INDENT][/INDENT] [INDENT][INDENT]<item3 id="4"></item3>[/INDENT][/INDENT] [INDENT]</item2>[/INDENT] …

Member Avatar for mvujica
0
102
Member Avatar for Robinson chris

Am trying to make a form with a hole at the centre of the form.please help me with the code

Member Avatar for ankush.mukherje
0
80
Member Avatar for nayef

Hi , I am in a big trouble , I am student ( electrical engineering ) in freshman year who has a course in c . I need your help in writing my project which is going to be submitted on Saturday 23 Jan and I am not familier with …

Member Avatar for jonsca
0
141
Member Avatar for dangari

Hi all, I have two jsp pages say jsp1 and jsp2. In jsp1 I have the following line: [code=jsp] <%@ page contentType="text/html;charset=UTF-8" language="Java" import="java.sql.*" %> <jsp:useBean id="one" scope="session" class="mypackage.myclass1" /> [/code] In jsp2 I have the following line: [code=jsp] <%@ page contentType="text/html;charset=UTF-8" language="Java" import="java.sql.*" %> <jsp:useBean id="two" scope="session" class="mypackage.myclass2" /> …

Member Avatar for dangari
0
154
Member Avatar for tizzo233

Hi. I am kind of having trouble with some functions. Basically, I know how to write out functions using void and no return, but for this problem I am working on, I have to use int myfunction(something&) instead of void myfunction(). Can anyone please lead me in the right direction …

Member Avatar for tizzo233
0
204
Member Avatar for cristine.apin

[CODE] hello everyone! I am a newbei here... Pls help me answering this question: How to write data in a new line in a particular text file? Is there any particular method in the RandomAccessFile class in java that is capable of handling such thing. Here's my code: import java.io.*; …

Member Avatar for musthafa.aj
0
1K
Member Avatar for rp_prakash

hi this is my coding if i run this coding. first time i able to get data then i click second time i got error Procedure or function "procedure name" display has too many arguments specified" why this error plz explain for me [code] Dim mydst As New DataSet MyConnection.ConnectionString …

Member Avatar for kvprajapati
0
186
Member Avatar for Instinctlol

I was just wondering how I would compare 2 different object member of the same class. I want to compare the int speed between the 2 objects. Lets say I have a [CODE] class Car { private: int speed; public: int compare(Car car) } main() { Car Honda, Toyota; //Lets …

Member Avatar for Instinctlol
0
137
Member Avatar for bas_brain

Someone can explain to me why and when we need to reference variables and function. example: function &load_class() { } or $class = &new Class(); I also noticed that some php code vars sometimes appears like this: $_var instead of $var; there is any reason for that.

Member Avatar for harshbavaliya
0
99
Member Avatar for tizzo233

Hi. I am trying to input values from a user and put them in a linked list. Some how when I display the values that the user inputs, they are both show up under one variable. ie. user inputs $3 and then inputs $5 for next variable. however, when i …

Member Avatar for thomas_naveen
0
109
Member Avatar for hitro456

Hi everyone I am executing a query on sqlreader object i.e. rdr = cmd.executereader(); now I get a value rdr[0] = 100; but this value is in reader object. I want to transfer that value rdr[0] to integer variable how can I do that? I tried int.parse, int.tryparse, convert.int32..etc it …

Member Avatar for hitro456
0
148
Member Avatar for SKANK!!!!!

what is the most efficient way to make a "contacts" table in mysql database. like a user can change the relationship between him and another user. like i cant figure out how the database should look to be most eficiant. ive been through two ways. the first was a column …

Member Avatar for debasisdas
0
104
Member Avatar for s2xi

Hi, I searched all over the net for a clear solution but what solutions i have found just leave me with more questions and answered. I have a multi step form using IF statements such as: [CODE] if(isset($_POST['2'])) { echo "step2 data"; }else if(isset($_POST['3'])) { echo "step3 data with text/ …

Member Avatar for s2xi
0
105
Member Avatar for squinx22

Hello, How could this be possible: SuperClass has a method named executeMe(), Subclass1 that extends Superclass has also method named executeMe(), Subclass2 that extends SuperClass has also the same method. When I try to call the executeMe() method from SuperClass, all classes that has been called with the method executeMe() …

Member Avatar for musthafa.aj
0
93
Member Avatar for sassenach

Hi, I have a site which i added mod write to the url. Some of the pages are not opening correctly. For example, the WHIWH login, should open a user & pass field in the page. You can see it is not opening it. [url]http://www.whiwh.com/login/[/url] Also a page like this …

Member Avatar for sassenach
0
646
Member Avatar for avirag

This is a snippet that takes a min value, max value and how many random numbers from the user then, after it checks to make sure it's not already in the list, adds the new random number to a List.. I hope it helps you..... :)

Member Avatar for apegram
0
235
Member Avatar for aneeka

Is there anyone knows how to display a blob datatype from MySql database to the RptImage in Visual Basic 6.0 Data Report? Help me, please!!:-/

Member Avatar for aneeka
0
68
Member Avatar for TommyTran

I just ran into an assignment that says: let the user enter a word, then displays the "Unicode base 10 number" for "each" letter in that word. Example: enter "Aretha", the label should then display "A = 65 r = 114 e = 101 t = 116 h = 104 …

Member Avatar for vbnetskywalker
0
124
Member Avatar for sree_ec

I am posting this for a suggestion. I want to know which is the optimized way for writing a C code for the below problem. question is to ouptut the below string "Post New Thread " to "Thread New Post" I have 2 methods. 1. Read the each character in …

Member Avatar for Ancient Dragon
0
143
Member Avatar for CaffeineCoder

Hey, I'm new to the Java arena, and am trying to create an application (using JForm and JPanel) displaying a fireworks show. The problem is creating an explosion for the display. Does anyone have any recommendations for creating an explosion? I've been stuck on this for quite some time and …

Member Avatar for cornmaster12
0
1K

The End.