About Experts Sitemap - Group 8 - Page 37 2016-09-20

C: Recursion vs Iteration, error tolerance, initial values
error tolerance, initial values, strong points: Hi giri In order to understand which is fast first let us check the behavioral difference between the the two styles. 1. Recursion: # When a recursive call is made, the method/process copies or clones itself, making new copy of: ...

C: Recursion, quicksort algorithm, c implementations
quicksort algorithm, c implementations, recursive program: Hello Recursion is rarely used, but it can help in some cases to simplify problems, to reduce programming effort or to be able to split a task amongst multiple computing resources ( each recursion being done on another processor for example). The example...

C: Regarding c questions, daulat khan, sdu dk
daulat khan, sdu dk, null byte: Hi Daulat, Nice to see you again. Strstr function The strstr() function shall locate the first occurrence in the string pointed to by s1 of the sequence of bytes (excluding the terminating null byte) in the string pointed to by s2. The function returns...

C: Remote Command Execution, command execution, c code
command execution, c code, c program: Hello Veeresh, Please take a look at this link below. I am sure it will help you. http://216.239.57.104/search?q=cache:TZATJubb0hoJ:www.pcs.cnu.edu/~mzhang/CPSC450_550/04_Rpc/04_Rpc.PPT+sample+C+code+using+rexec+command+for+remote+host&hl=en If you...

C: No Repeated Random Numbers, random numbers, game name
random numbers, game name, array: Hi Akram For solving this problem you need to create an array where the generated number will be stored and whenever the function generates a same number that is already present in the array the same function will be called again to generate unique numbers...

C: Replacing a word, word 5, word 7
word 5, word 7, c code: Are you trying to write C code for this? Here is how you can do that: 1. Read the complete contents into a buffer. 2. Search for the word in the buffer. 3. Now find the difference in sizes between the word and the replacement word. 4. If the new word...

C: Replacing words in DOC files, file management
file management: You will have to learn file management in C. 1. Open the file. 2. Read the contents. 3. Search for the word. 4. Replace with a new word. 5. Write back the contents into the file. Hope this helps.... If you have any specific problems please let me...

C: Replacing words in DOC files, google search, file in c
google search, file in c, word data: Hi Basically, in C, when you open a file and read from it, you will read it byte by byte. That means when you read a file in C using fgetc, you will get one byte at a time. Now C compiler doesnt recognize between a .doc file and a .txt file or any extension...

C: Runnig a process in the background., command shell, process id
command shell, process id, c program: Hello Do you want to achieve this from within a C-program or from within the command shell, etc. It is not clear to me. In unix, when you send a program to the background, that means that the shell you launched it in still has it as a child process,...

C: random function, int time, random function
int time, random function, time t: Hello You can divide its result by eleven and take the remainder (% operator). Here is an example that will get you a different number from 0 to 10 (included) every other second. If the number needs to be from 1 to 9 included, you must divide by 9 (in...

C: random numbers and security, c srand, pseudo random number
c srand, pseudo random number, elliptic curves: So, actually it is not a random number. It is pseudo random number! As you said, if you know the working of the program, you can actually guess the number. It will be repeated in a sequence! But, if the size is very large, then it will be difficult to guess...

C: raster data to bmp file, image bmp, bmp file
image bmp, bmp file, horizontal pixels: Dear Wei! Here i got yet another chance to clear your doubt ! regardng BMP file processing ! I supposed to answer one questioner using a cmplete C Program that will display the BMP file on screen ! Here ill present you the program ! #include ...

C: read BMP, bmp header, bmp file
bmp header, bmp file, bmp files: I don t see any error in the first line. The problem could be due to some Non-Printable characters which are not seen by human eye. It could have happened due to the editor you are using or if you have transferred the code between windows and unix. So,...

C: read BMP, bmp header, bmp file
bmp header, bmp file, bmp files: Hi Eric, here I am sending you one link which may be of your help http://www.codeproject.com/useritems/BitmapHandler.asp . I will check the code given by you little later as I am busy currently. Please bear with me, but I hope link given by me will...

C: read BMP, bmp header, bmp file
bmp header, bmp file, bmp files: Hi Eric What compiler are you using to test your code ... If you are using Turbo C/C++ Compiler then main is a mandatory function which is missing if you can tell me from where you have found this code the name of the site then I might help you to explain...

C: how to read * .dat file generated by pci card which is already available iin physionet.org how to read in c program, binary data, c program
binary data, c program, garbage: It is not garbage. It is binary data. So, you have to find out the format in which the data is written. Usually, they will use some structures to dump data in these sort of files. So, if you get to know those structures, then you can use the same to...

C: How to read a line in a text file using C?, line character, protection error
line character, protection error, feof: You can use malloc() to allocate memory to the pointer at run time. But, even for that, you will have to specify the size. And you can always use realloc() to grow the memory. Say, you did malloc(10) to allocate 10 spaces. Now in the next iteration more...

C: To read a text file line by line, electric cooperative, atascosa
electric cooperative, atascosa, san miguel: Dear Neelish ! Yep you are right , actually i gave that code just for your understanding! im sure you need not to follow the same methodology for your own database ( regarding 5000 lines of code ) You have to be concise about how these data s are...

C: regarding malloc(), head pointer, answar
head pointer, answar, pointer points: Dear deepak! Lets go little bit closer about the heaps and the allocation method employed in malloc() and free() function . Here im going to explain the concepts using the algorithm what just i developed ! ( But im not about to give the complete code...

C: regarding malloc( ), heap size, standard c library
heap size, standard c library, continuous memory: Dear! Deepak kumar raut malloc() is a standard C Library function used to allocate memory dynamically during run time ! In a segmented memory model a heap is a portion of memory available ( Between the end of the data segment and top of the program...

C: regarding preprocessor directives, placeholder, compilation
placeholder, compilation: Directory is also called as folder. That is a placeholder for files. Pre-processor directive comes into picture before compilation starts. There is a tool called pre-processor and it checks all the pre-processor directives and processes it and gives it for...

C: related to files, r2 r3, r1 r2
r2 r3, r1 r2, integers: Open the file. Initialize a counter to 0. Start reading the file (line by line) - on each read increment the counter by 1. When the counter is less than 3, go back to read. If it is equal to or greater than 3, display the contents and then go back to read...

C: remove white space from a string, string character, white space
string character, white space: Copy all the characters of this string to another string variable. While doing so, don t add the space charactes (space, or tab). That is, Scan the string character by character. Check whether the current character is a space. If yes, then continue. If...

C: How to resolve the un-resolved symbols, ld library, hp ux
ld library, hp ux, library path: So, you compiled with a shared library. And while executing, this executable is not able to find that library. The reason is, the library is not in standard path. So, you have two ways to resolve this: 1. Put your library in the standard library path (/lib...

C: restart program, getche, simple c
getche, simple c, printf: Hi Eric This code will solve your problem #include stdio.h #include conio.h #include string.h void main() { char ch; do { /* This part will contain you program */ fflush(stdin); printf( Do you wish to continue(y/n):...

C: restart program, simple c, scanf
simple c, scanf, c program: Hi Eric, This can be done in several ways, Here I am mentioning one simple way to do this say your function name is f_eric() that has to be called till user say yes : str s1[] = yes , s2[4]; while(1) { f_eric(); printf( do u want to...

C: return type of main(), premnath, return values
premnath, return values, integer value: Hi dear Ajay ! The default return type of functions in C is int eg returnnothing(); the default return type of this function is int , if your function didn t return any values then you have to specify void explicitly as follows void returnnothing()...

C: return type, extern int, c89
extern int, c89, unix platform: i dont know how can i see the prototypes in header files Search for printf() in stdio.h. And your stdio.h file may be including some other file from where the prototype is coming. I am using Solaris and I don t have printf() prototype in stdio.h! But,...

C: how to reverse a number(any length), algorithm steps, plain english
algorithm steps, plain english, programming language: Writing code is the last part and that is very easy. But, what about the algorithm (steps), which is the first and most important part? For this you don t need to know any programming language. So, have written down the steps (in plain English) to solve...

C: reverse string program in c, c programmer, string program
c programmer, string program, bzero: Here is the code, that I posted in my previous answer. And if you are a C programmer, you will understand that. And it is very simple program and easy to understand. If you have any difficulty in understanding this, please let me know. #include stdio.h...

C: reverse a string, practice thanks, null character
practice thanks, null character, temporary storage: May be the string you are sending is not having n places! And in the end of your function, you are not returning the string back to the place where it is called! I made small changes and the code is working. Here I post it for you: #include stdio.h...

C: getting rid of unnecessary spaces in a string, unnecessary spaces, li ke
unnecessary spaces, li ke, first string: You cannot make your program intelligent. You can either remove all the spaces or tell your program to remove a particular character sitting at a particular place. But, you cannot make it understand the ENGLISH word and remove space only in specific cases...

C: Scrabble AI, c programming language, word position
c programming language, word position, maximum score: Hello Normally this section is for C questions, but let me give some suggestions anyway. Basically you need to define an structured way of evaluating the possibilities. Here is one of them (I did not go into a very deep analysis): - For each filled...

C: Segmentation defult, segmentation fault, x bx
segmentation fault, x bx, lz 1: Again you missed to explain about the program:) With regard to segmentation fault , it can happen for many reasons and it your file pointer is already closed or NULL, it can cause segmentation fault. So, it is better to get the core file and use gdb to...

C: Segmentation Fault, bloodshed dev c, segmentation fault
bloodshed dev c, segmentation fault, gnu compiler: The problem is here: pos1 = bsearch (City1,Cities,size,sizeof(CT),CTcompare); p1 = (CT*)pos1-Cities; /* Get City Number */ pos2 = bsearch (City2,Cities,size,sizeof(CT),CTcompare); p2 = (CT*)pos2-Cities; bsearch fails and returns a null pointer....

C: Segmentation Fault, bloodshed dev c, segmentation fault
bloodshed dev c, segmentation fault, gnu compiler: Hello The reason why you are getting a segmentation fault is that the bsearch function is returning NULL when it does not find the element that you are looking for. Since you do not test for a NULL return, your indexes p1, p2 may be invalid and as a result...

C: Segmentation fault, unix compiler, segmentation fault
unix compiler, segmentation fault, array length: Change: if (i=maxstring) To: if (i==maxstring) And why do you need so many swap functions? You can use a single swap fuction and call it many times. All the swap_?() functions are doing the same thing. Remove all of them except one. And call this...

C: Segmentation fault in the following code, segmentation fault, code segment
segmentation fault, code segment, new id: Without looking at the complete code, it is difficult to analyze. Looking at the code segment that you have posted and the comments that you have made regarding the crash, this is what I think is the problem: In the while loop (It goes on till p becomes...

C: Segmentation fault, struct node, malloc sizeof
struct node, malloc sizeof, segmentation fault: Hello Santpal, Here is what I know about this error message. Segmentation fault appears as if it is not easy to understand when you are tring to access the memory that is not allocated by you ...then segmentation fault appears after executing a.out ...

C: Segmention Fault, array of pointers, length len
array of pointers, length len, word spam: Hi, I have modified the make vectorspam() function. Can you please try this and let me know whether it works or not? Regards, Narendra void makevectorspam(spamword *vspam,int maxlines,FILE *fp)//int maxlines, { int len=0,cont=0,nlines=0;...

C: Serial port programming, serial port programming, bioscom
serial port programming, bioscom, mov dx: Hi Rizwan! Turbo C/C provides set of functions to perform these kinds of operations over ports ! The following set of functions will do the task pretty well, inport Read a word from hardware port inportb Read a byte from hardware port outport...

C: Shut down !, safe point, volatile memory
safe point, volatile memory, memory data: Hi Dear Sandeep Kumar ! Before programming shut down thats good to know what is SHUT DOWN ? Its nothing but a safe point where the operating system release the allocated resources and flush out the buffer that has been used so far ! More Over SHUTDOWN...

C: Simple C question, printf c, simple c
printf c, simple c, ch ch: Hello Your problem is simple you are changing the starting value of your inner loop, while you should be changing the stop condition. #include stdio.h int main(void) { char ch; /*current character to print*/ char start_ch; /*starting character...

C: Simple (probably) array question, output array, character array
output array, character array, perfect numbers: Hi Ben, First of All, There is no built in method to output the array in One line as far as my knowledge goes. Well If it is a character array then we could have as well treated them as a string, But I am unable to find any reasonable way to output array...

C: Sound file Analysis through C for Speech Recognition, speech recognition algorithms, open source projects
speech recognition algorithms, open source projects, recognition algorithm: Hello Speech recognition and voice recognition are the subject of many university research project. The University of Ghent is one that is quite actif on the subject. This is just to say that it is more a question of the algorithm you use than the underlying...

C: Sound, fedora core linux, wav file format
fedora core linux, wav file format, unsigned int value: I have never worked on this file format. So, I will not be able to provide any help. But, here is a link which contains the details of all the file formats and also some example C code. So, you can search that for .wav format structure. URL: http://www.wotsit.org...

C: Static, infront, c programming
infront, c programming, c program: static is a qualifier in C. It tells that whatever is declared with static will have a local scope and will live till the program exits. For any function in C program, its scope is global. So, if your program spans more than one file, then you can access...

C: Steady keyboard LED oscillation, far pointer, keyboard leds
far pointer, keyboard leds, far memory: Dear joseph! Of course you accessing the far memory location , ( where the information of a keyboard is stored , the matter of fact is poke is a function! so you know very well about the complexity in calling a function , instead you can directly...

C: Strange behaviour in Floating Poing Arithmetic, floating point arithmetic, v1 v2
floating point arithmetic, v1 v2, strange behaviour: The reason for this is, the way floating point number is represented inside your computer. It is not represented the way you see on your screen. It is represented in the way defined by IEEE standards. It sets aside some part of the storage to mantissa,...

C: String Function, three strings, string function
three strings, string function, consonants: Hello You can use a while loop including a switch while(str++) { switch(*str) { case a , e , i , o , u : break; default: putchar(*str); } } For the vowels you need to put the putchar inside the first case (not...

C: String program, microsoft visual c, string program
microsoft visual c, string program, scanf: You can try char **str; You can use it like this: char **str; int i; str = (char **) malloc(100); for (i = 0; i 100; i++) str[i] = (char *) malloc(256); In the above example, length of each string is 256 characters. And you can store 100 strings...

C: String Reverse function in C, practice thanks, null character
practice thanks, null character, temporary storage: Hi udaynag This is I guess what you are looking for char* strrev(char *s) { int i, j; char *t; strcpy(t,s); for(i = 0 , j = strlen(s) - 1 ; j = 0 ; i++, j--) *(s + i) = *(t + j); return s; } For more basic C functions you can refer to...

C: Structure padding and packing, gnu c compiler, target machine
gnu c compiler, target machine, c compilers: Structure padding is, adding extra bits at the end, so that the structure completes the word boundary. Structure packing is, assigning only few bits to each of the structure members. This needs to use #pragma directive. Some C compilers (especiallu GNU...

C: SVGA clrscr(), premnath, clrscr
premnath, clrscr, possiblity: dear babu ! As i said earlier its a mal function , since you are using SVGA there is no function to clear the screen . Only possiblity is just repaint the screen with BLACK color its enough for that ( This is a standard procedure ). Regards ! ...

C: SVGA Mouse, mouse pointer, premnath
mouse pointer, premnath, turboc: Dear Babu ! Even i met with the same problem when i first started programming with SVGA , i can t see the mouse pointer. later i come to know mouse pointer is not avilable with VESA Its a bit difficult to implement mouse with SVGA , 1....

C: sample code, n press, fibonacci series
n press, fibonacci series, factorial: Hi Dimples here is the entire program for you #include conio.h #include stdio.h void fact(int no) { int i, fact = 1; if(no 0) { printf( 1 ); for(i = 2 ; i =no ; i++) { printf( X %d ,i); fact = fact * i; } printf( = %d ,fact); } else...

C: how to save the output in TXT format, assembly programs, assembly code
assembly programs, assembly code, assembly language: I don t do assembly programs. I think there should be some way of redirecting the output. If you can do it in C, then convert that to assembly by giving the command: cc -S prog.c You will get prog.s which will contain the assembly code for that. It would...

C: scanf, visual studio c, microsoft visual studio c
visual studio c, microsoft visual studio c, microsoft visual studio: Hello You had multiple problems: 1. ans is already a pointer, you do not need to do &ans (that is actually bad); 2. = and == are not the same. Your first if was setting ans[1] to i . That is actually a succesfull test because i != 0. so it...

C: segment fault, fault error, narendra
fault error, narendra, character string: You have posted partial code and I have to do lot of guess work! Anyway, here is what I think is going wrong: You have declated row as: MYSQL_ROW row; So, row is not a character string. And you are trying to use it as a string at: strcat(insertquery,row[i]);//segment...

C: segmentation fault error, segmentation faults, invalid pointer
segmentation faults, invalid pointer, segmentation fault: hi Daulat, segmentation faults comes when u try to access some invalid pointer region, and in ur code i feel some modificaiton is required not having much time here i am sending one code u try to find logical differences and i think ur list is not getting...

C: how can I send an int value to website, int value, c programming
int value, c programming, protocol: It is not the C programming that helps you in this. It is the underlying protocol, which you need to understand. For communicating with a webpage, you will need to use http protocol and once you are able to do that, you can use C programming to implement...

C: How to separate one 5 digit number into individual digits, digit number, correct answer
digit number, correct answer, digits: Dear Earnest ! Actually i misunderstand the question , Here is the correct answer , sorry for the delay ! #include stdio.h void main() { int n , i ; int stk[15] , top = 0; printf( Enter the number : ); scanf( %d , &n); while( n 0 )...

C: seting a struct pointer to NULL, compability issues, c level
compability issues, c level, common library: OK. So, you want to keep the same prototype for the function. Then, there is one more way, you can try: #include stdio.h #include stdlib.h // Some struct typedef struct { void *ptr; int x; int *y; } *Display, Display1;...

C: setup a third party C library, ld library, static libraries
ld library, static libraries, library question: Hi Lzzzz, Nice to see you again. Environment variables --------------------- An environment variable defines some aspect of a user s or a program s environment that can vary. Generally set during the login procedure, for a user the environment variable...

C: shared memoy, int fd, memory
int fd, memory, map: Hi, Here is a sample code. When you get a file mapped in memory, you can use the address returned by mmap() in both child and parent as that address is copied to both of them. So they can use that address (till the length) for sharing things. Sorry for...

C: showbits function, visual c 6, microsoft visual c
visual c 6, microsoft visual c, premnath: Dear Mr Satheesh ! The function you have mentioned ( showbits() is not a standard C/C++ Function ) There are different type of C Compiler available in markets today which includes ( 16bit C / C++ Compiler eg , Turbo C++ 3.0 32bit C/C++ Compiler Eg...

C: sir , i want to become..., linkers and loaders, systems programmer
linkers and loaders, systems programmer, networking concepts: Hi, It depends. Which platform do you want to work on? Well, I work in Linux/Solaris. And to be a systems programmer, one should be knowing the concept of OS internal (mostly C in Linux and Solaris and a bit of assembly language), networking concepts (TCP/IP...

C: sir , how can i write C..., microsoft visual c, api functions
microsoft visual c, api functions, windows c: Hello To access word files t is best to use the API functions available. That is independent of visual C or other type of programming. Using an environment like visual C is both good and bad when the objective is to learn how to program. The good...

C: socket, error lnk2001 unresolved external symbol, unresolved external symbol
error lnk2001 unresolved external symbol, unresolved external symbol, list of libraries: Hello I don t have VC++, so I can t verify for sure. If the functions (symbols) correspond to valid VC++ functions, you are probably lacking the libraries that contain them in the list of libraries that is provided to the link command. You should verify...

C: software in c, gnu license, jpeg2000
gnu license, jpeg2000, jpeg files: Hello It is possible to do so and such SW is available with the GNU license (ImageMagick for example). To do so, you might need to uncompress the JPEG file. As far as I remember JPEG files are organised in 8x8 blocks that are individually compressed...

C: sorting 5 numbers using array, c programing, free lunch
c programing, free lunch, turbo c: I am very sorry to tell you that I don t give codes here. There is nothing called FREE LUNCH ! If you are writing the code, then I can help you in case of any problem. Please don t ask for code (there are many sites in the Internet where free codes are...

C: no space on device, kernel space, hp ux
kernel space, hp ux, vxfs: Did you do it as root user? If not, then a reboot should be able to get back the stack allocated memory. Even if you are a root user, just overflowing the stack will not give this type of errors! Were you doing something in the kernel space? Also, check...

C: Any special tricks for textcolor & textbackground?, background colors, colored frame
background colors, colored frame, high intensity: 1. Its not possible with that function because its deniced in such a way ! 2. same ! 4. Possible but with little pain ! 5. Its just an interrupt generating function , ROM-BIOS fuctions didn t have separate routine for that task! Here i give you some...

C: how to split a single program..., c programming language, bruce eckel
c programming language, bruce eckel, variable declarations: Hi... Usually programs are splitted using following three rules 1. all the function declaration and external variable declarations go into a header file 2. The definitions of above mentioned functions and variable go into a source fole (.c or .cpp) which...

C: split string, hiphen, split string
hiphen, split string, code split: You can use strtok() to do that. Also, you can write your own code. Sample code: split(char *original, char * split1, char * split2) { int i = 0; int j = 0; int flag = 0; while (original[i] != ) { if (flag == 0) ...

C: How much of stack is allocated for C programs, stack stack, memory heap
stack stack, memory heap, heap memory: One implementation might use two stacks in the same array, growing toward each other: unsigned char mem[8096]; int stack_top = 0; int heap_top = 8095; Then when an automatic variable is created on the stack, stack_top is incremented. Likewise, when...

C: stack and queue related question, stack adt, dequeue
stack adt, dequeue, pseudo code: Dear Bharat, Yaa, we can implement stack from a queue and vice-versa. Implementation of Queue using 2 Stacks The queue/stack is abstract, meaning the implementation isn t known, only the interface. In order to implement a queue we need to implement...

C: Where to start, programming book, writing programs
programming book, writing programs, time in my life: Don t get frustrated or defeated. Understanding C is not at all difficult. May be the book you have chosen to start is not the one for beginers. Get some simple book (like Schaum s Series), which teaches you by example. I think this is the only thing...

C: How to step through a program using GCC?, solaris unix, source path
solaris unix, source path, unix platform: I use GCC on Solaris (Unix) platform. I don t use any IDE to use it. Always I use gdb debugger, to debug the problem. I think the problem you are facing is with the IDE, not GCC. GCC is just a compiler and it doesn t have the feature of stepiing thru....

C: how to store files names of a folder in an array, files names, premnath
files names, premnath, turbo c: Hi dear Mohammad ! Here im presenting you a simple code example Sure it will help you out ! #include stdio.h #include dir.h void main(void) { struct ffblk finfo; char array[100][20]; /* array to store 100 file names */ int done;...

C: string function, loop ends, toupper
loop ends, toupper, string function: Hello As far as I can see and test, the first function works. Your problem may be that you try to change a constant string (toupper( abc )) which might not work. The second function has multiple mistakes: 1. You do not take te n parameter into account....

C: string manipulation, string manipulation, output c
string manipulation, output c, maximum input: Hello As indicated in the exercise, you need to use a for loop - there is no function allowing to add * tokens in between the characters. So, it goes something like: putc(str[0]); for(i=1;i strlen(str);i++) { putc( * ); putc(str[i]); } ...

C: string manipulation, string manipulation, output string
string manipulation, output string, output c: Hi Katrina, should be something like this - char inputstr[30], outputstr[60]; int len=0,i=0,j=0,k=0; printf( Enter a string: ); scanf( %s ,&inputstr); len = strlen(inputstr); j=0; k=0; for(i=0;i 2*len-1;i++) { if(i%2==0) { ...

C: string manipulation, string manipulation, output string
string manipulation, output string, output c: Try this: #include stdio.h main(int argc, char *argv[]) { char str_in[20] = {0}, str_out[40] = {0}; int i, j, len; printf( Enter your string = ); scanf( %s , str_in); len = strlen(str_in); ...

C: strings in c, outword, white space
outword, white space, pointer: Hi Shaily, This can be done by setting a counter which count the no of spaces. 1. set a flag which says where the pointer is INWORD or OUTWORD 2. If it was INWORD and first space come u just set the pointer to OUTWORD 3. Now if another white space comes...

C: struct packing, packing
packing: I have already answered this question. So, why don t you check my previous answers and you will get the answer to your question. Regarding 2nd part of your question - Also, how to access members after packing? It is the same way you do in case there is...

C: structure declaration in C, typedef struct, max limit
typedef struct, max limit, gcc compiler: Yes. that works. You are limiting the number of bits of i to 4 and dirty to 1. So, even if you give a bigger number, they will truncate and only hold the last 4 or 1 digit. This will be helpful, if you know the max limit and will help in conserving the...

C: structure loop => command for, loop command, position moves
loop command, position moves, array: Hi Ilias, The above structure simply shifts all the elements of array s by one position to towards starting of array (e.g. element at 5th position moves to 4th position) Implementation using for loop. for(i=2;i 100;i++) *(s+i-1) = *(s+i)...

C: structure padding, information thanks, alignment
information thanks, alignment, memory: Hi Jitendra, I am sending you a couple of links with some useful information on the structure padding go through them. http://www.goingware.com/tips/getting-started/alignment.html http://www.thescripts.com/forum/threadnav452200-1-10.html let me know...

C: structure padding, byproduct, alignment
byproduct, alignment, byte: What you told is correct. But that is the byproduct. Actually structure padding is done to do memory alignment. As you know the size of pointer is 4 bytes. So, if everything is organized by a multiple of 4, then it will be easier and faster to calculate...

C: swapping of 2 number, 3 ways
3 ways: Well, I know just 3 ways of doing it.... Method 1: Step 1 : a=a+b; Step 2 : b = a-b; Step 3 : a= a-b; eg a=10;b=8; Step 1 : a= (10+8) = 18 Step 2 : b =(18-8) = 10; Step 3 : a= (18-10)= 8 ; finally a=8;b=10; Method 2 : b = (a*a)/a...

C: swapping of two variables, mail, nb
mail, nb, variables: I don t know how you used the scanf(). I too tried to use scanf() and the program is working fine. Here below is the program with scanf() to read the values and also I have attached the o/p that I got from this program. void main() { int a=0, b=0; printf(...

C: switching person's name continues?!, correct solution, problem thanks
correct solution, problem thanks, malloc: So, what is the complete problem statement? You must use pointers and you should not use malloc!? Is that right? And are you allowed to use, any number of temporary variables? If you make your problem statement clear, we can try to get the correct...

C: TEXT FILE-WAV FILE COMBO, genuis, wave file
genuis, wave file, notepad: I am not aware of any tool which would allow you to do that. Adding a text to a wave file is not a problem. But, what you want it to do there.....should it be read out when one plays it!? If that is the intention then you will have to write a tool which...

C: Travelling Salesman Prob, traveling salesman problem, hamilton circuit
traveling salesman problem, hamilton circuit, undirected graph: Where is your program and where you are stuck? First of all, have you understood the concept of the underlying problem? If yes, have you written down (in plain English) the steps needed to solve this? You can proceed to coding, only after you complete...

C: TSR programming, pointers in c, tsr program
pointers in c, tsr program, tsrs: i highly apologize for the delayed reply.. TSR-Terminate and Stay resident programming.. first u need to know about DOS functionality..addressing schemes..BIOS..etc etc.. and a good knowledge about pointers in C.. if u want to learn about TSR programming...

C: TSR, tsr program, premnath
tsr program, premnath, main memory: TSR ( Terminate Stay Resident) Before executing each and every program should be loded into main memory ! After executing obviously it will removed from memory ! a difference is that a TSR progarm once loded into main memory it wont be removed until...

C: Turbo c, datatype name, arrays in programming
datatype name, arrays in programming, scanf: Hi Owais To use array, you have to first create an array like this datatype name[size] i.e. int arr[10] where int is what type of values the array can hold arr is the user defined name to refer to the array and [10] is the size i.e. the number of ints...

C: Type Conversion, ascii value, byte value
ascii value, byte value, type conversion: Hi Ruchi Lets convert an integer to a char int x = 3; what gets stored inside this 2 bytes 000000000 00000011 now when we convert this to a char 1 byte what gets stored the ascii value of 3 i.e. 51 which can be easily stored inside the 8 bits or 1...

C: taking hard copy, predefined variables, print outs
predefined variables, print outs, aplication: Hi Prachi I didn t get you what do you exactly mean my hard copies if you are talking about taking print outs from your application then this can be done in the following way: fprintf(stdprn, This doesn t goes to screen or files, this goes to the printer...

C: text editor in using ncurses library, ascii character code, printf c
ascii character code, printf c, movement capabilities: Hi Ruhi, First of all sorry from my side for delay, as I was busy with my deadlines. NOTE: Most of the version(most probably new versions) of Unix/Linux use curses library on place of ncurses. So I will call it Curses Library A brief Introduction...

C: putting things in a box, multiplication table, time table
multiplication table, time table, c programming: I wasn t able to understand your problem. I don t know what is multiplication table ! If you can explain with an example, it will be easier to understand. Since you have writte that, you are working on the code, please do post it here. We can together...

C: I am trying to find a simple program to convert a time to epoch time., rachel alexander, daylight saving time
rachel alexander, daylight saving time, unix epoch: Read the man page. Here is the structure used by it: struct tm { int tm_sec; /* seconds */ int tm_min; /* minutes */ int tm_hour; /* hours */ int tm_mday; /* day of the...

C: turbo c++ exception, memory access violation, dual core processor
memory access violation, dual core processor, virtual dos machine: Int13 or interrupt 0x13(hex value:Vector 20)is issued by the OS to access any particular sector of the hard drive (to read/write). Probably since your are using Turbo c which runs in real mode (DOS like environment), it may try to access some part of protected...

C: turbo c, getch, scanf
getch, scanf, turbo c: hai criona, make use of this programe to display the no as you like, #include stdio.h #include conio.h void main() { int i,j,k,l; clrscr(); printf( enter the ltd no ); scanf( %d ,&k); for(i=1;i k;i++) printf( %d ,i); printf( ); for(i=1;i...

C: Undefined symbol 'op' in function main, iterative function, integer parameter
iterative function, integer parameter, undefined symbol: Hello Concerning the error message. In the main function you wrote op; for the declaration. You ld better write char op; Further, the initial question is to have an iterative function, not a recursive one. Since you are already using iterations,...

C: Undergoing Masters in Bioinformatics, herbert schildt, c programming language
herbert schildt, c programming language, google search: Hello Mr.Anand, I would suggest you to buy 2 books which are not very costly but affordable by students and most importantly a very good book for C programmers as well as learners. The Books are 1. C Programming Language - By Kernighan and Ritchie...

C: Union undefined variables default value, garbage value, undefined variables
garbage value, undefined variables, global variables: For any variable (except global variables), the value is undefined when it is defined. You must initialize it before using. So, I cannot tell anything about the o/p, since you are dealing with an undefined (sometimes called garbage) value. The same may...

C: Using external functions, reed solomon, example error
reed solomon, example error, undefined reference: Removing the reference from Makefile is wrong. The best way is to find where this library exists on your system and give this library path to your compiler. If you don t have it installed on your machine, then install it and then compile this...

C: can u give me all solved answer(programming coding) of book of programming in ansi C(Balagurusamy), programming in ansi c, harmonic series
programming in ansi c, harmonic series, cakewalk: I don t understand you. Why are you searching for free code? Looks like you are a student. My advice to you is that, you do things on your own and that s the best way to learn. You will never learn, if you get code written by somebody else and you will...

C: ++(unary operator):great ambiguity, assignment operator, precedence
assignment operator, precedence, ambiguity: Hello In the example a=b++/++b; The ++ operators have precedence over the / operator. Therefore the above is equivalent to: a=(b++)/(++b); The ++ operators are not in conflict with each other, the question of precedence of one over the other...

C: unique values by rand( ), range numbers, inline code
range numbers, inline code, random generator: I didn t find any problem with the rand() fnction . even after using the srand() function , Its Pretty well and working fine , moreover it didn t generate any redundant value ! if still the problem presist ill send you some random generator function...

C: unit conversion, physics student, unit conversion
physics student, unit conversion, dev c: Well, You have to Implement the Formula. I am a programmer in C, not a physics student, (assuming you are talking about physics. The version you are using matters only after you implement and your implementation contains some compiler specific lines. ...

C: unix, command interpreter, premnath
command interpreter, premnath, unix command: Dear Jitendra! Each and every UNIX Command is simply a string , That string will further interpreted ( This is called a command interpreter) let me explain you this with a simple flow! do{ display Prompt: get the command; ...

C: urgently required solution(m havin my exam 2morrow), premnath, clrscr
premnath, clrscr, printf: Hi dear shika ! Here im presenting 2 programs sure that will help you out to program all the possible outputs given above with a minor modifications #include stdio.h void main() { int i , j; clrscr(); for( i = 1 ; i = 4 ; i ++) { ...

C: urgently required solution, printf, digit number
printf, digit number, pow: #include stdio.h #include math.h int main() { int i,k=0,l,p=0; printf( input a integer: ); scanf( %d ,&i); printf( ); while(i) { l = i%10; i = i/10; k = k +((l+1)%10)*pow(10,p); p++; } printf( New...

C: How to use fgets, googol, fclose
googol, fclose, fopen: googol:temp cat temp.c #include stdio.h main() { FILE *fp = fopen( temp_file , r ); char str[100] = ; fgets(str, 25, fp); printf( The string is: %s , str); fclose(fp); } googol:temp cat temp_file...

C: how to use fwrite(), nstream, code stream
nstream, code stream, clrscr: Dear Mr Ben! Upon verifying your code i found lot of Bugs in your code , stream = fopen( TEST.dat , wb ); Opening again the file using wb mode will erase the contents of the file and open it as a new file so it should be avoided instead i have...

C: use of GUI in C language, ncurses library, c lang
ncurses library, c lang, language question: I am not able to understand your questions! I am very sorry to say that. Are you asking me to give some applications having GUI written in C? If that is so, then I don t have any. If your question is different, then you will have to make me understand...

C: how to use HTTP GET method in a C program, web proxy server, wrapper functions
web proxy server, wrapper functions, network protocols: HTTP is a protocol, which has many commands like GET. To implement any such network protocols using C, you will have to learn socket programming. It provides wrapper functions which can be used for communication and implementing HTTP like protocols. So,...

C: How to use pointers within structures, malloc sizeof, segmentation fault
malloc sizeof, segmentation fault, int num: Hello In the part of code that you provided, no memory is allocated for s itself. That results in a segmentation fault (access to memory where it is not allowed). Apart from that mistake, also note that you are increasing the x pointer itself and that...

C: how to use va_list, last element, linked list
last element, linked list, turbo c: YES. The first argument is a char pointer, which inturn contains the link to number of arguments. This is the only way to use VA_LIST. If you want to try other methods, then you can try sending a linked list, which ends with a NULL. Upon seeing NULL you...

C: using C to convert file formats, c source code, raw binary data
c source code, raw binary data, several different types: Are you looking for a C source code? If that is so, I don t know. If you want to know how to open file, etc....then here is how you can do that: To open a binary file in read mode: fopen(filename, rb ); To read the file: fread(buffer, size of each item,...

C: using rand, d times, scanf
d times, scanf, digit number: First of all, you have to store the random number in a variable. And remember that, each time you call the rand() function, a new number is returned. Also, you have to use srand() function to initialize the randomizing algorithm. My sincere suggestion to...

C: VGA, vga graphics, windows compiler
vga graphics, windows compiler, programming method: Hello The reg structure is probably the structure to access the microprocessors registers from within C (for interrupt vectors) - it is a particular structure available only in particular compilers. Under windows, interrupt vectors are not the method...

C: Virtual pointer, virtual pointer, c cout
virtual pointer, c cout, bptr: Dear Neeraj! I m not sure to what you are referring.( may be pointer to virtual functions) if so follow the answer ! In order to achieve run time polymorphism its necessary to use a single pointer that can refer object of different classes ,...

C: Visual C++ code, example input, output string
example input, output string, string method: hai jason, here is the program to reverse the string. #include iostream.h #include string.h void main() { char str[10][20]; int n; cout enter the no of the string ; cin n; for(i=0;i n;i++) cin str[i]; for(i=0;i n;i++) cout strrev(str[i])...

C: Visual C++ and Excutable files, excutable, getch
excutable, getch, dos window: In Unix or Linux, you will execute the program at command prompt. So, if you do the same in DOS or Windows, you can observer the same behaviout. So, open the command prompt by typing cmd or Command in the Run option of Start Menu. Goto the place where...

C: va_start compiled with Linux, segmentation error, segmentation fault
segmentation error, segmentation fault, stack trace: Most of the segmentation fault are because of faulty usage of pointers. If you are getting a core file, you can use it to get the stack trace and see where it got the signal. Otherwise, compile your code with -g option and then use gdb to run it. If you...

C: volatile, type qualifier, const type
type qualifier, const type, c type: hi vina..sorry for delayed response.. volatile is a type qualifier in c. Type qualifiers give one of two properties to an identifier. The const type qualifier declares an object to be nonmodifiable. The volatile type qualifier declares an item whose...

C: volatile, cpu caches, kernel code
cpu caches, kernel code, variable sum: Volatile is an ANSI C type modifier that is frequently needed in C code that is part of signal/interrupt handlers, threaded code, and other kernel code, including device drivers. In general, any data that may be undated asynchronously should be declared to...

C: Wanted C programmes for these problems, stack data type, coke vending machine
stack data type, coke vending machine, stacks and queues: Hi Priya nice to c you; seems to be heavily overloaded. well your question is too long to read here i am just giving you c code for stack implementation :------------- ------------------ #include stdio.h #include malloc.h #define MAX 10 int...

C: While_Loops, pound coins, random garbage
pound coins, random garbage, intergers: The first problem you have is that coins isn t give any starting value, you re working with random garbage. The second problem comes with the test. It s better to split tests up to ensure they they work properly. You have a logical error in that even if the...

C: Wide characters, int type, typedef
int type, typedef, variables: To handle widechars, you will have to use 2 bytes variable as widechar variables. S, it s better to have a typedef (Usually short int type is of 2 bytes) and use that as widechar. For reading and writing from that variable, you can use scanf() and also...

C: I AM WORKING ON TURBO C.I..., transpose function, turbo c
transpose function, turbo c, matrix 2: this question seems to be a homework, i think you know how to write c code, and u need someone to think in your place,... well let me think with u , u r not allowed to use any temp variable, for an M(i,j) value would be saved in M(j,i) and if you write...

C: Writing to file using C, c4 c5, fscanf
c4 c5, fscanf, fprintf: Dear Mazin ! Iam not clear with your question ! But any how i ll give you some properties on append mode. 1. You can append file only at the end . 2. If you wish to append the file at the beginning its a bit difficult , without any precautions...

C: watch!!!!, turbo c compiler, variable name
turbo c compiler, variable name, exact answer: I don t use any of these IDEs such as VC++ or Turbo C. I alsways use gdb. As far as I know, these IDEs provide everything at the click of a button. I think, in the same drop down where you find the Make , Build , Step In etc commands, the watch ...

C: weird syntax a+++b, syntax
syntax: It depends on the way computer interprets the code. It can interpret it as (a++ + b) or (a + ++b). So, in the first case it will result in 8 and in second case it will be 9. Look at the assembly listing and then try to analyze. The same code may give...

C: I whant to write a programe..., standard c library, adout
standard c library, adout, fashio: Hi Rakeshgn This is very common problem. what you have to do is, firstly declare a structure which conatins all the fields related to a book, which you want to be present in data base, then use fread and fwrite from standard C library to read a fixed number...

C: win32 applications, charles petzold, color manipulation
charles petzold, color manipulation, win32 applications: dear Wael ! Ya there are lot of free resources available on NET , say ( www.programmersheaven.com , www.cprogramming.com and lot more .. Instead a better choice is you can access the online MSDN ( Microsoft Developer Network ) It provides complete...

C: Can this work?, sqaure root, stephen clayton
sqaure root, stephen clayton, seperate lines: Hello I first take your program and add some comments to it. #include stdio.h #include math.h void main(void){ - Oh, oh - you are redefining the main() function. The main function is never a void and should always return an int (the error...

C: write/copy files using FAT info, google groups, dos functions
google groups, dos functions, information on fats: Unfortunately, I m not familiar enough with DOS to be of much help to you, and it sounds like you ll need lower level library calls. However, I can suggest the next step that might get you an answer. Post your question on the comp.os.msdos.programmer newsgroup....

C: write a program, perimeter of circle, perimeter of a circle
perimeter of circle, perimeter of a circle, area and perimeter: Dear Sama, Solution 2 //Area and perimeter of circle #include stdio.h #define PI 3.14159 int main() { float rad=0.0; float peri=0.0,area=0.0; printf( Enter radius: ); scanf( %f ,&rad); peri=2*PI*rad; printf(...

C: writting program with C language, exampl, c language
exampl, c language, algorithm: If you are really using C programming, then you can very easily understand the algorithm that I have proposed. In step 1, I am declaring an array and storing some integers. Step 2 to 8 is a for loop . Inside this for loop, there is another for loop with...

C: XOR to store byte, assembly code, old windows
assembly code, old windows, narendra: I am not proficient in assembly coding. So, it will be wrong for me to answer this question. If you want an answer, then better ask this in Assembly code section. I am sure, people with both assembly and C code proficiency will be there in that group....

C: if-else, microsoft visual c, integer division
microsoft visual c, integer division, cc number: Hello Let me answer your second question first. When you use the netAmount variable value in your program, the compiler did not detect any assignment to it prior to its use. In some rare cases that is not a problem, but in most case this indicates a mistake....

C: if-else, assignment operator, car discount
assignment operator, car discount, equality: Change: if(cc=800) To: if(cc == 800) Note that you have used = which is an assignment operator in the condition. Because of that value of cc is getting changed to 800. Instead use the == operator which tests for equality. Hope this helps.......

C#: C# book, search google, electronics engineer
search google, electronics engineer, syntactic differences: Hi Anjli, I m sorry, but I do not have the time to give you a personalized tutorial. However, there are several tutorials online. Search google and I m sure you ll find some. Here is the first one I came across: http://www.csharp-station.com/Tutorial.aspx...

C#: c#, visual studio 2005, addition test
visual studio 2005, addition test, text boxes: Don t quote me on this, but I think what you are looking for and what I gave you are both Visual C#. I looked up Visual C# on Wikipedia and it said that Visual C# is just Microsoft s implementation of the C# language (sort of a name branding, as they did with...

C#: how to calculate distance, circular arcs, longitude latitude
circular arcs, longitude latitude, latitude longitude: That depends. If you are trying to find the shortest distance between two cities, you need only the arc between the two of them and you have that distance. If, however, you have to travel on roads between the two cities, that may mean you will have to travel...

C#: C#, sum info, modifiers
sum info, modifiers, message box: Do you really need a different Form just to show the sum. Why you cannot show in Message Box? Anyway, just create a new Form. Put a Label Control on it and set it s Modifiers property to public. Now from Form A call: FormB B = new FormB(); B.Label1.Text...

C#: checkbox list, checkedlistbox, multiple value
checkedlistbox, multiple value: Your questions are not very clear in English. However what I am following is that you want to insert multiple items in the database, i.e., the checked items. In that case use ForEach(Item in CheckedListBox). You need to see the appropriate object type with...

C#: datagridview performance in c#.net, doevents, frequent trips
doevents, frequent trips, opentext: Is there any specific reason for creating columns at run-time? I also used a Binding Source for my DataSet. I added the DataSet by dragging it from the toolbox to my Form. Later I right-clicked on the DataSet object and created table and columns. In this way...

C#: checkbox list
C#: checkbox list

C#: message box, public static void, string message
public static void, string message, alert message: It is not working because your application is hosted on a remote server and not on your machine. For ASP.NET, you will have to use this function. It uses JavaScript to display client side message. The following code is written in C#, please convert it...

C#: .net, image path, image button
image path, image button, retrive: There are two ways: (1) You can save path in the database as normal text. For example, you can store path in a varchar field as below: c:img1.jpg If you are taking this approach, you need to first retrieve the path from the database and set this...

C#: Problem with VS2005, sql instruction, vb5
sql instruction, vb5, magalhaes: I would like to see the Access Table. Can you send me? However, I have one suggestion in the second query. Please give it a try and let me know. Replace * with %. Like this: Dim adapter As New OleDbDataAdapter( SELECT nomes.nome FROM nomes WHERE nomes.nome...

C#: send mail, sending mail, mail server
sending mail, mail server, internet service provider: Please follow this link: http://www.codeproject.com/KB/miscctrl/SmtpEmailComponent.aspx The server name will be the name of your ISP. For example, if you have Airtel, then: mail.airtel.in You need to confirm this from your Internet Service Provider...

C#: How to set landscape for the default printer?, working with visual studio, paper orientation
working with visual studio, paper orientation, visual studio 2005: Actually, I have tried in different way before. Please see if any of the following suggestion helps: (1) Check this article: http://www.devarticles.com/c/a/C-Sharp/Printing-Using-C-sharp/5/ (2) PrintDialog printDlg = new PrintDialog(); printDlg.DefaultPageSettings.Landscape...

C#: C#, based user interface, server database
based user interface, server database, web application: The question is not very clear. I assume that you are building a web application and you want your application to use Sql Server database. For this you can see these links: http://www.w3schools.com/aspnet/aspnet_dbconnection.asp http://www.c-sharpcorner.com/UploadFile/jgodel/InDepthASPNetUsingADONet12012005042311AM/InDepthASPNetUsingADONet.asp...

C#: C# and Web Applications, server side xml, browser off line
server side xml, browser off line, barcode reader: I have not used PHP and JavaScript more, but I think the following may help: You can make use of XML file to store data. XML file can be read using JavaScript. Write your data into XML file using C#. This XML file can be accessed by your web application....

C#: Picturebox control, time intervals, switch case
time intervals, switch case, milliseconds: Actually a tick is not a second, it is something in milliseconds. You need to calculate seconds first (see second link below): After this you need to use Switch...Case on TotalSeconds. After performing one Visible/Invisisble operation, you need to re-initialize...

C#: C#.Net, microsoft word window, visual studio tools
microsoft word window, visual studio tools, visual studio tools for office: HI Sorry for delay in reply You need to download visual studio tools for office You can get it free from Microsoft site http://msdn2.microsoft.com/en-us/library/d2tx7z6d(vs.80).aspx You can get some sample how to do from the same site.. ...

C#: Using C++ class in C# program, kiss, long time
C#: Using C++ class in C# program, kiss, long time

C#: generating random number between 0.0 and 0.01, genetic algorithm, random functions
genetic algorithm, random functions, random number: Hi shankar, In .net framework there is one class for generating random numbers. You can define new random number like following: Random random = new Random(); You can play with Math and Random functions to achieve your goal. Here is one example...

C#: prob regarding get there project, google maps, google earth
google maps, google earth, earth rite: hi Do you want to build a map or just give only text direction between buildings? if only text direction you need to store all the building in master table, and each building room in different table and location of each room.. if you want to use google...

C#: reading a text file, nbsp nbsp nbsp nbsp nbsp, span style
nbsp nbsp nbsp nbsp nbsp, span style, page nbsp: Hi Check whether you have given permission, Here is the working script 1st step it checks for file exists and create the text file 2nd step it reads from the file. -Srini using System; using System.IO; using System.Text; class Test {...

C#: regarding project, google earth, earth rite
google earth, earth rite, google: Hi harpreet, 2 wat fild r u new??? if ur new 2 programmin then you shud start from scratch. For d purpos of ur task u might need to learn OpenGl or DirectX, C++ or C#, Google APIs....... Please, in the future be more precise and concise. cheers...

C#: Sample Project, simple shopping cart, visual studio 2005
simple shopping cart, visual studio 2005, project question: Hi Once you add to cart store what products added into the session variable based on the session variable value you need to select the variable. don t use querystring... assign value to session variable: Session[ key ] = value ; retrieve value...

C#: Using C++ class in C# program, c api, exact situation
c api, exact situation, itzik: I feel your pain on this one. Usually, I just opt for libraries which are managed. Although I ve never imported a complex unmanaged library, this seems like it should help you (not a tutorial per se, but should be equally effective): http://www.gamedev.net/community/forums/topic.asp?topic_id=395225...

C#: XLS to sql server, jet oledb, oledbdataadapter
jet oledb, oledbdataadapter, connection 17: I still don t completely understand your question. However, I created some code that illustrates, in a simple manner, how to insert custom values into an SQL table from C#. First, you must get whatever values you need from your Excel source. Then, you will...

C#: Change Datagrid cell color based on cell value, x cells, sample loop
x cells, sample loop, loop through: Hi Here is the simple sample //Loop through all rows. for (int x = 0; x yourGridName.Rows.Count; x++) { //Change cell colour to Red. if (endDate DateTime.Now) { //Loop through all cells in that row and change its color. ...

C#: creating a text file which should contain data in a tabular format, tabular format, database table
tabular format, database table, google: Hi Durga Prasad, You should consider using the FileStream methods as one possibility. Here is one good reference that I consider is useful: http://www.codeguru.com/csharp/csharp/cs_syntax/anandctutorials/article.php/c5861/ Try to google it. There...

C#: Change Datagrid cell color based on cell value
C#: Change Datagrid cell color based on cell value

C#: Kindly let me know the logic please, datatable, mns
datatable, mns, starting time: Hi Hema, If I am correct, you have phrased this question in a much more complicated manner than is required. Is the following your question?: How do I increment an instance of DateTime by a given amount of time? If so, then the following code may...

C#: Problem related to Text file using c#.net, window application, comx
window application, comx, system diagnostics: Hi You can call a CMD script to print a external file you can use Print command starting it via System.Diagnostics.Process here is the usage PRINT [/D:device] [pathname(s)] key device : either a local printer (LPTx, COMx ) ...

C#: add images and video to dictionary project, bilingual dictionary, dictionary project
bilingual dictionary, dictionary project, few words: hi, you can t use text format to store images or video... what you can do is upload all images and videos into a directory and store the file name in the file. you can get so many sample code in codeproject.com thanks happy programming!! ...

C#: add images and video to dictionary program in c#, dictionary program, bilingual dictionary
dictionary program, bilingual dictionary, video button: I m not quite sure what your question is, but I ll try my best to answer any I think you re asking. You can get a button to be disabled/enabled programmatically. Here is the code for that: if(word.hasImage) { btnImage.Enabled = false; } else {...

C#: callbacks in C#, dotnet framework, void error
dotnet framework, void error, error function: hi Looks like somewhere Memory leak deducted, you may want to check this url http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=3041566&SiteID=1 http://www.netnewsgroups.net/group/microsoft.public.dotnet.framework.aspnet/topic34273.aspx Thanks...

C#: text files with c#.net, memory
C#: text files with c#.net, memory

C#: all mails land up in spam, host localhost, valid email addresses
host localhost, valid email addresses, realistic data: Hi Hema, Not sure why that is happening. My guess is this has more to do with your email client rather than your C# code. You might try using all valid email addresses (ie, in the to and from of the email). On the client side, there could be any number...

C#: .net, datagridview, reserve group
datagridview, reserve group, odbcconnection: hi you should get some unique id, pass the ID to SQL to filter and pass that to dataset. to explain better, store the serial number or some unique id in the datagrid and make visible false if you don t want to show, when click print button loop thru...

C#: text files with c#.net, time efficiency, memory problem
time efficiency, memory problem, overseas trip: hi, May be you cane have a look at IFilter whether it can solve your problem good article about it: http://www.codeproject.com/KB/cs/IFilter.aspx sometime back I was looking an article there was a 3rd party .NET tool which reads the text file more...

C#: C#.net datagridview, datagridview, column width
datagridview, column width, enough space: hi if you use fixed column width, you have to make sure give enough space to each column and total grid width.. if any calculations goes over the defined size it will add the scrolling.. first calculate how much width you need and split the width to...

C#: Retrieve hardware information through ASP.NET, mac info, authorised users
mac info, authorised users, hardware information: hi, you should be able to get IP, broswer info, javascript enabled, flash installed etc.. but you can t get MAC info. If you need these kinda stuff, you need to build or use 3rd party activeX control to get MAC and other info. Thanks -=Srin...

C#: text files with c#.net, time efficiency, memory problem
time efficiency, memory problem, overseas trip: hi, May be you cane have a look at IFilter whether it can solve your problem good article about it: http://www.codeproject.com/KB/cs/IFilter.aspx sometime back I was looking an article there was a 3rd party .NET tool which reads the text file more...

C#: how to trigger a dropdownlist refresh, addl, dropdownlist
addl, dropdownlist, gui interface: Hi Hope this helps I ve created example web form with two dropdown lists to it and name it as ddlMain and ddlSub. ddlMain is main dropdown that provides filter value to ddlSub. The code of form follows. %@ Page Language= C# AutoEventWireup=...

C#: DatagridviewCell in c#.net, datagridview, sorry for the delay
datagridview, sorry for the delay, ted: Hi Sorry for the delay, i was away!! (Still away) You can do it thru javascript here are some of the sample http://eriwen.com/javascript/highlight-search-results-with-js/ http://www.tedpavlic.com/post_highlighting_search_results_with_ted_searchhi_javascript.php...

C#: DatagridviewCell in c#.net, datagridview, thanks in advance
C#: DatagridviewCell in c#.net, datagridview, thanks in advance, data types

C#: hello, frame work, machine language
frame work, machine language, collegian: Hi, Sorry for the delay I am away!!. You can start with C# basis. C# is part of .NET (DOT NET) frame work. you can write program either using C# or VB or J# all will compile into MSIL (machine language) and work. C# is much better compare to...

C#: bind dropdownlist, tek tips, qid
tek tips, qid, bind: Please refer following links: http://www.dotnetspider.com/forum/ViewForum.aspx?ForumId=113608 http://forums.asp.net/t/415708.aspx http://www.velocityreviews.com/forums/t122054-bind-dropdown-field-in-gridview-edititemtemplate.html http://www.tek-tips.com/viewthread.cfm?qid=1484924&page=7...

C#: in c#, dotnetspider, quickview
dotnetspider, quickview, gdi: Please refer the following links for your answer: http://www.java2s.com/Tutorial/CSharp/0460__GUI-Windows-Forms/AddImagetoPictureBox.htm http://www.codeproject.com/KB/GDI-plus/quickview.aspx http://www.dotnetspider.com/forum/ViewForum.aspx?ForumId=13253...

C#: [TARGETDIR] in setup project of VS 2005, registry key, square brackets
C#: [TARGETDIR] in setup project of VS 2005, registry key, square brackets

C#: need help, c coding, dear sir
c coding, dear sir, dataset: Please refer any of the links: http://www.aspnettutorials.com/tutorials/database/db-storedprocs-aspnet2-vb.aspx http://msdn.microsoft.com/en-us/library/k10148y1(VS.80).aspx http://blogs.vertigo.com/personal/chris/Blog/archive/2007/06/15/gridview-objectdatasource-dataset-and-stored-procedures.aspx...

C#: needs furnishing.., choice choice, system namespace
choice choice, system namespace, int ch: Dear Dimple, Try as below. I hope this is what you want: namespace calculate2 { class Program { static void Main(string[] args) { string choice, num; int ch, x, sum, diff, prod, quo; ...

C#: [TARGETDIR] in setup project of VS 2005, installation path, registry keys
installation path, registry keys, registry key: I can t help much as it is not very clear what you are trying to achieve. Still you can check following links for more details: http://msdn.microsoft.com/en-us/library/aa372064.aspx http://www.tech-archive.net/Archive/DotNet/microsoft.public.dotnet.general/2007-01/msg00585.html...

C#: update data in grid view, datagridview, datagrid
datagridview, datagrid, grid view: Please provide some more information. Do you want to edit any cell and thereby want to change the record? Or you want to refresh the datagrid to reflect more recent records. Also I would like to tell you that using DataGridView is more easy and powerful than...

C#: WANT TO KNOW, c forum, college teachers
c forum, college teachers, b tech: Dear Ravi, It depends on your ideas. Search in Google and you will find many ideas that you can implement. However, you can go for any of the following: (1) Shopping Portal. (Online shopping.) (Refer: Amazon.com) (2) Your own blog. (Search with Life...

C#: Multilangauge in C#, c interface, insert into table
c interface, insert into table, shakil: I tried with Hindi language. There is no need to alter anything in the database, as far as I did like this. You just enter the record in Urdu and save it, it will automatically be saved in the database, but in different characters. Do remember to use Replace...

C#: need help, drop down list, grid view
drop down list, grid view, msdn: Please refer the link below. http://msdn.microsoft.com/en-us/library/k10148y1(VS.80).aspx You can refer an article on my blog on how to work with Stored Procedures. You can visit my blog here: http://softwarefindings.blogspot.com/search?q=stored+procedure...

C#: get bmp from image, image bitmap, image question
image bitmap, image question, e region: so it seems that the WebCam dll or the code or class related to that has problem and cannot detect any device to work with it and get picture please refer to the following link http://www.codeproject.com/KB/audio-video/Motion_Detection.aspx it will help...

C#: C# Question, key pressed events
key pressed events: int counter; protected override void OnKeyDown(KeyEventArgs keyEvent) { // lblKeyValue.Text += keyEvent.KeyValue.ToString() + + counter.ToString(); if ((keyEvent.KeyValue == 17)) counter++;...

C#: c#, paise, string str
paise, string str, int value: private void button1_Click(object sender, EventArgs e) { int i,j,counter=0; label1.Text= ; if (textBox1.Text.IndexOf( . ) -1) //if it has floating point { String[] str = textBox1.Text.Split(...

C#: c#, string str, case 2
string str, case 2: Hello, sorry for my late response. I was so busy with many projects. we use script languages because C# or .net does not have such a capability , I mean in script languages someone wrote Eval function which do that but in C# or vb we should code that for...

C#: how to use Dataset object and objectDataSource to edit data, selection property, relational tables
selection property, relational tables, contract details: salam, masaleyeh aval inke agar shoma darid yek table ro update mikonid dige chera az inner join... estefade kardid niazi be on nadarid. faghat chizi ke toyeh db barayeh in do ta table set mikoni va khodetam mikhay be cheshme khodet bebini ine ke boro toyeh...

C#: C# programming logic., programming logic, truth table
programming logic, truth table, question thanks: Sorry about the delay in response Neville, I had just recently completed a move and was waiting for the cable guy to install my internet access. Im surprised that the book did not mention the ? : syntax, as this is very common in programming languages....

C#: renaming solution in VB or C#, Solution Explorer, Visual Studio
Solution Explorer, Visual Studio, Visual Studio Express: I am assuming you are using Visual Studio/Express? If so, here is how you would go about renaming all the program files in a solution step by step: * Step 1: Start Visual Studio/Visual Studio Express * Step 2: Open the solution file by going to File...

C#: c#, simple calculation
simple calculation: Hello, again sorry for this delay, this is the code you have a button that in button click you should write the following code, you have a textbox with a name of textbox1 , two public variable that you set them in form load int lastplace; ...

C#: c#, buton, dob
buton, dob, three times: you need to define a public variable for checking the users, each time the user click on button and the information are wrong then add this variable for date you can use datetimepicker then you do not need to check it out because your user should choose...

C#: c#, quarterly sales report, dynamic grouping
quarterly sales report, dynamic grouping, aspnet: you can redirect to other page and show those details for more information to how to show your data in crystal report please refer to the following article, it is complete and so I do not need to repeat those steps here http://aspalliance.com/1831_Building_an_Invoice_Application_with_ASPNET_and_Crystal_Reports__Part_1...

C#: About c# programing, dd mm yy, c programing
dd mm yy, c programing, string class: Well there are a couple of ways to tackle this. You could have the user enter the day, the month, and the year into three seperate inputs, and then form the string yourself (this is the most user friendly/secure way). You could use a combination of the Substr()...

C#: Project using C#, final year project, level application
final year project, level application, business logic: You can develop a wide variety of applications using C#. If you want to write a web application, then also you have a choice of using C# and VB to code the business logic. You can make a high-level application right-away. The best way to learn is to first...

C#: About web application using c#, sql server database, search google
sql server database, search google, database path: Yes it is possible. You need to follow this: (1) You will have to make one computer a Server where your database will reside. This system must remain ON at least till the time your clients can connect and work. (2) You need to write a simple C# Windows...

C#: Browser back button issue, thease, search panel
thease, search panel, button issue: Hi Sorry I was on vacation and busy with my work.. It s very hard to handle the Ajax controls with Back button. There are various solutions/ways I would suggest you can review the following url will give you some idea how to handle this. http://www.ajaxonomy.com/2007/web-design/a-better-ajax-back-button-solution...

C#: Creation of a PDF reader (with extra security features), a new custom file extension in C#., open source project, programming with java
open source project, programming with java, document data: Hello, in C#.net there is a project for pdf creation http://sourceforge.net/projects/pdfsharp it is open source project that you can download it and use it, it has samples too, you can easily convert your pdf to text and visa verse . in Java I didn t...

C#: Data binding an Array to a data grid, result service, string result
result service, string result, datatable: I consider that the delimiter for each row are | and the delimiter between data are . if(txtTitle.Text != String.Empty) { Service service = new Service(); string result = service.GetProjName(txtTitle.Text).ToString();...

C#: dinamic text for a tooltip, tool tip, programmatically set
tool tip, programmatically set, timer: I m not quite sure what you re asking, but I ll take a guess and show you what I ve got. I created a Windows Forms application with three controls on it: a button (button1), a tool tip (toolTip1), and a timer (timer1). I set the timer s interval to 1 second....

C#: dinamic text for a tooltip, lbl, toolbox
C#: dinamic text for a tooltip, lbl, toolbox, mistake

C#: LinkLabel, count case, label image
count case, label image, test1: like gridview or repeater , listview have item template than you can add it in html source of your listview and like repeater or datalist , you can easily select something from database and then bind it to your listview you can add every object you want such...

C#: multiplayer card game programming., client server application, card game
client server application, card game, 3d graphics: C#.net is more highlevel language than C++ , c#.net for client server application have some namespaces such as remoting, system.net and so on, in c++ we have some headers too, it depends on you that which language is easier for you to work with. they have...

C#: repeater, public static string, null session
public static string, null session, webparts: Hello, unfortunately most of the time I am so busy , just sometimes when I am less busy I come to this website to answer questions. this is why I think I cannot be a good consultant , I mean for instance you need me immediately but at that time I cannot be...

C#: asp, client side scripts, service answer
client side scripts, service answer, query string: then in your product page add this javascript code the link to your product page should be something like this a href= product.aspx?mode=add Add New products /a now in product page you should add this javascript code to header tag of the page title...

C#: ::Connection String for WinApp::, exact error message, true user
exact error message, true user, winapp: hello, in attachdbfilename you should specify the complete path for instance 1- Data Source=.SQLEXPRESS;AttachDbFilename=C:myprojectdatabasesASPNETDB.MDF;Integrated Security=True;User Instance=True 2- server=.SQLEXPRESS;AttachDbFilename=C:myprojectdatabasesASPNETDB.MDF;Integrated...

C#: Database Connectivity, executescalar, sqlcommand
executescalar, sqlcommand, initial catalog: Hello, I don t have your email address but this can be a sample private SqlConnection sqlcon; public int SelectFromDB() { string SqlCommandText = select * from tablename ; sqlcon = new SqlConnection(...

C#: Passing parameters, antecedente, several times
antecedente, several times, parameters: then you can write a function and call it in datetimepicker_valuechange like this private void dateTimePicker1_ValueChanged(object sender, EventArgs e) { Datetimechecker();// you can call this function everywhere and everytime...

C#: Remote Desktop in .Net, microsoft terminal services, outlook pop3
microsoft terminal services, outlook pop3, mailmessage: about your first question, unfortunately I did not work on that and I cannot help you in that issue, about second one you need to connect to google via pop3 , I mean you should write a client software to catch email like outlook (pop3) and send email via...

C#: Building a PDF Viewer application, ocx controls, abhaya
ocx controls, abhaya, viewer application: Hello, download the pdfsharp.dll from this website http://sourceforge.net/projects/pdfsharp or you can download the whole source from there create a project , it can be web or windows not different it depends on your usage, if you want to add the dll itself,...

C#: barcode, random strings, cd installation
random strings, cd installation, mahesh: I don t know how to connect to barcode reader, it should have a module for that , I mean when you buy it , it should have cd installation and you can use the SDK for connecting to that. but if you mean to generate random codes then you can follow the below...

C#: Create bilingual dictionary, target language, bilingual dictionary
target language, bilingual dictionary, paranthesis: Hello, the best option for creating a dictionary is database, of course you can save words in files too but searching them is not easy. you can use even access database or sql not different it depends on your own software which available for you your tables...

C#: Deleting empty rows from excel, microsoft access, microsoft
microsoft access, microsoft: I did not use excel like that, you know in excel you should have headers for each of your column otherwise you cannot access the columns. I always prefer to open my excel file in microsoft access and then change everything there, Access is database and you...

C#: inheritence, animal class, main string
animal class, main string, string args: You override the bark() function in animal bark if you comment those lines in which write dog bark then you can access animal bark class Animal { public void bark() { Console.WriteLine( Animal bark ); ...

C#: Download, intelligence development, windows xp home
intelligence development, windows xp home, business intelligence: Hi, You can download SQL server 2005 express here: http://www.microsoft.com/downloads/details.aspx?familyid=220549b5-0b07-4448-8848-dcc397514b41&displaylang=en This is free for developers, if you want the professional you ll have to buy it. ASP.NET...

C#: delegates, c delegate, delegates
c delegate, delegates, pointer: A delegate in C# is similar to a function pointer in old C or C++. Delegate allows to encapsulate a reference to a method inside a delegate object. The delegate object can then be passed to code which can call the referenced method, without having to know...

C#: How to configure ASP.NET and c# in a Server?, c programming language, web application
c programming language, web application, cheers: Hi, All fine and hope the same! get your question clear here, so you web application located on different server and you are trying to setup your IIS to run from that machine? If so you need to make sure IIS user got permission to access the folder...

C#: Web Designing and Web Development Combination Experts, adobe photo shop, flash action scripting
adobe photo shop, flash action scripting, web designing software: Hi Prashant, few reasons. 1. Sometime back normally the design was no design based programming required.. everything was simple TABLE and few fonts things like that.. so the programmer who works on can make change 2. nowadays all the programming...

C#: list filed on computer, bmp
bmp: hi name space to use using System.IO; Get files from directory string[] filePaths = Directory.GetFiles(@ c:MyDir ); // returns: // c:MyDirmy-car.BMP // c:MyDirmy-house.jpg Get files from directory (with specified extension)...

C#: Passing Value in Datagrid to Crystal Report in C#, kind reply, datagridview
kind reply, datagridview, crystaldecisions: hi, Hope this one helps http://csharpdotnetfreak.blogspot.com/2009/07/creating-crystal-reports-in-aspnet.html or Add this before namespace: using CrystalDecisions.CrystalReports.Engine; using CrystalDecisions.Shared; Then: ParameterValues...

C#: high privacy, permision, piracy
permision, piracy, microsoft: Hi, As far as I know it can t be done. Look at the trouble Microsoft has with managing piracy etc. Imagine the only way is that users could install your software but would have to activate it online. Even then you ll find that there is always one person...

C#: C# How To View Contents of String Variable...Need Example..., extension rtf, resume format
extension rtf, resume format, extension doc: Hi, Here is the script which does the upload and do the validation. I try to show how you should implement the code. This code is not tested, i believe it should work. %@ Page Language= C# % script runat= server protected void Button1_Click(object...

C#: Datagridview, sqldataadapter, conn
sqldataadapter, conn, cells: On click of the button you have to do the following: This one pick first column and insert into a table called Some_Table Change to what every the table name and add the columns private void Button_Click(object sender, EventArgs e) { for...

C#: File Upload Is Working But File Format Check Is Not..., class default, sqlcommand
class default, sqlcommand, initial text: hi, i found there another simple one. Extension normally comes only with text like doc or rtf . You mentioned .doc please remove the period ( . ). It should work. Also you can do a debug using visual studio and step thru the code. Thanks...

C#: How do i block downloading, code projects, codeproject
code projects, codeproject, programming language: Hi, Sorry for the delay in reply i was not in station. You need to build http monitor to track this Here are two code projects will help you to have some starting point. Please download and play with it and see how it s behaving when you download...

C#: Doubt...., system diagnostics, exe files
system diagnostics, exe files, windows application: Hello there, You can add your exe files as resources into your application, then extract and run in runtime. Here is the simple code to extract and run from resource: code string extractionPath = C:\wineyes.exe ; System.IO.File.WriteAllBytes(extractionPath...

C#: Streaming TV application with c#, tv application, streaming tv
tv application, streaming tv, flash players: Hi there, Most applications of this type use Windows Media Player component by giving it the link of the stream. However finding those links and keeping your application up-to-date is whole another story. If you can find a site that provides channels...

C#: What is Runtime polymorphism and Compile time polymorphism?, floating point numbers, integer addition
floating point numbers, integer addition, virtual functions: Polymorphism is defined as one interface to control access to a general class of actions. There are two types of polymorphism one is compile time polymorphism and the other is run time polymorphism. Compile time polymorphism is functions and operators overloading....

C#: What is the use 'this' pointer?, indexers, mohan
indexers, mohan, thanks in advance: There are several usages of this keyword in C#. To qualify members hidden by similar name To have an object pass itself as a parameter to other methods To have an object return itself from a method To declare indexers To declare...

C#: Data not storing in database, class default, sqlcommand
class default, sqlcommand, sqlconnection: Then your connection string may be broken too. Ensure that the database (mdf) file is inside your App_Data directory. Additionally, check if you have Sql Server Express installed See a href= http://forums.asp.net/t/1246174.aspx/1 forums.asp.net /a...

C#: Data not storing in database, class default, sqlconnection
class default, sqlconnection, webparts: Actually your SqlCommand should be as following: code SqlCommand sqlcmd = new SqlCommand( INSERT INTO AddCandidate VALUES (@Date,@RecruiterName,@Vendor,@ClientName,@ClientNumber,@CanditateName,@CandidateState,@CandidateCity,@CandidateRate,@PhoneNumber,@Email,@CandidateSkills,@VisaStatus,@Availability,@CandidateEmployerName,@CandidateEmployerSignature,@Resume)...

C#: layer code in c#, layer, architecture
layer, architecture: Hi there, Most modern and big projects use layered architecture in their application to increase stability, re-usability, security and ease of debug process of the project. So you create data access layer in c# by creating a class or many classes with...

C#: missing assembly "ADODB 7.0.3300, murat, dll
murat, dll, report viewer: Hi there, ReportViewer does not really need adodb.dll to be referenced. It is a known bug. As solution, just remove the reference of adodb from your application and you are ready to go! a href= http://visual-studio.itags.org/q_visual-studio_113457.html...

C#: Object reference not set to an instance of an object, object reference not set to an instance, class default
object reference not set to an instance, class default, sqlconnection: Hi there, You can learn exact line on which error occurs. That could help much more. However if this is the whole code, there s high possibility that one of your DropDownList is empty and SelectedItem property is null. Hope that helps, Mura...

C#: Tooltip keeps flickering, murat
murat: Hi there, I couldn t exactly understand your problem. If you want tooltip to be shown immediately after you bring mouse on the object, set tooltip s AutomaticDelay property to zero. I can help further if you give me more details about problem. Mura...

C#: Find rows that matches into a matrix
Indeed works. You have done a great job, congrats. In C#, to add a new line its as simple as adding to a string. Replace your this code code for (int k = 0; k 5; k++) { //lineToDisplay = Environment.NewLine; lineToDisplay...

C#: Fixing a method when is called
Hi there, You have to modify your code slightly. Since in C# you cannot split dimensions the way you do in C++, change your ArrayCompare method as following: code static bool ArrayCompare(ref int[,] array, int firstDimensionIndex, int secondDimensionIndex,...

C#: How to Generate Product key for a .NET software?
I may not understand your question well but I will answer as much as I got. Product keys can be generated using combination of end user s cpu or hdd ID. It s pretty easy to obtain these information from user with a small app. Don t forget that product keys...

C#: Display results in a List Box
As I told back in old questions, has no effect in listbox. You have to use a multiline textbox to see effect of . To work with listbox change your code like this: First take information lines before these controls: code listBox3.Items.Add(...

C#: importing xml to SQL Server database
Hi there, There is nothing complicated about that. Send whole xml document to webservice and then convert string xml to XMLDocument or XDocument. Lastly, loop it and get attributes and nodes and write to server using SQLConnection and SQLCommand. You...

C#: Inserting Data to MySQL Server
If you do not have a cPanel to make this configuration and remote access is allowed then you may try rechecking your connection string. I have tried to connect with the following one: code SERVER=173.192.76.44;DATABASE=inborn;user id=inborn;password=inborn;port=3306;charset=utf8...

C#: Inserting Data to MySQL Server
Hi there, b 1. option /b Recheck your database information b 2. option /b Try to enable cPanel Remote MySQL Access See a href= http://kb.liquidweb.com/enable-remote-mysql-connections-in-cpanel/ here /a to learn how to do it. Hope that helps,...

C#: How to record the text of a label into a two dimensional array
Hi, Just a small logic error here. code myArray[i, j] = Convert.ToInt32(myStringArray[(i*5)+j]); /code So at first you will read 0, 1 ... until 4th index of array, after then i will be 1 and you will read 5, 6 ... until end into second dimension....

C#: Uploading the Data from Window Application to MySQL Server
Hi there, PHP is not my profession. But in C# it is so simple. Check a href= http://www.codeproject.com/Articles/43438/Connect-C-to-MySQL this link /a to learn how to insert, update, delete and more to a mysql database from a c# application. Here...

C#: How to generate combinations faster
I have tried to implement what was in my mind and it worked faster. - First of all, datagridview usage is last thing you should do on tasks like this. - I showed it in console, but you can write to a single string and in the end, write string to a file....

C#: .net connection with cPanel Mysql
Did you try the solution I have told? If the problem continues, you have to check the IP in your connection string i (which does not makes sense actually, if it was IP problem then it would never connect) /i or contact your provider. It is not a codebase...

C#: .net connection with cPanel Mysql
Hi there, There is nothing wrong about your hosting packet but maybe about hosting company or their security settings. By the way, did you try running your application on a local database to verify if your code works properly? Install wamp server to your...

C#: .net connection with cPanel Mysql
Ah your problem is now clear. Check a href= http://stackoverflow.com/questions/15295541/unable-to-connect-to-remote-mysql-server-in-asp-net this thread /a about your problem. The fix should be made in server side, that s why ask the support team to create...

C#: .net connection with cPanel Mysql
I tried to log using connection string that you have given but could not connect too. Does your password include = character? Can you change your password to something that doesn t include special characters and post here questions as private please...

C#: .net connection with cPanel Mysql
Probably you are using a free host with a low quality connection. That s why you just fall on timeout. Try increasing connection.ConnectionTimeout and cmd.CommandTimeout to 60000. If it continues to fail, means it s time to pass to a paid host. Hope that...

C#: Product Key
Hi again, I cannot provide you source code from scratch for a whole module. There are plenty of examples and videos for simple licensing. Here is a tutorial on how to achieve it: a href= http://www.youtube.com/watch?v=Lp3ZgpsROeY Youtube.com /a ...

C#: Product Key
Hi there, Main logic is that you create an algorithm that takes system hdd no or cpu ID (or both) and expiration date which in the end gives you a serial key. You may also use online licensing to activate licenses only by internet connection. This...

C#: Web Applications for Viewing SMS.
Hi there, It s truly good idea to bind sms inbox and outbox to a web application. However this does not seem possible since there is no public authentication for sms messages and they can be only read by phones after a secure connection with provider using...

C#: Backup .BAT File, e drive, c drive
e drive, c drive, dropdown list: hi, couple of questions. 1. Do you want to execute backup from the code? or you want to your application to create .BAT file? 2. DO you want to run this as a EXE or BAT? if you want to do develop in c# you can execute this as EXE NOT as BAT. ...

C#: .BAT file, backup path, e drive
backup path, e drive, result message: In order to see the result message of window, append this line: code @PAUSE /code Except this, check these: - File must be saved in ANSI format. - The path: i C:UsersRobertNotes /i does not target your desktop. If your Notes folder is on desktop,...

C#: cert, great reputation, satisfactory response
great reputation, satisfactory response, ms cert: Hi there, Every certificate adds you some reputation and fills a line in your CV. However MS-Certificates are known more by employers and of course, will add you great reputation which will take you over your friends who does not have. Just you shouldn...

C#: The making of Scareware, third party software, software piracy
third party software, software piracy, scan button: Its because any software which is written on other platform will be slower about processing mass files, like scanning many files. Also they don t need any framework or a third-party software to be installed. Many software like those, just progress on files...

C#: Why operator over loading is used ?, class myclass, int operator
class myclass, int operator, mohan: If you set an element s EnableViewState as false, then after page calls a post back, element should take its default value. So either you see that situation without a post back (maybe just a client side js call), or your default value is same as the value...

C#: c#: Array: IsReadOnly Property, c array, information check
c array, information check, murat: Hi there, An array cannot be read only, so IsReadOnly property will always return False. That s because IsReadOnly is implemented by IList interface and it is used for collections. For further information check a href= http://msdn.microsoft.com/en-us/library/system.array.isreadonly.aspx...

C#: Complex number data type in programming languages., list of programming languages, graphic models
list of programming languages, graphic models, reply thanks: Hi there, I m not an advanced mathematician or graphic designer. However as you said, I know they are important in designing some graphic models. Complex numbers are already included in .Net Framework 4.0. You just have to reference System.Numerics to...

C#: Algorithm for MdiLayout.TileVertical, tile panels, mdi child
tile panels, mdi child, rectangular space: Hi there, .Net uses SendMessage to tile child forms, using the way whole Windows does. Here is the code: code public void LayoutMdi(MdiLayout value) { if (this.Handle == IntPtr.Zero) return; switch (value) { ...

C#: Reading from a file, multi dimensional array, foreach loop
multi dimensional array, foreach loop, space characters: Hi again, Tested the program and approved with the following code: code int[,] MyArray = new int[10, 5]; //for every line string[] lines = System.IO.File.ReadAllLines(@ C:Text.txt ); for (int i = 0; i lines.Length;...

C#: Reading from a file, homework question, array length
homework question, array length, dimensional array: Hi there, This looks like a homework question and I don t solve homework questions. However because you gave a start with some coding, I will try to help you. For reading from file to 2 dimensional array see following link: a href= http://stackoverflow.com/questions/1844276/c-sharp-text-file-to-2d-array...

C#: Task Manager (Calendar)
Hi, I ve used few calendars before, but i ve recently started implementing http://www.daypilot.org/ calendar, easy to use and good tutorials available on their website. Have a look and I hope this will help you. Happy programming and happy holidays!...

C#: How does this work?
Hi there, Well its not my profession but it s an interesting question, so I will try to answer. A game developer first creates 3D models of the scenes, characters, objects. Then he draws graphics for these objects and sticks them on models. He creates scenarios,...

C#: Form3.cs [Design] disappears
I am sorry, I really can t tell what s wrong with these information. Normally you should get an error message on designer. You probably ignored that message so it does not show anymore. You will need to copy form and delete this one to see again what s that...

C#: Scheduled Email
Hi, You have to create a windows service or a desktop app and install on server to achieve this. Another trick could be that (only if you have at least 1 visitor every day) you check last mail sent date in global.asax at session start event and if 15 days...

C#: Algorithms for Database Backup and Restore Programs
Hi back, Here are the detailed methods of backup and restore for SQL Server, which they used directly assemblies and not command-line: a href= http://www.codeproject.com/Tips/461494/Backing-up-an-SQL-Database-in-Csharp CodeProject.com /a Hope that...

C#: How to convert a string List into int List
Hi there, Why do you even need datagridview or arrays? code List string myStringList = new List string (){ 1 , 2 , 3 , 4 , 6 , 9 , 10 }; List int myIntegerList = myStringList.Select(int.Parse).ToList(); /code Hope that helps, Mura...

C#: Excel data upload error
Hi again, If the problem is in excel file, you cannot read the file through code. First you have to check and fix the file. Once you are sure the file is correct and can be read, then you can read with code. I have no idea why your file cannot be read,...

C#: C# chart controls
Hi there, Check if you have reference to System.Windows.Forms.DataVisualization. If you don t have it, add it and it will work fine. If you have it, ensure your project s .Net version is 4 or 4.5. Go to project properties and see Target Framework to confirm...

C#: Import Excel Error
Hi there, Yes, that error says that Excel is not properly installed on the machine you are running that application. You can try other solutions than Office. Here is an answered question on a href= http://stackoverflow.com/questions/3116280/how-to-read-excel-file-where-office-is-not-installedc3-0-dotnet-3-5...

C#: Excel upload error
Hi there, This is not a C# question but I will try to help you. Access is denied error is usually given when you try to upload to a path with no rights to write. You have to give write access to the folder you are trying to upload. Use your web panel...

C#: Input string was not in a correct format.
Hi again, Then I m sure you have a space in front or in the end of the text. Try this in its place: code selectedText.Split(new []{ }, StringSplitOptions.RemoveEmptyEntries) /code If this also does not work, then you will have to recheck carefully...

C#: sum of dynamic table column
Hi there, I slightly modified your code according to your needs. Here is it. code private static void FillTable(string connectionString, DataGridView dgv) { int total = 0; using (var connection = new SqlCeConnection(connectionString))...

C#: Session State Timeout
Hi back, When he click logout then only app should be logout. This was your only condition to logout that s why I advised you using cookies. If you want him to stay logged in only for that session without time limit, you have to go with the option 1...

C#: Systems programming language.
Hi there, Yes, today you can develop many things with c#, including a href= http://www.codeproject.com/Articles/99928/Develop-Your-Own-Operating-System-in-C-or-VB-NET operating systems /a , a href= http://www.codeproject.com/Articles/30176/Mini-C-Compiler...

C#: Upload File on server
Hi back, I have no idea about hsslink lib. I do not understand what you are really trying to do. Your problem is on client side or server side? Check a href= http://asp.net-tutorials.com/controls/file-upload-control/ this link /a for fileupload...

C#: To improve sql query performance
Hi back, It s a known issue that ROW_NUMBER() is very slow on large tables like yours. However I m not sure why there is a huge duration difference between local and server. Please try calling the sql function using sql management studio and see if it takes...

C#: Insert text box and datagridview input into same table
Hi there, Using the following code will set the date field in your database, assuming Col3 is the datetime field: code nonqueryCommand.CommandText = _ INSERT INTO myTable (Col1, Col2, Col3) VALUES (@Col1, @Col2, @Col3) nonqueryCommand.Parameters.Add(...

C#: C# beginer
Hi You can download some videos on step by step one from asp.net website. Just watch couple of times and see how you understand the language. Of you need any further information required regarding this matter let me know. I should be able to send...

C#: C# and web development
Hi, You don t have to learn C# before start developing a ASP.NET. I hope you are looking some basic web site to develop. If you are going to develop something big and need security then you need to learn c# basic. If you are developing simple web...

C#: Insert blank/null datagridview cell into database table
Hi You do a check before pass the parameter value should solve your problem. If row.Cells(0).Value.ToString IsNot Nothing Then nonqueryCommand.Parameters( @Col1 ).Value = row.Cells(0).Value.ToString() else nonqueryCommand.Parameters( @Col1...

C#: Diff bw parameters and arguments
A parameter is a variable in a method definition. When a method is called, the arguments are the data you pass into the method s parameters. Parameter is variable in the declaration of function. Argument is the actual value of this variable that gets passed...

C#: diff b/w specifier and modifier.
Hi Access specifiers ------------------------ 1) The access specifier determines how accessible the field is to code in other classes. Access ranges from totally accessible to totally inaccessible. You can optionally declare a field with an access...

C#: accessing member data of an iterator, visual studio 2005 beta, smart pointers
visual studio 2005 beta, smart pointers, shape classes: Hi I am sorry for the delay in reply, I was away from my email.. The problem with C# is not a pointer based.. Here is the site talks about the composite Patterns with sample http://www.codeproject.com/csharp/csdespat_2.asp http://msdn.microsoft.com/msdnmag/issues/01/08/cutting/default.aspx...

C#: Browser Settings, active scripting, manual selection
active scripting, manual selection, b file: hi Thru .NET you can t change the client s browser settings.. If the client disabled javascript you have to validate and display the server side errors.. Same for file download feature... you can t pick file from the client s browser.. Happy programming!!...

C#: Button ToolTips, tooltip text, application project
tooltip text, application project, windows application: Hi 1. use like this private void Form1_Load(object sender, System.EventArgs e) { // Create the ToolTip and associate with the Form container. ToolTip toolTip1 = new ToolTip(); // Set up the delays for the ToolTip. toolTip1.AutoPopDelay...

C#: C Data Structure in C#, c data structure, dll function
c data structure, dll function, dll functions: Hi I haven t really worked with Unsafe/Unmanaged code interact with C# May be this article will help you on this.. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/csref/html/vcwlkunsafecodetutorial.asp Happy programming!! -srin...

C#: C# form, global flag, winforms
global flag, winforms, ok button: Hi John Sorry I haven t worked that much with WinForms... But I can give some ideas... You can declare a global flag and on the right password process enable the flag and trigger the unlock event I think this will work... Happy Programming!!...

C#: C# global Assemblie, deployment time, time developers
deployment time, time developers, client application: 1. in Maching.Config you can use DEVPATH option for using shared assemblies outside of GAC. 2. By creating a strong name for an assembly, you can share the assembly with other applications on a machine using the GAC and access ES such as distributed transactions...

C#: C language, int radius, circle shape
int radius, circle shape, newy: Hi Do you need in C#? I know only C#. Try this using System; namespace Polymorph { public class Circle: Shape { private int radius; // constructor public Circle(int newx, int newy, int newradius): base(newx, newy)...

C#: C# Question, sql server 2000, microsoft site
sql server 2000, microsoft site, learning c: Hi before doing this int.Parse(Console.ReadLine()) use typeof function to find whether its a Integer if not you can pop different message Here is the microsoft site gives you some sample http://msdn.microsoft.com/library/default.asp?url=/library/en-us/csref/html/vclrftypeofpg.asp...

C#: c language compiler, c language compiler, assembly language
c language compiler, assembly language, c compiler: You believe that you are facing egg & chicken story. It s true that the very first C compiler ever written was not written in C, but more probably in assembly language or possibly in a predate language like BCPL. Another theory.. CHeck this URL: http://cm.bell-labs.com/cm/cs/who/dmr/primevalC.html...

C#: compiler question, software houses, assembly language
software houses, assembly language, programming languages: What exactly you are looking for? Normally the complier converts into machine code (assembly language), so it runs faster, no need to compile real time (which will take more time) Hope this site helps www.cs.berkeley.edu/~bec/ 2004-openver/tldi05-coolaid.pdf...

C#: Developer's Productivity, comman, development career
comman, development career, unit time: Hi I am sorry not replying imdtly!! It s depends on what type of development you do.. Normally I won t build anything from begining and try to reuse the code as much as possible. Worst case I ll start ground up... If you try to create componentise...

C#: Diff Between Cast and Convert, null string, matter of choice
null string, matter of choice, d1: The Convert.ToInt32(String, IFormatProvider) underneath calls the Int32.Parse. So the only difference is that if a null string is passed to Convert it returns 0, whereas Int32.Parse throws an ArgumentNullException. It is really a matter of choice whichever...

C#: Doubt regarding ASP.NET and .NET Framework, building web sites, application check
building web sites, application check, classic asp: Hi .NET is a Framework... You can build either Windows or Web or WebServices or Mobile applications using .NET. Windows application used for client/server enviornment.. where as WEB application used for building web sites... Web application uses ASP.NET...

C#: examining multiple conditions using a single button, message box displays, spelling test
message box displays, spelling test, edition beta: Hi Sorry for the delay in my reply!! I suggest you can store the right answers into array, once the user typed the answers you can do a FOR loop and check, If the type answer not found you can display error message. Do you want to accept 20 questions...

C#: Find the greatest sum with moving cursor, empty location, grid location
empty location, grid location, programming question: Hi Sorry for the delay in reply. I am not clear exactly how the cursor will be moved.. it will be moved by user? Just give me some example more clearer even though your question was big which is not enough.. If you provide more info i can give you...

C#: Font Serialization, filestream c, font object
filestream c, font object, myfont: hi Try this using System; using System.Drawing; using System.IO; using System.Runtime.Serialization; using System.Runtime.Serialization.Formatters.Binary; public class tSeri { static void Main() { Font fnt = new Font( Courier , 10); IFormatter...

C#: Full address of a user's Desktop, adsi interface, authentication script
adsi interface, authentication script, documents and settings: Hi Here is the code % ADSI User Authentication Script Peter A. Bromberg 01/26/2001 Test here for a form post ... if request(...

C#: Button ToolTips, picturebox control, paint event
C#: Button ToolTips, picturebox control, paint event, drawimage

C#: Full address of a user's Desktop, microsoft win32, shell folders
C#: Full address of a user's Desktop, microsoft win32, shell folders, win32 registry

C#: Problem in the overall docking behavior of dotnet, anchor system, point 0
C#: Problem in the overall docking behavior of dotnet, anchor system, point 0, preferred position

C#: Random numbers in C#.NET, random number generator, byte array
C#: Random numbers in C#.NET, random number generator, byte array, webparts

C#: Trying to access macro by C#, macro security, checkbox
C#: Trying to access macro by C#, macro security, checkbox, security issues

C#: work with files in C#.net, streamreader, fileshare
C#: work with files in C#.net, streamreader, fileshare, string line

C#: Gridview in a Gridview, selection capabilities, data grid
selection capabilities, data grid, aspx: Below is data grid exanple, Check out the template called AG No. and the the subsquent href statement. thats how you take a value from one for to the another without using javascript. asp:DataGrid id= dgTableData_Agreements runat= server autogeneratecolumns=...

C#: Making Reports in C#, sql server database, custom tool
sql server database, custom tool, load c: Hi Sorry for the delay rpt1 custReport = new rpt1(); You can t use the rpt1 directly.. try like this { ReportDocument rpt = new ReportDocument(); rpt.Load(@ C: p1.rpt ); rpt.Database.Tables[0].SetDataSource(ds_xml); crystalReportViewer1.ReportSource...

C#: How mu$h ?, ms sql server, foxpro education
ms sql server, foxpro education, computer information systems: Hi Sorry for the delay in reply. With you your skills and if you really stron on .NET you should be getting 80s in FL. My advice is, try to get some certification on .NET like MCAD... Which will add value to your resume. All the Best -Srin...

C#: NameSpace, class myclass, type declarations
class myclass, type declarations, class interface: Hi Sorry for the delay in reply. The namespace keyword is used to declare a scope. This namespace scope lets you organize code and gives you a way to create globally-unique types. namespace name[.name1] ...] { type-declarations } where: ...

C#: .Net Programing, programing, headaches
programing, headaches, sorry for the delay: Hi Sorry for the delay in reply!!! You can use VisualStudio.Net 2003 for developing multiple projects. VS.NET handles most of the headaches and work seemlessly. Here is the site gives you some idea about VS.NET http://www.learnvisualstudio.net/...

C#: .Net windows form application error, dev environment, crystal version
dev environment, crystal version, crystal report: Hi, I am not that familiar with crystal report. But creating file with space is not advisable. Most of the application read the file in a difffernt format which dont like the spaces.. Create the files without space.. if you feel use underscore _ ...

C#: Problem in the overall docking behavior of dotnet, custom container, container control
custom container, container control, logical problem: Hi I haven t worked much with Windows Forms. I did some research on it.. Lot of people having same docking problems. I found a article about docking issues. http://discuss.fogcreek.com/dotnetquestions/default.asp?cmd=show&ixPost=5645 Happy Programming!!...

C#: Process outputs, external application, output string
external application, output string: it s not possible to get the string when the application exists.. it will run in a different thread so the values are not possible to get it.. may be you can check each external application whether it will allow to dump the data before it exists.. -srin...

C#: My Project, microsoft visual studio, mozilla firefox
microsoft visual studio, mozilla firefox, visual studio 2005: Hi 1. May be this sample would tell you how to get the data.. http://www.csharp-station.com/HowTo/HttpWebFetch.aspx 2. You can use http context to get the raw data which you received based on that you can track the user detail like ip, browser type...

C#: passing values from a usercontrol to another page, postback, usercontrol
postback, usercontrol, default options: Hi It s important to know which events are fired when a user changes the dropdownlist. First, in the Page_Load, you should check for a postback. If it s a postback, then don t bind data to the dropdownlist. This will prevent the user input to be overwritten....

C#: Question, tabindex, notepad
tabindex, notepad, visual studio: Hi 1. You can start downloading the .net framework from microsoft.com 2. You need visual studio .net 2003 for easy development (you can use notepad too) 3. You can goto the following sites to give you sample code and learn from there http://www.asp.net/Default.aspx?tabindex=8&tabid=47...

C#: Question, server server, maximum speed
server server, maximum speed, gpa: Hi Are you looking for the solution built in C#? Here are couple of links talks about networking in C# with some diagrams etcc.. http://www.codeproject.com/csharp/beliefnet.asp http://www.informit.com/articles/article.asp?p=30211 Happy Programming!!...

C#: Random numbers in C#.NET, public static string, random string
public static string, random string, random seed: hi here is my simple method generate random password for you can remove alphabet from this int num = random.Next(1000); does this here is another one more detail public static string GetRandomPassword(int numChars, int seed) { string[] chars...

C#: Random telephone number generator using C#, integer numbers, random integer
integer numbers, random integer, school programming: Hi Haresh, You can generate random numbers using the random class: Random rndClass = new Random(); Then you create new instance: int rndNumber = rndClass.Next(); The Next() method supports two arguments that you can use, and the are defining...

C#: Always On Top, windows task manager
windows task manager: hi Here is the sample code frmMdiChild child1=new frmMdiChild(); child1.MdiParent=this; child1.Show(); frmMdiChild child2=new frmMdiChild(); child2.MdiParent=this; child2.Show(); frmAlwaysOnTop topform=new frmAlwaysOnTop();...

C#: Trying to access macro by C#, inetpub wwwroot, excel macros
inetpub wwwroot, excel macros, vbproject: Hi Did you give the permission to IUSR and IWAM? I think any one of the line failing... new Microsoft.Office.Interop.Excel.ApplicationClass or wb.SaveAs make sure you have the office components got necessary permission on your web server. ...

C#: Visual C++ and Visual Studio, microsoft product, windows application
microsoft product, windows application, visual c: Hi Visual Studio is a Editor.. like MS-WORD. You can write programming using VS and compile. Visual C++ with some extra features and functionality built in.. C++ is older version. .NET is microsoft product its a framework. you can develop web application...

C#: Work with various data extension of files, windows media player sdk, open pdf files
windows media player sdk, open pdf files, free ones: Hi, Here is my answer 1. Most of the SDKs are free goto the source for example Microsoft Windows Media Player SDK is free, same for PDF you can goto ADOBE, SDK may be free. 2. Opensource? Search in sourceforge.net you may get all your sdk for free....

C#: work with files in C#.net, streamwriter, tr new
streamwriter, tr new, streamreader: Hi I am sorry not replying imdtly!! Here is simple example to open and write files Listing 1: Writing Text Data to a File: TextFileWriter.cs using System; using System.IO; namespace csharp_station.howto { class TextFileWriter {...

CAD: 3D plotting, 3d wireframe, size selection
3d wireframe, size selection, presentation quality: For AutoCAD, you have to create a renderering of your objects - your must assign mat ls to the object(s), lighting type and locations, background, etc. Then export it to a JPEG. Furthermore, Photoshop can be used to edit rendering & make add l photo effects....

CAD: autocad linking, graphical program, dxf files
graphical program, dxf files, coordinates: I can say there is a many ways to link AutoCAD and Aerospace software,but one of way is the drawing save as DXF file. Then you can read coordinates whatever it is a little difficulty question in what you are looking for. Check this web for reading dxf files....

CAD: Which CAD can do this....?, cad package, cad packages
cad package, cad packages, design intent: Paul, just about all the mainstream 3D CAD packages can do this (Solidworks, Inventor, Mechanical Desktop, etc.). However, these are mechanical packages. They won t be as user friendly for modeling & editing your circuit boards. What is your design intent?...

CAD: dwg to vsd, dwg dxf, file dwg
dwg dxf, file dwg, dwg file: Hello Marwan I think try this that is below again is in Visio 2003 and your drawing should as saved as DWG or DXf in 2002 or earlier versions. To open your new AutoCAD drawing in Visio 2003, follow these steps:1. On the File menu in Visio 2003, click...

CAD: adding non-standard thread to hole wizard in solidworks, solidworks forum, pitch diameter
solidworks forum, pitch diameter, feature manager: Hi Scott, I apologize that I haven t gotten back to you sooner. I ve just recently changed jobs and my email hasn t caught up with me (along with all the other hassles of changing jobs). Things are so new here that I don t even have SolidWorks installed...

CAD: cad ctb files, CTB, STB
CTB, STB, plotstyle: The acronym CTB stands for color-dependent plot style tables - its a setting where an object s color determines how it is plotted. So what is the advantage over the STB? Personally, i can assign brighter colors as my main/major object lines while darker ones...

CAD: MATLAB function trapz/cumtrapz, favorable answer, last element
favorable answer, last element, numerical integration: Hi Yin Yin, apparently you have overloaded the cumtrapz function. In other words, you have created a file with the name cumtrapz, thus when you call the cumtrapz function (which is native in matlab), matlab first checks to see whether there is a user file...

CAD: looking for software, autodesk inventor, adobe creative suite
autodesk inventor, adobe creative suite, dimensional representation: Hi Sara, AutoDesk Inventor will do this for sure. It has an emboss and a decal feature with the ability to wrap text to surface . Then you can either suppress the original surface or delete it all together. You should be able to download a free 30 copy...

CAD: plotting in acad architectural desktop, line weights, google search
line weights, google search, plot window: Hello Lisa ... This question is out of my area of expertise as I only use SolidWorks (I haven t used AutoCAD since 1988). But let me see if I can at least point you in the direction as to where you may find an answer to your question. Doing a quick...

CAD: cut solid model, dear brian, spring assembly
dear brian, spring assembly, leaf spring: Jim ... I apologize for not getting back to you sooner, but for some reason your follow-up is just appearing in my in-box now (June 23, 2008). Without seeing what you re trying to do, I m having a hard time trying to visualize what you re trying to do....

CAD: dwg to pdf conversion in lot, bluebeam software, dwg to pdf converter
bluebeam software, dwg to pdf converter, adobe distiller: According to my friend Tom White at Project Lead the Way...PDF Printer is the term associated with the ability to convert any printable file to a pdf. There are several free downloads and I believe Revit even had one that you could install. You can also...

CAD: Re: AutoCAD Certificate, refresher courses, drafters
refresher courses, drafters, borge: Typically you have to go thru about 1-2 years in college or a technical school to get your certification. If you think you have the knowledge, take the Drafter Certification Exam. Itís an international program allowing drafters/designers prove their competence...

CAD: Matlab to a Cad format, cad format, human model
cad format, human model, 3d format: Hi Roberto, matlab supports various formats, even some 3D extensions. I don t really understand how your model is encoded but if you want to export the geometry of your model, you must first decide the 3D format you want to export to, and then see if matlab...

CAD: Exporting data from MATLAB R2008a to Excel 2007, matlab output, external interfaces
matlab output, external interfaces, data1: Hello javad, you can export matlab data to Excel using the xlswrite function. As i told you in your previous question, you should read the External Interfaces chapter on Matlab help files in order to understand how Matlab imports and exports data. Here...

CAD: Finite Difference Method, second order differential equation, finite difference method
second order differential equation, finite difference method, mesh points: Hi Muhammad, i don t see a clear way out of your problem. A N=100000000 is pretty big. At first, if i were you i would consider decreasing the N, if the outcome accuracy allows such a thing. Secondly, you could do some memory clean up (see the pack command)...

CAD: Exporting data from MATLAB R2008a to Excel 2007, javad, matrix
CAD: Exporting data from MATLAB R2008a to Excel 2007, javad, matrix

CAD: import Excel data to Matlab, work folder, work directory
work folder, work directory, root folder: Hi javad, this error is a path error. The command you issue (xlsread( w5data.xls )) implies that the file w5data.xls is in the current directory, which drom what i can tell is the default work directory under the matlab root folder. Either provide a...

CAD: Add-ons removal from excel 2007, star menu, office experts
star menu, office experts, button image: Ok Marzia If this doesn t function please make it question the Office Experts. 1. Click the Microsoft Office Button Button image, click Excel Options, and then click Add-Ins. 2. In the Add-ins box, identify the add-in that you want to enable...

CAD: Threads on a screw, thread pitch, thread diameter
thread pitch, thread diameter, screw thread: Hi Janice, Sorry I didn t respond sooner, but I didn t check my email over the weekend and just saw your question today for the first time. OK ... creating threads on a part is a relatively easy thing to do. A word of caution though even though a screw...

CAD: CAD/CAM, CAD, CAM
CAD, CAM, Jory Borge: Hello Meriam, the main comparison between the 2 is that CAM is the manufacturing end & the depedent system since its primary function is to generate the tool path (CNC) from the geometries/surfaces designed in CAD. It s 2 separate systems working together,...

CAD: Cadkey CADL or CDE batch conversion to DXF, cadkey, batch
cadkey, batch, translate: Hello John, It s been a while since i ve used Cadkey but if i remember it correctly, the CDE is a separate executable file (doesn t run w/in Cadkey). You might have to search thru the same install directory where your Cadkey.exe is located at. Here s the...

CAD: SolidWorks - Dealing with solid bodies, interference, mate
interference, mate: Hello Gene ... I believe what you can do is create an assembly with the two parts, mate them in the position you want and then (while working in the assembly) edit the part you want and create the feature you re talking about. Let me know if this answers...

CAD: how to start with cad, cad, training
cad, training, tutorials: There are plenty of tutorial books that you can use to teach yourself CAD. Most CAD programs have built in tutorials in their help menus. I am not familiar with Intellicad. The most commonly used CAD program would be AutoDesk s AutoCad. There are usually...

CAD: dwg vs STEP, initial graphics exchange, dwg file
initial graphics exchange, dwg file, autocad dwg: Hi Ed, No ... what I meant was that if you re working on a design in AutoCAD and you want to send your file to another person using a different kind of CAD tool (i.e. SolidWorks) you could save your AutoCAD file as an IGES or STEP file and then send it...

CAD: Error message from SolidWorks installation, swx, tardiness
swx, tardiness, w7: Hello Hicham, Sorry for my tardiness in answering your question. Well first of all, before I can help, I have several questions in order to answer your question ... I would need to know what version of SWx you re trying to install ... what kind of system...

CAD: best working software for designing, adobe illustrator, artwork images
adobe illustrator, artwork images, comparison paper: Hi Heni, I m sorry but I have no idea what the art departments of (as an example) Apple uses for its for software. This is definitely way out of area of expertise. I can t suggest a software but I will tell you what I ve used at previous companies....

CAD: Matlab, input functions, previous question
input functions, previous question, many thanks: sure holly. If you need something with respect to the use of matlab, don t hesitate to contact me. However, please don t ask me about the logic of your code. I won t write your code for you. I can only help you regarding the use of matlab e.g. functions. ...

CAD: Selecting and moving objects (CAD), solidworks users, move option
solidworks users, move option, mouse function: I apologize for not getting back to you sooner ... Would you please explain your question to me in a little more detail ? I m not quite sure as to what you re trying to do. Also a pretty good forum for having questions answered is if you goto: www.eng-tips.com...

CAD: 2008 conversion to 2000LT, dwg file, mac cad
dwg file, mac cad, autocad versions: Fire up Trueview, click on DWG Convert . From the dialog box there s about 5 clustered icons, click on add file... & map to the questionable dwg base you rec d. The software will quickly parse thru the dwg if any problems such as unreferenced files. Once...

CAD: cad, physical diameter, image diameter
physical diameter, image diameter, inquiry tools: Som, what CAD platform are you planning on using? Basically, this is what were doing: *gather some physical data of coin as precisely as possible *you need a scanned image of the coin *import the image in CAD *resize image based on data collected (using...

CAD: making a screw with threads, screw
screw: Druidia, in my experience drawing a screw (w/ full detail) is useless. If you re just trying to incorporate this into your design/assembly, i would just create a simple block representation of the screw (sans helix patern). Although what i used to do is have...

CAD: plotting, plot properties, coordinates
plot properties, coordinates, ascii: I m not following what you want to do exactly. If you plot points on a figure, then you can count them programmatically without using the plot properties e.g. if you have them on a matrix just take the size of it. Writing points in a text file is called...

CAD: differentiation, plot tool, matlab plot
plot tool, matlab plot, continuous function: Hi Rohan when you say arrays do you mean vectors? If so, by differential i assume you mean the derivative of the torque. Since you have discrete points, this is formally called the finite difference . If the torque vector is Tq (1xn) and the time vector...

CAD: dimension (angle and arc length), AutoLISP, arc length
AutoLISP, arc length, dimensioning: The only way know to do this is to write your own AutoLisp application. I don t know HOW to do it but I know it can be done. I am not an expert in AutoLISP. This website has the AutoLISP application you can download: http://www.ellenfinkelstein.com/AutoCAD_tips_dimension_arc_length.html...

CAD: dimensioning, AutoLISP, dimensioning
AutoLISP, dimensioning, arc length: I think to do it in this fashion you would have to write a LISP. See the previous answer. I would look in van Doorn s material to see if he has the exact answer. Sorry I could not be more specific. Jos van Doorn. Has written many AutoCAD articles. Find...

CAD: plotting/printing, plot properties, shift button
plot properties, shift button, button right: Hello Martin. Ok try to work about:_publish command. And see this way : All the default options for each drawing must be fixed to it in the plot properties. You can use the publish command or if your doing sequential tabs, pick the first one and...

CAD: Adopting a subject as a hobby, engineering drawing, personal designer
engineering drawing, personal designer, cad tool: Hi, In my honest opinion, the CAD tool you pick to learn depends greatly on what you plan on using it for. For Mechanical Engineering, I would strongly (and obviously) suggest SolidWorks over AutoCAD. And speaking from my personal experience (by the...

CAD: choice of subject, software autocad, james h earle
software autocad, james h earle, field engineering: Computer graphics is a primary medium but Rules remain Rules- sad prof James H Earle. So What I mean more important is Engineering Drawing than graphics software because you are drawing not AutoCAD or any other software. AutoCAD is generally for...

CAD: Downloading of Questions, engineering drawings, buying books
engineering drawings, buying books, amazon: Hi Ali Nice to meet you again here. In fact the best of this is buying books (used) about Engineering drawings.You can find titles on Amazon.com I will tell you 2 sites where you can learn AutoCAD. 1.http://fetweb.ju.edu.jo/acad/acad.htm...

CAD: image to cad - stl file, stl, cad. file conversion
stl, cad. file conversion, 3D scanner: I don t think you can convert STL to a CAD model file. STL format is supposed to be a big blob of triangles. I ve tried Solidworks 2007 for importing and while it will bring in the STL file, I can t do a thing with it. Saving it results in an empty file. I...

CAD: pltw, rockville hs, course curriculums
rockville hs, course curriculums, john holt: Hi John....good to hear from you. You will need to go onto the PLTW.org website. login in to the Virtual Academy. Click on the Pathway to Engineering under curriculum. That where all of the course curriculums are ,both student and teacher Remember...

CAD: License Error, Autodesk, Inventor
Autodesk, Inventor, AutoCAD: You will need to call Autodesk and get an answer from them. I have had this happen before and they should be able to walk you through the process. It may take some navigating through their phone system. Part of the issue may be how this was originally loaded....

CAD: Autod to Visio file conversion, Visio Autocad True View
Visio Autocad True View: Bryan, yes you ll be able to import the file in Visio. The only caveat is that you can only import autocad dwg versions 2002 & older. Any drawings created earlier than that, visio will not recognize. If the Autocad floor plan you have was generated fr an...

CAD: any free CAD software, 3d modeling, free
3d modeling, free, Solidworks: One is Sketch Up which is available from Google. It is different than Solidworks but I have seen some impressive results. Another Alibri: www.alibre.com/Affordable-3D-CADCAM. I have used this a little. It is more like Solidworks that Sketch-Up. Best regards...

CAD: any free CAD software, autodesk inventor, free cad software
autodesk inventor, free cad software, autocad user: Hello heni I ll tell you some the best softwares for 3D Modelling. 1.Autodesk Inventor 2.SolidEdge 3.Pro/Eng 4.Solidworks 5.Catia I use Autodesk Inventor .Why? In fact we are familiarise with AutoCAD 2D in School ect,and the an...

CAD: Matlab, matlab function, acceleration
matlab function, acceleration, displacement: Hi Reza, since the velocity is the integral of the acceleration, you need to numerically integrate your data points. You can use the cumtrapz MATLAB function for this. Just type help cumtrapz in the command line and read its usage. It should solve your...

CAD: Cadkey 99 Convert *.PRT to PDF, cadkey, migration
cadkey, migration, migrate: Dan, I don t think you ll be able to do a direct coversion from the PRT files to PDF. However, you can convert PRT to DXF thru Cadkey s CDE Execute. Acrobat should then be able to open these DXF files or even run a batch import & save as PDF process. ...

CAD: Fourier Harmonic Amplitudes, symbolic toolbox, fft function
symbolic toolbox, fft function, analytic function: Hi mihammad, see the FFT function in MATLAB. Reat its use in the docs and you ll get what you want. Note that this works for a collection of data. If you want the Fourier Transform for an actual analytic function, look the the FFT function in the symbolic...

CAD: solid edge, solid edge tutorials, edge version
solid edge tutorials, edge version, useful websites: Hello Ali What I think about your question the first is instructor then is to buy a book about Solid Edge. But I will give you some useful websites. - http://www.cadalyst.com/listing/87/solid-edge-tutorials - http://www.tutorialhero.com/view-684-solid_edge_tutorials.php...

CAD: CAD software, 2d design, software question
2d design, software question, google: To be honest I m not sure ... I would probably do a search of the (allexperts) website to see if anything comes up. If that doesn t work then I would probably do a search using one of the many search engines available (google, yahoo, bing, etc.) Have...

CAD: CAD software, 2d design, exact name
CAD: CAD software, 2d design, exact name, cad

CAD: ITT tech, CAD, ITT Technical Institute
CAD, ITT Technical Institute, associates degree: Hi Gene, I am a teacher...not an employer. I have never had one of my students go to ITT. I have looked at the ITT program and I would say it is comparable to the CAD certification we give at our local community college. I believe ITT has a fairly good...

CAD: Software for .prt CAD, cad software package, cad tool
cad software package, cad tool, solidworks users: Adrian, This is only my opinion but if you re looking to spend the least amount of money and want the most efficient CAD tool, I would highly recommend SolidWorks. At the moment I can t recall the exact price for a single license of SolidWorks, but I...

CAD: Inventor 2009 extrusions, Autodesk Inventor, sketch
Autodesk Inventor, sketch, constraint persistence: Paul, I am pretty sure I know what your problem is. There are 2 buttons called constraint persistance and constraint inference. They are on the toolbar when you are in sketch mode on the right hand side, and should be clicked ON. These are easy to accidentially...

CAD: creating a profile feature, new england school, homework assignment
new england school, homework assignment, several different ways: Hi Harvey, This sounds like a homework assignment ... but then again I m not sure because here in New England school isn t in session yet. This can be done several different ways. The great thing with working in SolidWorks is that there s no real wrong...

CAD: cad certificate, high school diploma, necessary requirements
high school diploma, necessary requirements, associates degree: Hi Jonathan, The short answer ... No - it does not expire. Your certificate, in this instance, is similar to receiving your High School Diploma or a Degree from college. It s merely to confer (or document) that you ve successfully completed the necessary...

CAD: matlab, vector example, square waves
vector example, square waves, example plot: You can use the plot command in the form of plot(x_vector,y_vector), where x_vector is a vector of xi values and y_vector is a vector of yi values corresponding to xi. thus you must select each point you want to plot and then find its x,y value and put it...

CAD: matlab, inverse of a matrix, system matrix
inverse of a matrix, system matrix, linear system: Hi Stefanos, every linear system can be written as Ax=b, where A is the system matrix (in your case its A=[3 0 1;1 -1 3;0 1 4]). Thus if A is invertible, i.e. det(A) is not null, the the solution of the system is x=inv(A)*b; where inv(A) is the inverse...

CAD: Lay out, border, title block
border, title block, AutoCad 2010: That would be a difficult thing to put into a consise verbal form. Also, my expertise is primarily with Inventor, but what I would suggest is looking at this presentation from the AutoDesk University. http://au.autodesk.com/?nd=class&session_id=2891 ...

CAD: Plotting 3d objects, ctb file, graphics editing software
ctb file, graphics editing software, linework: If you re just trying to print out a photo-realistic 3d rendering of your model, your best option is to use the render feature/command vs printing directly to your plotter. You can then use graphics editing software (photoshop) to further enhance your rendering....

CAD: Which software?, cad tool, cad tools
cad tool, cad tools, engineering student: Hi Abby, I have never used Catia or Ansys and I haven t used AutoCAD since 1990 and I m very rusty in Pro-E. However, my impression of AutoCAD was and is that it s a good simple (and in my opinion antiquated) CAD tool ... at least the versions that I...

CAD: How much CAD/CAM is beneficial of student, salary expectation, cad cam
salary expectation, cad cam, cam technology: Hello Saurabh. Today CAD-CAM technology is more extended almost in every country of world. I can t say anything about salary expectation after you will training in CAD-CAM because I have no idea about roles of market of this technology in your place...

CAD: CADKey CDE for Batch Conversions, cadkey, batch
cadkey, batch, convert: Joe, If i remember it correctly, the CDE is actually in the Cadkey install directory. This is an ms-dos command file (independent from the Cadkey application) with no graphical user interface. With this file, it reads a list of the *.prt files to be converted....

CAD: Cadkey CDE Article
Mark, those are the CDE files i was talking about. Essentially run dxf.cde in DOS & in conjunction with the *.lst file. Do a sample test run, copy 3 prt files in your local drive. If the names of these files are xyz001.prt, xyz002.prt....then write down the...

CAD: 3D images to CAD or STL, hand skeleton, free 3d models
hand skeleton, free 3d models, 3d coordinates: Hans, unfortunately you can t extract any usable 3D data from an image or a picture. You need the 3D legacy data that generated these images in order for your software to read the 3d coordinates. From mechanical standpoint - It is possible to interpolate or...

CAD: 3d sofware, stress study, mold design
stress study, mold design, phase analysis: Carl, I think FormZ is more comparable to Maya or 3DS Max. A really neat way to show your ideas thru renderings. Solidworks on the otherhand, has the surface/solid modeling capabilities but w/ parametrics (all model depends on dimensions-a single part change...

CAD: AutoCad conversion problem, two different computers, conversion problem
two different computers, conversion problem, cadcam software: Mike, Once you do the saveas or export, If i remember this right, just right before you click on the save or export button, there s also an option on the top right corner of that dialog box (Select Tools/Options). Check accurracy, etc & ensure settings...

CAD: Autocad mechanical question - title blocks, title blocks, question title
title blocks, question title, borge: Mr. Kahmer, Basically, these are attributes nothing too complicated if you ve used attribute functions before in autocad. When ever u see gentitan, gentitis, gentitus, gendwg, etc..., these are little text files w/ *.mld extension. open these file w/...

CAD: Bechmark Utility for SW2001, hp compaq, athlon systems
hp compaq, athlon systems, pentium systems: Funny u asked this question because i just did some benchmarking myself! Go to SolidSolutions.com & fill out a form for download. 3-5 days later, they will contact you & give you download location & password. FYI, the file is about 80Mb so i wouldn t recommend...

CAD: Which is the best software for 3D desing, inventor 6, inventor 8
inventor 6, inventor 8, nuts bolts: Ok, if you re in the mechanical industry esp. molding, this is where Solidworks excel over Inventor or Mechanical Desktop. I think Inventor is a wonderful system & has its nuts/bolts & everything but it is lacking some features that i require in order to...

CAD: building a virtual model, manipulating and testing, simulation steps, simulation programs
simulation steps, simulation programs, mechanical drawing: Hello Bruce, CAD software enables you to design systems. It doesn t include simulation steps and libraries. Typically, there are special simulation programs that perform simulations for various types of processes e.g. mechanical, fluid dynamics,chemical...

CAD: All About CAD, mold designs, production train
mold designs, production train, cad program: What first interested you in CAD? I was always intrigued about the mechanics of how things work Where did you receive your education? Austin College, TX What CAD program do you use and why? Currently I use Autocad Mechanical/Solidworks @ my work...

CAD: CAD, autocad format, visio program
autocad format, visio program, lisp routine: Johann, Unfortunately, there are no tools that can directly convert from an autocad format to visio. The autocad objects has to be imported in visio. What is it that you keep on modifying in autocad? If it s a repetitive process that can it be ran thru...

CAD: CAD/CAM, dimensional drawings, absolute accuracy
dimensional drawings, absolute accuracy, machining equipment: megumi ... There are various reasons or advantages of using CAD. And as such different people or companies will have different thoughts of what they consider main advantages. Some advantages of CAD are (these are in no particular order): 1. Both...

CAD: CAD/CAM software and Maths, cad cam software, autocad programming
cad cam software, autocad programming, basic algebra: Seetha The concepts of programming are based on logics, from basic algebra functions to calculus & to physics. All utilizes the use of variables, if...then functions, loops, etc. Below are the main Autocad programming interfaces used to control & manipulate...

CAD: CAD Certificate of Competency, certificate of competency, drafting design
certificate of competency, drafting design, borge: Hi Sheri, yes classes are definitely required. You can just about acquire in your area whether a Technical Institute or Community College offer these CAD courses. These courses normally run about a year for certificate or two to get an associates degree...

CAD: CAD coversion, cadkey 99, batch converter
cadkey 99, batch converter, jory: Chad, Use the CDE Execute to read a text list (this file will consist of your all the *.prt library to be translated). This can be easily generated from the notepad and then rename the file extension with *.lst. The procedure is simple, the hard part...

CAD: CAD, car ground effects, industrial 3d
car ground effects, industrial 3d, robust engine: Chris, first of all what type of 3D are you trying to produce? plastic/metal surfaces, something mechanical, or organic? working w/ 3D often requires knowledge in space coordinates, primary shapes, usual solids/surface tools, 3D features, & parametrics. The...

CAD: CADKEY Translation, cadkey 97, batch translation
cadkey 97, batch translation, lst files: Nice to meet u Erik. The reason why I asked those questions is bec. Kenny asked me this morning if I could give some assistance regarding this CADKEY to AutoCAD translation, which I m pretty sure you guys are handling just fine. It sure is lengthy thou when...

CAD: what is Cad/Cam?, web hope, cad cam
web hope, cad cam, opionion: Hi Ben here s some links i could find on the web. Hope it helps: http://www.gsd.harvard.edu/inside/computer_resources/manual/cadcam/whatis.htm http://www.google.com.gr/search?num=50&hl=el&lr=&newwindow=1&oi=defmore&q=define:CAD/CAM (a google page...

CAD: Cadkey batch conversion, autocad dwg, batch conversion
autocad dwg, batch conversion, forum article: Mark, The article i wrote 4 years ago only pertains to the CadKey versions 97-99 which basically covers the use of the CDE Execute to read a text list (this file will consist of your all the *.prt library to be translated). This can be easily generated...

CAD: Compressing large file models in SolidWorks, fed ex, e mail
fed ex, e mail, 3d model: Hi Matt, one simple solution to that is to create a rectangular profile (must be slightly bigger than your model) from the most far end surface of the model. Extrude this profile engulfing the entire part rendering into a simple BOX! With this trick you...

CAD: Convert CAD dwg to Visio, autocad dwg, incompatibility issues
autocad dwg, incompatibility issues, visio program: Your client is able to view DXF files thru Visio. Simply export your Autocad dwg to a DXF file using the dxfout command (also under File/Export to AutoCAD/). Preferably, use 2000 DXF format to eliminate any incompatibility issues. Hope this helps, let me...

CAD: Convert Mac format dwg., auto cad lt, format dwg
auto cad lt, format dwg, interior design company: TRA, Photoshop does not use vector objects. Autocad can t possibly read this data at all. It can import jpg, gif, etc., & then traced over using its native objects (lines, arcs, splines). Illustrator on the otherhand, is vector based & can export its entities...

CAD: Creating Threads in SolidWorks, step images, patti patti
step images, patti patti, cad program: Patti ... OK ... you want to create threads on a part that you ve created in SolidWorks. This is a good task for a beginner. I m going to assume that you re a novice. With that in mind, I have to say that without being able to at images as you work,...

CAD: cad, cad 2, cad program
cad 2, cad program, structural analysis: 1.When were you first interested in CAD? I was always mechanically inclined & wanted to be in the engineering industry. When ITT started their CAD program, i thought this was going to be my ticket. 2.What is it like working with cad? It s just like...

CAD: cad, job search engines, structural drafter
job search engines, structural drafter, using autocad 2000: Hi Alex, first let me say, I feel your pain. I have found myself in that very same situation. Although this is outside of the category of Cad expertise I would offer a few suggestions. The first would be Monster.com or any of the big job search engines....

CAD: Differentiation and Integration in Matlab, column vector, differential equation
column vector, differential equation, integral sign: Hi Jeyur, what you need is numerical integration. The DE you have can be solved by integrating dV, i.e. V=SCdP, where S is the integral sign. Since you only have data points and not a function, you must use numerical intragration methods. The command you...

CAD: Differentiation of normal distribution, symbolic differentiation, symbolic math
symbolic differentiation, symbolic math, math operations: Hi Jo, by differentiation i assume that you mean symbolic differentiation and not arithmetic. To do what you ask you must define, in symbolic form, the function you want to differentiate and then you apply the symbolic derivative operator ( diff(f,x))...

CAD: differentiation in MATLAB, math tool, symbolic math
math tool, symbolic math, cosine function: Hi vinayakranjan , at first glance the problem seems to be with the cosx. It should be A0*[R+A*(R^(t+1))+B*(R^3)] + A1*[(R^2)+A*(R^(t+2))+B*(R^4)]*cos(x) you have forgot the multiplication operator (*) and the cosine function is cos(x) not cosx. Try...

CAD: engineering., mechanical designs, best bet
mechanical designs, best bet, nate: Hi Nate, my best bet would be AutoCAD.Its the standard for architectural and mechanical designs.If you want to simulate a design,then i would suggest MATLAB.Ofcourse the design methods don t match that of AutoCAD but MATLAB can simulate an engine and you...

CAD: what is Cad/Cam?, speedy production, human operators
CAD: what is Cad/Cam?, speedy production, human operators, cam system

CAD: Creating Threads in SolidWorks
CAD: Creating Threads in SolidWorks

CAD: IGS Viewer and similar programs to read .igs files, modelpress
CAD: IGS Viewer and similar programs to read .igs files, modelpress

CAD: General CAD/CAM field and math skills, 3d solids, voyager program
3d solids, voyager program, local community college: This also depends on the industry u want to pursue. For Mechanical applications, Autodesk s offers Inventor or Mechanical Desktop (soon to go away). Personally, these softwares lacks support for 3D surface modeling. Solidworks on the otherhand, has more to...

CAD: General CAD/CAM field and math skills, power shape, math skill
power shape, math skill, basic algebra: Manny, The amount of math skill required greatly depends on what type of work you want to do. As far as raw math you don t really need to do any, the computer does it all for you. However, a strong sense of geometry is very helpfull, you won t need any...

CAD: General CAD/CAM field and math skills, math knowledge, math formulas
math knowledge, math formulas, basic algebra: Hi Manny your math knowledge is sufficient. Actually, in principle no math is required. Most CAD programmes are very user friendly and need only knowledge of the actual programme. Of course, if you want to go into deeper details, what you ll actually need...

CAD: GOTO equivalent, matlab compiler, goto statements
matlab compiler, goto statements, matlab script: Hi Jose, the use of GOTO statements is heavily discouraged since it is a bad way of writing code. That s why its use has been abandoned. You SHOULD use functions instead. While it is true that you cannot create a function in a matlab script, this does not...

CAD: GUIs, handle graphics, tag property
handle graphics, tag property, callback functions: Hi Jim, handle graphics is rather simple if you get the idea, so i m gonna explain to you in brief how it works. From there, if you read the Matlab manual you will get it on real quickly. First of all, every element in a GUI has its properties. You...

CAD: IGS Viewer / Software Type, viewer publisher, raster vector
viewer publisher, raster vector, 2d cad: I apologize for the delay. Last year, I implemented Myriad (by Informative Graphics) as our default viewer for all of our 3D & 2D CAD files & other raster/vector file formats. This is not a freeware though. However, there s also a viewer/publisher for IGES...

CAD: IGS Viewer and similar programs to read .igs files, cimmetry systems, cimatron
cimmetry systems, cimatron, evaluation programs: Hello, There are many products available as trial-ware, as for an outright free product, I do not know of one. You can try AutoVue from cimmetry systems, they offer an evaluation copy. I would also recommend QuickConcept from cimatron, they offer a 30 use...

CAD: Importing xls file with header, order of succession, matlab version
order of succession, matlab version, header row: Hi Jose, i think that what you are asking is not possible in the current Matlab version. You can either do the following: either insert the name of the company in the first row, and search the first row for the company name in Matlab, or make another sheet...

CAD: integrate tabulated XY data with Matlab, row vector, discrete values
row vector, discrete values, allexperts: Hello Javier, you are correct about the cumtrapz function. What you need to do is to create another vector with the values of r^2g(r) and use this in the integration. This is how you can do it: suppose the values or r are in a vector called R (of course...

CAD: Line Weight to Drawing Scale Ratio, gary skinner, line weights
gary skinner, line weights, scale ratio: Gary, regardless on the type of Plot style table or pen assignments you re using (ctb for color dependent or stb for named plot style), plotted line types will be scaled down if Scale Lineweights is enabled. This is ideal when plotting in half scales....

CAD: Looking for a program, cad software, lowes
cad software, lowes, home depot: Hello, There several software products that will do exactly what you want. You don t really want a CAD software, more of something that is geared towards general consumers. Home Depot and Lowes both have info on several packages. hope this helps -Greg...

CAD: MATLAB Toolbox, robust control toolbox, linear matrix inequalities
robust control toolbox, linear matrix inequalities, matlab license: Hi Venkat, the LMI toolbox is part of the Robust Control Toolbox and is actually called LMI Lab. If you have the Robust Control Toobox the you also have the LMI Lab. You can see whether you have it by looking the help files on you Matlab software. If you...

CAD: Matlab output not showing, matlab help, functions work
matlab help, functions work, infinite loop: Yes, it is possible. You can call a function either from the command window, from a script or another function. What you are looking for is a script. I suggest you read the matlab help file on scripts and functions in order to clarify how scripts and functions...

CAD: mathematics-MATLAB, g1 g2, adjacency matrices
g1 g2, adjacency matrices, sparse array: Hi Christiana, looping over matrices using their name as an index e,g, Ai, i=1,2,..., is not possible in Matlab. What you can do however is use cells. You can create a cell A which contains 4x10 matrices (4 C s (C1,C2 etc) and 10 B s) and reference them...

CAD: matrix formation, pi pi, linear simultaneous equations
pi pi, linear simultaneous equations, a21: The only way to do this is by symbolic manipulation. Matrix forms cannot do what you ask. You must declare each variable as a symbolic variable e.g. A11=sym( A11 );A22=sym( A2 );Then, if you type L1, Matlab will automatically simplify the equations. You can...

CAD: OEM versions of CAD programs, autocad dwg files, oem programs
autocad dwg files, oem programs, minute demo: Hi Peter. Sorry but I am not able to register OEM programs. So I can t say anything special about this. But don t forget You can combine MicroStation DGN files and AutoCAD DWG files in one model to MicroStation. And AutoCAD 2008 supports DGN files. Best...

CAD: Printing Advice, autodesk autocad, autocad 2002
autodesk autocad, autocad 2002, printing advice: Stephen, Have you tried printing by typing plot or pressing Ctrl+P to see if the plot dialog box even opens up? If nothing, try reloading your standard menus. On the command line type menu & reload your acad.mnu file (you may have to search for...

CAD: Printing Issues, plot stamp, mmam
plot stamp, mmam, printing issues: Bernadine, If u have expresstools (VIP subscribers only or u can buy thru Autodesk), then you ll be able to use what they call RTEXT (reactive text). Normally they show the value of a DIESEL expression. Here are a few examples u can do: To display...

CAD: Printing, autocad drawings, printer properties
autocad drawings, printer properties, process document: Victor, My apologies for the delayed response. How much memory you have on your plotter? Also, under your printer properties/advanced tab, change the process document from the printer to in computer . Hope this will alleviate some of the data in the...

CAD: Properties Pallete, autodesk autocad, menu template
autodesk autocad, menu template, express tools: John, Not sure - possibly something is corrupted. Try reloading your standard menus. On the command line type menu & reload your acad.mnu file (you may have to search for it. Normally located under C:Documents and Settings [Your Profile Name]...

CAD: REGISTRY DELETION, type regedit, extreme caution
type regedit, extreme caution, system registry: Hello Ryan, Typing regedit into the command line will open your registry editor. This will provide you with access to your entire registry. You can then go through the folders to find any specific software/hardware you are looking for. There is some mumbo...

CAD: How do I represent an XLS serie (X,Y,Z) in CAD??, 3dstudio max 5, xls file
3dstudio max 5, xls file, coordenates: Ignacio, My appologies for the delay. You can easily reproduce polylines thru using your excel data by using the Lisp routine provided below. The lisp requires you to have a comma-delimited text file instead. This can be easily created using a save as in...

CAD: rounding, matlab6, number 0
matlab6, number 0: Hi Hana, no function can do that. You must use a trick to do want you want. Multiply you number with 1000, round it, and divide it by 1000, e.g. round(0.009876*1000)/1000. This will return 0.0099, which i assume is want you wanted (not 0.00099). Best...

CAD: Solid Works to Solid Edge, solid edge v18, task scheduler
solid edge v18, task scheduler, solid works 2001: I m not really familiar w/ Solid Edge. However, If you have SolidWorks Office, you should have the SolidWorks Task Scheduler in order to export to IGES. 1. View/Options (Set the export settings desired for the IGES filetypes) 2. Export Files from the...

CAD: SolidWorks Settings, patti patti, personal settings
patti patti, personal settings, button scroll: Patti ... This is very simple to accomplish and I can certainly walk you through it. If you have a question like this in the future, I would highly recommend using SolidWorks Help Topics (within SolidWorks click on Help and then SolidWorks Help Topics)....

CAD: sheet metal layout, metal layout, learning curve
metal layout, learning curve, layout software: The top two 3D softwares i d recommend are Solidworks & Inventor. Both packages features sheet metal capabilities & more. If you ve used Autocad in the past, i d go for Inventor - the transition would probably go easier. Solidworks on the otherhand, has a...

CAD: sheetmetal layout, layout work, current software
layout work, current software, cad software: I d definitely recommend to go 3D for any sheetmetal layouts. If your current software is Autocad, then you might want to consider Autodesk s Inventor to ease the transition. However, Solidworks excel in this area where the sheetmetal model is rendered during...

CAD: Translating AutoCAD LT 98 Drawings to Unigraphics, gary skinner, borge
gary skinner, borge, autodesk: Hi Gary, have you already tried exporting your native autocad drawing in DXF format (Rel. 12 if possible) & sending that instead? You can also try using Autodesk s True Convert & convert the drawing to a newer format: http://usa.autodesk.com/adsk/servlet/link?siteID=123112&id=7049915&linkID=2475161...

Cabinets, Furniture, Woodworks: 1950s wood trim, gel stains, amber color
gel stains, amber color, stain colors: Hi Peggy, Often the trim of this era was just varnished or shellacked, no stain. I think finished wood trim in a house is beautiful, and as long as it s finished with care. There s no reason why you couldn t stain and varnish as well. I didn t get whether...

Cabinets, Furniture, Woodworks: 1970's style wood paneling, wood paneling, repair job
wood paneling, repair job: Hi Wayne, I don t believe you ll be able to find 35+ year old paneling anywhere...they do limited production runs of that stuff, and I m sure that they don t produce what you have anymore..that means the repair job will likely have to turn into a complete...

Cabinets, Furniture, Woodworks: Applying cabinet surface skins on inside, exterior plywood, plastic laminate
exterior plywood, plastic laminate, cement board: Hi Mike, You didn t really mention what sort of material you were needing the skin to be made of, but here are a few suggestions. Since the wood has water damage, it s probably spongy and not really good for gluing a skin to it. I suggest making a new bottom,...

Cabinets, Furniture, Woodworks: Arbek dresser drawer, arbek, drawer box
arbek, drawer box, furniture maker: Hi George, I m not sure what I could add to the previous answer I gave about dislodging a stuck dresser drawer. The only possible thing would be to look for something that will release the drawer box from the dresser box itself. Look for something like...

Cabinets, Furniture, Woodworks: antique door refinishing, sandpaper, veneer
sandpaper, veneer, stripper: Hi Wade Nice to hear from you. This is possible in some cases Wade, it just depends how much of the stain the stripper will remove. If this is fairly thick veneer which I m guessing a door would have, it can be sanded after the stripping stage to remove...

Cabinets, Furniture, Woodworks: antique furniture, leather texture, medium dark brown
leather texture, medium dark brown, inexperienced hands: Hi Gracia Nice to hear from you. I have often seen varnish finishes go in the manner you describe. And it does look like bubbled leather. Gracia I m sorry but there is just no easy fix for this. I wish there were. The finish may be saved by a process called...

Cabinets, Furniture, Woodworks: Bed with Drawers, bed with drawers, installation screws
bed with drawers, installation screws, ball bearings: Hi Amy, Not sure if I can help you, but I ll try. It s possible that there was some sort of end piece or clip that kept those ball bearings in place. When they came raining out, your drawer slide became useless... well, I don t have to tell you that,...

Cabinets, Furniture, Woodworks: Black stains on pine, pine knots, thin coats
pine knots, thin coats, zinnser: Hi again Jeanette, stripping is the best idea i think. After you ve gotten back to the raw wood, sand smooth with some 120-150 grit ,(it probably won t need much), and seal the knots with some shellac or use a good stain blocking primer like Zinnser s Bullseye...

Cabinets, Furniture, Woodworks: Bring out the beauty in kitchen cabinets, wood hi, oil soap
wood hi, oil soap, mineral spirits: Hi Don, Murphy oil soap is not recommended for finished kitchen cabinets I don t believe, it will build up and get cloudy. I think the Formby s product is a good one, it s really a scented Mineral spirits product, and should remove the build up, grease, oils,...

Cabinets, Furniture, Woodworks: Bubbled up stain on dark mahogoney or cherry wood dinning room table, lacquer varnish, hot pizza
lacquer varnish, hot pizza, pizza pan: Hi Dee, sorry about your table, but it sounds like they put a hot pan on it from what you describe. If it did bubble up, then they have fried the finish, and there s really no way to fix it short of refinishing the table.The stain lies under the finish, so...

Cabinets, Furniture, Woodworks: butcher block counter top, butcher block counter top, butcher block countertops
butcher block counter top, butcher block countertops, chlorine bleach: Hi Natalie, You don t mention if the counter was finished in any way. Maple is prone to mold/mildew growth, and yes, not sealing the sink cutout is probably the starting point. The end grain will soak up any moisture like a sponge, which will in turn start...

Cabinets, Furniture, Woodworks: Cherry China Cabinet & Buffet, veneer sheets, cherry veneer
veneer sheets, cherry veneer, wood veneer: Hi Carrie, you can buy Cherry veneer at a few places like Woodcraft: http://www.woodcraft.com/family.aspx?FamilyID=5170 You ll have to buy a pack of veneer sheets, but it s not too expensive. If you do a Google search on cherry veneer , you ll probably...

Cabinets, Furniture, Woodworks: COUCH IS SAGGING, weird noises, bad weather
weird noises, bad weather, wood frames: I need more details. Is it the cushions that are sagging? When you sit down you sink in too deep? Are the cushions saggy looking before you even sit in, like just visually? How old is the couch? Do you know what the company name on it is? What style of...

Cabinets, Furniture, Woodworks: Couch repair, excess board, leather couches
excess board, leather couches, leather couch: Hi Kim, if these boards popped out without damaging the rest of the couch, then they should be able to be popped back in. They were most likely glued into the holes, so make sure to coat the dowels and holes with glue. My real fear is that other frame members...

Cabinets, Furniture, Woodworks: Cutting face-frame for taller refrigerator, refrigerator space, old refrigerator
refrigerator space, old refrigerator, cutting face: Paul The easiest way is to remove the cabinet and run it through a table saw. In place usually requires a combination of portable power and hand tools. Use the standard wood power tools Saber saw / Router / maybe a Rotozip / then if needed hand saw or...

Cabinets, Furniture, Woodworks: What I call Fake Kitchen Cabinets, particle board, kitchen cabinets
particle board, kitchen cabinets, paint product: Tna The problem is knowing what the wood is. It could be vinyl coated particle board. Vinyl does not paint well. It sounds like vinyl because real wood does not peel . Take a door into a paint store and show them the material. Maybe they have a paint...

Cabinets, Furniture, Woodworks: cherry table, lacquer finish, neck of the woods
lacquer finish, neck of the woods, dining room table: Hi Margret Nice to hear from you. This table top will no doubt have a lacquer finish and it can certainly be stripped off and a new finish applied. This of course will need to be done in a shop as its sprayed. The cost will depend on the damage. Is the...

Cabinets, Furniture, Woodworks: china cabinet, china cabinet, raw wood
china cabinet, raw wood, danish oil: Hi Tiffany, The answer to your question about staining your china cabinet isn t a simple one. I ll try to help, by explaining a few things about wood and finishing. There are basically two types of wood finishes - penetrating ones that soak into the...

Cabinets, Furniture, Woodworks: cleaning and polishing a teak desk, minwax stain, tung oil
minwax stain, tung oil, trash pile: Hi Kayt Nice to hear from you. Don t you just love it when neighbors throw good stuff out LOL For this job, I would use medium steel wool dipped in mineral spirits for a good cleaning. Dry as you go with clean rags. Work with the grain always. Next (and...

Cabinets, Furniture, Woodworks: closet doors, pine paneling, storage closets
pine paneling, storage closets, warp 9: Hi Charlie, unfortunately, just hanging up 3/4 boards as doors is not a good idea, because they will warp 9.5 times out of 10. This is why typical doors have a frame and panel construction, the frame is the structural part and the panels float in that frame....

Cabinets, Furniture, Woodworks: covering an old stanford desk with formica laminate???, solid wood desk, custom bookcases
solid wood desk, custom bookcases, rubber stamping scrapbooking: Is it Nicole or Nicholas? :-) Just noticed the 2 names. Yea I just don t see the point of buying something of value and then painting it to de-value it. But you can understand where I m coming from, seeing that I sell furniture. :-) Solid wood is expensive...

Cabinets, Furniture, Woodworks: cracked leg, glue line, excess glue
glue line, excess glue, wood glue: Hi David, I think Elmer s wood glue will work, but I really suggest using Titebond wood glue. I just think it will bond the wood better than good old Elmer s. But many woodworkers use Elmers, so it should be fine as long as you do one thing. You MUST...

Cabinets, Furniture, Woodworks: crown molding on cabinets, crown molding, wall cabinets
crown molding, wall cabinets, cabinet installer: Hi Gina, I m sorry to hear you re having that problem, and I ll try to help, but I m not sure how much I ll be able to help. This is probably going to be a long answer, so grab a cup of coffee and put your feet up! Yes, the contractor who put the new...

Cabinets, Furniture, Woodworks: cutting oblong holes, carbide teeth, plunge router
carbide teeth, plunge router, hand holes: Hi Tony, You re right, there HAS to be a better way to accomplish those oblong holes. Here s are two suggestions. First, if you have a router (a plunge router is best, but you can do it with a fixed base router), you can accomplish those holes in a...

Cabinets, Furniture, Woodworks: Darkening woodfiller in pine logs, dye stains, thin coats
dye stains, thin coats, pine logs: hey Phil, if the filler has poly over it, then it will be harder to color, but I would buy an NGR type dye stain,(Behlen s is available from Woodcraft, woodworker.com,etc) and mix it with some Blonde (prefferably de-waxed) shellac 1:1 in small batches, maybe...

Cabinets, Furniture, Woodworks: Dining room table, danish furniture, dining room table
danish furniture, dining room table, scandinavian furniture: Oh you are lucky my friend. Since your in CT and I m just up in Boston MA. I have someone for you. His name is John Beedle. His phone # is 508-528-6785. He is a furniture repairman who specializes in Danish Furniture. All of the tables in my store here...

Cabinets, Furniture, Woodworks: dining room table, dining room table, good shape
dining room table, good shape, solid wood: There are still tables like that being made, so I would guess its not too old. If the table is in good shape, it may be worth refinishing. To give you an idea, sometimes it costs around $500 dollars or so to refinish a nice dining table. But it can cost...

Cabinets, Furniture, Woodworks: Ethan Allen finish repair, heirloom collection, thin coats
heirloom collection, thin coats, six chairs: Hi Penny, sorry to hear about your chair, but the scratches may not have gone through the lacquer clear coat. The clear finish is most likely lacquer, which is applied over the stain. Often they used a toner coat on top of the stain as well, which is a transparent...

Cabinets, Furniture, Woodworks: expresso stain, color coats, bathroom cabinets
color coats, bathroom cabinets, bittersweet chocolate: Hi Susanne, Of course you can paint them, but I m not surprised that any cabinet maker scoffs at the idea, especially if your paying him to build cabinets that were destined for a nice clear finish, because they can build paint grade cabinets cheaper and...

Cabinets, Furniture, Woodworks: Fig Oil * paper plates!!!, cigarette ashes, furniture refinisher
cigarette ashes, furniture refinisher, iron steam: The whitish steam marks from the paper plates is fairly simple. First try heating the area with a blow dryer, slowly warming the area up. If this doesn t help, try using a white towel or clean white T-shirt. lay it over the spot. Take your iron set it to...

Cabinets, Furniture, Woodworks: Finishing Furniture, natural stains, chest of drawers
natural stains, chest of drawers, natural stain: Hi again MaryLee, You re definately on the right track then, I m glad you didn t go ahead and finish the pieces...again, not too sure what Minwax Light stain would do for you....on Oak, probably not much....but if you decide to stain the high dresser I would...

Cabinets, Furniture, Woodworks: Arbek dresser drawer, drawers, glue
Cabinets, Furniture, Woodworks: Arbek dresser drawer, drawers, glue, wood support

Cabinets, Furniture, Woodworks: Cutting face-frame for taller refrigerator
Cabinets, Furniture, Woodworks: Cutting face-frame for taller refrigerator

Cabinets, Furniture, Woodworks: Internet source for 1/4 inch melamine, newport
Cabinets, Furniture, Woodworks: Internet source for 1/4 inch melamine, newport