User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 397,763 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,542 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Showing results 1 to 40 of 41
Search took 0.01 seconds.
Posts Made By: nnobakht
Forum: C# 1 Day Ago
Replies: 2
Views: 70
Posted By nnobakht
Re: How to know the number of columns in the table

you can just use

int count =dataGridView1.Columns.Count;
Forum: C# 4 Days Ago
Replies: 0
Views: 50
Posted By nnobakht
Mapping Rows between two datagridviews

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# 16 Days Ago
Replies: 3
Views: 800
Posted By nnobakht
Re: how to display XML file in textBox or Treeview using C#

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 16 Days Ago
Replies: 1
Views: 152
Posted By nnobakht
Re: I need some help with strange hashtable problem (or maybe i'm just a bit new to this)

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# 16 Days Ago
Replies: 0
Views: 130
Posted By nnobakht
Mapping items in DataGridView

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 the...
Forum: C# May 21st, 2008
Replies: 0
Views: 568
Posted By nnobakht
Parsing XSD

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: 192
Posted By nnobakht
Re: how do i create rows and cloumns according to user's needs?

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: 767
Posted By nnobakht
validate xml using xsd

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: 690
Posted By nnobakht
XML to XML make all elements attributes

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: 370
Posted By nnobakht
Re: Environment PATH

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 and...
Forum: C Jan 25th, 2008
Replies: 5
Views: 370
Posted By nnobakht
Re: Environment PATH

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: 370
Posted By nnobakht
Environment PATH

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 loop...
Forum: C Jan 18th, 2008
Replies: 2
Views: 1,334
Posted By nnobakht
Simple Fork code

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 asks...
Forum: C Jan 16th, 2008
Replies: 6
Views: 823
Posted By nnobakht
Re: Pointer/String input

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 16th, 2008
Replies: 6
Views: 823
Posted By nnobakht
Re: Pointer/String input

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: 823
Posted By nnobakht
Re: Pointer/String input

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: 823
Posted By nnobakht
Pointer/String input

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 have...
Forum: Windows Software Oct 10th, 2007
Replies: 1
Views: 342
Posted By nnobakht
Burning DVD

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 9th, 2007
Replies: 5
Views: 1,292
Posted By nnobakht
Re: LinkedList Search

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: 1,292
Posted By nnobakht
Re: LinkedList Search

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: 1,292
Posted By nnobakht
Help LinkedList Search

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 CD...
Forum: Windows NT / 2000 / XP / 2003 Sep 24th, 2007
Replies: 4
Views: 698
Posted By nnobakht
Re: error loading OS, please help

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 16th, 2007
Replies: 3
Views: 368
Posted By nnobakht
Re: New in Java. Please help!

and sorry i forgot the whole thing is a while loop with either while (true){
}
or with while (x!=0){
}
Forum: Java Sep 16th, 2007
Replies: 3
Views: 368
Posted By nnobakht
Re: New in Java. Please help!

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: 1,113
Posted By nnobakht
Re: If else statements on compatibility, I'm so confused here?????

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: 1,113
Posted By nnobakht
Re: If else statements on compatibility, I'm so confused here?????

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: 961
Posted By nnobakht
SCITE ControlMouse command

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}",...
Forum: Java Mar 26th, 2007
Replies: 4
Views: 756
Posted By nnobakht
Re: Please Help Stuck Need Help Asap!!!

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: 756
Posted By nnobakht
Please Help Stuck Need Help Asap!!!

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: 2,054
Posted By nnobakht
Re: Java Simple calc

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: 2,054
Posted By nnobakht
Java Simple calc

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: 697
Posted By nnobakht
Re: Where to start!!!!

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 / 2003 Mar 17th, 2007
Replies: 4
Views: 1,412
Posted By nnobakht
Re: Blue screen nightmare - help appreciated!

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 / 2003 Mar 17th, 2007
Replies: 6
Views: 1,374
Posted By nnobakht
Re: HELP!!! I cant get my PC to start... HELP!!!!

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...
Forum: Java Mar 17th, 2007
Replies: 3
Views: 697
Posted By nnobakht
Help Where to start!!!!

Hey guys,
i jsut got this assignment and i have 1 week to implement it but i have no idea where to start. The link to the question is http://www.cs.sfu.ca/~mitchell/cmpt-126/a2/a2.pdf...
Forum: Windows Software Dec 11th, 2006
Replies: 1
Views: 803
Posted By nnobakht
PhotoShop CS2 PhotoEnlargment

Hi i am trying to enlage a image that was taken with a cellphone (so it is small) but i want to try to make it a bit sharper sicne u can see the jpeg compression really fast as soon as it is enlaged....
Forum: Python Dec 2nd, 2006
Replies: 8
Views: 1,356
Posted By nnobakht
Re: Python Code

Thanks alot guys for the help.
Forum: Python Nov 29th, 2006
Replies: 8
Views: 1,356
Posted By nnobakht
Help Re: Python Code

I have some of the algorithm down and it works for most of my board but i have problems with certain ones. If there is a board like the one i am attaching. this is the code i have so far but i dont...
Forum: Python Nov 29th, 2006
Replies: 8
Views: 1,356
Posted By nnobakht
Re: Python Code

Ya i have some type of a psedocode for it but it cannot handle all of the boards it does most of it but the last 5 and 2 of the others it wont do. if there is a coince in teh middle of 3 blocks it...
Forum: Python Nov 29th, 2006
Replies: 8
Views: 1,356
Posted By nnobakht
Re: Python Code

Ya this is a computer science course but it is a first year. It is to get the students used to programming as a whole so they use python since it is a simple language.
Showing results 1 to 40 of 41

 
All times are GMT -4. The time now is 4:00 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC