No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
21 Posted Topics
Using VB 2008, I am stumped. I have a fillby and getdataby table adapter query that does a SELECT COUNT from FILENAME where fieldname = textbox and I want to use the number of rows returned, but can't figure out how to reference it. This seems so simple, but I …
Okay, someone explain this one. I retrieve the environment variable USERNAME and assign it to a string variable. I can even show it in a MSGBOX and it shows "Owner". In my code I want to assign the value to a text box when it gets focus. It does it, …
I have a datetimepicker field with properties format set to time. I can find no reference anywhere on how to set the value of the time. i.e. today at 5 pm. it either defaults to 12:00:00 or I can set it to Now. But anything else? Can't figure out how. …
Hi, I am using Visual Basic 2008 Express Edition and published an application, and when I run the setup, it seems to install okay but when you run the program get an error message that the .sdf file is not found. I am using a Compact SQL database. I have …
Hi, Using VB 2008 Express with Compact SQL .sdf database. I have a form that at form load fills the form with a single record as selected by double clicking row header on a datagrid. This works fine. But when I change a field and hit the save data button …
Hi, I am a full time freelancer who works primarily in Visual Basic 2008 using the Express Edition. I love the fact that it is free, but I find it slow and somewhat quirky, even buggy in some frustrating cases. I guess I am asking for opinions on what your …
Hi, I recently have gone through some life changes where I have switched platforms and languages, from IBM's RPG series of languages RPG2, RPG3, RPG3, RPG-ile, of which I was on the IBM Toronto Language Lab customer advisory council for the AS/400 - i-series platform , I helped them design …
Hi, I am getting a BUILD FAILED error as such: Error 1 Comma, ')', or a valid expression continuation referring to code: Private Sub Crawler_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load This just suddenly started happening. Any advice? Thanks, Bill P.
Using Visual Basic 2008 Express, this has happened to me twice now. I have emailed projects as zipped email attachments, and then when I restore them and open the project, when I click on the VIEW menu, the Designer option does not show up! All I can do is look …
Might you try utilizing the mid left and right functions? Hope this helps, Bill P.
New to VB 2008, I was discouraged to Google results that said, "printing is not easy in VB," and found only baffling examples I could not understand until I found and tweaked this simple example. Here is how to create a simple "Hello, world." to the printer. First, on the …
try [code] 'ADD LINE FOR X = 1 to 45 if (x <=20 and >=25 ) then print x Else If (x <=40 and >=45 ) Print x endif 'ADD LINE NEXT X [/code] Hope this helps. Next time you post, please enclose code inside [code]...[/code] tags for readability. Bill …
Hi, using VB 2008 Express, I have a button on a form which is to use a datareader to loop through all the records in a file. When I try to run it I get a message indicating it could not connect. I assume something is wrong with my connection …
Using VB 2008 Express, this is not a problem but a philosophical question. Which is preferred method of providing user with error messages on forms, errorhandler or message boxes? Error handler seems like it's the direction Microsoft would like us to go in, with providing even the errror message as …
Consider using a database file to store all scores. The following might work. 1) Create data dictionary SCORES using database explorer 2) Create table scores with 2 fields, NAME and SCORE, maybe also SCORE_DATE 3) Create your new project and add datasource SCORES to it. 4) Drag datagrid view of …
Using VB 2008. I have a form with a text box and a button on it. The button displays another form with a datagridview from which I want the user to select from to populate the text box. On RowHeaderMouseClick, I populate the text box field from the first form …
Hi, using VB 2008, I have a datagridview bound to a datasource and want to position to a row based on the value keyed by the user in a textbox. I can sort of accomplish this with one line of code on the textbox changed event i.e.: Me.BindingSource.Position = Me.BindingSource.Find("ColumnName", …
This is not a problem but a question. I am new to VB and am curious as to the "Gestalt" (temper of the times) on this in terms of general practice. I come from an AS/400 (green screen) and also Clarion for Windows background. Generally, when I offer the user …
VB2008.I have a form which has a textbox and a button on it. the button shows another form, which has a listbox bound to a datasource on it. When the user selects a list item, i have code that sets the value of the textbox on form 1 to the …
I am new to VB 2008 Express and have built a few simple database applications, one with two tables, oth table have a primary key and one has a secondary key which I have added a relation to the other table using Dataset Designer. My question is: Is this relation …
Hi, I am new to VB 2008 and am trying to add a tableadapter to my app. I get as far as creating the tableadapter but when I try to add a column to the table I get an error message TABLE DOES NOT EXIST. Thanks in advance, Bill P.
The End.
Bill Purkins