Search Results

Showing results 1 to 40 of 184
Search took 0.02 seconds.
Search: Posts Made By: eranga262154
Forum: Java Jul 4th, 2008
Replies: 6
Views: 658
Posted By eranga262154
I'll checking it. Probably I have installed wrong one here. I'll see and let you know about that.

Thanks for the replay.
Forum: Java Jul 3rd, 2008
Replies: 6
Views: 658
Posted By eranga262154
Thanks, I do that part.

I found a sample project on following link.

http://sourceforge.krugle.com/kse/projects/7CRbMg3#2

I try to run the project and have a test. Got a run time error.
Forum: Java Jul 2nd, 2008
Replies: 6
Views: 658
Posted By eranga262154
Thanks for the replay.

So I.m going to write my own update class.

As the first step I'm going to read a file on the specific location of the server and find the version. If the version is...
Forum: Java Jul 1st, 2008
Replies: 6
Views: 658
Posted By eranga262154
Hi all,

I want to create a Java product developer. That means a tool to update an existing version of an application automatically. You guys/gals have any idea.

If you know any example...
Forum: Java Jun 10th, 2008
Replies: 3
Views: 620
Posted By eranga262154
Google too. Search on the web. You can find thousands of.
Forum: Java Jun 10th, 2008
Replies: 8
Solved: GridBagLayout
Views: 1,316
Posted By eranga262154
Yes, that code is too much to make a try pal. Too boring. Please specify your question with the simple code.
Forum: C++ Jun 10th, 2008
Replies: 5
Views: 2,221
Posted By eranga262154
I got all those things to done because of the following example.

XML Writer in C++ (http://msdn.microsoft.com/en-us/library/ms752889(VS.85).aspx)

Can you just see it.

What I have done is,...
Forum: C++ Jun 10th, 2008
Replies: 5
Views: 2,221
Posted By eranga262154
Thanks for the replay.

But I do it using ifstream, and seems it works fine.
Forum: C++ Jun 9th, 2008
Replies: 5
Views: 2,221
Posted By eranga262154
But on what I confused is that file data type of TCHAR.

Can I used it as ifstream.
Forum: C++ Jun 9th, 2008
Replies: 5
Views: 2,221
Posted By eranga262154
Hi all,

I have a disk file define as

TCHAR szTempFile[MAX_PATH];

What I want to do is, read that file into memory stream. To a buffer. How can I do it.
Forum: Java May 9th, 2008
Replies: 5
Views: 6,854
Posted By eranga262154
It's wrong pal. If I append the file, what happened if my application runs thousand times. It's obvious right?
Forum: Java May 9th, 2008
Replies: 5
Views: 6,854
Posted By eranga262154
Hi all.

I want to read and update a ini file to do some processing. Here is what I have try.


public static void main(String[] args) {
// TODO code application logic here
...
Forum: Java Apr 24th, 2008
Replies: 4
Views: 1,640
Posted By eranga262154
Thanks for the help. I'll see it and let you know what happened :)
Forum: Java Apr 24th, 2008
Replies: 4
Views: 1,640
Posted By eranga262154
Anyone of don't have an idea for me :)
Forum: Java Apr 24th, 2008
Replies: 4
Views: 1,640
Posted By eranga262154
Hi all,

Here is the structure of my XML file.

<?xml version="1.0"?>

<data>
<key>468</key>
<name>pal</name>
<option>10</option>
Forum: Java Apr 21st, 2008
Replies: 0
Views: 417
Posted By eranga262154
Hi all,

How it is possible to make curved vertex of a swing container like JDialog. Say I the property setUndecratoed() to true, so there is just a rectangular shape window I have. I want to...
Forum: Java Apr 9th, 2008
Replies: 2
Views: 1,036
Posted By eranga262154
So what should I do. I'm really wired with it now pal.
Forum: Java Apr 9th, 2008
Replies: 2
Views: 1,036
Posted By eranga262154
Hi all,

I use the swing timer to move a dialog from one position to another. Here is the code I have use.


// Set the main window display location
public void setWindowLocation()
{
...
Forum: Java Mar 11th, 2008
Replies: 1
Views: 3,114
Posted By eranga262154
Sorry for disturbing. Simply I can do it by diposing by calling dispose()
Forum: Java Mar 11th, 2008
Replies: 1
Views: 3,114
Posted By eranga262154
Hi all,

I want to dispose a JFrame using a click-event. So I simply do this on Netbens.


private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your...
Forum: C# Mar 3rd, 2008
Replies: 2
Views: 1,300
Posted By eranga262154
Yes it is. Thanks for the replay. I found it after referring few articles on the web.

Thanks
Forum: C# Mar 3rd, 2008
Replies: 2
Views: 1,300
Posted By eranga262154
Hi all,

I already convert a C++ project to C# project. It's fine and working ok.

On C++ I use DWORD data type. But in C# for that I used just a int value. Is that ok. Is there compatible data...
Forum: C# Feb 28th, 2008
Replies: 2
Views: 5,590
Posted By eranga262154
Hi all,

I have two C# projects (a service and a windows form) on the same solution. I want to send some parameters to the service on click event of the service start (serviceControllr.Start()...
Forum: C# Feb 21st, 2008
Replies: 0
Views: 3,891
Posted By eranga262154
Hi all,

I'll explain my question as follows. I have a server application written using C++. Now I try to automate the server to start it automatically. So I write a .Net service to do that.
...
Forum: MySQL Jan 16th, 2008
Replies: 14
Views: 2,404
Posted By eranga262154
Anyway thanks for all your guys replay. I've correct my mistake. Used a null-terminated string, and on that I can use adVarChar variable type without any issue.
Forum: MySQL Jan 16th, 2008
Replies: 14
Views: 2,404
Posted By eranga262154
Ok, but I want to do it using a Stored Procedure. Actually the issue is about EnumDataType, which should be used in inserting a line of text(a string actually).

Do you know that data type pal?
Forum: MySQL Jan 16th, 2008
Replies: 14
Views: 2,404
Posted By eranga262154
Actually I use stored procedure for this, to add data to the database. Can you please look at my code on the first post.
Forum: MySQL Jan 16th, 2008
Replies: 14
Views: 2,404
Posted By eranga262154
Yep, on the line where I write the file name is the error. I can write any other value to the DB. Like int, text etc...

But I can't write a string(file name is a string there) to the database...
Forum: MySQL Jan 16th, 2008
Replies: 14
Views: 2,404
Posted By eranga262154
Yep, adVarChar is not a mysql data type. Its ADODB enum data type.
Forum: MySQL Jan 16th, 2008
Replies: 14
Views: 2,404
Posted By eranga262154
By debuging my code I found that, use the wrong data type for the filename adding, that is adVarChar. Do you guys know what should I use for it.
Forum: MySQL Jan 16th, 2008
Replies: 14
Views: 2,404
Posted By eranga262154
Hi all,

I want to add a string and a character to two columns of a sql database table. To do that I use a Command object rather to use the same connection on different functions. At the same time...
Forum: C# Jan 14th, 2008
Replies: 1
Views: 4,436
Posted By eranga262154
Anyway, I solved it myself after doing some experimental. Just have to followed SubItems on the ListView.
Forum: C# Jan 14th, 2008
Replies: 1
Views: 4,436
Posted By eranga262154
Hi all,

I've created two columns on the list view as follows.



ColumnHeader colHed;

// Header one
colHed = new ColumnHeader();
Forum: C++ Jan 9th, 2008
Replies: 2
Views: 7,293
Posted By eranga262154
Oh, it's really new thing for me. Thanks pal.
Forum: C++ Jan 9th, 2008
Replies: 2
Views: 7,293
Posted By eranga262154
Hi all,

I'm working with some date formating, with local and UTC time format. At the end I've print the result to the console as follows.


cout << stLocal.wMonth << "/" << stLocal.wDay << "/"...
Forum: C++ Jan 7th, 2008
Replies: 4
Views: 4,175
Posted By eranga262154
Here is the part of code where I use the first CStringArray.


void CTimeZoneDlg::GetTM(void)
{
HKEY hKey, Key;// Key, subkey
DWORD dwType = REG_SZ;
int iRet = 0;
CString strName,...
Forum: C++ Jan 7th, 2008
Replies: 4
Views: 4,175
Posted By eranga262154
Actually I don't write that line of code. It is automatically generated when I create the first CStringArray in my application.
Forum: C++ Jan 7th, 2008
Replies: 4
Views: 4,175
Posted By eranga262154
Hi all,

I've use a CStringArray to store some CStrings in my application. Now I want to use another CStringArray on the same application. So I add another CStringArray instance on the class view,...
Forum: C++ Jan 4th, 2008
Replies: 7
Views: 1,491
Posted By eranga262154
Ok, I got the point 0 and '0' has two different meaning. ASCII.
Forum: C++ Jan 4th, 2008
Replies: 7
Views: 1,491
Posted By eranga262154
Ok, thanks. But if I use it what happened. I mean use of a space.
Showing results 1 to 40 of 184

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC