Forum: VB.NET Feb 6th, 2009 |
| Replies: 5 Views: 454 thanks. will try.
bill p. |
Forum: VB.NET Feb 6th, 2009 |
| Replies: 5 Views: 454 Thanks for the tip but it didn't work. The field it fails to initialize is bound to a database table. When I try it on a plain text box, it works without the .select stuff.
Any thoughts?
... |
Forum: VB.NET Feb 5th, 2009 |
| Replies: 2 Views: 483 Thank you so much. I will try it.
Regards,
Bill P. |
Forum: VB.NET Feb 5th, 2009 |
| Replies: 2 Views: 483 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... |
Forum: VB.NET Feb 5th, 2009 |
| Replies: 5 Views: 454 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... |
Forum: VB.NET Dec 22nd, 2008 |
| Replies: 3 Views: 1,132 Thanks for your response, I did look at the connection string and it appears to have no path specified, which to me would imply the current folder, no?
Thanks,
Bill Purkins |
Forum: VB.NET Dec 21st, 2008 |
| Replies: 2 Views: 1,837 THANK you! That was it ... |
Forum: VB.NET Dec 21st, 2008 |
| Replies: 2 Views: 1,837 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... |
Forum: VB.NET Dec 20th, 2008 |
| Replies: 3 Views: 1,132 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... |
Forum: VB.NET Dec 11th, 2008 |
| Replies: 4 Views: 404 [QUOTE=jbennet;755134]Its basically the same except it has more advanced features. Speed and stability wise its the same
The features the pro version has over it:
Better database tools
YAY! I... |
Forum: VB.NET Dec 11th, 2008 |
| Replies: 4 Views: 404 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... |
Forum: VB.NET Dec 11th, 2008 |
| Replies: 5 Views: 517 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... |
Forum: VB.NET Dec 10th, 2008 |
| Replies: 0 Views: 349 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... |
Forum: VB.NET Dec 9th, 2008 |
| Replies: 2 Views: 567 Nope. Didn't work.
Thanks for the suggestion though.
Best,
Bill P. |
Forum: VB.NET Dec 9th, 2008 |
| Replies: 2 Views: 567 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... |
Forum: VB.NET Jul 23rd, 2008 |
| Replies: 5 Views: 455 |
Forum: VB.NET Jul 23rd, 2008 |
| Replies: 5 Views: 455 try
'ADD LINE
FOR X = 1 to 45
if (x <=20 and >=25 ) then
print x |
Forum: VB.NET Jul 21st, 2008 |
| Replies: 7 Views: 2,691 SQL Server Browser was stopped. I started it. Now I get:
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the... |
Forum: VB.NET Jul 21st, 2008 |
| Replies: 7 Views: 2,691 When I use
Data Source=MyData.sdf;Persist Security Info=False;Data Source=MyData.sdf;Persist Security Info=False;
I get error:
An error has occurred while establishing a connection to the... |
Forum: VB.NET Jul 21st, 2008 |
| Replies: 7 Views: 2,691 I find my connection string saved in my application configuration file, but when I refer to it by name I get this error message:
Error 1 Reference to a non-shared member requires an object... |
Forum: VB.NET Jul 21st, 2008 |
| Replies: 12 Views: 1,268 Martin,
I agree, and see your point, especially as I am a heads down typist and am a long suffering victim of exactly what you speak of, "STOLEN FOCUS." I never knew what to call it.
I might... |
Forum: VB.NET Jul 21st, 2008 |
| Replies: 12 Views: 1,268 Martin,
Excellent link regarding the modal message box. Point well taken, though neither approach is perfect. In the GREEN SCREEN (egads!) world, we show a bright eye catching message at the bottom... |
Forum: VB.NET Jul 21st, 2008 |
| Replies: 12 Views: 1,268 Martin,
But the errorhandler requires the user to position the cursor over the red ! to even see what the error is, which is also extra work, plus the error message is limited by not allowing... |
Forum: VB.NET Jul 20th, 2008 |
| Replies: 4 Views: 1,565 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... |
Forum: VB.NET Jul 20th, 2008 |
| Replies: 6 Views: 4,545 Might you try utilizing the mid left and right functions? Hope this helps,
Bill P. |
Forum: VB.NET Jul 20th, 2008 |
| Replies: 1 Views: 2,675 Hmm... no comments and it works, so I guess I'll just shut up. Ha. |
Forum: VB.NET Jul 20th, 2008 |
| Replies: 12 Views: 1,268 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... |
Forum: VB.NET Jul 20th, 2008 |
| Replies: 7 Views: 2,691 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... |
Forum: VB.NET Jul 19th, 2008 |
| Replies: 4 Views: 1,642 Thanks for your reply. That is basically what I am doing. My problem is that I want to use the value of COUNT in code, i.e.
if count = 0 then
' do something
end if
How do I refence it? |
Forum: VB.NET Jul 19th, 2008 |
| Replies: 4 Views: 1,642 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... |
Forum: VB.NET Jul 18th, 2008 |
| Replies: 1 Views: 3,026 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.... |
Forum: VB.NET Jul 17th, 2008 |
| Replies: 6 Views: 5,021 In playing around, I tried filter with a wildcard on a new textbox field and it works great:
Private Sub TextBox2_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs)... |
Forum: VB.NET Jul 17th, 2008 |
| Replies: 6 Views: 5,021 Thanks, this looks like it will work. In the interim, I have another solution which I came up with and will stick with in this case, as if it ain't broke, etc...
What I did was loop through the rows... |
Forum: VB.NET Jul 15th, 2008 |
| Replies: 6 Views: 5,021 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... |
Forum: VB.NET Jul 15th, 2008 |
| Replies: 1 Views: 2,675 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... |
Forum: VB.NET Jul 13th, 2008 |
| Replies: 0 Views: 632 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... |
Forum: VB.NET Jul 13th, 2008 |
| Replies: 1 Views: 860 Well, I found a way around it, but I'm not sure it makes sense. Instead of closing form2 I hide it, and the value remains in the Form1 textbox field. Is this the way to do it? It doesn't seem that... |
Forum: VB.NET Jul 13th, 2008 |
| Replies: 1 Views: 860 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... |
Forum: VB.NET Jul 12th, 2008 |
| Replies: 0 Views: 606 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... |