132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for chanda gul

Hi all, i want to find the last write time of a registry key but i am not able to find a function for it in C# (like the function regqueryinfokey() in c++) so can any one tell me how to find last write time of registry key in C#

Software Development
Member Avatar for Jugortha
0
116
Member Avatar for Kakashi

Hello.. I need help urgently on how to save an output from the command prompt using the BufferedWriter bw= new BufferedWriter(new FileWriter(".text",true)); a little help i much appreciated and Thank you =) regards Kakashi

Software Development java
Member Avatar for peter_budo
0
104
Member Avatar for freefika

Hello, I'm currently developing a Chat Application in VB.NET which is similar to MSN Messenger. I need to know the control to use for the message area of the chat window in which the messages sent and recieved will be shown. I tried using the rich text box but it …

Software Development vb.net
Member Avatar for slimtugo
0
271
Member Avatar for rmlopes

Hello, I am writing an application that uses the Loki library and I get undefined references inside loki if I use the DefaultSPStorage with std::vector<int> (it happens the same with int or using HeapStorage instead). I am developing on Mandriva 2008. Can someone please help me? Thank you in advance …

Software Development c++
Member Avatar for rmlopes
0
219
Member Avatar for janamrob

Hi, I have a class MovieRating below: [code] import java.util.*; public class MovieRating { private Map ageMap = new HashMap(); private String movieRating; public MovieRating() { ageMap.put("PG", 18); //parental Guidance ageMap.put("G", 4); //general viewing ageMap.put("A", 27); //Adult material } public String getRating() { return movieRating; } public boolean getStatus(String rating, …

Software Development java
Member Avatar for stultuske
0
122
Member Avatar for Achupa

Can someone help me modify the code below to do the following: Ensure that your mammal has a [B]private property which is an collection of limbs[/B] and [B]protected methods to add, remove and retrieve the limbs[/B]. You need to pass a limb not a list to the methods for adding …

Software Development java
Member Avatar for dickersonka
0
153
Member Avatar for Se7Olutionyg

I am confused because of those term 1) Endian , Procuste( I don't know if the second term is correct because I tried to look it up but I can't find it) a) Who/What b) Origin. History c) How applies to Simple Data type This is my answer for the …

Software Development c++
Member Avatar for ddanbe
0
168
Member Avatar for daviddoria

I have a Triangle class which has members [code] Point P1, P2, P3; [/code] So generally I pass the constructor 3 points. [code] Point A(1,1,1); Point B(1,1,0); Point C(0,0,1); Triangle T(A,B,C); [/code] Then I have a bunch of functions that I can pass point's to such as to find intersections …

Software Development c++
Member Avatar for Narue
0
116
Member Avatar for emamizadeh

Dear All Friends i have an problem with windows vista . i write an program for Readind Data From Serial port in delphi . and then compile it in windows XP . Application is worked very good . but when i do compiled this application in windows Visat , i …

Software Development delphi pascal windows-vista
Member Avatar for LizR
0
193
Member Avatar for gp04lch

hey guys, was having a great time with SkyBound's FreeStyle when i ran into a very funny problem. On removing a tabpage from the tabcontrol which is using the FreeStyle component, i get an error when executing the following line: [CODE]this.Controls.Remove(this.TabPages[SelectedIndex]);[/CODE] exception thrown is: System.ArgumentOutOfRangeException was unhandled Message="InvalidArgument=Value of '0' …

Software Development assembly visual-studio
Member Avatar for LizR
0
146
Member Avatar for FallenPaladin

Hi all, I am trying to create an xml file and schema that can be oppened by a .net app. However when the app trys to read from the data set, nothing is being held. I think this may be due to an error in the creation of the xml …

Software Development xml
Member Avatar for FallenPaladin
0
101
Member Avatar for koushal.vv

Hi , i am working with CTreeCtrl, Here i need to add and remove IMAGE on the tree item at runtime. ie add an image only on the particular tree item . How can i do this. i have tried something like this . [CODE] HTREEITEM itemSelected = mtreeCtrl.GetSelectedItem(); mtreeCtrl.SetImageList(&mImageList, …

Software Development c++
Member Avatar for koushal.vv
0
102
Member Avatar for No1unoin98

Hello everyone, newbie here, im getting an "illegal start of expression" where the while loop starts but im not sure whats wrong with it. I would really appreciate it if anyone could help me as i understand most of the concepts of java but have a hard time writing the …

Software Development java
Member Avatar for No1unoin98
0
93
Member Avatar for gp04lch

hi, i've downloaded the SkyBound VisualStyle dll and have included it in my custom tabcontrol. the purpose is to enable the control to retain the default windows style even after i set the DrawMode to OwnerDrawFixed. problem is after i added it into the control and set the SetVisualStyleEnhanced property …

Software Development assembly
Member Avatar for gp04lch
0
153
Member Avatar for clutchkiller

How would you put a counter into an If statement to check if there is a specific amount of chars, Say 'x' or 'y'? Thanks

Software Development c++
Member Avatar for DemonGal711
0
98
Member Avatar for kamo10

ANY ONE WHO CAN EXPLAIN THIS CODE FOR ME BY COMMENTING ON THE LINES THAT ARE IMPORTANT PLEASE HELP ME!!!!! [code=cplusplus] //--------------------------------------------------------------------------- #include <vcl.h> #pragma hdrstop #include "CastUnit1.h" //--------------------------------------------------------------------------- #pragma package(smart_init) #pragma resource "*.dfm" TCastForm *CastForm; //--------------------------------------------------------------------------- __fastcall TCastForm::TCastForm(TComponent* Owner) : TForm(Owner) { } //--------------------------------------------------------------------------- void __fastcall TCastForm::DisableButtonMouseDown(TObject *Sender, TMouseButton …

Software Development c++
Member Avatar for ithelp
0
123
Member Avatar for rushin25

Hi, i am having some problems writing down the source code that can figure out all the types of triangle(isosceles,scalene,equilateral & right trianlge). here are the things that i need to do: 1. to determine if the entered sides form a valid triangle or not. 2. to determine the types …

Software Development c++
Member Avatar for DemonGal711
0
344
Member Avatar for Ixeman

Can someone help me convert this to vb.net I can't read this whatsoever, i can barely read it XD [CODE]const int buflen = 10240; static char readbuf[buflen+1]; static int last = 0; static int next = 0; typedef struct PK11SlotInfoStr PK11SlotInfo; // NSS Library functions typedef SECStatus (*NSS_Init) (const char …

Software Development c++ vb.net
Member Avatar for ithelp
0
437
Member Avatar for smile4evr

please help me out in wat could be the error in the below code as it is not running when it comes down to the openrecordset statement! [code] Private Sub cmdOK_Click() Dim rst As DAO.Recordset 'check for null password If IsNull(Trim(userid)) Then MsgBox "User Name required.", vbExclamation userid.SetFocus Exit Sub …

Software Development visual-basic
Member Avatar for smile4evr
0
83
Member Avatar for smile4evr

can someone please help me with using tabs and hw to set the system date in vb6

Software Development visual-basic
Member Avatar for smile4evr
0
97
Member Avatar for theories

I'm a college student majoring in the Computer Science field, and this was an assigned project for a class. It's nothing more than a test to show the efficiency of different sorting algorithms and the efficiency difference between sequential and binary searches for 10,000,000 numbers. All of that I understand, …

Software Development c++
Member Avatar for theories
0
126
Member Avatar for StainlessSteelR

For my homework I have to create a program with functions and nexted while loops. I have got most of the program written but it's not executing how I want it to. The program is setup as a football program, (RB = Running Back it's a football playing position) it …

Software Development c c# c++
Member Avatar for ndeniche
0
225
Member Avatar for dem10
Member Avatar for shadwickman
0
175
Member Avatar for ROTC89

hi im new to this shell scripting. I was assigned to develop some code that increased from 0 to 9 in sort of a pyramid. This is what the output should look like. 0 01 012 0123 01234 012345 0123456 01234567 012345678 0123456789 here is my code please help because …

Software Development shell-scripting
Member Avatar for eggi
0
275
Member Avatar for chris5126

Can someone tell me why this routine doesnt print out read/write statistics for the first device but does for the other two. I cant seem to work it out. Oh its a ksh script runnin on a solaris 10 box. [code] find_disks() { NETWORKDRIVE=/tmp HOST=`/usr/bin/hostname` integer k=1 integer i=`iostat -en …

Software Development shell-scripting
Member Avatar for chris5126
0
118
Member Avatar for gp04lch

hi, i have two form Form1 and Form2 that are inherited from FormParent. in FormParent i have a protected variable Modified which will be set to true whenever anything has been modified. Form1 and Form2 are docked into tabpages. what i want to do is that when i close the …

Software Development
Member Avatar for gp04lch
0
71
Member Avatar for jkun2

For my second project in C we have to write a program to take in 2 arguments, one being a directory path and another being an int level_val. If level_val is -1, files in the parent directory are to be listed, and so on up the directory tree for -2, …

Software Development c unix
Member Avatar for Ancient Dragon
0
194
Member Avatar for intelli

can any help me with this while loop it should follow a maximum of 40 regular hours, a maximum of 20 overtime hours, and a maximum of $10.00 for the hourly pay rate. evertime i put my while loop in the code and run it , it doesnt do anything …

Software Development java
Member Avatar for destin
0
92
Member Avatar for n8thatsme

Ok so I prompt the user for invoices (Invoice Number, Quantity Shipped, Part Number, Part Description, and Unit Price) until the user gets tired and enters an Invoice Number of 0 for an invoice. After the user enters an Invoice Number of 0, he should not be prompted for any …

Software Development algorithm c++
Member Avatar for skatamatic
0
116
Member Avatar for Grub

I have a .jar file; in this .jar file I have many .class files but no .java files for these class files. Is it possible to add functionality to the program? If so how?

Software Development java
Member Avatar for Grub
0
125
Member Avatar for java-clueless

I understand arrays pretty well but I am so stuck on where to put it. Everything I enter into the inventory program seems to be in the wrong place or written the wrong way. I am so confused can someone help me? This is the program I have so far, …

Software Development java video
Member Avatar for java-clueless
0
211
Member Avatar for JustinJose12002

Hi All, How to read the following command line values for a in my shell script? ./test.sh -a file1 file2 file3 i know we can use getopt() but i am geting only first value(file1).. Any help appreciated -jujose

Software Development shell-scripting
Member Avatar for chris5126
0
124
Member Avatar for cproud21

I have written the following class, and demo, in which I used a default exception (InvalidInputException)... I ran it, and it worked. So I tried my own exception, which I cannot get to work. How do I change the exception that is taken to my own (the Invalid TestScore class)? …

Software Development java
Member Avatar for Ezzaral
0
139
Member Avatar for Code Shark

[CODE]#include <iostream> #include<string> int main() { for(int i = 0; i <= 10; ++i) { std::string triangle(i, '*'); std::cout << triangle << std::endl; } for(;;) std::cin.get(); return 0; } [/CODE] As title says is this code ok or should i do it another way?

Software Development c++
Member Avatar for gregorynoob
0
115
Member Avatar for DaJoker

I have a program and I want to know how would I put test cases on this program. its an sum and average program and so I'm trying to figure out how test it. I don't want the answer to my program but i want to see how a test …

Software Development c++
Member Avatar for dickersonka
0
118
Member Avatar for uim_1977

I need to overload Dll Exported function, and the problem i'm getting is thet the compiller says only one overloaded function can be "C", how can i do this ? [CODE] extern "C" __declspec(dllexport) __stdcall void CreateCustomers(TComponent *Owner); [/CODE] this is the original declaration, i'm tying to overload it so …

Software Development c++
Member Avatar for uim_1977
0
180
Member Avatar for mrjoli021

I have a txt file that contains a list of files that i need to delete. so far this is what i have. how do i add the delete statement. line.delete, sr.delete does not work. class Program { static void Main(string[] args) { StreamReader sr = new StreamReader("List.txt"); String line; …

Software Development
Member Avatar for ddanbe
0
90
Member Avatar for pinkfloyd

Hi all, I am using an if condition to compare the word count of a file to be equal to 21.If the file is equal(having 21 words),it is working correct.The problem is that if the file is having different word count than 21 also it is going inside the if …

Software Development shell-scripting
Member Avatar for pinkfloyd
0
77
Member Avatar for askhan

[code] public int getMathInformation(int a, char op, int b) throws RemoteException { int result = 0; if(op == '+') result = a + b; else if(op == '-') result = a - b; else if(op == 'x') result = a * b; else if(op == '/') result = a / …

Software Development java
Member Avatar for dickersonka
0
82
Member Avatar for BestJewSinceJC

I'm confused how GridBagLayout can be used as if it was GridLayout(0,2). For example, I would like to lay out components like this: Label TextFieldForLabel Label TextFieldForLabel Label TextFieldForLabel Label TextFieldForLabel I thought by making a GridBagConstraints() Object, then setting the gridx and gridy variables, this could be accomplished (Java …

Software Development java
Member Avatar for Ezzaral
0
110
Member Avatar for pinkfloyd

Hi gurus, I have a script like this. echo "$file1 does not exists " | mail -s "No File found for $file1" [email]floyd@gmail.com[/email] It is sending the mail.But subject part is not coming.Only the content is coming($file1 does not exists ).Can anyone help me out? Floyd

Software Development shell-scripting
Member Avatar for eggi
0
97
Member Avatar for uim_1977

Hello !!!! I'm callind a form from Dll it works jut pirfect, but i have no idea how it works, so now i need to add parameters to the function,so i can pass some parammeters to the form, and have no idea how to do this, any one can help?? …

Software Development c++
Member Avatar for uim_1977
0
187
Member Avatar for tytyguy

Ok so here is my situation. I am generating a wordpress (blog) import file from an xml file using xslt. I am trying to add an hour to each publish date node. So for example.... <title> Post 1 </title> <pubdate>8-10-2008 5:00</pubdate> ( I realize the format may not be right) …

Software Development wordpress xml
Member Avatar for gravyboat
0
519
Member Avatar for cicigirl04

Trying to make a program that where user inputs 10 numbers (no negative numbers) and then displays the sum and average. I get a error if I don't have ; after else statement, before sum = 0. I get a warning of coversion from int to float, and warning of …

Software Development c++
Member Avatar for DaJoker
0
283
Member Avatar for onilu

Can anyone help my code for updating is given an error that “[B]no value given for one or more required parameter".[/B] my code is below Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim a As Integer a = period.Text If period.Text >= 0 Then period.Text …

Software Development vb.net
Member Avatar for cellus205
0
136
Member Avatar for NotThereAnymore

I am working on modifying a BankAccount class for a project I'm doing. I am almost finished, but I am stuck on my second constructor. If a user has an existing account (i.e if there is an initial balance), then the BankAccount constructor should call a deposit method to allow …

Software Development java
Member Avatar for dickersonka
0
98
Member Avatar for panpanf
Member Avatar for Jugortha
0
132
Member Avatar for luvingmana

actually i am working on a project in ado.net and i want code for previous and next button plzzz do help me in this as early as possible.......

Software Development
Member Avatar for Jugortha
0
94
Member Avatar for thanatosys

I am still working on the lovely trie project, now I am working on file input that will be passed into the trie. I receive the following errors when I compile this code. [code] $ make gcc -Wall -g -c -o spellback.o spellback.c spellback.c: In function ‘main’: spellback.c:36: warning: implicit …

Software Development c file-system open-source
Member Avatar for thanatosys
0
133
Member Avatar for cproud21

I am trying to write an exception to throw, for an invalid testScore array. If the scores are greater than 100 or less than one. I attached the three classes I have created. I also have to return the average.... If anyone can help I would appreciate it. I am …

Software Development java
Member Avatar for Ezzaral
0
153

The End.