Hey guys it's me again and it tooks some time to understand everything you were feeding me. I'm still a bit fuzzy but now I'm using Parameterized Query's. I'm getting the following error when i attempt to add a new record to my DB.
Here is my code:
conn = New...
I'm trying to figure out how to make my child form look like Office 2007.
For instance,
When you open a word document it has A background that is blue with the Page centered in the background area of the child form. Now this I can do but I want the Shadowed look like Office 2007.
I took a...
Hey all, I'm having trouble figuring out how to set the position of the Binding Navigator.
I'm Displaying a child form and when I hit the edit button I've setup I want my next form, which contains a BindingNavigator bar, to be set to the correct file location of my databas so all of my bound...
I need help contructing an SQL query that allows me to select only Packages from my db that have the same ContactID as whats in Contact.
I've been using QueryBuilder and I can get this,
but it gives everything not just those with the same ContactID in Contact.
As you can see it gives...
Ok I can rememeber doing this before but for some reason it's not working now.
I want to set my textbox to have the flashing cursor and be ready for input after the form is loaded.
I thought you used focus so I am using this :
txtLastName1.Focus()
But it isn't working. Any ideas? What am I...
Please anyone with DOTNETBAR. Can you tell me how to setup a Button on the ribbonbar to contain the MDIWindowList? I'm not finding a property for it and I thought maybe you could add a menubar, create a menuitem that would be the MDIWindowList, make it invisible. And somehow link the menuitem...
I'm trying to set up my binding navigator bar to only display data pertaining to a certain ID.
BindingSource1.DataSource = dsPackage
BindingSource1.DataMember = "Package"
BindingNavigator2.BindingSource = BindingSource1
Now within Package is a field name PackageID
I would like my binding...
Ok I'm getting confused with which event I need to place my code to enable and disable buttons on my toolbar.
I had an MDI interface and only want certain buttons to enable when certain forms are active.
I feel it should be as simple as adding code to the event of the MDI child to enable the...
Let's say I have a database setup with 2 tables
The first is CONTACTS the second PACKAGE
Both tables have the field CONTACTID
This is because the first table contains primary customer information. Name, Address, etc.
The Second contain's products they have purchased. Since they might have...
Hey all I'm having a slight issue I hope someone can help me with.
This code allows me to update my database just fine, with one exception.
If I try to delete a field and make it blank I get an error stating that it cannot be a zero length field.
How can I delete a field and update my...
I have created a windows with textboxes bound to my database, they display the current field information. I have a bindingnavigation bar also and Everything works fine as far as I can move from record to record and back using the navigation buttons and I can click add and it will move to the...
Ok I know this is going to be stupid, I thought I had this figured out but it's not. When I update it adds the modifed Information to my database instead of Modifying the existing record.
I think I'm forgetting to remove the Old record before I save the new updated.
Here's my code...
Hello everyone.
I know there are numerous listing here on people having this trouble but After reading through several I am even more confused than ever.
I have no problems generating and changing fields for my Crystal Reports in VB 2005.
However I need to change the Database location...
I'm writing a configuration XML file and I'm setting these fields to save my information. My problem is I get an error. String was not recognised as valid Boolean.
Private Sub WriteconfigValues()
ConfigOpt.SetOption("DBPath", TempPath)
ConfigOpt.SetOption("ALLUD", cbALLUD.Checked.ToString())...
Hey guys I'm wanting to bold some of my text in my msgBox.
Is there perhaps a chr() value that will enable bold and disable bold?
Here is my msgbox string;
DeleteMessage = MsgBox("You are about to delete the record for [" & Me.ActiveMdiChild.Name & "]" & Chr(13) & Chr(13) & "If you click...
Is there a way to tell programmatically if you have any open MDI children windows?
I need to be able to enable some buttons only if there are open MDI Children.
Hey guys Anyone know how to make the input in the SaveFileDialog Read Only. I tried the .Readonly option but it apparently doesn't exist in .net.
I'm wanting to allow the user to select a directory to save a file but not be able to rename it.;)
I have the SDK and Extensions installed and I'd like my OpenFileDialogbox to look like the ones in Vista. I assume they are from the framework 3.0
What I don't want to hear is the only way I can use them is to rewrite my app in WPF to do it.
How can I call it from my app. By the way I am...
Guys I seem to have encountered an interesting problem. I've installed Vista and VB 2005 Pro on my computer and The application I've been developing under XP with 2005 Pro can't open my Jet Database.
No code has been changed since changing OS's It ran perfectly fine under XP but now I get an...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.