Reuse of replace function multiple times Programming Software Development by faezshingeri … the same file, but am finding it tough and also reuse of the replace function multiple times wud be difficult. Hence… reuse an identity field value after deleting rows Programming Databases by Sadia fatima Is it possible to reuse an identity field value after deleting rows in SQL Server … Re: reuse an identity field value after deleting rows Programming Databases by BitBlt … of ALL the rows. If you have a need to reuse SPECIFIC id's, you might consider researching the "SET… What is acceptable reuse of user-generated content? Community Center Geeks' Lounge by BethL … terms and conditions that govern the website's use (or reuse) of any content they post to the site. Frequently, these… to behave with regard to your material? What sort of reuse would be acceptable? Is it OK for the company to… you think the company ought to get your permission to reuse your content? My class cannot be reuse Programming Software Development by nccliang … it works . However when i try doing it as a reuse class . My eclipse plug in development doesn't acknowledge it… How do I declare a single Object instance then reuse it in each ComboBox? Programming Software Development by edgar5 …, much longer!) How do I declare a single instance then reuse it in each ComboBox .Items.AddRange()? I am using Visual… how does an optimizing c++ compiler reuse stack slots of a function? Programming Software Development by Garrett2011 …) is no longer needed by that function, so it can reuse its memory? . By stack slot I mean a part of… can i reuse the dynamically allocated memory inside a function in main() Programming Software Development by vineeshvs … x_transpose) for storing the same result in main program. can reuse the same memory in main also??? Re: Reuse of replace function multiple times Programming Software Development by DJSAN10 Maybe you would like to post the code where you have called replace function. Re: Reuse of replace function multiple times Programming Software Development by faezshingeri [CODE] int main () { //performing alot of file operations using strings.. //Out of all the loops now... Finally I call the below in main() replace("&apiname","Buhahahha"); for (k=0;k<n-1;k++) { strcat(StrFinCol, tabCol[k]); strcat(StrFinCol, ";"); k=k+1; strcat(StrFinCol, tabCol[k]); … Re: Reuse of replace function multiple times Programming Software Development by DJSAN10 [QUOTE]replace1("&tablehostvars",StrFinRow);[/QUOTE] Is that a different function ? It will be better if you post the entire code. Re: Reuse of replace function multiple times Programming Software Development by faezshingeri [CODE] #include <stdio.h> #include <string.h> #include <stdlib.h> #include <stdbool.h> #define MAX_LEN_SINGLE_LINE 120 #define bufsize 1024 char tabCol [10][20]; char tabRow [10][20]; char StrFinCol [150]; char StrFinRow [150]; replace(char text2find[80],char text2repl[80]) { char fileOrig[32] = &… Re: Reuse of replace function multiple times Programming Software Development by faezshingeri Also,The replace function doesnot check for the entire string I mean.. it replaces all the strings like &tabhostvars and &tabhostvars01 (I do not want this string to be replaced..) I only want &tabhostvars strings to be replaced Can I do this..?? #vaguequestionButlearning while ((find_ptr = strstr(buff_ptr,text2find)) &… Re: reuse an identity field value after deleting rows Programming Databases by adam_k @BitBlt: I totally agree, but I thought that you could also alter the table and have the identity seed from whatever you need it to. @OP: Unless you clear the contents of the table I strongly suggest against reusing the same IDs - in fact I strongly suggest against it unless you are re-initiallizing your app/db. IDs have a reason for being unique… Re: reuse an identity field value after deleting rows Programming Databases by cutepinkbunnies I agree with the opinion of others here, Identities are typically created to be retained...regardless of logical sense. Most database devs that use identity columns use flags instead of removing data from the database. It makes life easier because you don't have to worry about deletes and updates...restoring from backup, etc. Keep in mind these … Re: How to reuse the ifstrem varible to read multiple text files Programming Software Development by Narue You can reuse an ifstream object, but take note that opening and closing … Reuse your .net code - Part 1 Programming Software Development by ManicCW When you are programming web pages it is very important to optimize your code for better and faster performance. In this part I will show you how to optimize code for filling multiple dropdownlists with data from Microsoft Access. The same thing is with SQL Server. I'm using asp.net 2.0 and Microsoft Visual Studio 2005. Add new Module to your … Re: Reuse your .net code - Part 1 Programming Software Development by one_ni i'm sorry, i'm new here. i just wanna ask two question...we can develop vb.net as online system?it is because i have one project that i wanna develop. online system using vb.net.i just want a confirmation about this..... 2) if i can develop vb.net online system, can i send message from system to mobile ( like sms system ) tq...plzzz :' (help … Re: Reuse your .net code - Part 1 Programming Software Development by Mariandi 2)yes you can send messages from system to mobile using a GSM device and creating the appropriate functions to use the GSM device. 1) i don't think that is possible, you should try asp.net which i hear is not that different from vb.net( although it is hearsay) Re: What is acceptable reuse of user-generated content? Community Center Geeks' Lounge by BethL Would you be angry if the company didn't get your permission? Re: What is acceptable reuse of user-generated content? Community Center Geeks' Lounge by Narue >If you were to agree to these terms, how would you expect >the company to behave with regard to your material? Given nothing other than your paraphrasing, I'd expect them to do anything they please [I]except[/I] claim ownership of the material. >Would you be angry if the company didn't get your permission? Accepting the terms and … Re: What is acceptable reuse of user-generated content? Community Center Geeks' Lounge by Lardmeister In this day and age any information you give will be data mined by others. Get used to it. Re: What is acceptable reuse of user-generated content? Community Center Geeks' Lounge by jbennet [quote]Would you be angry if the company didn't get your permission?[/quote] when you click agree , its the same as signing a contract. You are legally bound by what you select. Re: What is acceptable reuse of user-generated content? Community Center Geeks' Lounge by Ancient Dragon [QUOTE=jbennet;609843]when you click agree , its the same as signing a contract. You are legally bound by what you select.[/QUOTE] I'm not so sure about that -- how do they know who clicked on it? At most all they can tell is the ip address of the computer that was used, and in some cases they can't even tell that (for instance the computer I … Re: What is acceptable reuse of user-generated content? Community Center Geeks' Lounge by jwenting yes, you are legally bound to what you agreed to. It doesn't matter who clicked that button, by clicking it that account was linked to that contract. If the contract holder allows others to use that account the contract holder is still the one who holds the contract and has agreed to its terms. People he lets use that account have no rights … Re: My class cannot be reuse Programming Software Development by server_crash It's probably looking for the classes to be packaged in a jar file instead of your current configuration..I could be wrong about that, but I'm thinking that's what it is. Why don't you post the FULL error message or grab a screen shot of it. Re: My class cannot be reuse Programming Software Development by nccliang shit , damn it Re: How do I declare a single Object instance then reuse it in each ComboBox? Programming Software Development by Ramy Mahrous declare simply array from object datatype then call AddRange for all combo boxes and pass this array! Re: How do I declare a single Object instance then reuse it in each ComboBox? Programming Software Development by waynespangler As RamyMahrous said use an array. If you deceide to add or remove anything later you only need to do it in one place. [CODE] Dim ary As String() = {" single space", "- hyphen", " - <single space>hyphen<single space>", "` open single quote", "=", "~", "!"} … Re: How do I declare a single Object instance then reuse it in each ComboBox? Programming Software Development by edgar5 Thanks to both! As this is my first VB project, I needed the code snippet.