Answer Questions
haba Program to launch programs :)
Hey, I am looking to make a program that will be able to launch two other programs simultaneuosly. Can someone show me some code please Im pretty stuck :( Ok, so I figured out how to use the Process class, but I am having trouble specifying where my programs are. Any tips And for the .bat, I totally forgot that they are executable by themselves...but once again it didn't do anything when I launched it. I am sure I am putting the full adress to the programs but still no-go. StargatePwns wrote: Ok, so I figured out how to use the Process class, but I am having trouble specifying where my programs are. If the programs cannot be found by just specifying their name, include their path as well: Process.Start( ...Show All
YCDC.CN Recommendations on approach with current 2003 VS Projects with Team System
We are going to be moving to VS 2005 with Team System. My question is whether it is recommended to attempt to move current VS 2003 projects that are in various stages to Team System and try to modify them to use all the new features of Team System (e.g. templates, tasks, etc...) or only use the full functionality of Team System on new projects and just use the source repository features of Team System on current projects. I'm new to Team System so I apologize in advance if this is a dumb question. Any advice or considerations would be appreciated. Thanks. Team System comes with many tools to simplify development, testing and management of project in general (project lifecycle tools) and it is not directly ...Show All
BBBXXX Search for name in text file
OK, I am trying to read a name from a database then look for that name in a text file. So a record in the database will be "First Name", and search for that name and then read all of the data bellow that name untill there is a blank line. What would my procdure be and the text file will contain: First Name 1998 0.277 2000 0.282 2004 0.301 2001 0.234 2002 0.272 2003 0.288 1997 0.327 Second Name 1999 0.200 2001 0.193 2002 0.167 2003 0.282 2004 0.277 Third Name 2000 0.327 2001 0.256 1995 0.282 1996 0.271 1997 0.275 1998 0.277 1999 0.307 2002 0.286 2003 0.273 2004 0.304 Forth Name 1994 0.269 1995 0.308 1996 0.309 1997 0.328 1998 0.294 1999 0.333 2000 0.351 2001 0.306 2002 0.349 2003 0.325 2004 0.308 Here i ...Show All
K.S.RamakrishnaPrasanna How to send an E Mail from an Application in C#
Hi every body, I want to send an E-Mail through my C# application. How can I do that. Please help me out. If possible please give me the coding exapmples. Thank you, Ravinder Reddy. K This could work: string host = "Your.SMTP.Server" ; SmtpClient client = new SmtpClient (host); MailAddress from = new MailAddress ( "your@email.com" ) MailAddress to = new MailAddress ( "to@email.com" ); MailMessage message = new MailMessage (from, to); message.Body = "Hello World! " ; message.Subject = "Hello" ...Show All
nordwindranger dates and null values
My column in sql is of a date data type. I have a textbox that a user can enter a date when certain parameters in the program are met. On occasion a date does not have to be entered in the textbox. This is where I have a problem. The column can accept null values but I am not sure how to program this part. I have a date variable = cdate(txtbox1.text). If nothing is entered in the textbox I get an error message of "can't convert "" to a date) Any help would be appreciated. just skip it in this case or just give a DBNull value to the datatime parameter in SQL when you are creating a parameter collection or in your INSERT/UPDATE statement. ok ive never seen that before, just goi ...Show All
Giles Bathgate Web test - Add a last step: delete the user session information on the web server?
Hello! I have created a simple Web test which consists of the following steps: 1. Goes to www.webserver.com/diagnose.aspx 2. Authenticates with Basic Authentication to get access to above page. 3. The diagnose.aspx page automatically triggers alot of different tests against our fileserver, database, mailserver etc. 4. The web test ends. I then create a Load test which consists of the above Web test. The problem: Everytime the Web test is triggered a new session is being created on the web server. He believes it is a new visitor. If I loop the Web test 200 times in my Load test, the web server creates 200 new sessions. Session as in session information. The webserver believes I had 200 different users logging in. Load test now : Step 1. 2. ...Show All
gul_111111 Integrate MSDN library 2006 with Visual Basic Express
I recently downloaded the May 2006 version of the MDSN library and could not figure out how to integrate it with Visual Basic 2005 Express. ...Show All
LouisVanAlphen Team Build over HTTP?
Coders, I have set up my instance of TFS to be available over HTTP and this pretty much works okay. I was wondering if I could set-up an Team Build server and invoke Team Builds on this machine over HTTP from the main TFS server (as in HTTP across the internet as the two machines are on seperate networks). I'm not sure if this is possible. I'm guessing there may be issues with the credentials specified to execute the build. Can someone clarify Cheers, Callum The background to this problem is this: I work for a consultancy and we do varied work for clients, almost always on site. On client sites we sometimes get shackled with some hopeless infrastructure. To get around this (and to p ...Show All
glasgow1 Help! Random movement in C!
How can I generate a random movement horizontaly using rand function I can only generate movement but, not randomly, using a loop... Ive understand how it works with the numbers but cant use it to generate the movement...! someone knows how is the code in C that andrej tozon gave above ! Well then don't ask in the C# forum...! jorijo wrote: gotoxy(27,i);printf( "%c" ,219); /* draws char*/ gotoxy(28,i);printf( "%c" ,219); for ( int f=1;f<80000000;f++); /* movement char*/ if (carro1==5) /* dimension of char*/ { gotoxy(27,i-carro1 ...Show All
Udo2 How to get and/or set IP address?
Hey, I'm using VB Express 2005 and I'm trying to write a small program to configure remote network devices. In order to do the initial configuration, I need to get the IP address of the local hard-wired ethernet adapter, or set it. One way of doing this, I figured I could set the local hard-wired adapter to DHCP and connect it to the device. Windows would assign an automatic IP address, which I could simply obtain. I would much rather be able to assign a specific IP address, do what I need to, and the re-set the adapter to its previous settings. Finding the correct hard-wired adapter could be as simple and promting the user with a list of all the network cards and asking them to select the correct one. Anyone have any advice I found ...Show All
JFoushee GUI & command line show different merge candidates
Hi, When I perform a merge operation between two branches, the wizard list a large number of changesets as candidates. When I run "tf merge source target", I get "There are no changes to merge". I get the same message when I try to /discard one of the changesets appearing in the wizard. Is that a known bug How do I discard all merge candidates Thanks, Shay Correct the reason why you are getting no changes to merge is because you have not specified that you want to merge all the changes that happened underneath source and target. The correct syntax would have been tf merge source target /r /candidates The UI passes the recursive flag automatically for you. ...Show All
mobigital Grab the users AD name
Is there a way to grab the users Windows name I am on a company Active directory. I just want to display this in my application. Like welcome john doe! and latter do some authenticaion with this. thanks nbrege wrote: So how would you get the users full name from AD, like the OP originally requested It seem the OP is ok with the answers given and the original question do not request the full name but the windows name. If you want to know how to get the full name I would suggest starting a new thread. EDIT: A new thread will get maximum exposure as it will appear as unanswered compared to this one that already has been flagged as answered. So how would you get the users full name from AD, lik ...Show All
dr.acv Team suite trial software unavailable for download
I am trying since last 2 days to download the team suite180 days trial edition. But I always get a 500 server error after I sign in and click download button http://www.microsoft.com/downloads/details.aspx familyid=5677ddc4-5035-401f-95c3-cc6f46f6d8f7&displaylang=en The file is not found at this URL http://download.microsoft.com/download/6/f/5/6f5f7a01-50bb-422d-8742-c099c8896969/En_vs_2005_vsts_180_Trial.img Can you please enable the download Just tried it now and it worked for me, looks like the download GUID might have changed from the one you have. Try the following link (from the http://msdn.microsoft.com/teamsystem page):- http://go.microsoft.com/fwlink/ LinkId=64135 Cheers, Martin. ...Show All
Jubber Getting original settings
Hello, I have problems trying to get to the original settings of Visual Express 2005. I normally use: tool->Import and Export settings and then use reset or import original settings. I thought this would fix the problem, but not.. I obtain the same settings and not the original ones. Would it be possible that the original settings of visual express 2005 are corrupted by my own settings Where can I find original ones I just want everything new, as it was when I installed visual express the first time... thanks for your help cesar Ive hunted for a way to easilly restore "factory defaults" but im afraid i couldnt find one, all i can suggest is uninstall and reinstall Visual Studio Express. ...Show All
anisk Is this function ok
Hello, Is this the most efficient way to write the function below Regards, Ken Friend Class form1 Dim A As Boolean Public Function Inpt_State( ByVal A1) If A = True Then A = False Return A Exit Function End If If A = False Then A = True Return A Exit Function End If Return A End Function Public Sub PictureBox1_MouseDown( ByVal sender As Object , ByVal e As System.Windows.Forms.MouseEventArgs) Handles PictureBox1.MouseDown Dim x As Integer = e.X Dim y As Integer = e.Y If x > 0 And x < 20 An ...Show All
