Type: Posts; User: DataMiser
Search took 0.15 seconds.
April 17th, 2015, 04:17 PM
You really haven't given a clear picture of what you are trying to do. You say it should increment the range then you say A3 should be A4. Does that mean that you just want to do 3 and 4 and only on...
April 13th, 2015, 02:05 PM
Yes there is a progress bar control in VB.Net, it is in the toolbox with all the other controls.
You should replace and recode any controls that come up with that ax prefix if at all possible.
April 12th, 2015, 09:25 AM
Hve you tried using a Join statement?
April 12th, 2015, 12:18 AM
Please use code tags around blocks of code
Your lines of code here
and include proper indentation for readability
April 9th, 2015, 12:47 AM
If code is assigned a value in a different loop then you still have a problem. I assume that loop would be before the one you have shown so it goes through some list of values and assigns each one to...
April 8th, 2015, 06:52 PM
Well you are checking to see if Code is in the list
If it is not there you add it to the list
Code is never assigned a value and does not change within the loop so what is there to add?
April 8th, 2015, 06:49 PM
I think this one has already been resolved over at vbforums but the issue here seems to be the extra spaces being added to the ends of the phone number when the string is built
' " & TextBox1.Text...
April 8th, 2015, 06:46 PM
That code is just filling a variable and then assigning that value to another variable.
There is no code there that does any communicating.
Since there is nothing there that does any connecting...
April 7th, 2015, 01:09 AM
Don't do the insert from the text changed event. That event will fire with every change so you can get a lot more inserts than you want. You need to change the way you are thinking and trigger the...
April 6th, 2015, 10:55 PM
Does the textbox contain something at the time of the error?
Are your tables actually named Table1 and Table2?
Which line is giving the error?
April 6th, 2015, 12:58 AM
P.Phone= TextBox1.Text "
This part is a problem 1 because it is using the literal text "TextBox1.Text" rather than the contents and 2 because that is a string and is not in quotes.
April 5th, 2015, 05:43 PM
I am confused you say the code of the Join is as shown but you have not shown any join code.
April 3rd, 2015, 01:11 AM
April 2nd, 2015, 07:29 PM
Well I think you need to give more info, when you move the mouse there will be a lot of values coming through. How many do you want to store? Do you know how to create a 2d array? DO you know how to...
April 2nd, 2015, 07:17 PM
Well you are not passing any values to your function nor are you assigning a return value so it is basically going to be multiplying 0*0 and returning 0 which is the default value for a decimal...
March 30th, 2015, 08:47 PM
Well at first glance I would think that the field named From is a problem since that is a reserved word in SQL i.e. Select From
If you must keep that name then use s around it in the code but...
March 30th, 2015, 09:08 AM
You can search for samples just as easy as I can so why don't you do that? The process is simple. You create a form and then you put what you want on it and then you call it from your code when you...
March 29th, 2015, 06:25 PM
Did you try sending the line terminator using either writeline or by appending a carriage return to the end of your text i.e. CHR(13) ?
If you have a sniffer attached then all you have to do is...
March 29th, 2015, 04:27 PM
Could it be something simple like it wanting a CR after the data? If using putty [I'm not familiar with that] do you type in the code and hit enter? If so then you probably to to send that from your...
March 29th, 2015, 01:49 PM
The short answer is no vbyesno tells it to display 2 buttons Yes and No
Of course there are other options for buttons on a msgbox such as
March 29th, 2015, 01:46 PM
Well it would help if we had some idea what you have done and what problem you are having. Just telling us that you are using VB and can't get your program to work could mean a million different...
March 28th, 2015, 09:47 PM
intTotalRooms = intOccupiedRooms / intVacantRooms
Shouldn't that be
intTotalRooms = intOccupiedRooms + intVacantRooms
March 28th, 2015, 09:44 PM
You could also shorten that code up quite a bit by setting all those buttons to visible=false before the select case statement and then in each case only set the one that needs to be visible. Should...
March 28th, 2015, 09:36 PM
Use a variable as a flag. Set it to false when the question is displayed then when a key is pressed check the value of the flag
If false then set to true and accept the key
If true then a key has...
March 28th, 2015, 09:33 PM
Why not use a list or listview or grid view instead of text boxes?
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.