199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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 … | |
I know how to use System.Web.Mail to send emails. Anybody know how to send encrypted emails? | |
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; … | |
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 … | |
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 … | |
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? | |
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> … | |
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 … | |
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 … | |
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 | |
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 … | |
![]() | 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 ![]() |
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 … | |
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 … ![]() | |
hi, how do i get pdf lib to work with php. I want to generate pdf docs. please help. | |
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 … | |
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 … | |
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 … | |
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 … | |
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. … | |
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 … | |
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) {...} … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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] … | |
Am trying to make a form with a hole at the centre of the form.please help me with the code | |
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 … | |
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" /> … | |
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 … | |
[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.*; … | |
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 … | |
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 … | |
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. | |
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 … | |
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 … | |
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 … | |
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/ … | |
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() … | |
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 … | |
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..... :) | |
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!!:-/ | |
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 … | |
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 … | |
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 … |
The End.