Showing results 1 to 40 of 49
Search took 0.01 seconds.
Posts Made By: Mr.Wobbles
Forum: VB.NET Jul 7th, 2008
Replies: 4
Views: 724
Posted By Mr.Wobbles
Re: use data in xml file from database

Dim getFieldNumbers As String = "SELECT fieldInfoID FROM fieldInformation FOR XML AUTO, XMLDATA"
Forum: VB.NET Jul 5th, 2008
Replies: 4
Views: 724
Posted By Mr.Wobbles
Re: use data in xml file from database

Its a simple SELECT statement that formats the results in XML, I can't remember exactly what it is but I tested it on the database without the program - and it works just fine - when I get back to...
Forum: VB.NET Jul 2nd, 2008
Replies: 4
Views: 724
Posted By Mr.Wobbles
use data in xml file from database

I am getting information from a database and reading it into an xml file - I've tested the SQL and it works just fine on the database I am using - but it won't return anything once I've got it and am...
Forum: Visual Basic 4 / 5 / 6 Jun 19th, 2008
Replies: 0
Views: 460
Posted By Mr.Wobbles
load db info to a combo box

I have no problem getting it there in the first place - my problem lies in the fact that I cannot get it to update - I have this code:


Private Sub reloadFieldNames(ByVal tableName)

Dim da...
Forum: VB.NET May 19th, 2008
Replies: 3
Views: 620
Posted By Mr.Wobbles
Re: Saving settings in a VB Program

I think I will create another data table in the database for the field information, thank you
Forum: VB.NET May 15th, 2008
Replies: 3
Views: 620
Posted By Mr.Wobbles
Re: Saving settings in a VB Program

I am using MS Visual Studio 2005 - btw
Forum: VB.NET May 15th, 2008
Replies: 3
Views: 620
Posted By Mr.Wobbles
Saving settings in a VB Program

I've been looking for answers to this problem for awhile, and none of what I find seems to work. I have a program that creates a database, and a form based on that database, where the form fields...
Forum: VB.NET May 14th, 2008
Replies: 3
Views: 1,125
Posted By Mr.Wobbles
Re: How to display data set.

Im not sure about this, but I think the "Runsheet Info" should be the table name that you are pulling from. According to your SQL the table is "Sheet1". Now, again I'm not sure about this, but it...
Forum: MS SQL Apr 25th, 2008
Replies: 1
Views: 895
Posted By Mr.Wobbles
MS SQL insertion via VB (Query question)

I am trying to insert tables into a database that I created at runtime, I am using MS SQL Server Express, and I have tested this query and it works, in the sense that a table is created. However the...
Forum: Visual Basic 4 / 5 / 6 Apr 16th, 2008
Replies: 0
Views: 257
Posted By Mr.Wobbles
How do i Create a BindingNavigator at Runtime

The Title says it all - I don't really need the exact code, but a point in the right direction would be appreciated.
Forum: Visual Basic 4 / 5 / 6 Apr 16th, 2008
Replies: 12
Views: 1,566
Posted By Mr.Wobbles
Re: Deleting A row from a List Box

using i, as you go through the loop you increment i, (0, 1, 2, 3, etc...) and that will increment the row that you are on. If you want a specific text then using the if statement you check to see...
Forum: Visual Basic 4 / 5 / 6 Apr 16th, 2008
Replies: 12
Views: 1,566
Posted By Mr.Wobbles
Re: Deleting A row from a List Box

You could iterate through the list box items in a for loop, keep a variable that changes by one each time (usually i) and use lst.Reorder.RemoveItem(i), replace i with whatever you use, and if you...
Forum: Visual Basic 4 / 5 / 6 Apr 11th, 2008
Replies: 1
Views: 851
Posted By Mr.Wobbles
Re: Positioning a Group Box at Runtime - Help

Goodness, This was a simple fix, something that occurs when I stare at code to long - I miss the obvious. I was only declaring the group box at the beginning and therefore using the same one every...
Forum: Visual Basic 4 / 5 / 6 Apr 11th, 2008
Replies: 1
Views: 851
Posted By Mr.Wobbles
Positioning a Group Box at Runtime - Help

I am writing a program that will take input from the user in the form of a tree-view and create a form and a database based on the tree-view. I have everything working except the group-box control...
Forum: MS Access and FileMaker Pro Mar 7th, 2008
Replies: 1
Views: 6,064
Posted By Mr.Wobbles
Help me with: Access CREATE TABLE() SQL

I have a program that creates a SQL statement based upon a treeview list that the user makes. The SQL statement looks like this:

CREATE TABLE Test ( Test ID PRIMARY KEY, Check1 CHAR(255), Check2...
Forum: VB.NET Mar 1st, 2008
Replies: 2
Views: 3,577
Posted By Mr.Wobbles
Re: Treeview Child Nodes

I solved it myself, and since this happens to me often, I have stopped posting how I did it..
Forum: VB.NET Feb 29th, 2008
Replies: 2
Views: 3,577
Posted By Mr.Wobbles
Help Treeview Child Nodes

I am trying to add child nodes to a Treeview list, I have the parent node and this is the code I have to add the child node:


parentNode = New TreeNode()
parentNode.Text =...
Forum: MS Access and FileMaker Pro Feb 26th, 2008
Replies: 3
Views: 798
Posted By Mr.Wobbles
Re: SQL For MS Access?

I have tried that before but this is my problem with that:

http://www.daniweb.com/forums/thread99598.html

So I was looking to see if there was another way -- I have had this problem for a long...
Forum: MS Access and FileMaker Pro Feb 25th, 2008
Replies: 3
Views: 798
Posted By Mr.Wobbles
SQL For MS Access?

I am writing a program in VB 2005 Express and I am using SQL to insert, delete, etc. I was curious if there was a SQL statement that would allow me to backup the database in Access - I have tried the...
Forum: VB.NET Feb 15th, 2008
Replies: 2
Views: 1,986
Posted By Mr.Wobbles
Re: Retreive Data Between Two Dates From Ms-access Using Vb.net

Without knowing which error you are getting it is hard to tell what to say, something to check though would be to make sure that you have the same format of date in your database as you are passing...
Forum: VB.NET Feb 15th, 2008
Replies: 2
Views: 1,975
Posted By Mr.Wobbles
Re: Alignment of text in a datagridview column

This should help you out..

http://msdn2.microsoft.com/en-us/library/system.windows.forms.datagridview.columnheadersdefaultcellstyle.aspx

I believe you will want the code example second down (VB...
Forum: VB.NET Feb 13th, 2008
Replies: 1
Views: 1,165
Posted By Mr.Wobbles
Re: Help with nested sql statements

Instead of nesting the queries I pulled them apart and set the Select statement to a variable and then called my sql for the insert statement. If anyone has any better ideas just let me know I am...
Forum: VB.NET Feb 13th, 2008
Replies: 1
Views: 1,165
Posted By Mr.Wobbles
Question Help with nested sql statements

First I will show you my sql, just in case it is some obvious syntax error on my part:


"INSERT INTO tblResults(status, enthusiasm, communication, knowledge, interaction,
...
Forum: VB.NET Feb 13th, 2008
Replies: 0
Views: 319
Posted By Mr.Wobbles
Question Help with nested sql statements

oops - double post, sorry
Forum: VB.NET Feb 11th, 2008
Replies: 1
Views: 499
Posted By Mr.Wobbles
Re: Small Database Problem

I figured it out, apparently I have been looking at it for to long, SQL statements that you want to compare and are Integers do not have quotes around them. So i checked the type in an if statement...
Forum: VB.NET Feb 11th, 2008
Replies: 1
Views: 499
Posted By Mr.Wobbles
Question Small Database Problem

i have this code to check and make sure that I wont be inserting duplicate records into my table. i take whatever is in the dr variable and if it is 0 then I go ahead, if not I don't do anything with...
Forum: VB.NET Jan 30th, 2008
Replies: 0
Views: 2,249
Posted By Mr.Wobbles
help with reading in text from a website

Hi, I have two things that if I can do one I won't need to do the other, so whichever is easiest you guys answer me either way. What I am trying to do is get text from an email and download it into...
Forum: VB.NET Jan 18th, 2008
Replies: 1
Views: 1,661
Posted By Mr.Wobbles
Re: Pls. Help!!! HOW DO I IMPORT AND EXPORT

In order to interface with excel you have to make the reference to it, go to Project -> Add Reference -> under the COM tab select Microsoft Excel 11.0 Object Library (could be a different number...
Forum: VB.NET Jan 18th, 2008
Replies: 0
Views: 361
Posted By Mr.Wobbles
Help Downloading attachments with VB

I have looked quite a bit for this so if anyone could help that would be appreciated.

What I want to do is to access a Microsoft Outlook Web email account, I have the server name, port, there is no...
Forum: Visual Basic 4 / 5 / 6 Dec 6th, 2007
Replies: 13
Views: 2,397
Posted By Mr.Wobbles
Re: Finding directory of VB project dynamically

hkdani - the only potential problem I can see with that is my database is in a different folder than what app.path return, the folders that each are in are in the same location, also I can't really...
Forum: Visual Basic 4 / 5 / 6 Dec 5th, 2007
Replies: 13
Views: 2,397
Posted By Mr.Wobbles
Re: Finding directory of VB project dynamically

The DB is installed to an alternate folder than the application directory for example:

Directory
Folder 1 = What app.path returns
Folder 2 = Where the database is at

All of the folders...
Forum: Visual Basic 4 / 5 / 6 Dec 5th, 2007
Replies: 13
Views: 2,397
Posted By Mr.Wobbles
Re: Finding directory of VB project dynamically

That works when I debug. However when I publish it and try to work on it as an application then i get an error message - it can't find the file. I looked and figured out it was in a different folder...
Forum: Visual Basic 4 / 5 / 6 Dec 5th, 2007
Replies: 3
Views: 1,101
Posted By Mr.Wobbles
Re: Searching database file in the application path in visual basic 6

If(System.IO.File.Exists(path As String) = true){
MsgBox( message As String )
}else{
FileCopy(Source As String, Destination As String)
}
Forum: Visual Basic 4 / 5 / 6 Dec 5th, 2007
Replies: 13
Views: 2,397
Posted By Mr.Wobbles
Re: Finding directory of VB project dynamically

That worked well, thanks! I don't know why I didn't see that before. (I'm not being sarcastic if it sounds that way... seriously)
Forum: Visual Basic 4 / 5 / 6 Dec 4th, 2007
Replies: 13
Views: 2,397
Posted By Mr.Wobbles
Question Finding directory of VB project dynamically

If someone could tell me if there is a function or method, or some way of finding the directory that the VB project loads to when it is installed on other computers that would be great. What I want...
Forum: Visual Basic 4 / 5 / 6 Dec 4th, 2007
Replies: 3
Views: 1,446
Posted By Mr.Wobbles
Re: How to backup database when it is not in use.

This is what I did to backup my DB whenever I had to - problem is I'm not sure how to find the file to restore it.


Public Sub backupDB()

Dim backupName As String
Dim DBName As...
Forum: VB.NET Sep 6th, 2007
Replies: 3
Views: 3,704
Posted By Mr.Wobbles
Re: Backup and Restore Database

Perhaps I didn't explain well enough. I need to know how to use relative paths that will work from within the program because apparently if I try to start from outside it cannot find the path (and...
Forum: VB.NET Sep 5th, 2007
Replies: 3
Views: 3,704
Posted By Mr.Wobbles
Question Backup and Restore Database

I am currently using a database within my program and I have no problem backing it up or restoring it when i am simply debugging. However if it is published and downloaded it cannot find the path...
Forum: Visual Basic 4 / 5 / 6 Jul 19th, 2007
Replies: 5
Views: 4,459
Posted By Mr.Wobbles
Re: VB 6.0 - Accepting value (email address)from Inputbox

you will need a textbox, in your form, and set the OutlookMail.To = to the textbox name and put a .text after it.

OutlookMail.To = textboxname.text
Forum: Visual Basic 4 / 5 / 6 Jul 19th, 2007
Replies: 3
Views: 1,497
Posted By Mr.Wobbles
Change Button Appearances

The button changes an ugly peach color, which doesn't go well with a green theme, when they are clicked. I can't seem to find where to change this color. Any help is appreciated!
Showing results 1 to 40 of 49

 
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 10:05 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC