Answer Questions
cwlaualex Programming a button to directly open a .exe file!
I am making a program that will open a file when you click a button. I don't need to access the open dialog, I would just like to click the button and the .exe file opens. I am burning a bunch of programs to the same cd so i have to be able to open the one specific program and only that program with that button. I am trying to open this file with the button: "IE7-WindowsXP-x86-enu.exe" So if I had a button and I clicked it and it directly opened that file that is exactly what i am looking for. If anyone could give me a hand that would be great!! Thanks a bunch for the help, i also have another question, if I burn this to a cd not everyone's cd drive is the same drive letter so if i put drive d: as the s ...Show All
p.cosmos How to compile Visual Basic 4.0 Code for photobooth fundraiser?
So I am TRYING to help our local photographic museum, http://www.lightfactory.org/exhibitions/index.htm with a little fundraiser for their self portrait exhibition starting a mere 13 days from now. They want to have a photobooth as a fundraiser, which is easy enough for me to supply, I am a professional photographer who has a photobooth. However they want to have it act as an automatic vending machine. I have bought a program that controls my photobooth, but the vending section of code is not yet complete. All I need to do is have my dollar bill acceptor write a number "1" to a text or dat file so the program can know how many dollars have been inserted. Sounds easy enough The manufacturer of the bill acceptor has ...Show All
james_cline_ One Form part of another form
i have two forms. One only contains the menu bar and the other performs databse modifications. how can i get the 2nd form to be a part of the other form...itz like having the 2nd form inside the 1st form... for example...here's the code in my menustrip Private Sub XLToolStripMenuItem1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles XLToolStripMenuItem1.Click MenuStrip1.Enabled = False F_NEW.Show() End Sub This code will show 2 forms...i want the F_NEW form to be inside the 1st form...how can i do that help please...thank you Sounds like you need the first form to be an MDI container and the second form to be an MDI child form. Set the IsMDIContainer property t ...Show All
KitWest Automatic Build Number updating
I know that when you use the ClickOnce Deployment option it will automatically update the version or build number (I think it is just the build number). However, is there anyway within the Visual Basic 2005 Express Edition IDE to have it automatically update the build number anytime you simply execute or run the program in debug mode before you use the deploy option I just don't like having to go into the Application settings and change the assembly information by hand all the time. It would help me better track my progress developing apps. Thanks in advance. Maybe I'm misunderstanding...but this should work....even in the Express version: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnbda/html/tdlg_ ...Show All
Nisa splitting a sentence into word per word in array with a twist...
Hi everyone this is my first post. I'm fairly new to programming. I can't find answer to my problem from the book I purchased on mastering VB express edition so I thought I'd ask here. and I have this; dim array() as string array(0) = "human hair found everywhere" array(1) = " I really love pringles" 'I can do this on the first element dim wordSplit() as string = split(array(0), " ") msgbox(wordSplit(1)) 'this would display "hair" msgbox(wordSplit(2)) 'this would display "found" 'the next is where the problem occurs 'how can I do the same thing to the second element 'I tried these but they won't work ' dim wordSplit() as string = split(array(1), " ") ...Show All
Alle CTP7 Error: Create unit test fails
When I right click a stored procedure in my project and select "Create Unit Tests...", the command fails with the error "The system cannot find the file specified. (Exception from HRESULT: 0x80070002)" I use CTP7 and this Visual Studio Version: Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft .NET Framework Version 2.0.50727 What is the language version of Visual Studio that TSData was installed into What is the language version of TSData Currently, we only support matching languages - i.e. English on English, or Japanese on Japanese. I have tried to create a new database project from another db on my computer and "Create Unit Tests ...Show All
Nassir Allocating memory to array
Hi, I am declaring a character array of size 10, e.g. char[] var=new char[10]; var="Anil Narayanan".ToCharArray(); The 'Q' is why am i allowed to assign a string > 10 characters. Why doesn't the compiler generate an error It generates a run-time error only when i try displaying the contents of the array through a loop, otherwise it works perfectly fine. Pls clarify. Thanks in advance Anil Hello All. Anil: A simpler approach might be to set the "MaxLength" Property of the assumed TextBox to the number of characters you are allowing users to enter. HTH. Hi! Appreciate your response. Could ToCharArray() be considered a way to resize arrays at run-time if in case you h ...Show All
ddee Software Generator
Does anybody have some code to help me get started on creating a software generator Basically, I would be creating software that creates other software using a predetermined skeleton to base the created programs off of. An example of this would be here: http://www.makeyourownsoftware.com/ or http://createlucrativesoftware.com/register.php Could anybody help me get started If anybody has ever created a program that can replicate many of its own functions, then you should understand what I'm talking about. PLEASE HELP! Thanks nobugz that helps give me a start. Thanks! Thanks for the reply Dennis! I appreciate the apology. Yeah I know there is a lot of hype, but the f ...Show All
sneakBeats How to Display messagebox texts in multiple lines
hi all In messagebox.show "aaaaaaaaaaaaaaabbbbbbbbbbb" will show the entire mesage text in one single line how do i add a newline to this text so that messagebox box text is in 2 lines followed by OK button Line1--"aaaaaaa" Line2--"bbbbb" Thnks all thnks had to make a small correction though MessageBox.Show( "aaaaaaa" + cstr(Environment.NewLine) + "bbbbb" ) Hi, you can insert a new line your text: MessageBox.Show( "aaaaaaa" + Environment.NewLine + "bbbbb" ) Hope this helps, Andrej CStr not needed if you use the & concatenation operator: MessageBox.Show( "aaaaaaa" & Environment.NewLine & "b ...Show All
clintsinger Source Control Disabled
I've been configuring (well trying to) security. somehow I've managed to disable the Source Control menu option under the Team project settings menu accress all projects. What have I done I too am having problems. I have 2 clients on different machines connected (as Team Foundation Server Administrators) to a Team Project using the same user credentials. One one machine I have the 'Source Control...' context menu item when I select 'Team Project Settings', and on the other I do *not*, even though I am connecting to the server and the project with the same credentials. There does not appear to be any relationship between the order these client machines connect - one machine always shows the problem and ...Show All
darkfriend34 Work items in resolved state seem protected against changes.
Is this by design It is rather frustrating to see fields you missed entering and wish to ammend, and not be able to do it. I would rather see a dialog that strongly admonished against the action, rather than arbitrarily locking you out. Is there a way to override this behavior At any rate the error message 26201 is rather misleading, and not helpful in explaining the real problem. Actually it is our own, modified from Agile. The work item type is Meeting, which has been modified from task. The states are assigned, active, resolved. As soon as I put in the resolved state all the fields are locked. I do not see anything in the xml definition that I would expect to cause this behavior. < xml version=&qu ...Show All
Radamante [OTP]how do I automatically enter the address in the To:box from my Address Book?
It seems that I could do this without having to go back and forth or using a pencil.....my ex used to do all this stuff for me and would never show me easy tips...it helped lead to a divorce. These forums are for questions regarding .net programming...for questions regarding other microsoft products please see the newsgroups: http://www.microsoft.com/communities/newsgroups/default.mspx ...Show All
Mauro_Net Reset keyboard keys
I have a project I am working on and it requires that the keys on the keyboard read different than what is on them. For instance, I would like the letter "I", when press, to return the numeric value of "4". Can anyone help What change would I make to the code if I wanted the letter 'J', when pressed, to equal 4 One last question: I am reseting the number '9' key (across the top of the keyboard) to '0'. At the same time, I am reseting the period key to the number '9'. When I pressed the period key, the number '0' appears. Can you tell me how to keep this key, the 'period' key, from showing the number '0' and show the number '9' I put an answer in your earlier post with the same questi ...Show All
Bernd Wechner TFS KB919156 install error
I think I did a bad bad thing. When I have installed my server I used a local account for TFS service account and change it to a AD account later by using TFSAdminUtil. So I remember it yesterday when trying to resolve the issue concerning the KB installation. So this is what I did: Change TFS service account using TFSAdminUtil to use the original local account Install KB919156 (no error message when the TFS Service account was the original one) Install SP1 for TFS Install SP1 for Team Build Change TFS service account to use the AD production account But now, nobody could connect to TFS. Even the service and setup account have no access, all connections are forbidden. It seems that my server is not able to authentic ...Show All
qadirsyed A retired newbe
Ive followed MS try it to create a database. No problems Added a table also no problems and filled in some data. Ive opened a second project to connect to the first database and followed the Try it procedure. However when I update data and save it, it saves in my second project but does not update my database. My question is should it update my database and if not why do I need it. Balsoft Hi Yes I have these lines of code:- Me.VideoListBindingSource.EndEdit() Me.VideoListTableAdapter.Update(Me.FirstDataBaseDataSet.VideoList) I assume that is what you was refering to. I have read pages of material about the "Copy always" issues piblished in this Forum but ...Show All
