199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for msalahu

Hello all, One of my application used following code which is developed in java 1.2.2 but now we are migrating this application to java se 6 where the following code is depracted. sun.misc.HexDumpEncoder.encodeBuffer Can any one guide for the above code replacement in java se 6 Thanks & Regards,

Member Avatar for quuba
0
379
Member Avatar for dre-logics

I use MYSQL 5.0 I have a table with a field named ArticlePrice. The content of the ArticlePrice field looks like this [COLOR="red"]10.50[/COLOR] My question is: is there an environment variable or system variable MYSQL who can change the locale currency in to Europe setting . So that the content …

Member Avatar for TomW
0
104
Member Avatar for azegurb

hi all i have two columns table and this table is dynamic when clicked add button it automatically adds rows i would like to sum values separetly for ex: when i clicked sum-column1 button let it sums only column1 or when i clicked sum-column2 button let it sums only column2 …

Member Avatar for azegurb
0
114
Member Avatar for tweak

Well I'm trying to make a phone book program and I need some help what I want to do is add a ListCtrl to my frame so I can see the names and numbers of people in my phone book but I am unsure how to do this. Here is …

Member Avatar for tweak
0
170
Member Avatar for somename

Hi there, i am trying to implement thread injection from my windows forms .NET project. Here is the code which works just fine from simple console app or Gtk+ gui application, but unfortunately not from .NET gui app. [CODE]#define NtCurrentThread() ((HANDLE) -2) #define NtCurrentProcess() ((HANDLE) -1) typedef DWORD (WINAPI *Rm_MessageBoxA)(HWND …

0
130
Member Avatar for yoksu

Hi. I am using a webbrowser control in my form program and i am displaying an html page. There is 1 textbox in html page and id is "textbox". When someone write something in textbox, i want to use this text and save it to db. It will be work …

Member Avatar for serkan sendur
0
3K
Member Avatar for diya0076

hello i have one [COLOR="Green"]formview[/COLOR] control n i want to retrive values from that n add save them in local variables [CODE]<asp:FormView ID="FormView1" runat="server" DataSourceID="SqlDataSource1" Style="z-index: 100; left: 210px; position: absolute; top: 173px" Width="299px" BackColor="#DEBA84" BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px" CellPadding="3" CellSpacing="2" GridLines="Both" DataKeyNames="pcode"> <ItemTemplate> pcode: <asp:Label ID="pcodeLabel" runat="server" Text='<%# Eval("pcode") %>'></asp:Label><br …

Member Avatar for serkan sendur
0
566
Member Avatar for Bradoirs

Very very new to visual basic.net (first day actually) but struggling already with the basics. I am attempting to create a single form application taking data from an existing MS Access database using SQL query. All works great, I can fill the dataset, seek, sort and display all my data …

Member Avatar for TomW
0
523
Member Avatar for edwar

is there anyone who knows how to remove numbers and coma's from a text file

Member Avatar for gerard4143
0
105
Member Avatar for dumrat

I am using multiple threads that are doing work. I need the threads to update an integer once they finish processing. [CODE] //Lock i_Flag++; //Unlock [/CODE] Then [CODE] if(i_Flag == i_ThreadCount) //Do something. [/CODE] My question is whether I need to use locks around i_Flag++ because it is a simple …

Member Avatar for jyh5
0
133
Member Avatar for sandeep_1987

Currently I have two textboxes & one button, Suppose In One textbox1 i write sandeep gupta after clicking on button in textbox2 Sandeep Gupta is dere using the foll. code- [code] protected void Button1_Click(object sender, EventArgs e) { string capitalized = CultureInfo.CurrentCulture.TextInfo.ToTitleCase(TextBox1 .Text); TextInfo UsaTextInfo = new CultureInfo("en-US", false).TextInfo; TextBox2 …

Member Avatar for sandeep_1987
0
197
Member Avatar for Hidden_mistakes

Hi i am using netbeans to make a tictactoe game so far this is my code: import javax.swing.*; import java.awt.*; import java.awt.event.*; public class TicTacToe implements ActionListener { //Class constants private static final int WINDOW_WIDTH = 400; private static final int WINDOW_HEIGHT = 400; private static final int TEXT_WIDTH = …

Member Avatar for Ezzaral
0
106
Member Avatar for scru

Is there an open source (lgpl, bsd, mit) math parser/lexer library available out there? Has anybody ever written one by themselves (with support for variables, exponents, grouping) and have some tips/hints?

Member Avatar for scru
0
196
Member Avatar for ShailaMohite

Hi All, In my application, i have a datagridview with 5 colums, at the form load the datagridview contains one row, I am showing a combobox in each of the 4 columns to select the values (i doesnot type any thing in that 4 columns), when i press tab the …

Member Avatar for sknake
0
1K
Member Avatar for crackerjacker

I have search everywhere for about 5 hours and have either found a load of crap or a bit of code that wont do what i want it to. basicly i need something the i can connect to an ftp server (drivehq) enter my login info and then download a …

Member Avatar for crackerjacker
0
83
Member Avatar for ShailaMohite

DatagridView Contain 5 Column Focus On Last Column Then Add New Row At A Time

0
387
Member Avatar for atch

Hi, I've got construction of namespaces like this: namespace one { namespace two { class SomeClass{...}; } } and when I try to use this class (without fully qualified name) in another file (also with nested namespaces) I'm getting errors. It doesn't even help if I place declaration of using …

Member Avatar for atch
0
86
Member Avatar for ddanbe

Hi all, The following does work, but not as I expected. If I use an enum I normally don't have to prefix it with a class name. Here it seems the only option. Can anyone tell me why? [CODE=c#]namespace ConsoleApplication1 { class Program { static void Main(string[] args) { MyEnums …

Member Avatar for ddanbe
0
93
Member Avatar for MikeGore

Hi, I know the format is right, but what is my user ID and password. I get this error when I try to open the webpage on localhost: HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is …

Member Avatar for MikeGore
0
102
Member Avatar for cheapterp

I am using MS-SQL 2005 DB. One of the tables in the DB, that I inherited, has gotten upto 37000 records. And it will go up by another 50k records soon. Does that make too much data for one table? The table has about 25 columns, most of which contain …

Member Avatar for sknake
0
156
Member Avatar for Vitriolics

I thought i had complex declarations nailed, as in i could tell you what a pointer to an array of functions that returned int and took doubles as arguments looked like i find this little horror: [CODE] /Return the IP address of a domain name DECLARE_STDCALL_P(struct hostent *) gethostbyname(const char*); …

Member Avatar for Vitriolics
0
211
Member Avatar for Hidden_mistakes

Hi ive been working for a few days now trying to figure out how to make it so when a button is pressed in this game instead of just a simple X or O showing up an image of lets say a dog for X and a cat for O …

Member Avatar for JamesCherrill
0
111
Member Avatar for DeOiD

Hi I want to fetch results from a given table (in this case using MySql) and put them in a array or arrayList or List<> (whatever works better). The thing is that this must be made dynamically. The idea is something like this: [CODE] aResult = functionsMysql.getArray(query); class functionsMysql { …

Member Avatar for DeOiD
0
287
Member Avatar for redreed

when i use random my settextstyle starts malfunctioning eg if i choose Gothic style i gives plain text if i make randomize a comment it works without bugs can anyone help me and also i heard void main is wrong and int main is correct why??

Member Avatar for redreed
0
106
Member Avatar for mansi sharma

Suppose mine project is on desktop C:\Documents and Settings\Mansi\Desktop\ASPStarting & Mine XML file is in D:\Documents and Settings\Sonia\Desktop\ASPStarting\App_Data I change the ADRORATOR source code as below- <asp:AdRotator ID="AdRotator1" runat="server" AdvertisementFile ="C:\Documents and Settings\Mansi\Desktop\ASPStarting\App_Data\banner.xml /> When I execute the website,foll .error comes ERROR - 'C:\Documents and Settings\Mansi\Desktop\ASPStarting\App_Data\banner.xml' is a physical path, …

Member Avatar for Ramesh S
0
106
Member Avatar for josh_keren

Please Help me, I have 2 Table, A dan B. Table A : Sandar | jmlMuat --------------------------- Mirah | 20 Berlian | 10 Table B : Sandar | jmlBongkar ------------------------------- Mirah | 30 Nilam | 15 I want to join that table to get result like this : Sandar | …

Member Avatar for sknake
0
101
Member Avatar for jrosh

Application failed to initialize 0xc0000135 I got above problem while trying to run a .exe of a vb.net program I wrote.(in a different machine). How can I solve it?

Member Avatar for Ramesh S
0
154
Member Avatar for saibhanu

Hi, Anyone tried to open crystal report file from PHP?. If so pls explain or send me sample code. Thanks, Bhanu

Member Avatar for totskie
0
83
Member Avatar for akulkarni

i am trying to help a friend on a program on client side scripting using javascript. i have the following code but i am not getting the output desired. [code] <html> <head> <Script language="JavaScript"> var usernameVal; if(document.f1.usernameVal.value.length<3) { alert("username is invalid") return false; } else { alert("acceptable") } </script> </head> …

Member Avatar for Troy III
0
123
Member Avatar for A.Najafi

Hi All, Can I have a Listvew in which Groups have ability to expand or shrink? Now I Generate a Listviw in which groups are expand always, in Vb.Net. [CODE][/CODE]for i as integer=0 to Number 'Add Items ListView1.Items.Add(i) 'Add tow SubItems ListView1.Items(i).SubItems.Add(1) ListView1.Items(i).SubItems.Add(2) next 'Generat a Group ListView1.Groups.Add(New ListViewGroup("BaSalam", HorizontalAlignment.Left)) …

Member Avatar for A.Najafi
0
145
Member Avatar for shroomiin

Hello everyone. I am new to java and am stuck on a problem i need to complete. The problem asks for me to create a program that calculates daily driving cost. The application needs to have total miles driven, cost per gallon, mpg, parking fees and tolls. Now, my professor …

Member Avatar for mrnutty
0
113
Member Avatar for Zaffron

Ok so I am attempting to make a program that downloads files from a site that are similarly named. For example, there is a site with files that are named blarg-0001, blarg-0002, blarg-0003, etc, until blarg-0020. Well the purpose of my code is to download those and everything inbetween but …

Member Avatar for Zaffron
0
107
Member Avatar for Aamit

Hi,This is my php file. I want to [COLOR="Red"]replace [/COLOR] [COLOR="Green"]$$FullName$$ with Jon Rama And $$FirstName$$ with Jon and $$Gender$$ with Male[/COLOR] And [COLOR="Red"]create to new file Jon_Rama.php[/COLOR] [code] <table width="100%"> <tr> <td align="center"> <b> <h1 class="title_list">$$FullName$$</h1> </b> <br><br> </td> </tr> <tr> <td>$$FirstName$$ is a $$Gender$$.</td> </tr> </table> [/code] How …

Member Avatar for almostbob
0
270
Member Avatar for ankit894u

[ATTACH]11812[/ATTACH] hey guys can some one pls show me a away to how rite this program...i have made as many attempts as i could...i m not lazy its just tht i donot knw wht to do....i just want to knw how to compute the formula...i knw the other steps...so if …

Member Avatar for ankit894u
0
86
Member Avatar for punithapary

Hi, I my code i am using open tag like this [COLOR="Red"]<?PHP [/COLOR]its working fine but if i use [COLOR="red"]<?[/COLOR] that time its showing entire code its not showing html pages Please can anyone tell me how to fix this problem Regards Punitha pary

Member Avatar for cwarn23
0
115
Member Avatar for DdoubleD

See attached project. This is a very small test project so I can learn. Here are my questions: 1) I've overridden the Install and Uninstall in my Installer component based class, but they don't seem to get called...why? I am setting a breakpoint in the Install override and running in …

Member Avatar for DdoubleD
0
581
Member Avatar for shaynerossum

Hi, first of all I would like to thank you for taking the time to look at my problem. I'm trying to input to a multidimensional character array. The error occurs on the second array. I tried to understand the problem by varying my input, but it always occurs on …

Member Avatar for shaynerossum
0
338
Member Avatar for artorius

This is my problem...hopefully somebody can help me out with this. This is what I am supposed to be doing: Recursive Binary Search of 2-dimensional array: Load a 30x20 two-dimensional array of ints with values from the file “values.txt”. The file contains 900 numbers in order. Once the array is …

Member Avatar for artorius
0
2K
Member Avatar for smerny

Hello, I'm trying to learn how to create a very simple class just to get the basics of OOP in python. I figure just to learn I'll start with a class where I can create an object and use a method to update a string associated with that object and …

Member Avatar for JasonHippy
0
159
Member Avatar for shindu

so... i have been looking at this for a good 20 minutes and it makes no sense. when i compile this simple linked list implementation, it gves me this compile error. obj\Debug\Projects\LinkedList\LinkedList.o||In function `_ZN4nodeC1Ev':| obj\Debug\Projects\LinkedList\node.o:C:\Program Files (x86)\CodeBlocks\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\include\c++\3.4.5\bits\locale_facets.tcc|2497|first defined here| ||=== Build finished: 1 errors, 0 warnings ===| any ideas what …

Member Avatar for shindu
0
52
Member Avatar for armyguydave69

Hi, I've been looking around for a hosting company and haven't been able to decide on one. I was basically wanting to see what some people would recommend. My requirements: 1.Windows based 2.PHP & ASP.NET 3.Unlimitied disk space 4.Unlimited bandwidth 5.Allow to host unlimited domains under one account 6. The …

Member Avatar for diafol
0
127
Member Avatar for dave starkey

Hi all, Can anybody tell me hoe to resize a control to fit the width of the window when its resized. I'm trying to fit a webbrowser control and the panel its on to the width of the window if its resized. Dave

Member Avatar for serkan sendur
0
114
Member Avatar for dougbarrett

Hello everyone! I searched the site already to see if this question has been addressed already and found no results, but if it has then I appologize and if you can link me to that thread I'll refer to that to solve my problem. I am trying to save a …

Member Avatar for dougbarrett
0
732
Member Avatar for stoymigo

Hi , i use Visual Studio 2008 . I know hot to set up a simple install program (.msi) I would like to know how can I integrate more steps(forms) into the installer. I want to include steps in the installer where you can install a program , or update …

Member Avatar for serkan sendur
0
145
Member Avatar for sfrider0

I'm pretty new to opengl but been using c++ for a while now. How can I display variables using this? I can display single characters by using [code] glutStrokeCharacter(GLUT_STROKE_MONO_ROMAN,'0'); [/code] Why can I not use [code] int x = 0; glutStrokeCharacter(GLUT_STROKE_MONO_ROMAN,x); [/code] Compiles but won't display anything.

Member Avatar for sfrider0
0
161
Member Avatar for Kadjii

Hello, I'm having a strange problem. I'm trying to make a link to a page called stats.php for a series of first names that I have stored in a database. However, when I use the code below the hyperlink ends up being a link to the current page I'm on …

Member Avatar for Kadjii
0
219
Member Avatar for NathanOliver

hi all. I'm not sure if its possible but can you call a different constructor inside a constructor of a object? ie can i have different constructors call a single constructor to set up the object [code=c++] class foo { public: foo(int) foo(double) //... }; foo::foo(int number) { this = …

Member Avatar for mrnutty
0
120
Member Avatar for evilguyme

is there a way to get the pixel color that is under the mouse? i heard of ways where i can turn it into bmp's a.. but even then i can't get the color of the pixel under mouse.. D: i just need a thing to make it get the …

Member Avatar for William Hemsworth
0
143
Member Avatar for Aamit

Hi,This is my php file. I want to [COLOR="Red"]replace [/COLOR] [COLOR="Green"]$$FullName$$ with Jon Rama And $$FirstName$$ with Jon and $$Gender$$ with Male[/COLOR] And [COLOR="Red"]save or create to new file Jon_Rama.php[/COLOR] [code] <table width="100%"> <tr> <td align="center"> <b> <h1 class="title_list">$$FullName$$</h1> </b> <br><br> </td> </tr> <tr> <td>$$FirstName$$ is a $$Gender$$.</td> </tr> </table> …

Member Avatar for cwarn23
0
113
Member Avatar for argio

Access violation (Segmentation fault) raised in your program. I received this error when I ran my program after compiling it. I can't find the error in my code. main.cpp [CODE=c]/* Main.cpp source file. Main module. Copyright 2009 (GNU CC Licence) Madcow Deity Productions */ #include <cstdlib> #include <iostream> #include "System.hpp" …

Member Avatar for StuXYZ
0
113

The End.