No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
12 Posted Topics
[QUOTE=zuve_fox;886731]Hi... I wrote code using vb.net [B]picturebox1.image=image.Fromfile("C:\a.jpg")[/B] picturebox1 display image a.jpg. if picturebox1 display, file a.jpg can't delete it because "being used by another person". how to close picturebox1 so file a.jpg can delete? i have tried to use picturebox1.dispose() and picturebox1.image=nothing but still can delete and display error message …
I have written a windows service which is host to a WCF service and i connect to the WCF in vb.net by adding a service reference in vs2008. the problem i have is that i need to connect to the WCF in javascript or jQuery (not bothered which). How do …
[QUOTE=zerg59;1305439]Hey,glad to meet you all! I am a 51 year old male trying to get a handle on the workings of his pc. This seems a great place tp learn.[/QUOTE] Hi Zerg59, I am relatively new myself. Nice to meet you!
Hi nanoh2001, I believe your problem is the fact that you are trying to update all fields in your table with string values. If the fields in the table are not all strings then you will get the error you are geting. I notice that there is a date field …
Hi everettnewell, have you thought of using the "CommandBuilder" command. The syntax of which for your problem would look something like:- [code=vb] Imports MySql.Data.MySqlClient Public Class Form1 Dim str As String Dim conn As MySqlConnection Dim dr As DataRow Dim ds As DataSet Dim da As DataAdapter Dim cBuilder As …
What method are you using to set the "fullname" variable. is this through a click event of say a button? or a keypress event from the textbox? If there is no button event and there is no "keypress" event tied to the textbox, then how are you setting the variable …
Hi, i am new to the forum scene, but have been programming for approx 20 years in some form or other. Name - Andy, Andrew(only when i've done something wrong) Gender - Male Height - 5' 10" Hobbies - Reading fiction, badminton, chess, pc games Likes - having a beer …
First of all can i assume that you have set the file types in the save dialog? If you have then you could check the extension and if the extension is ".c" then save as plain text or if the extension is ".rtf" then save as rich text format. your …
[QUOTE=maheen123;878145]I want to validate text fields either carrying numbers or string that they should not be empty . how can i validate this before inserting data into database from form....[/QUOTE] you can simply check the length of the text using for example TextBox1.TextLength and making sure that this is not …
I am trying to create a FileOpen Dialog for my website in C#, whereby i want the starting directory to be my images folder and only want to select .jpg, .png & .gif files. I also want the dialog box to return the address as though the root was my …
I think Teme64 is right! how have you declared your variable "pictures" and where? maybe from there it will give us further insight into how the variable has been dimensioned.
Hi maheen123, if i have understood this properly, you have combo boxes with strings in them i.e. Female, Male and you want to insert a 1 if Female and a 2 if Male (for example) into the database. if this is correct, then on the selectionchange of the combobox, read …
The End.
Vandamn