199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for judithSampathwa

Hi there, how can i create an executable so that anybody can install in their own computer? I want to create from visual studio C#. please give me a tutorial or something, i did some but it didn't work properly please help guide in this thanx

Member Avatar for Mitja Bonca
0
208
Member Avatar for luweegee

Can u help me guys im a newbie in php...i want u 2 check my Update code because they not function. is there something wrong in my code? [CODE] <?php $con = mysql_connect("localhost","root",""); $sql = mysql_select_db("luweegee",$con); ?> <html> <body> <table border=1 align='center' width=800 cellpadding=20 cellspacing=0> <tr><td colspan=2><h1>Edit Record</h1></td></tr> <tr> <td …

Member Avatar for luweegee
0
158
Member Avatar for Harliquin

Ok, so I have to write a program for school that will read data from a text file, split the data (comma delimited) into the correct type, pass that information on to a class, store the class object into an array. This is what I have so far: [CODE]import java.io.*; …

Member Avatar for Harliquin
0
153
Member Avatar for realproskater

Here is my problem: Write a program that reads in a text file and converts it to pig Latin. i.e. if the first letter is a consonant, move it to the end and add “ay” to the end, if it is a vowel add “way” to the end. Here’s an …

Member Avatar for realproskater
0
1K
Member Avatar for funfullson

Hi dears. I wrote a program in C# with visual studio 2010 an now need to ensure that my program will work on any system with XP or seven or vista windows version. I used from .net & directX in my project. How can i compact it with an installer …

Member Avatar for funfullson
0
74
Member Avatar for Thew

Hello, how can I resize a [U]borderless[/U] window with a [U]custom[/U] component (something like status bar) that docks at the bottom part of my window. I draw a sizing grip in the bottom right corner of my scustom tatus bar. I was able to implement functionality for my borderless window …

0
308
Member Avatar for puvi

Hi ppl, I am trying to save the details of a form on clicking submit into a database. the details entered in text box get saved, but the options chosen from drop down are not getting saved. I noticed that, if the option has space (Eg: Tom Hanks) it doesnt …

Member Avatar for puvi
0
125
Member Avatar for dudzkie

hello! i'm a super newbie at php i'm trying to learn some scripts, what im trying to do now is a simple shop system. i have a table that contains item_id , item_name, price, quantity what i want to do is that a customer will choose an item, how many …

Member Avatar for dudzkie
0
153
Member Avatar for ChrisHunter

Hi i need to add a combo box to a property grid that can be populated with the result of an sql statement, i can more than likely populate it when i come to it but i have no idea how to add the combo box. Currently i am creating …

0
205
Member Avatar for bagichris

Hello All Am having some challenges getting a value in a variable from another class; the code that computes the variable happens to be in a timertask method however if i move that same line of code to the constructor, the second class is able to fetch the value. When …

Member Avatar for Akill10
0
153
Member Avatar for paddypowa

Hey all, A quick question, i've been picking my brain and browsing the net for a few hours now and still can't get any further. I have a simple C# windows form which acts as a login, but also has a form to change the password of a user. When …

Member Avatar for zachattack05
0
4K
Member Avatar for kavithanb

Hi All, I am trying to write a shell script that filter java exceptions along with stack trace from a log file and also it has to count how many times each exception has occurred in the log file. Please help me in this. The resulting file should be like …

Member Avatar for JeoSaurus
0
104
Member Avatar for jonnod123

Hi All, Just a quick question to see what others think is the best preactise... You have an Windows application that connects to a SQL Server DB. You use a dataset to represent the database locally. Is it better to write queries locally in your dataset, or in SQL Server …

Member Avatar for jonnod123
0
100
Member Avatar for boifang

i have been strugling to identify my error but i have failed to solve the problem my code errors is incompatible types in line 11. [CODE]import java.io.*; public class Appliance { public static void main(String args[]) { try { File file=new File("Name.txt"); FileReader f=new FileReader(file); int ch; while(ch=f.read()) { System.out.print((char)ch); …

Member Avatar for masijade
0
133
Member Avatar for DONPAWPAW

am designig softwear with vb.net 2008 and mssql server 2005 express that can print on id card. i have the query written correctly that can retrive employee info. including the picture on a report.my question is how to set the report to automatically pick the size of the small id …

Member Avatar for DONPAWPAW
0
334
Member Avatar for abelLazm

hello all i m working with datagridview in c# .... i have a checkboxcolumn in my datagridview..... the problem is that whenever i check the state of checkbox column in all the rows in order to perform any further operation the current row doesnt include in the checked rows although …

Member Avatar for jay.gadhavi
0
105
Member Avatar for professor123

hi guys l wanted to know that it is it possible generated diagrams in php....what l mean is that l am doing an online exam project and some of the exam questions must have graphs or diagrams on them so how can this be done to output these diagrams....... the …

Member Avatar for professor123
0
86
Member Avatar for airerdem

Hi, [CODE]for(i=0;i<10;i++) { for(j=0;j<10;j++) { if() { Now I want to exit from j loop and continue from i loop. } And now if it is wrong I want to continue from j loop. } }[/CODE] Actually I tried break in if statement but it did not help.

Member Avatar for airerdem
0
108
Member Avatar for sachintha81

I'm using .NET 3.5 with VS 2005 C#. I created a simple application where when I select the time zone from a combo box, it displays the current time of that time zone. To do this I simply use the GetSystemTimeZones() method of TimeZoneInfo class, and then populate the combo …

Member Avatar for darkagn
0
1K
Member Avatar for DecreaseEntropy

I'm trying to make a QR encoder that takes a text file of URLs and names and generates QR bar codes with the URLs and names. Can anyone point me in the right direction?

Member Avatar for katmai539
0
176
Member Avatar for saad749

I have recently started learning Object oriented programming and design. I had made a small program using the procedural design to move a block after selecting it in XNA. I then tried to make the same program with an Object centered Design, but I am not able to make it …

Member Avatar for saad749
0
140
Member Avatar for haribasker

[CODE]import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.sql.*; import java.util.*; import java.net.*; import java.io.*; import javax.swing.border.*; public class userdetails extends JFrame { private JLabel jLabel1; private JLabel jLabel2; private JLabel jLabel3; private JLabel jLabel4,jLabel5; private JLabel jLabel7; private JLabel jLabel8; private JTextField jTextField1; private JComboBox jComboBox1; private JComboBox jComboBox2; private …

Member Avatar for masijade
0
270
Member Avatar for bhanu1607

Hi, Can any one help me. Please Explain this code. [CODE] <div id="toolMenu"> <ul> <xsl:for-each select="categories/category"> <xsl:sort select="@order" data-type="number"/> <xsl:apply-templates select="."> <xsl:with-param name="content" select="'false'"/> </xsl:apply-templates> </xsl:for-each> <!-- Commented to Remove help --> <!--<xsl:if test="//tool/@hasHelp='true'"> <li> <a accesskey="h" href="javascript:;" class="icon-sakai-help"> <xsl:attribute name="onclick">window.open('<xsl:value-of select="config/helpUrl"/>','Help','resizable=yes,toolbar=no,scrollbars=yes, width=800,height=600')</xsl:attribute> <xsl:attribute name="onkeypress">window.open('<xsl:value-of select="config/helpUrl"/>','Help','resizable=yes,toolbar=no,scrollbars=yes, width=800,height=600')</xsl:attribute>Help</a> </li> </xsl:if>--> </ul> …

Member Avatar for xml_looser
0
129
Member Avatar for shena

Hi there, I wrote a VBA program as below, but I'm not able to exit the sub nor exit do looping if the condition is fulfilled, why so???? It runs through the lines until end subsequently creating empty text file. I want like if the if condition is fulfilled then …

Member Avatar for AndreRet
0
108
Member Avatar for JannuBl22t

Hello! I have this code: [CODE] Thread[] array = new Thread[size]; Checker[] myclass = new Checker[size]; ThreadStart[] startth = new ThreadStart[size]; int limit = totalitem / size; for (int k = 0; k < size; k++) { myclass[k] = new Checker(this); myclass[k].pattern = pattern; startth[k] = delegate { myclass[k].DoChecking(limit * …

Member Avatar for Venjense
0
89
Member Avatar for SPereira

Hi Guys, I have written a program in VB 6 wherein I want to delete a particular record from MS Access Database Table. I noticed that the record does not get deleted immediately. Only after I close the recordset it disappears. I have a Delete Command Button in a Form …

Member Avatar for SPereira
0
2K
Member Avatar for tomtetlaw

Why does fopen_s have the paramater [icode]FILE **_File[/icode] rather then the [icode]FILE *_File[/icode] that fopen has? And what is the difference between those two functions?

Member Avatar for tomtetlaw
0
246
Member Avatar for fugmag

Hello I am trying to get a SELECT stament to work i Java. The staement has a parameter, but Eclipse gives me the following error message: You have an error in your SQL syntax, check the manual that corresponds to your MySQL version...... Is it possible to show me how …

Member Avatar for masijade
0
221
Member Avatar for tariqi

hi, when i try to run the procedure below to export the gridview1 to msword,nothing appears on the document except tags <div> </div>.anyone knows what i might be doing wrong? [code] Public Overloads Overrides Sub VerifyRenderingInServerForm(ByVal control As Control) ' Verifies that the control is rendered End Sub Protected Sub …

Member Avatar for tariqi
0
130
Member Avatar for amitapm

Hello, Please help me in my query below: Code snippet 1: [code] Employee *e1 = new Employee(this); e1->setX(); e1->setY(); [/code] Code snippet 2: [code] Employee e1 = new Employee(); e1->setX(this); e1->setY(this); [/code] "this" can be anything. Example, this code is present in a method of another class say Organization. so, …

Member Avatar for amitapm
0
140
Member Avatar for dvprez

Hi, I need a little help importing an XML file into sqlserver 2008. I followed this example [url]http://www.sql-server-performance.com/articles/dba/Loading_XML_data_into_SQL_Server_2008_p1.aspx[/url] (make sure you goto the rest of the pages in the article!) , generated the schema etc., but I can't get the import to do what I need. I was able to …

Member Avatar for l.geetha86
0
609
Member Avatar for juangalvez4

[CODE] #include <iostream> #include <string> #include <cmath> #include <iomanip> using namespace std; int main () { char op= ' '; int cstart, cend, increment, fstart, fend; cout << "This program converts and calculates the increment between" << endl; cout <<"celsius and fahrenheit temperatures"<< endl; cout << endl << endl; op …

Member Avatar for VernonDozier
0
153
Member Avatar for ctkam

i've generated dynamic pdf files from php script with mysql which suppose to have 25000 files. The problem is after the loop i only have 24978 files and 22 files is missing. I couldn't find the problem and which record did not process. i was thinking of the solution reverse …

Member Avatar for ctkam
0
100
Member Avatar for jrhitokiri

I am thinking of setting up a link shortener for myself, and I want to know how to track unique and total clicks. Well, the total clicks are easy to do. I think the unique clicks are more challenging. Also, how do you do 301 and 307 redirection? Is this …

Member Avatar for maryparker
0
136
Member Avatar for choudhuryshouvi

Hello there, Is there any way of disabling caching of asp.net pages in folder or application level.... meant to say, is there any option available in the web.config file for disabling caching...i have done by using page wise...but need to disable caching for all pages in my application... plz help …

Member Avatar for choudhuryshouvi
0
810
Member Avatar for haribasker

contentPane.setLayout(null); JPanel panel = new JPanel(layout); panel.setBackground(Color.WHITE); addComponent(contentPane,panel, 0,0,595,375);

Member Avatar for masijade
0
8K
Member Avatar for erum

see teh code [CODE]<asp:DataList ID="DataList1" runat="server" Width="200%" > <ItemTemplate> <h4><asp:Label ID="DAtes" runat="server" Text='<%# Eval("date") %>'></asp:Label></h4> <asp:GridView AllowPaging=True ID="GridView1" runat="server" DataKeyNames=sessionid AutoGenerateColumns="False" CellPadding="4" Width="697px" style="margin-right: 0px" ForeColor="#333333" GridLines="None"> <RowStyle ForeColor="#333333" BackColor="#F7F6F3" /> <Columns> <asp:TemplateField HeaderText="Availability"> <ItemTemplate> <asp:CheckBox ID="chkgfln" Enabled=true runat="server" Text=Available /> </ItemTemplate> </asp:TemplateField> <asp:BoundField HeaderText="sessionid" DataField=sessionid /> <asp:BoundField HeaderText="userid" DataField=userid …

0
170
Member Avatar for himanshu_roy81

Hi I have a asp.net web form in which I display registered customers in a Dropdown. In the Dropdown I can choose one customer, and click a "Show data"-button. That should display all registered data about the chosen customer in Gridview.but i didn't get the result.plz help me.my code is …

Member Avatar for vuyiswamb
0
571
Member Avatar for wantsree

Hi folks, I'm a beginner in c++. The other day was trying to multiply 2 matrices using friend function. The program did run ,but the result showed some garbage values. plz help.. #include<iostream.h> class matrix { int a[10][10],b[10][10],d[10][10],r,c,l,m; public: void read (void); void display (void); friend void multiply1 (matrix m1); …

Member Avatar for wantsree
0
1K
Member Avatar for kvskchaitanya

Hello I've large data in a table in which one of the columns is description. in this column i'm to store description of materials and their tolerance which is a (+/-)ve value. for sample:18K 1/4W ±1%. while restoring the data on a test system i observed a special character before …

Member Avatar for kvskchaitanya
0
161
Member Avatar for jips11in

THis is program in java for First 100 Prime Number as "count<100" . public class PrimeNumber { public static void main(String args[]) { int num=4; int count=0; System.out.println("First 100 Prime Number is: "); System.out.println("1"); System.out.println("2"); System.out.println("3"); while(count<100) { num++; if(num%2!=0) { int dv=3; while((num%dv!=0)&&(dv<=((num-1)/2))) { dv++; } if(num%dv!=0) { count++; …

Member Avatar for masijade
0
160
Member Avatar for rizla777

Hi I'm trying to find a tutorial that shows me how to create a popup page upon entry. The popup should save the user's cookie info and be big enough to display a user agreement which the user must click on to accept. Does anyone know of any tutorial showing …

Member Avatar for vsmash
0
133
Member Avatar for Mayank23

i just downloaded qt and i dont know how to build in qt, it keeps saying: Could not find make command: mingw32-make.exe in the build environment Error while building project case (target: Desktop) When executing build step 'Make' Could not find make command: mingw32-make.exe in the build environment Error while …

Member Avatar for bramsever
0
563
Member Avatar for Anuradha Mandal

[CODE]import java.io.*; import java.net.*; import java.awt.*; import java.awt.event.*; import java.awt.geom.AffineTransform; import java.awt.image.*; import javax.imageio.*; import javax.swing.*; class ImageDrawingComponent extends Component { static String descs[] = { "Simple Copy", "Scale Up", "Scale Down", "Scale Up : Bicubic", "Convolve : LowPass", "Convolve : Sharpen", "RescaleOp", "LookupOp", }; int opIndex; private BufferedImage bi; …

Member Avatar for varshakite_21
0
191
Member Avatar for lochnessmonster

im curious as to if i were to do inline assembly such as [code] __asm { mov eax,0 // more assembly here..... } [/code] does anyone know of how i can calculate how many bytes the assembly code above i produced will use up in my exe? im wanting to …

Member Avatar for thelamb
0
193
Member Avatar for DaniwebOS

So I've been working on this project for quite awhile now and I can't seem to figure out how to fix all of my errors. If you could run the program, it will appear as 17 errors. So far I don't know where I could of went wrong. Any help …

Member Avatar for jonsca
0
118
Member Avatar for JudeV

•Generate a random number from 1 to 100 inclusive. •Input a guess. Use a while loop to check the guess to ensure that it is within the range of 1 to 100, If the guess is outside that range, continue to input guesses until it is within the desired range. …

Member Avatar for Momerath
0
193
Member Avatar for caswimmer2011

Hi, I have a program that uses JButtons (under ActionEvent e) and the user clicks a button and it brings up the appropriate text file associated with that name. I have the files on a flash drive but every time i transfer the files to different computer and want to …

Member Avatar for caswimmer2011
0
156
Member Avatar for eikal

Hey for hw i gotta do a program that spits out the perfect squares between 0 and a number entered... well i got it done but it spits out 1 extra number that goes OVER what the person entered... here's my code. [code] public static void main(String[] args) { String …

Member Avatar for ztini
0
117
Member Avatar for luweegee

The function of delete record is working, but you need to double click the Delete Button to successfuly delete the record...can anyone help me pls [CODE] <?php $con = mysql_connect("localhost","root",""); $sql = mysql_select_db("luweegee",$con); $sel = mysql_query("SELECT * FROM resume"); ?> <html> <body> <table border=1 align='center' width=800 cellpadding=20 cellspacing=0> <tr> <td …

Member Avatar for luweegee
0
165

The End.