19,729 Topics

Member Avatar for
Member Avatar for screwfacecapone

I am working on a web application that builds a KML file using a list of coordinates and is supposed to display them on Google maps when you click a button. When I'm testing it on desktop it works, as it brings up google earth with no problem. However, when …

0
174
Member Avatar for pROKO

My project utilizes a DataGridView that retrieves its data from an Access database file. Is there a "snippet" of code available that prompts the user to locate the database file should it be removed or renamed that will overwrite the connection strings used to create the project's Data Source.

Member Avatar for Oxiegen
0
79
Member Avatar for markdean.expres

Hi everyone! Why does it seem that no one is giving an effort for this concern. I know that the code is long but could anyone please shed some light for me here. I need to create a program that captures video and images using either a built-in camera on …

Member Avatar for Oxiegen
0
119
Member Avatar for ulasoc

i connect a database (.mdb) but getting error when i try to save a data in field more than 50 character. i also set document field for 255 char. then cant change it even i edit it from ms access. how can i set mdb. file to input 255 character …

Member Avatar for Naveed_786
0
77
Member Avatar for Oneryavuz

I want to open some files using my program. and I decided to use a shell command. but when i use shell it gives "file not found error" for example Shell("C:\Documents and Settings\ÖnerYavuz\Desktop\aa.txt") ==> it gives error but Shell("C:\Documents and Settings\ÖnerYavuz\Desktop\warkey.exe")==> its work and i thought it opens only exes. …

Member Avatar for sujimon
0
1K
Member Avatar for saiju_menon

Hi I am using AxDHTMLEdit for editing HTML docments in my VB.NET application. But while saving this document using AxDHTMLEdit1.savedocument the symbols for POUND, YEN, EURO changes to question mark. (?). I think this has something to do with meta content / charset. But not able to solve this so …

0
58
Member Avatar for Mrinal1991

I have one field of the student in database and I have to pass two rules in it i.e Classes 1-9 will only have 1 book for 1 week and Classes 10-12 will have 2 books for 2 weeks. How can I do that?

Member Avatar for lolafuertes
0
144
Member Avatar for bradz1993

On my form I've got a picturebox, radio buttons and check boxes. The check boxes relates to a Square/triangle, in which a square/triangle will be displayed on the picturebox. And the radio boxes relate to rectangle/circle which are displayed when either radio button is selected. I have been told to …

Member Avatar for lolafuertes
0
94
Member Avatar for Rox Vi

Hi everyone, i've utilized asp_net compiler to encrypt my asp.net coding in command prompt (cmd.exe) and moved to other server and it is worked fine, [U][B]This is the command that I executed in cmd.exe[/B][/U] C:\windows\Microsoft.NET\Framework\v2.0.50727>asp_net_compiler -v "/" -p "c:\existing_folder" "c:\new_folder" but if all my original program files (in existing folder) …

0
60
Member Avatar for ndraycott

Hi I am looking to retrieve and play video files from a database. The url and not the binary data is stored in the database. I previously managed the download file when they were stored in the binary format, but now to increase performance I want to just link to …

0
57
Member Avatar for ndraycott

Hi I am trying to store the filepath of uploaded files in a sql server database using vb.net. I have run the code at it uploads fine but nothing is being added to the database. Any help will be greatly appreciated. [CODE]Protected Sub btnUpload_Click(ByVal sender As Object, ByVal e As …

Member Avatar for lolafuertes
0
143
Member Avatar for MoDy kareem

Hello. Am creating a new program, it is like a webbrowser. But I need to make my own downloader from the webbrowser(I need my downloader start instead of internet explorer downloader, Internet download manager etc.) Sorry for my bad English :S

0
74
Member Avatar for aishapot

I'm trying to store a data from the checkbox. when i checked on NSO Birth Certificate it has to be stored into my mssql server. here is my code If nso.Checked = True Then strsql = "insert into student info(Requirements) values ('" & nso.Checked & "')" Dim sqlcmd As New …

Member Avatar for Reverend Jim
0
148
Member Avatar for Happytree

Hi everyone, sorry to bother. I am new in Visual Basic and I am using this in my final year project as a GUI. My system is an attendance tracking system which requires student to scan their rfid tags to make sure their attendance is taken. A lecturer can view …

0
45
Member Avatar for y2kshane

im creating a custom button . when user select a image file for button image i want to add it to the project resource (in design time) . how to do this?? im currently drawing image using image location but its not a good solution.

Member Avatar for codeorder
0
7K
Member Avatar for djjavo

Hi guys I am trying to declare a array within a structure, and it is not working. I'll paste the code below and if anyone can help it would be greatly appreciated. [CODE]Structure league Dim id As String Dim name As String Dim players(20) As String End Structure Dim leagues(100) …

Member Avatar for djjavo
0
2K
Member Avatar for bhagawatshinde

In part of my program, i have to insert Equation.DSMT4 into the richtextbox control. I found that there is no methods in richtextbox to insert ole objects. If anybody knows, pls help me to get solution for this problem

Member Avatar for lolafuertes
0
249
Member Avatar for theone0522

Well I need to be able to click this picture out of my webbrowser in VB. [CODE]<img src="/images/skip_ad/en.png" alt="Skip Ad" height="39" id="skip_ad_button"[/CODE] I have tried this code: [CODE]Dim col As HtmlElementCollection = WebBrowser1.Document.GetElementsByTagName("img") For Each elem As HtmlElement In col If elem.GetAttribute("src").Contains("/images/skip_ad/en.png") Then elem.InvokeMember("click") ListBox1.Items.Add("clicked") End If[/CODE] And this code: …

Member Avatar for codeorder
0
98
Member Avatar for ananth3125
Member Avatar for codeorder
0
223
Member Avatar for zuvefox

hi.. I build program to launch application(launch application can as local profile or can as network credentials) using Advapi32 "CreateProcessWithLogonW". but I got the problem, I can't capture message of standard output(Stdout) and Standard Error(stderr). could everyone help me how to capture message and the code? thanks

Member Avatar for lolafuertes
0
130
Member Avatar for jtodd

Hey guys! I have limited experience with Visual Studio and have a question about Querying an Access database. I have created a Visual Studio application that displays and modifies an access database. I have use datagridview and detailed view to insert data and view data in the Access database. I …

Member Avatar for jtodd
0
3K
Member Avatar for PM312

i used to create sub procedures in vb6 under tools/ add procedure. Same is not available in vb2008. how can i create sub procedure in form. for eg. Private Sub CmdDisabl() Cmd_New.Enabled = False Cmd_Amend.Enabled = False End sub if i type above code in form i get error statement …

Member Avatar for codeorder
0
193
Member Avatar for homer.favenir

Hi, hope someone has an answer to my problem. my add and edit function is fully working. but after a successful edit, another edit attempt has already an error. Error: Procedure or Function has too many arguments specified [CODE]Private Sub global_edit() '- Is_with_ref_doc Dim ref_docCheckBox As Integer If Is_with_ref_docCheckBox.CheckState = …

Member Avatar for homer.favenir
0
320
Member Avatar for danielgr

I have started the familiarize myself with WPF and have gotten stuck with the ListView I've read a lot of documentation about binding and I can't seem to find how to populate a ListView programmatically. It seems like a lot of work to create the binding and classes, etc, just …

Member Avatar for danielgr
0
1K
Member Avatar for Aviplo

I can't round up the decimal number using VB.net i'm using Cint(12.5) this must be 13 but it is not so i try Round(12.5) but still not roundup what do i do? please help!!!

Member Avatar for adam_k
0
221
Member Avatar for skran

HELP!! I try to bind a textbox to a datatable but i cant.. I checked if the datatable is filled (it includes the results of a sql query)and it s ok.. i can depict the result in a combo box but not in textbox. I wait for only one result …

Member Avatar for adam_k
0
1K
Member Avatar for ananth3125

hi, here i tried the coding for splitting the document file from the merged file,, i found the problem that a new document is not creating [CODE] Dim str1 As String = TextBox1.Text Dim str2 As String = str1.Replace("[", "") & str1.Replace("]", "") Dim filename As Object = "f:\" & …

Member Avatar for Reverend Jim
0
153
Member Avatar for Mrinal1991

I have a field of Issue date which takes the date of that very day when i fire the query now I want that field of Return Date in my data base should take the date while adding 14days to it? How do i do that?

Member Avatar for Mrinal1991
0
119
Member Avatar for Ruchi224

Hello.. I have a datagridview.. It is unbound to any database and has 2 columns.. 1 is item name and other is amount/expense, incurred.. I want the total of expense incurred be displayed in the textbox on button click ie adding the numbers in amount column.. I tried something like …

Member Avatar for Ruchi224
0
117
Member Avatar for mirzamujib

Hello, Dear memebers, when I'm trying to delete and update my bindingnavigator it shows me following error. Update requires a valid DeleteCommand when passed DataRow collection with deleted rows. I dont whats going wrong following is the code to update my binding navigator Me.Validate() Me.TableAdapterManager.UpdateAll(Me.myDataSet) Me.myBindingSource.EndEdit() Plz i need ur …

0
78

The End.