199,114 Archived Topics
Remove Filter ![]() | |
I am installing sql server 2005 express as a pre-requisite along with my VB.net application setup. When I run-setup, set-up starts and after 2 or 3 minutes it gives error as follows : [COLOR="Red"]Component SQL Server 2005 Express Edition SP2 (x86) has failed to install with the following error message: … | |
Hi, I have some problem with using variables, I am making a form in C#?asp.net . Now in my web application form I am having two controls on web page (dropdown, button); depending on the selection in the dropdown I have changed some value in a integer variable. [B]PROBLEM:[/B] the … | |
How would I be able to find a certain pixel on any screen under a certain RGB, and then get its x y coordinants? Thank you! | |
Hi and I'm no noob 2 ajax and have used it many times before. But for some reason this script doesn't want to work on any browser except Internet Explorer. Can anybody see what I have done wrong in this code as I have searched and searched for hours and … | |
I know what a Jar file is. [url]http://java.sun.com/developer/Books/javaprogramming/JAR/basics/build.html[/url] I just can't figure out how to get it to be recognized as a command. I have the same problem with appletviewer. I was told i was suppose to to set some path but i am not sure where it is. I'm … | |
I want to create a custom NumberFormat which returns empty string for negative values and the double number iteslf for +ve and zero values. Please guide me.................... | |
I am trying to read a specific line from .txt file. The problem is the the whole application hangs. It does not display any error, just hangs [CODE=vb] Imports System Imports System.IO Dim Username As String = "" Private Sub Form1_Load() Try Dim Filereader As New IO.StreamReader("Test.txt") Dim CurrentLine As … | |
hi 'm aparna. Am developing a web application with j2ee and SQL server 2005 EXPRESS EDITION as the back end. When i connect it with JDBC , my connection turns out to be successful. WHen i run the application, the web page is openin, but the problem is values are … | |
<post unlinked from [URL="http://www.daniweb.com/techtalkforums/post35277.html"]this [/URL]original thread> Can you send me your vending machine code? | |
hi, how to save an image into database. ie how to insert an image into database and how to get the image back. i am using the asp.net(C#.net) and mssql server 2000 . so can u tell me the solution. | |
hello, i have an ASCII file and i open it with: StreamReader SR = File.OpenText("pathtofile"), but this method opens an UTF-8 encoded text file. i read that everything that's UTF-8 is also ASCII but i don't really understand these encodings. so, is it a problem if i open the file … | |
Hello all, How i can delete value variable using vb.net.. I try this one.. strTBL_T5_Lookup = "" or strTBL_T5_Lookup = nothing But value is still in there. Why my code is not working. Please tell me??? Thank's | |
hi, how to use custom made photoshop buttons in c# windows form...please show me how to do it. anyway thanks in advance. | |
Hi again guys :D I need to make a program that reads a txt file, show the original file on a RTB and then show the words of the file, sorted alphabetically with the number of words found on the file in another RTB, e.g. INPUT: "That fox killed my … | |
Hi Friends i have a datagird and it has 2 columns and have calculate with the content of them but when i typed them in runtime my result was wrong i followed it by BreakPoint and underestood that the content of last column didn't use in my calculate(although it has … | |
Hi All, I have create a custom tag to translate texts. I have to pass 3 parameters to this tag. As the parameter values are on static. I have to pass runtime expression as parameter values.I have tried various ways for this, but did not suceed. Please let me know … | |
I have a sendmail.php script which evaluates whether or not certain pieces of information are available and/or are within the correct parameters. Within this code I have defined two variables : [code] $maxsamples = 3; $minsamples = 1; [/code] I also have another variable which is a summation of several … | |
consider i have this bean [CODE] private string name = "fadi"; public String getname() { return (name); } public String setName(String name1) { name = name1; return (name); } [/CODE] Now I have jsp file.. [CODE] <% beanid.setname("lol"); beanid.getname(); %>[/CODE] Now with this code name was fadi, i changed it … | |
//styleDetail.jsp [ICODE] <html> <jsp:useBean id="productView" scope="request" class="com.view.ProductView" /> .... <% List result = productView.getProductList(); Iterator it = result.iterator(); while(it.hasNext()){ %> <tr> <td><input type="checkbox" name="id"></td> <% List temp = (List) it.next(); Iterator it1 = temp.iterator(); while(it1.hasNext()) { Object obj = it1.next(); request.getSession().setAttribute("value",obj); %> <td><a href="ProductController?selectedValue=link"> <% out.print(obj); %> </a></td><% } %> … | |
For example, I want to set flag so that when I click a mouse down a screen schows up. I got that. But when I take my finger off of the button it disappears. Does anyone know how to set up a falg so that doesn't happen? switch(id) { case … | |
My problem with the program listed below is when the question asked for the title of the book and you type in more than one word with white spaces inbetween the words like "History of Me" it will skip the next question. Any help will be appreciated. #pragma hdrstop #pragma … | |
Can anyone tell me how to get my blocks of code to automatically indent when I place the final closing brace--"}". This works fine when I am coding in C# and I know there must be a way to enable this feature for CPP source documents. | |
Hi, CAn anyone tell me what does the following statement do in C. [icode]*p++ = val[/icode] My understanding is that because ++ and * have right-associativity, it is equivalent to [code=C] p++; *p=val; [/code] Similarly [icode]val = *--p[/icode] is equivalent to [code=C] p--; val = *p; [/code] Is it correct? | |
Hey, i am working on a project that saves and load text files just so i can get the coding down for later projects. I am able to specify the location of the file to load eg. the Load File Dialog and the user specifies the location of the text … | |
I'm really new at JavaScript, but I thought an image map with rollover images would be a relatively basic feat... I have a large map with hotspots over individual states. I want the user to hover over a hotspot and for the main image to change, displaying information for that … | |
I'm having trouble overloading >> in a fairly specific manner. When the program reads from a file, I want it to read the data into multiple classes. However, you can't pass more than 2 arguments to an istream overload. I've fiddled around with making one class a base class of … | |
Hey folks, Now java may be the wrong language for this but I would like to get a motion sensor program going (if possible). Basically I already have hooked my webcam up, and can import it to a window via java. I am trying to find a way to basically … | |
i just dont know how to convert this. i have three integers for month, date and year. year is a two digit input. i want to convert these three into one variable type long.. but i dont know how to do it. i tried adding the three integers, but i … | |
this open source thing I am using uses typical contains formsof inflections. I will post the exact syntax if you want. However, it does not do partial word search. How do I incorporate wild-card search with contains formsof inflections? | |
I have this form, and this antinjection. I have checked for anti injection in three places and it still is quite easily injectable. Code: [code]<?PHP $sql_server = "localhost"; //<-- MSSQL server address/ip $sql_user = "sa"; //<-- MSSQL username $sql_pass = "sa"; //<-- MSSQL password $sql_data = "database"; //<-- MSSQL database … | |
Hi am new to Java and am developing a multi agent application using Jade. I have coded 1 agent using Java and the other agent using vc++. My problem is communication between java and vc++. 1) I need to run the vc++ program within the java program for which i … | |
Hey guys. Thanks for taking the time to read this post. I'm relatively comfortable with C++ and am taking a class in C for the first time. I'm finding it difficult and frustrating to adapt to the new language. It's kind of like trying to box with a hand tied … | |
Recently, I have wonder how to execute machine code instruction from memory in C/C++. I am aware of data execution protection. Anyway, I have this piece of code: [code=cplusplus] int main() { // allocate 2 bytes for storing machine code char* mc_add = (char*)malloc(sizeof(char)*2); int reg_eax; // for storing register … | |
how to check if a directory contains any files or not?if files exist how to delete them in vb? | |
I have made connection in web.config file,Its working ,I want to just confirmed dat Whether i m doing it in right way or not! Web.Config File- [code] <configuration> <appSettings/> <connectionStrings> <add name="Connection" connectionString="Data Source=(local);Initial catalog=sonia;User ID=sonia;Password=sonia;" providerName="System.Data.SqlClient"/> </connectionStrings> [/code] Code Behind Page [code] public partial class FrmPractise : System.Web.UI.Page { … | |
Hello Friends, Generally, we have pure virtual function without body, but C++ does allow to write pure virtual function with body. Can anyone suggest any use-case where we need to write pure-virtual function with body? Regards, Vivek | |
Urgent Help needed, I am updating an access database using C#. Everything works fine except when there are multlines in text box controls, update command doesnot update these textboxes to text field or memo field. On screen I have a grid from the same datasource as that of the textbox … | |
Hi everybody, I'm an engineering student. Hee i would like to discuss about some basic and simple C++ interviews questions. I thnk the persons interested in it will participate. Ok can i ask one question? What are the differences between C language and C++ language? | |
So I am trying to use multiple source files for my text based game. In Code::Blocks in doesn't even compile it says " cannot find -lfunctions.h". In Dev-C++ it compiles but the function doesn't work properly Here is the code Main.cpp [CODE]#include <iostream> #include <string> #include <fstream> #include "functions.h" using … | |
Hi, I've got two tables in a database - one a list of schools (around 50 entries), and one a list of pupils (around 17,000). Both are spatially-attributed using PostGIS. Basically I need to allocate each pupil to their nearest school. Currently I'm looping through the schools repeatedly, using the … | |
I want to create a procedure which takes one input parameter(@name) and list all the fully or partially matching results. I used [code=sql]Select * from Table1 Where Name LIKE @Name[/code] but it didnt work. Can you help plz? | |
I wonder what's the final values of the variables "a, b and c" after this program... It is in pseudocode.... [ICODE]start a = 2 b = 4 c = 10 while c > 6 perform changeBandC() endwhile if a = 2 then perform changeA() endif if c = 10 then … | |
Have looked around but I could not find an answer to this question. Is there a difference between these two field initialisations? Or does it really not matter and is it just a matter of style. [CODE=c#]class aClass { private int aField; public aClass() //default constructor { aField = 42; … | |
Hi, A specific set of range <10,20> <20,30> <30,40> <40,50> i have series of numbers in a buffer; say.. 11 14 19 23 28 45 49 is present in char* noInBuff; Every time if the number falls in specific range for the first time then i have to replace it … | |
please help me to have a program that will compute for n! (n factorial) which is the product of all numbers from 1 to n. | |
Task: Write a program to grade a test and print the student’s score. The questions are in multiple choices form. There are 25 questions given in the test and each question has 4 choices; A,B,C and D. Assumed that there are 20 students taking the test. Each answer is stored … | |
All Java applications must contain at least one method. The name of this method is either main() or Main() true or false?? | |
Hi I have a textbox which contains Text. I want to find all the words in the text. (which seprate from each other with space). what should I do? thx for ur attention. | |
I was writing the program for revised simplex method in devc++ (windows) and it was working fine... Now I am using ubuntu and trying to run the same program.......(with few changes) i compiled successfully using g++ but when i run it run but showed error some what like: [QUOTE]rhohit@Trashbox:~$ g++ … |
The End.