VS 2010 Where Is InputBox Located
May 1, 2012I know that it is Microsoft.VisualBasic and this is where I need help. Should be quick question I am sure.
View 3 RepliesI know that it is Microsoft.VisualBasic and this is where I need help. Should be quick question I am sure.
View 3 RepliesI have default.aspx used masterpage, in master page i have a control called DefaultMenuContent, this control have a dropdownlist with autopostback, the problem is loosing the selection even if i use Is Not PostBack in control's load event, how to persist the dropdownlist selection?
In Master:
<asp:ContentPlaceHolder ID="MenuContentPlaceHolder" runat="server">
<art:DefaultArabicMenu ID="DefaultMenuContent" runat="server" />
</asp:ContentPlaceHolder>
[code]....
I have an assignment that asks me to:
1. create a button
2. when that button is clicked, an inputBox will appear to ask the user how many words they will enter.
3. then display an inputBox for each word.
For example, when the first inputBox appears, I enter "3" (meaning that I will enter 3 words).Then there should be 3 more inputBox (each inputBox allows me to enter only 1 word)After I enter the third word, there will be no more inputBox.How can we FLAG (stop) the inputBox, or let the inputBox know when to stop showing up?
So my program works fine adds everything up....the problem now is the recurring input box...i understand why it`s recurring as its getting called from GetInStock function then the ReadyToShip function....i only need it to show up once...after the calculate button is clicked....could someone give me some insight as to how to fix this? Im new to VB and have no idea..
[Code]...
I want to have a DataGrid in a form Docked as Fill, and have it located below the ToolStrip.What I mean by Docked as Fill is I want to be able to resize the DataGrid along with the Window Form.When I select Dock as Bottom, the space between the DataGrid and ToolStrip changes as well.
View 1 RepliesQuick question on the InputBox. I am just learning this, what is the code to "read" commands that are placed from the Inputbox? I can do this in the command line: System.Console.Writeline(), System.console.Readline()
I just would like to know how read the line from the inputbox. Also when I debug my script do I -always- need to have the command prompt in the background?
I am working on a small desktop form in VB 2010 and am trying to place a pictureBox with an image in it, next to another pictureBox already located on the form when the user clicks a button.
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
Dim tool As String
[Code]....
But for some reason the newPictureBox with image from "ptext" does not show up on the form. When I specify the new Point to be something like, (50,50) instead of getting the first pictureBox coordinates, the new pictureBox shows up in the right place.
Am I using System.Drawing.Point wrong? Or is there some other error that I'm making?
Trying to get this for the last couple of days,but can't figure it out.I found a DVD class in vb.net but how can you tell it what Drive it needs to look for and also to a folder on your harddisk?
I found this one DVD.DVDDirectory = "c:dvdmovievideo_ts"but i'm getting all kinds of weird errors, that its not compatible?
Anyone knows how to do this correctly?I'm just trying to get a overview from a DVD that shows all the titles and chapters/ sound etc..
I did a little research to find a source that would check the proxy server whether if the server is a located at government or fbi's server, but I couldn't find what I am looking for.
View 10 RepliesI have a DataGridView that is embedded in a TabPage of a TabControl and the TabControl is embedded in a SplitterPanel of a SplitContainer and the SplitContainer is embedded in a ToolStripContentPanel of a ToolStripContainer which is on a Form. I want to get the name of the form the DataGridView is on, how do I do this?
Note: Sometimes in my application the DataGridView will not be embedded in any control other than the Form. So I would need this code to work no matter what the DataGridView is embedded in. For example, if I send my DataGridView as an argument to a function how can I get the name of the form the DataGridView is located on?
[Code]...
Well whenever I reference a file I have been doing so using the full C://location/here kinda way, but my next program will be on CD so I need to figure a way to locate files that will be on the CD drive.In other languages I have used, %A_ScriptDir% and then go from there, is there something similar in vb?
View 10 RepliesIs it possible that i can run a vb6 exe file located in another computer using my vb.net program? how?
View 4 RepliesI have this main form, that uses dll's to get information. One of them is to have a preview of a video. So the one dll has its main class, that contains this.[code]...
View 8 RepliesI am trying to connect to a dbf file.. I have it so right now I can specify the path of where the dbf file is located ie, C:\Temp but there is more than one dbf file located in the folder and I don't know how to get it so I can specify which dbf file to open. I have done searching and believe I have to do it thought a SQL statement but am not sure how to go out it and once the statement is created how to use that to open the connection.
View 2 RepliesHeres my code under the console application[code]...
How do I keep the inputbox up until the user guesses the right answer?
I will have people send me (a zipped archive of) an entire VB project and when I try to open it, I get a message that "The system cannot find the file specified" for one or more files. I have had them bring their laptop with the project on it, and it runs, but when I search the folder, I only see the files they sent me. Apparently sometimes files get stored (or moved) elsewhere and their system will track the locations, so their computer can find the files??? Really not sure how or why this is happening.Is there any way to have VB report where all the files in a project are actually located? There are so many files and so many folders in even a simple VB.net project that trying to track these down myself is very frustrating.
View 1 RepliesI have to connect Access DB located in web server with VB.NET Windows application.
View 3 RepliesI will have people send me (a zipped archive of) an entire VB project and when I try to open it, I get a message that "The system cannot find the file specified" for one or more files. I have had them bring their laptop with the project on it, and it runs, but when I search the folder, I only see the files they sent me. Apparently sometimes files get stored (or moved) elsewhere and their system will track the locations, so their computer can find the files?Is there any way to have VB report where all the files in a project are actually located? There are so many files and so many folders in even a simple VB.net project that trying to track these down myself is very frustrating.
View 13 RepliesI want to change the defaults of setup project, (ex. installallusers to true, it comes with false). Any one know where is the setup project template, so I can change it
View 6 RepliesI am unsure why all of the sudden i am getting this error every time i compile and run my VB.net program running Oracle 10g. It ran fine many times but all of the sudden keeps saying this now.
[URL]
It happens on this line:
myConnection = New OleDbConnection("Provider=OraOLEDB.Oracle;Data Source=(DESCRIPTION=(ADDRESS_LIST=" & _
"(ADDRESS=(PROTOCOL=TCP)(HOST=" & dbHost & ")(PORT=" & dbPort & ")))" & _
"(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=" & dbServiceName & ")));" & _
[Code].....
Once it gets to the myConnection.Open() is when it displays that error box. Like i said, i used to work just fine.
I have two MS Reports with each their own dataset.The first one works but the other does not fill anything in it's table. When I debug the dataset, just before showing the Report, it's fill, and I did the same setup as with the first report.I get no errors og other input.. The table just not show any rows at all. Is their any log files that can tell me something and if so, where can I find them?
View 2 RepliesI always wondered, but is there a way to get My.Settings to save even when you move a program, such as copy it to another location? Maybe its just me but whenever I use My.Settings in an application, copying it into a different directory will reset all the settings, which kind of sucks.Is there anyway to get the values to stay in the application no matter what? If not My.Settings, than is there any way to store a value to a program so that you don't have to use external files, but so that it will remember the settings even when copied?
View 8 Repliesi'm making a multi-line text box, i need somone to add input in a InputBox, and it to write it to a setting (My.settings) but, i need each input to start with a new line, i've tried chr(10) + chr(13), but nothing works!
View 3 Replies[code]......If someone leaves the txt2 empty.... and they click the button how can I pull up another inputbox like for <= 0?
View 3 RepliesHow do you make an Inputbox without a title?
I know you can do it this way:
inputbox("Please answer a question", " ", "")
This way you put a space in the Title property.
But is there another way to do this without putting a space in the Title property?
Maybe there is an inputbox without a title in vb.net?
How do I access a file located directly in my bin folder via a relative file path?
View 2 Repliesi want to connect to mysql located on my website's server in visual basic.
View 1 RepliesI'm trying to delete a dll file in the system32 folder but receive a permission error (Access to the path 'c:\windows\system32\testfile.dll' is denied.)
I'm using:
[code...]
I have multiple versions of an app that uses a dll, I have to replace the dll with the correct version and register it. The plan was to delete it from system32, and copy over the relevant version, then register it.
I am using ASP.NET 3.5.
In my code behind i have this code that i want to execute from my JavaScript.[code]...
I have the listview1 saving writing good.List view is two columns First column name Second Column being URL. [code] What I can not figure out is how to get the url located in column two to open a the webbrowser1 in form1.
View 4 Replies