Make Textbox Consume Entire Form?
Oct 23, 2009I'm not sure if I stated that right in the topic, but I was wondering if anyone knows how I could make a textbox take up 100% of the form.
View 2 RepliesI'm not sure if I stated that right in the topic, but I was wondering if anyone knows how I could make a textbox take up 100% of the form.
View 2 RepliesSo I am making kinda of wizard, with options and a next buttons all in the same form but using hide and show.I have 3 of them. How can I make variables accessible to the entire form?
View 5 RepliesHow to make main form large: entire workspace less 10% margins on each side using vb.net.
View 2 RepliesI have a form with a text box in a toolstrip. I would like to make the width of the textbox relative to the form size when the form is resized. The following code works fine except when you click the restore button from a maximized state.
[Code]...
this code get the data from the sql where the name = @word which is the variablecontaining the word to search for my problem is i want to check all the table columns not only one column ? is it doable ?
Public Function Search(ByVal word As String) As DataTable
Dim Dt As New DataTable
Dim Adp As New SqlDataAdapter
[code].....
I've recently began to use OOP in my application and now I'm stuck on how to use it properly.
View 2 RepliesCan We make Search like feature using VB.Net? Search should look for files given in textbox in the selected drive(c:,D:,e,etc) or from drivelistbox.
View 2 RepliesI have another question (and anticipate that I will have about two more before I'm done with my class project). Here is my issue (and I'll copy and paste my code for clarification). I need to link up the control from the form on either side of the current form that I'm working on so that if I click on the buttons that I'm titling previous and next that I can click on the proper button and either go directly to the previous form or the next form. I was successful in doing this for two earlier forms on this project (with some direction from a couple of helpful people on this forum before), but for some reason, no matter what I details I use the controls do not connect to the previous and next forms.
Option Explicit On
Option Strict On
Option Infer Off
[code]....
I created a class with a function. How can I make this class usable by other classes and other forms within my project?
View 9 RepliesI have a ListView with two columns, and before enter a new item in the listview, I want to prevent entering a duplicate value, so I found ListView.FindItemWithText to accomplish that.
But I realized that if I enter 232323, and then enter 2323, which is different but starts with the same digits as the first entry, the function returns that item as a match.
I wonder if there is any way to match the whole text (exact text) to avoid the above.
Here is my code:
Dim ChkSIM As New ListViewItem
ChkSIM = lvItems.FindItemWithText("2323")
If Not ChkSIM Is Nothing Then
lblErrorSIM.Text = "Already in list"
End If
I work at a pawn shop, I made a program to compare prices at ebgames ca/com, im looking for a way to take the pre-owned price and put it into a textbox instead of rendering the entire page every search.This is what I got going now:
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
WebBrowser1.Navigate("http://www.ebgames.ca/browse?nav=16k-" + TextBox1.Text)
[code]....
I would make a textbox in the form, then I add a Microsoft Speech Object Library reference. Then using Microsoft Speech, I would have the text-to-speech option. In the same class I would add this
''' <summary>
''' Starts text to voice.
''' </summary>
[Code]....
So now the problem is that the text in txtanswer would be something like, "hello" or whatever it is. When I try to read it from the SoundThreading class, the text in txtanswer returns empty.
When i use my program, i resize my form but my textbox stays the same. I want it to resize itself with the main form.
What is the code for this, and for what?
I need to disable every control on my Form so that the user can not click or press any key that will change values of listboxes and other controls on the form. I need to be able to lock the whole Form like this because as part of the project I have to print the form 3times with 3 different colors and the only way I've been able to get it to work is with a timer. So for about 3 seconds the form is changing colors and printing itself, so in between that time the user could accidantely click something and change a value on the form when all three prints should be of the same form, only difference is in the color.I can't use disable as that will make all the controls look faded and messed up, I need a clean way to prevent anything from being changed.
View 39 RepliesI have 2 textboxes one for datetime picker and another for entering the name. i waant to make the datetime textbox invisible when the form is executed & when i press save the data from both textboxes should be saved into the database.
View 3 RepliesI'm trying to make my form nearly transparent when the mouse is not inside the form by changing the opacity.I'm having trouble because if the mouse is moved quickly, I can't get its position accurately. when the mouse is moved into a control, it's considered to have left the form. Is there an easy way to do this that I might be missing?
View 6 RepliesI have a user who wants to print the form that is on the screen(the entire form not just the data) on the click of a button, is there a quick and easy way to capture it and print it. Kind of like a screen shot? I suggested that they could just do alt/printscreen and capture the form that way and print it but they want it all to be done from a print button for them.
View 14 RepliesI have a program and wish to generalise its appearance at startup on different machines. This worked OK until I moved it onto a Windows 7 unit with a 22" screen. The front page covers less than 2/3 of the screen. I know I've asked the system for 'working area' but could not find a reference to the entire screen which other applications seem able to use. How can I catch up with them? The code is from VB in VS2005. Is this my limitation?
[Code]...
I would make a textbox in the form, then I add a Microsoft Speech Object Library reference. Then using Microsoft Speech, I would have the text-to-speech option. In the same class I would add this code:
[Code]...
My form contains lots and lots regular expression and other things in one button. whch when pressed takes some time to process.. so the form kind of gets stucked while the processing is bieng done.is there any coding for which it diables the entire form until the process is completed? like disabling the entire form and showing a text "please wait ... processing data" so user can not use other buttons or features at the same time or it might get crashed.
View 5 RepliesI am using Visual Studio 2010..I have multiple forms and when I hit close button(red X, top-right) from any form, i want the project to close entirely.Now when I do this, this does not happen by default. I always have to click on the 'stop' button in VS for it to close.
View 6 Replieshow I would be able to print the entire portion of the screen which the form occupies,Basically, my problem lies in that the way I print now will properly print the form's buttons/labels/textboxes etc. But it will not print the WebComponent AxChartspace that I have added to it. So basically my form is partially blank.
View 14 RepliesI'm pushing the bounds of what one should ask of others with this one, but I'm totally stuck, so here goes.This is my first web service. Not only that, it's my companies first web service - nobody I work with has ever written or consumed anything like this one. I know these things are not complicated, but for a first kick at the can, this is killing me because the API is so large.
[Code]...
I need to write a Windows forms app in VB 2008 to communicate with a Web Service.I have searched MSDN and many other sites trying to find a good tutorial or example code with no luck. The one really good piece of code I found did not compile.It needed to import Microsoft.UDDI.I found numerous references to the UDDI SDK, but could not find any site where I could successfully download it.I have the UDDI.dll but it is in my VB 8 folder and would not register.There is no such ddl in my VB 9 folder.
View 3 RepliesI'm very very new to vb.net. I have the following web service configuration:
1. Axis2
2. Https enabled with -x509
3. Public method: String login(user, password)Everything works well in Java.
I wanna write a vb client to 1. connect to https and authenticate.2. send user / pwd to login() service
3. receive message back from login() service.
i would like to ask if how can my vb.net app client consumes dynamic web service (URL). sometimes my webservice changes its IP thus my vb.net client can't connect to the webservice during compilation of my code. in vb6... i can simply do some dynamic change in my webservice using SOAP
[code]...
I am trying to consume a web service using VS2008.
The code below works in VS2005 but not VS2008 I, suspecting it's to do with WCF. Please can someone help me to solve the puzzle?[code]...
I am using VS2010, and i am deveolping a 3 tier application.how to consume a webservice from a windows application form ?
View 2 RepliesFrom a .NET application, how do I consume a Web Service developed using gSoap c/C++ library? I can create a C/C++ client using gSoap library to consume the web service. But I need to consume it from within a .NET (C#) application. I tried Adding a Web Reference but that doesn't seem to work. Would I need to work with raw Soap Packets?
View 2 RepliesWe are in the process of creating a new WCF web service (WCF service that has an basicHttpBinding Endpoint) to carry out some of our business logic. The web application connects not problem at all, however our legacy Compact framework application doesn't seem to see the service at all. Are we on to a loser here and should we just revert to ASMX web service (the Compact framework cannot be upgraded) or is there a way around this?
View 1 Replies