20,899 Topics

Member Avatar for
Member Avatar for CooRay

I am trying to search a dataset I have populated from several XML files for certain words in each column. The dataset table is "item" and the columns I want searched is "descritption". "description" are several articles from an rss feed. I want to search the articles for sports players …

Member Avatar for G_Waddell
0
289
Member Avatar for Fiziana

Required to write a VBscript to perform simple calculations on the overall rating of item. How to calculate if all responses are 5s, then the overall rating is 100% or if all responses are 1s, the overall rating is 20% only by using VB script. Please make sure that all …

Member Avatar for G_Waddell
-1
190
Member Avatar for HBovenkamp

Good day, I'm tasked to develop an application that opens a web page, completes some fields to log on and then issues a crlf to send it on its way. Here's the code Public Sub LoginIntoSite(ByRef wbBrowser As SHDocVw.InternetExplorer) Dim HTMLDoc As mshtml.HTMLDocument Dim HTMLDoc2 As mshtml.HTMLDocument Do Loop Until …

Member Avatar for G_Waddell
0
431
Member Avatar for SarinGas

Hi guys, I'm currently learning VB.Net and I'm wanting to recreate the text based game ZORK however after I was done with the menu I decided I would like to have the menu laid out much like the BIOS with keyboard navigation, hit return to select choice, type your input …

Member Avatar for SarinGas
0
117
Member Avatar for echo12

Hi everyone, I have 3 forms: main, AdvancedSearchMenu, and FacilitySearch. When the user clicks the AdvancedSearchMenu button on the main form, a new form appears in the style of a popup. This form contains a few different controls, including a button for FacilitySearch. I want the form to change from …

Member Avatar for AnkitGuru
0
248
Member Avatar for AnkitGuru

Hi!! Just started windows phone development. Need to know how to use beginInit() and endInit() functions i'm processing an animation, and want the control to show new page after the animation is over but the control switches before the animation is completed. How should i do that ?? Please let …

Member Avatar for AnkitGuru
0
153
Member Avatar for LD Company

Hello programmers! I am making chat software and I want to make users to be able to edit profile (Change password, informations and avatar). Now I need code for getting avatar from user account to picturebox. I want for default avatar to be avatar from user's account (Avatar shown on …

Member Avatar for LD Company
0
218
Member Avatar for tinu28

hey, someone pls help me, to generate a report between two dates in the table using crystal viwer ...with oledb(access .mdb)... in my from i have two text boxes and one button. the textboxs are used to get the dates and button to display the report in crystalreportviewer thanks inadvance

Member Avatar for khair.ullah
0
74
Member Avatar for pratik65
Member Avatar for pratik65
0
556
Member Avatar for tieties

Hi ok so i want to read images from an sql server database..the images are saved in bytes but im struggeling to retrieve them my code for the retrieving this is the code i used to save the image and its working. Dim sql As String = "INSERT INTO item …

Member Avatar for G_Waddell
0
200
Member Avatar for ktsangop

Hello everyone! I am building a mfc dialog based application in visual c++ 6 and using mysql c api to connect to a database. What i need is a simple type of data grid to show mysql query results in a dialog. I do not need to edit, update, save …

Member Avatar for ktsangop
0
1K
Member Avatar for vbenthu

Hi there Im trying to write up a code where two txt files are being compared to each other. One text files has the answer like "TFTTFFT" and the other txt files has the result including id like "1234 TT-FFT" The crazy part is that for each correct answer, the …

Member Avatar for vbenthu
0
107
Member Avatar for Ray124

Hey guys I have a wierd issue that im not sure how to fix. If a users starts timer1 it will open form that has a timer and continue allowing them to choose other options. BUT the sendkeys do not go through until the timer is up and the form …

Member Avatar for TnTinMN
0
128
Member Avatar for charles.coogan

Dim num1, num2, sum As Double num1 = txtFirstNum.Text A variable input any number can go here num2 = txtSecondNum.Text A variable input any number can go here sum = num1 + num2 txtoutput.Text = sum My goal is to have the txtoutput show the equation 2 + 2 = …

Member Avatar for charles.coogan
0
105
Member Avatar for pratik65

i wanted to know the code for putting values from comboxes into Datagridview but i tried but im getting coversion exception.. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim conn As New SqlConnection("Data Source=.\SQLEXPRESS;Initial Catalog=grade;Integrated Security=True;Pooling=False") Dim cmd As SqlCommand If ComboClass.SelectedItem <> "" Or …

Member Avatar for artemix22
0
276
Member Avatar for danielle.rosenfeld.3

Hello everyone, I'm trying to put an image for my memory game which contains many pictures of flags. Hoe do i start the code (It's the first layer) array? what do you think? would like to get your advise. Thanks, Danielle.

Member Avatar for Reverend Jim
0
129
Member Avatar for bprosic

Hi, I have datetimepicker and next to datetimepicker is textbox. When I choose date from datetimepicker, selected date goes into textbox. Works fine. -- txt1.Text = Format(DateTimePicker1.Value, "dd.MM.yyyy") Problem is, when selected date from datetimepicker is shown in txt1, that date doesnt want to be saved into database. Database is …

Member Avatar for bprosic
0
2K
Member Avatar for Stuugie

Hi all, I'm about to get a little long winded here and I'm sorry for that but I have a couple of issues that I need guidance with. I have assembled a procedure that basically performs a bunch of web browser clicks to query Statistics Canada (SC). The query itself …

Member Avatar for Stuugie
0
534
Member Avatar for Stuugie

Hi all, I have the following procedure that connects to my database. Sub getDateModified() Dim fileCreatedDate As DateTime = File.GetCreationTime(strFilePath + "\CPI1.csv") Dim stmt As String SQLConn.ConnectionString = ConnString SQLConn.Open() stmt = "select Table_Numbers From tblRelease_Dates Where (Release_Date Between '" + fileCreatedDate + "' And GETDATE())" SQLCmd.Connection = SQLConn SQLCmd.CommandText …

Member Avatar for Reverend Jim
0
166
Member Avatar for NYCRAVEN

I have written a VB reservations program that writes back to a SQL 2008 database. When I write the reservation event back to the data base, I also write the reservation 'end time' back to the database as reservationtime + 4 hours in order to block off the event resource. …

Member Avatar for NYCRAVEN
0
372
Member Avatar for Sneaky Pete

Dear all, I hope that you can help me with a vb.net problem. In my program the user chooses multiple options. When a group of options is given, than the program wil check if the user has give the right start and end value. See the code below If Me.cboA.SelectedIndex …

Member Avatar for Sneaky Pete
0
151
Member Avatar for dhatsah

Just wondering if there is a way to populate an ImageList from a Resource file. I have looked around on the web, but everything seems to have been from back in 2003/2005. Any advice would be appreciated thanks in advance.

Member Avatar for dhatsah
0
70
Member Avatar for hadas.beja

hello everybody, can you do something like this: dim x as integer=1 button_x.visibility=Windows.Visibility.Hidden i have about 24 buttons on my form that i need to change the visibility for. which buttons need to be changes - is a variable i get from database query. so i'll get several rows of …

Member Avatar for hadas.beja
0
157
Member Avatar for Jx_Man

This code to save, Edit and delete data in VB.Net using SQLServer as backend. this code is continuance from my previous post "Show Data in DataGrid with VB.Net 2003 and SQLServer 2000". so i didn't write code how to connect SQLServer 2000 with VB.Net 2003 cause this already in there. …

Member Avatar for anuj6928
1
21K
Member Avatar for savedlema

Hi friends! I have a piece of code that I think should be working just fine, but I wonder why it doesn't work, and I get an "Syntax Error in INSERT statement" error message. Here is the code to affect a table called "Users" in my Access database. Dim cmd …

Member Avatar for savedlema
0
367
Member Avatar for foreverangel02

Hi everyone, I have a problem with connecting vb.net to oracle database. At first I used VB.net 2010 express, but is does not support oracle so uninstalled it and replaced it with VB.net 2010 ultimate trial edition. Can you please give me some codes on how to properly connect vb.net …

Member Avatar for Pgmer
0
292
Member Avatar for dearjoy

hello, i have a project and im a beginner in this type of programming.. im using sqlcserver 2005 to connect into visual studio 2010.. may i ask what is the correct syntax connection string.. i have my code already but i can not connect because there is an error stating …

Member Avatar for Pgmer
0
165
Member Avatar for judd

Hai Experts, I am having difficulty in saving/storing multiple values in a listbox. Briefly, I have a combobox to choose from, where the value selected will be added to a listbox. From the listbox(with multiple entries),I wanted to save it to a field in my SQL DB. I've been stuck …

Member Avatar for Nicholasamarq
0
2K
Member Avatar for kkhembrom

Hello! I am making a software for school; a software will gather students data along with their term exams marks in database. And the it will generate Result and then print. but I could not understand how I can make this result, as i tried Visual Report Viewer (no use) …

0
75
Member Avatar for glenndr_15

Greetings! Is there a way to add a parser when you create a simple text editor? Thanks in advance. Best regards, glenndr_15

Member Avatar for Doogledude123
0
176
Member Avatar for dhatsah

I am aware that this is not strictly vb.net related but I couldn't think of a better place to put it. Is it at all possible with ClickOnce Deployment to on installation add custom folders where local resources for the application can copied to by clickonce to be accessed by …

0
70
Member Avatar for Steph333

Hi, In my game of Battleships, I am trying right now to randomly generate ship placement for the computer. I have made the program generate one particular spot in the grid using code like this: While CPlacementX > 5 GenerateCoords() End While For Each label In Me.Controls If label.Tag = …

Member Avatar for Reverend Jim
0
1K
Member Avatar for joshl_1995

Hello Community, I was wondering if there is a way to stick a cmd window/process that i called from my vb form to the bottom of the form like the picture: (below) ![form2](/attachments/large/3/form2.png "form2") And so where ever i move the form the cmd windows will also follow. Also is …

Member Avatar for artemix22
0
329
Member Avatar for dhatsah

If I want to transfer var1 in form1 to form2 to be used in an alogrithm how do I do this? I have tried importing the form and then using the variable - no success. I have tried something to this effect form1.var1 - Get the error that var1 is …

Member Avatar for jireh
0
126
Member Avatar for Dv9UnKnoWn

I am coding something fairly simple and I've run into a few barriers. Keep in mind I don't have much experience in VB.NET. **1) I have created timer that is activated by the user with a user-defined time. But, when the "Start" button is clicked, the timer immedieatly sets off …

Member Avatar for Dv9UnKnoWn
0
206
Member Avatar for Doogledude123

Hey guys, Im having a problem when trying to detect mouse clicks inside a function. Heres some code, and hopefully you can see what it's doing as its really confusing trying to explain. Sub ImageFollow(e As System.Windows.Forms.MouseEventArgs, myImage As System.Drawing.Image) Dim pBox As New PictureBox While TimerLeft pBox.Image = myImage …

Member Avatar for TnTinMN
0
651
Member Avatar for tinu28

hey, pls help me.. i need to check(compare) whether the value in the textbox (say textbox1) present in particular table(field)..

Member Avatar for TnTinMN
0
106
Member Avatar for jakub.peciak

Hi, I have a XML file: <?xml version="1.0" encoding="ISO-8859-1"?> <Report> <config repstarttime="" rependtime=""></config> <cashdrops></cashdrops> <cashsheets></cashsheets> <cspdata></cspdata> <fdremdata> <fdrementry ENTRYID=""></fdrementry> </fdremdata> <SHIFTDATA> <SHIFT_CD_Index ShiftSystemIndex="1" Shift_CD_Used="1" ></SHIFT_CD_Index> <SHIFT_CD_Index ShiftSystemIndex="2" Shift_CD_Used="1" ></SHIFT_CD_Index> <SHIFT_CD_Index ShiftSystemIndex="3" Shift_CD_Used="1" ></SHIFT_CD_Index> <SHIFT_CD_Index ShiftSystemIndex="4" Shift_CD_Used="1" ></SHIFT_CD_Index> </SHIFTDATA> <Order> <OrderHead filelocation="" filesuccess="TRUE" Attendant=""></OrderHead> <NFC1DATA nfc1count="0"></NFC1DATA> <PAYMENTDATA paymentcount="1"> <payentrydata id="1"></payentrydata> </PAYMENTDATA> …

Member Avatar for jakub.peciak
0
400
Member Avatar for joshl_1995

Hello Community, I was wondering if there is a way to place CMD within a panel of a vb.net form. ![form1](/attachments/small/3/form1.png "align-left") Example: Please Help

Member Avatar for Reverend Jim
0
189
Member Avatar for ashvyas

I want 1 dialog box which is having a login username and Password field. ANd it must have 12 buttons. whenever i click on any button, it must open 1 Excel sheet associated with it. Just want 1 skeleton code.

Member Avatar for kRod
0
169
Member Avatar for xcarbonx

Hello, I've been trying to find a place that explains how a pre-built 3D array is populated, but it seems like there is only help on how to declare it out there. Can anyone explain it? I know what data i want to put into the array, I just don't …

Member Avatar for Reverend Jim
0
242
Member Avatar for Sevyt

I got a few labels which show a entire week. It's displaying the long date like this LblCurrentDay.Text = Date.Now().ToString("D") LblCurrentDay1.Text = Date.Now().AddDays(1).ToString("D") LblCurrentDay2.Text = Date.Now().AddDays(2).ToString("D") LblCurrentDay3.Text = Date.Now().AddDays(3).ToString("D") LblCurrentDay4.Text = Date.Now().AddDays(4).ToString("D") LblCurrentDay5.Text = Date.Now().AddDays(5).ToString("D") LblCurrentDay6.Text = Date.Now().AddDays(6).ToString("D") The labels are all inside each of their own small panel. But …

Member Avatar for Sevyt
0
211
Member Avatar for kjk86

Hey there! You guys have been extremely helpful, thank you. I have a question regarding the DataGridView. What I'm trying to do is take all the values from one column of a DataGridView and put that in either an array, textbox, anything. So far, I have only been able to …

Member Avatar for Pgmer
0
221
Member Avatar for lebo.bytes

Imports System Imports System.Data Imports MySql.Data.MySqlClient Imports System.IO Imports System.Diagnostics Module Module1 Dim myConnection As MySqlConnection Dim MySQLConnectionString As String Dim CommandLineArgs As System.Collections.ObjectModel.ReadOnlyCollection(Of String) = My.Application.CommandLineArgs Dim FILE_NAME As String = Nothing Dim dir As String = "C:\Mytest\" Dim strDate As String = Nothing Dim serv_type As String = …

Member Avatar for G_Waddell
-1
675
Member Avatar for androidz

Hi all Greetings, Please give me some advice how can i call my existing report in vb.net any reference is appreciated. I am trying the importing crystal decision but i can't find it on the reference is it maybe because i am not using CR10? or there is something that …

Member Avatar for androidz
0
211
Member Avatar for Mike Bishop

I am writing a program for a company and would like to limit how many users can use this program at one time. IE if they have a 3 user licence when the 4th user tries to log in it wont let them. I have no idea how to accomplish …

Member Avatar for Reverend Jim
0
95
Member Avatar for e_user

hi, im a new comer in this forum. please anyone can help me for find string in large text file (filesize = 1mb to 5 mb) example: i have a text document file, filename is test.txt file test.txt contains serial number 000001 000002 000003 000004 000005 000006 000007 000008 000009 …

Member Avatar for Reverend Jim
0
4K
Member Avatar for atcebad

Hi iam trying to create a simple script for my macro that i want to copy two different screens to clipboard when paste function is called ,i am using ibm websphere hod please help me if u know how it could be done

0
61
Member Avatar for Stealthbird97

Hey guys. I want to use this code: Imports System.Drawing Public Class frmBG Private Sub frmBG_Paint(sender As Object, e As System.Windows.Forms.PaintEventArgs) Handles Me.Paint Dim g As Graphics = e.Graphics Dim p1 As Point = Me.ClientRectangle.Location Dim p2 As Point = New Point(Me.ClientRectangle.Right, Me.ClientRectangle.Bottom) Using brsGradient As New System.Drawing.Drawing2D.LinearGradientBrush(p1, p2, Color.Red, …

Member Avatar for Reverend Jim
0
102
Member Avatar for Jasminemali

hi,i want design a feature which allows the forms to be changed to any theme color during runtime based on user specification can help me..

Member Avatar for Doogledude123
0
86

The End.