20,899 Topics

Member Avatar for
Member Avatar for Peric

Well' I'm trying to print image from my PictureBox...this is my code for drawing image: [CODE]e.Graphics.DrawImage(PictureBox1.Image, 0, 0)[/CODE] But I need something more specified...when I print my document with this code, for some of those, I don't get the whole document. So I need to specify that...I need to stretch …

Member Avatar for billy_lulu
0
1K
Member Avatar for cguan_77
Member Avatar for cguan_77
0
227
Member Avatar for gd740

i have a combobox and few textboxes in Form1. i inserted new item into combobox by entering new item in one of the textbox. i manage to add item into combobox in Form 1. But how can i achieve if the item i added in Form1 to be inserted automatically …

Member Avatar for codeorder
0
459
Member Avatar for erum

when ever i execute this code it hangs ..any help how to troubleshoot the problem [CODE]Imports System.Net Imports System.IO Partial Class vbIPNexample Inherits System.Web.UI.Page Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load 'Post back to either sandbox or live Dim strSandbox As String = "https://www.sandbox.paypal.com/cgi-bin/webscr" Dim …

Member Avatar for erum
0
167
Member Avatar for muneeb213

"Select * From CashReport where convert(varchar(10),StartDate,101)>=@pStartDate and Convert(varchar(10),EndDate,101)<=@pEndDate and Type = 'I'" [B][COLOR="Red"]Hello! i want to add CUSTOMER NAME in this code how to view each customer datewise report plz help me..[/COLOR][/B]

Member Avatar for muneeb213
0
75
Member Avatar for BroncoTrojan

Has any one successfully implemented adding additional voices to system.speech in Visual Basic 2008 or 2010 with Windows 7 64 bit? The support documentation is very old and I am not sure I will be pulling my hair out working on the newer hardware and operating systems. Thank you for …

0
112
Member Avatar for BroncoTrojan

I am trying to record many small MP3 files from my computer's microphone. There are numberous examples using mciSendString Library "Winmm.dll" to record .wav files. I find the .wav quality to be lacking and I really want to record straight into the MP3 format rather than converting my .wav files. …

Member Avatar for BroncoTrojan
0
165
Member Avatar for bluehangook629

I have a sql query with that adds numerical values from different table to find total for a shipment. When I execute this query, it works fine for the first record but rest of the records show null value when I know there are records present. SQL pros please take …

Member Avatar for bluehangook629
0
377
Member Avatar for evanescence

Hi! I have to write something like a multisim-like ([URL="http://www.ni.com/multisim/whatis.htm"]http://www.ni.com/multisim/whatis.htm[/URL]) software in VB.NET. My task is to make several custom controls, which the user can combine in order to create a circuit and test it after that. The problem is that I don't know how to make a control, looking …

Member Avatar for evanescence
0
103
Member Avatar for paul1145

When I use the Build option in VS2010 to create .exe files, I am able to move them from computer to computer without incident. These apps are generally mundane, small and of the utility variety. Last week, I added the Windows Media Player control to a form, with appropriate logic …

0
74
Member Avatar for sharadkmittal

I have unbound datagridview. It has 4 textBox column and 2 comboBox column which i have defined at design time. For combo,I have databinded the columns. When I add the row: datagridview.Rows.Add() a row is added but combo box are not loaded. Please help how should i add the row …

0
103
Member Avatar for ananth3125

hi , i had created a new .doc file, in the coding part a single doc file is readed and writed to the new doc file ... how can i continue the operation for reading multiple doc file and write it to a new doc file ..... [CODE]Imports System.Windows.Forms Imports …

0
66
Member Avatar for reymond626
Member Avatar for casey_sunako

Hi everyone. I am currently trying to save a snapshot of the video file using vb.net so that i can save each a frame or part of the file as image. The .dll of VLC player which is axVLCPlugin21 has a sub function called takeSnapShot. However, the file is being …

0
78
Member Avatar for awaziri

Hii everyone.. i have wanted to create a TCP/IP Lan chat program in visual studio 2005. i am a newbie to it 2005. i have already created an interface for it but no codes yet. Attached are images of the client and the server. pls helpppppppppppppp

Member Avatar for komal_gawali
0
921
Member Avatar for LDiver

I am trying to per textchanged in a textbox call an isnumeric function. I cant seem to get it to work. function: [ Private Function IsNumericCheck(ByVal CheckVal As String) As String 'check for numeric values and return boolean If IsNumeric(CheckVal) = False Then Return False Else Return True End If …

Member Avatar for nedrosat
0
915
Member Avatar for OblibSystems

Hey guys, I have just finished a very simplistic game where the object of the game is to move out of the way of a falling block. Still only version 1 so don't expect much but your welcome to have a go and post any feedback on this thread. Looking …

Member Avatar for OblibSystems
0
98
Member Avatar for renzlo

Hi All, I need to compare one file in each file in the folders, some sort of duplicate check through md5 hashcode that I've found in my google search. Here's the code of functions: [CODE]Public Function CompareFiles(ByVal FirstFile As String, _ ByVal SecondFile As String) As Boolean Return ReadFile(FirstFile) = …

Member Avatar for renzlo
0
326
Member Avatar for akshaya kochare

Please do help me!!! i have to validate date using date time picker such that u can't choose the date /month/year before you were born.

Member Avatar for bluehangook629
0
79
Member Avatar for anwar.mustafa

I am facing a problem, I have pulled some records in DataGridView from database. Now I want that when I select some rows from DataGridView and click on command button, ID's of all selected rows should be displayed through message box. By using followng code I am able to display …

Member Avatar for lolafuertes
0
160
Member Avatar for Mike Bishop

i am having issues with an update query. i normally use SQL 2005 but for this project i am using an access 2007 database please can anyone point me in the right direction, [CODE] Dim con As New OleDb.OleDbConnection Dim cmd As New OleDb.OleDbCommand Try con.ConnectionString = "Provider=Microsoft.Ace.OLEDB.12.0;Data Source=" & …

Member Avatar for Mike Bishop
0
207
Member Avatar for xxblinddzxx

Hi , i am on a projet and i am stock. I'll first explain you my prog abit so you'll know what im looking for. First my prog scan a specific path "C:\music" which contain Mp3. Then it takes the MD5# of all mp3 and put it in a listbox1. …

Member Avatar for xxblinddzxx
0
141
Member Avatar for nickg21

Hello everyone, I am making a set of tables that have relational keys associated with them like an order system. Basically I am trying to store the Customer Info, then the order and so on and so forth, but I need to store the "customer" ID in the Order table …

0
80
Member Avatar for akshaya kochare

i need to validate the textbox such that in can accept numbers only but the entered no should be greater than 0 , it can be 0.1 and should be less than 101.

Member Avatar for Mitja Bonca
0
229
Member Avatar for compulove

I created some code for a browse buton and it works, but I want to send the textbox information to the text file according to the headings that I have listed within it. I am getting an error when I put [CODE]Handles Browse.Click[/CODE] and I get errors whenever I try …

0
127
Member Avatar for Wolxhound90

Hey all, I'm trying to do a project which involves reading the text from a number of textboxes and putting it into a string. I'm just wondering if there's an easier way to it other than: [CODE]CreateString += TextBox1.Text + TextBox2.Text + TextBox3.Text... (etc)[/CODE] I have thought about creating a …

Member Avatar for codeorder
0
814
Member Avatar for anwar.mustafa

I am developing a Windows Forms Based Application using dbo.database and Visual Basic: I populate some Orders in DataGridView1 using LINQ 2 SQL from "tbl_Orders" where OrderStatus is "Pending". I change OrderStatus Column Type to "CheckBox" in DataGridView, Now I want that when I select some records (Orders) by checking …

Member Avatar for adam_k
0
309
Member Avatar for chellemits

Hi. Can someone help me with my problem? Here is where the error occurs. [CODE] da = New OleDbDataAdapter("SELECT * FROM booklet WHERE booklet_num= '" & txtbkletnum1.Text & "'", con) cb = New OleDbCommandBuilder dt = New DataTable 'this became yellow and error appears as datatype mismatch in criteria expression. …

Member Avatar for Pgmer
0
151
Member Avatar for violette

can anyone help me..how to do a loop in my code here..I want to do a loop for one year only..after another year it will create a new column. For example when column A already fill with year 2008 and another column B will create fill with year 2009. [CODE] …

0
70
Member Avatar for spelltox

Hi guys ! A little something i hope you could help me with - I've converted an html to XML and now i want to get all the child nodes nested within a DIV element with a specific attribute (class="itemInfo"). Because the html that the XML is based on changes …

Member Avatar for spelltox
0
482
Member Avatar for lcfjoertoft

I'm creating a small program to read from an SQL server, loading result into an array, pivoting the array to my liking and mailing it out to selected members of a group. It's going to be run once a day with Windows schedule. I have the connection, query and mail …

Member Avatar for hericles
0
265
Member Avatar for quentinqid

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.InvalidOperationException: The ConnectionString property has not been initialized. the error is here: line 20 Line 18: cn.ConnectionString …

Member Avatar for Reverend Jim
0
2K
Member Avatar for bikashdas

I want to export my database selected information into word 2003/2007. If i use below code then it takes more time [10 minutes] for 20000 records to display. Is there any other way to display 20000 records into word 2003 /2007 within 10/15 seconds [CODE]Dim ds As New DataSet dscmd.Fill(ds) …

Member Avatar for G_Waddell
0
175
Member Avatar for gal7

I Have Email Sender Program and i want that the program could send email with images inside too. thanks

0
128
Member Avatar for lmali92

I am using Visual Studio 2010 I have multiple forms and when I hit close button(red X, top-right) from any form, i want the project to close entirely. Now when I do this, this does not happen by default. I always have to click on the 'stop' button in VS …

Member Avatar for codeorder
0
3K
Member Avatar for bikashdas

Hi Is there any way to do nested mail merge in vb.net . i can do only simple mail merge. but not nested mail merge. My Code gives: [code] <District1> <District2> <District3> [/code] What i want [code] <District1> <Code ID><Code Name> 1 pcs 2 pcs <District2> <Code ID><Code Name> 14 …

Member Avatar for bikashdas
0
400
Member Avatar for lcfjoertoft

I've extracted some data from an SQL server, put it into an array, and want to mail it's content to a group of people. All quite easy, until it comes to presentation in the mail body. When I set it up manually in Excel and do Copy - Paste it …

Member Avatar for lcfjoertoft
0
83
Member Avatar for kera

I need to create an application with two forms. The startup form holds the names of the dormitories and the other holds the meal plans. When the user selects a dormitory and meal plan, the application should show the total charges for the semester on the startup form. Here is …

0
136
Member Avatar for vammy

Hi Guys, Is it possible to dynaically create table name in MS Access: Below is my CODE: [CODE] strSQL = "CREATE TABLE" + Me.Text + "( ID Counter," & _ "Name TEXT(50) NOT NULL," & _ "PRIMARY KEY(ID) )" [/CODE] But,im getting a run time error that syntax is wrong. …

Member Avatar for vammy
0
131
Member Avatar for OblibSystems

Basically im trying to make a game where shapes fall from the sky and the user controls the sprite to avoid them. I have it working but only with 1 block falling at a time. I am using the paint method to draw my shapes. I was wondering how to …

Member Avatar for the_carpenter
0
226
Member Avatar for gani_2

Hi, I am new to VB.NET and xml and I am trying to parse the xml file of format mentioned below and display it using textbox in VB.NET. But I am not able to parse it. Can anybody pls give me a code snippet to parse the xml shown below …

Member Avatar for thines01
0
4K
Member Avatar for weeraa

I've developed a software using VB.net and SQL server 2005. This is the connection string that used. [CODE]Data Source=MY-PC\SQLEXPRESS;Initial Catalog=studentInformation; Integrated Security=True[/CODE] But now i want to use SQL server compact edition. So what should i change in this connection string?

Member Avatar for adam_k
0
128
Member Avatar for xtanmanx

I've searched for this but could not find exactly what i need to fit my needs. If it already exists, i apologize and thank you for the redirect. Fairly new to VB, but have a good understanding. Scenario: Have 3rd party software that has many drop down options for each …

Member Avatar for rthrtshrfhsrh
0
1K
Member Avatar for muneeb213
Member Avatar for weeraa
0
138
Member Avatar for thetechlady21

[COLOR="Green"]I am trying to select a row in my datagrid. There are two columns only. The row displays into two text boxes. I am trying to figure out how to select the next row in my datagrid. I have tried looking at your examples but I am still having trouble. …

Member Avatar for Reverend Jim
0
195
Member Avatar for ogsim07

hello guys, can you pls tell me now to go ahead with this, basically i just want client to say "C:\temp" ENTER then, server must reply with all its files in c:\temp Is there a way to do this, or may be i am wrong, can u tell me any …

Member Avatar for Reverend Jim
0
196
Member Avatar for Sharukh

Problem I have actually two list boxes and grid view.The grid view has three coloumns fields.Now i want to customize the grid view with the list box. Suppose the fields are employeename,employee id,employee code. The left list box contains all the three fields namely employeename,employee id,employee code.There is an add …

Member Avatar for Sharukh
-1
142
Member Avatar for noobies

I have 2 query which I want to make it as 1 query. Could anyone help me. Because the query is just the same. The difference is they have 2 condition which 1 query for same year and another query for different year. [CODE]If (bboard = "All") Then If (qter1 …

Member Avatar for adam_k
0
111
Member Avatar for BWS9292

My assignment is to create an application that allows the user to type an item's price into a single textbox, add the price to the previously entered prices, and display the total charge which includes a $15 shipping charge and a 3% sales tax. Example: I type 10 in the …

Member Avatar for adam_k
0
92
Member Avatar for sri_Chennai

how to get COM PORT PIN STATUS like(Epson,Samsung,LIPI,HCL700 ect...) using Winforms in vb.net 2003

0
49

The End.