Search Results

Showing results 1 to 40 of 47
Search took 0.05 seconds.
Search: Posts Made By: nnobakht
Forum: XML, XSLT and XPATH Oct 28th, 2008
Replies: 2
Solved: new to xslt
Views: 897
Posted By nnobakht
Thank you. This really Helped.
Forum: XML, XSLT and XPATH Oct 21st, 2008
Replies: 2
Solved: new to xslt
Views: 897
Posted By nnobakht
Hi guys,
Im brand new to doing tansformations and cannot seem to wrap my head around it.
I have a Xml File which looks something like

<parentNode>
<childnode1 att1="1" att2="2"/>
...
Forum: C# Sep 15th, 2008
Replies: 8
Views: 1,461
Posted By nnobakht
Correct. I cant see the reason why it is not though i have debugged step by step going through everything using breakpoints and stepping through it.
Forum: C# Sep 15th, 2008
Replies: 8
Views: 1,461
Posted By nnobakht
I tired putting it into form Load but it still does the same thing. Its just weird how it only does this on the first double click and after that it works everytime.
Forum: C# Sep 15th, 2008
Replies: 8
Views: 1,461
Posted By nnobakht
//Two Event handlers.

private void treeView3_BeforeCheck(object sender, TreeViewCancelEventArgs e)
{
e.Cancel = true;
}

private void treeView3_DoubleClick(object sender, EventArgs...
Forum: C# Sep 15th, 2008
Replies: 8
Views: 1,461
Posted By nnobakht
Hey guys,
I have a TreeView in which i am usign the DoubleClick event handler.
The first time i double click on the grid (this happens everytime the grid is repopulated as well)
the event does not...
Forum: C# Aug 28th, 2008
Replies: 2
Views: 1,324
Posted By nnobakht
you can just use

int count =dataGridView1.Columns.Count;
Forum: C# Aug 25th, 2008
Replies: 0
Views: 314
Posted By nnobakht
Hey guys,
I have two DataGridViews (which are not databound). The first one is dynamically populated when the application is started by reading a specified XML schema. The second one the user enters...
Forum: C# Aug 13th, 2008
Replies: 3
Views: 7,605
Posted By nnobakht
To display an xml in tree view or listbox i would recommend loading it into the XmlDocument class. This way you already have a tree. Then you can jsut parse through it and add what ever fields you...
Forum: Java Aug 13th, 2008
Replies: 1
Views: 626
Posted By nnobakht
I would suggest putting a braekpoint on that line to see what is being accessed that is null. Once you find that you might be able to get to the source of the problem.
Forum: C# Aug 13th, 2008
Replies: 0
Views: 517
Posted By nnobakht
Hey guys,
i have two grids:
http://tinypic.com/view.php?pic=11w7vrr&s=4

the one on the left is automatically filled with fields. The ones highlighted are optional.
The user then has to enter...
Forum: C# May 21st, 2008
Replies: 0
Views: 2,672
Posted By nnobakht
Hey guys, if im trying to parse a xsd file using the schema class how can i get the simpletype restrictions for a select attribute which i have already found.
so if its an enumeration type get the...
Forum: C# May 20th, 2008
Replies: 2
Views: 464
Posted By nnobakht
Grid1.Rows.Add("item");


basically one way is to run a for loop and do it that way. the otehr is if its something that has items in it use the foreach() method.
Forum: XML, XSLT and XPATH May 12th, 2008
Replies: 0
Views: 2,073
Posted By nnobakht
Hey guys, i have a XML file that i would like to validate using a XSD i have created.
What is the best way to do that?
i dont want to use C# (which is what the rest of the program which outputs the...
Forum: XML, XSLT and XPATH May 7th, 2008
Replies: 0
Views: 1,889
Posted By nnobakht
Hey guys i have a xml file which looks like
<?xml version="1.0" ?>
- <Booking>
- <booking>
- <required>
<VoyageID>navid</VoyageID>
<BookingNumber>omid</BookingNumber>
...
Forum: C Jan 25th, 2008
Replies: 5
Views: 722
Posted By nnobakht
something like that yest but could you explain "PATH" is (is it something i choose like /bin/ or is it like an environment path with many
PATH=/usr/bin/ ; /bin/ : and so on.
also one i parse it...
Forum: C Jan 25th, 2008
Replies: 5
Views: 722
Posted By nnobakht
i know but we cant use it i knwo that exec has a whole family of functions but we must use the execve(command,parameters,environ).
Forum: C Jan 25th, 2008
Replies: 5
Views: 722
Posted By nnobakht
Hey guys,
So im working on this project which is create a shell in C using fork() and execve() commands in POSIX.
The main things is a read_command() functions and a main which just has a while...
Forum: C Jan 18th, 2008
Replies: 2
Views: 4,643
Posted By nnobakht
hey guys,
im have written a code that all it does is get user input and run a simple fork task.
the problem i am running is the commands i type for example /bin/ls and so on does nothin it jsut...
Forum: C Jan 17th, 2008
Replies: 6
Views: 2,190
Posted By nnobakht
hey
thanks soooo much for the example it makes much more sense now i will try and implement this.
thanks to everyone for helping out.
cheers
Forum: C Jan 17th, 2008
Replies: 6
Views: 2,190
Posted By nnobakht
k thats actually wat i am trying to do with the argv but im fairly sure my main problem is that i dont understand how to actually use it i understand the concept of argv.
one question is that the...
Forum: C Jan 16th, 2008
Replies: 6
Views: 2,190
Posted By nnobakht
well wat i have at the moment is

#include <stdio.h>

int main (int argc, char* argv[]){
printf ("$: ");
gets (argv);
printf ("Print:\t ");
printf("%c\n", argv[0]);
return 0;
Forum: C Jan 16th, 2008
Replies: 6
Views: 2,190
Posted By nnobakht
Hey guys,
in c i am trying to read an input such as a command like

xeyes -bg red -fg blue


i have managed to read it fine if there is no spaces so a single word such as "abc"
but when i...
Forum: Windows Software Oct 10th, 2007
Replies: 1
Views: 601
Posted By nnobakht
hey guys, im using roxio cd creater 10 to burn my dvd movies usually avi files but wheni play it in my dvd layer they look streched. if the movie is in widescreen it puts it into full screen but i...
Forum: Java Oct 10th, 2007
Replies: 5
Views: 3,438
Posted By nnobakht
i didnt give up cause i didnt want to do it i gave up cause thats not what she wants you to get out of the course
Forum: Java Oct 9th, 2007
Replies: 5
Views: 3,438
Posted By nnobakht
there is a requirement that we have to implement our own linklist we cannot use the java classes. i know that would be easier and i considered it.

i tried to go the single method but i got lost/a...
Forum: Java Oct 9th, 2007
Replies: 5
Views: 3,438
Posted By nnobakht
Hey guys,
i have a linkedlist called CDArtist and one called CDTitle. i have all the functions and classes written and working except one which i have no idea how to. I need to be able to delete a...
Forum: Windows NT / 2000 / XP Sep 24th, 2007
Replies: 4
Views: 1,080
Posted By nnobakht
You do have a couple more options depending on what exactly you want to do. If you want to do a back up of all your files and have access to another system you could download a live cd such as ubuntu...
Forum: Java Sep 17th, 2007
Replies: 3
Views: 679
Posted By nnobakht
and sorry i forgot the whole thing is a while loop with either while (true){
}
or with while (x!=0){
}
Forum: Java Sep 17th, 2007
Replies: 3
Views: 679
Posted By nnobakht
think about what the program needs to do and how it should go about it there is going to be if loops involved
basic algorithm is get 2 user inputs both as ints or doubles
the first one is the total...
Forum: Java Sep 9th, 2007
Replies: 11
Views: 2,132
Posted By nnobakht
im not too sure i jsut copied and pasted the code into textpad compiled it and executed it. asked me some question i said y to all then i did the same thing again and said n and it worked jsut fine...
Forum: Java Sep 9th, 2007
Replies: 11
Views: 2,132
Posted By nnobakht
your code seems to be working fine i jsut copy and pasted it and compiled it and ran it and there is no problem with it. The one thing you might want to do is to either turn the user input into...
Forum: Legacy and Other Languages Jun 19th, 2007
Replies: 0
Views: 1,473
Posted By nnobakht
hey guys im trying to modify this code to get it to do a click on a certain spot on the program that it is minimizing but i cant get it to work any help would be great.

HotKeySet("{F9}", "hide")...
Forum: Java Mar 26th, 2007
Replies: 4
Views: 1,050
Posted By nnobakht
the deadline is not really march 23rd i didnt miss it. i have already done from infix to postfix that is the convert function created. what i am having problem with is constructing my main. i cannot...
Forum: Java Mar 26th, 2007
Replies: 4
Views: 1,050
Posted By nnobakht
hey guys im trying to write a simple caclculator. i have written the code and the functions for it but the the main when i try to use the Scanner function to get user input and to put it all together...
Forum: Java Mar 23rd, 2007
Replies: 2
Views: 3,209
Posted By nnobakht
k guys i got somewhat how to do the eval but does someone mind looking at the parse function for me. it is supposed to tokenize a string that is written for a calc such as 3+4/(5+1) but it will not...
Forum: Java Mar 23rd, 2007
Replies: 2
Views: 3,209
Posted By nnobakht
hey guys im supposed to write a simple calculator in java. Not in applet. Stack class has already been given and i was supposed to tokenize the input, have a function convert to take it from infix to...
Forum: Java Mar 18th, 2007
Replies: 3
Views: 927
Posted By nnobakht
i didnt want anyone to do the hw sorry if it sounded that way. The problem i have is trying to tokenize the entry. i get stuck since the user an type it as 23+5 or 23 + 5. i tried using the hasNext...
Forum: Windows NT / 2000 / XP Mar 17th, 2007
Replies: 4
Views: 2,315
Posted By nnobakht
this sounds like a HD issue. it sounds like when it is trying to write to the HD it is timing out too many times and it is unable to write it. Are you connected to a network drive or is it an interal...
Forum: Windows NT / 2000 / XP Mar 17th, 2007
Replies: 6
Views: 1,829
Posted By nnobakht
if you wanted you could try switchin your power supply to see if that is that case you dont need to take the old one out jsut open the computer and connect the new power supply. you can just look at...
Showing results 1 to 40 of 47

 


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

©2003 - 2009 DaniWeb® LLC