20,899 Topics

Member Avatar for
Member Avatar for blackbr

In visual studio 2008, asp.net / vb.net, I want to be able to generate an mhtml Report Server report, then read it into the body of an email message, and send the email. I know how to initiate the report, and how to generate/send the email message. What I'm confused …

Member Avatar for blackbr
0
877
Member Avatar for blackknight469

what is the code for searching for and removing a blank line in a multi-line text box? im using VB Express '08 and can not figure it out. my problem is im loading a sample.text file and using [icode] txtFile.AppendText(ControlChars.NewLine & activetext & ",")[/icode] to add new text from user …

Member Avatar for samir_ibrahim
0
1K
Member Avatar for MaxxG

First post to say Hi. Not a professional programmer, but just someone who enjoys pulling their hair out over vb.net. This site has been a great source of info :) Regards, Maxx

Member Avatar for crunchie
0
4
Member Avatar for Moirae

Hello!! I'm from Croatia, IT student (soon to graduate), I had a lot of programming courses such as C, C++, VB.NET, Java, ASP and my latest problem is C#. I don't think that I'm a newbie in programming but this one gives me major headaches :'( I've been watching this …

Member Avatar for crunchie
0
22
Member Avatar for laks_samy

Hi i used Microsoft Ribbon.dll in my mdi form i have added few tap, panel, button etc. i have changed button style DropDown then i added dropdownitems -> employeeaddress, profitandlos, employeepayment, employeetaxdetails etc. my problem is if click employeeaddress menu that time i displayed employeeaddress report form after that i …

Member Avatar for laks_samy
0
115
Member Avatar for rakibuddin ali

Sir, i hv a problem with database? in my PC i have sql server (develop) edition 2000 and MS-SQL server 2005 (sql server management studio express CTP) . In my web page asp.net (vb.net) data connection is succedded. But when i run the web page and fill up the text …

Member Avatar for kvprajapati
0
96
Member Avatar for dre-logics

I use Visual Basic 8.0 I want to set in [COLOR="Red"]Application settings [/COLOR]a [COLOR="red"]default Export directory [/COLOR]for my export files So that i can read in my program with [COLOR="red"]my.settings.export [/COLOR]the default Export directory Export directory is locatie on: c:\program\export [B]Can someone explain to me how I can do that?[/B] …

0
45
Member Avatar for speedy gonzalos

Hi, I am fairly a newbie to vb.net and am developing an inventory control windows application for a client. I am creating a search form for my application. This search form searches the categorys table and returns the results in a datagrid view. The search bit of it is working, …

Member Avatar for kvprajapati
0
277
Member Avatar for chanlichin

[QUOTE]I am facing the problem in select the item dates. This is because i only want the condition of month from table dates. So i think the data set i write it get the error. Any one can help me,Thanks.[/QUOTE] [CODE] con.Open() sql = "SELECT DISTINCT Month(dates) FROM summary WHERE …

Member Avatar for chanlichin
0
132
Member Avatar for udhayakumar_g

Hi I am a new user in VBNet. Someboady Please help me to find the solution for the following. Atpresent I am woking in a electronics based project. I measure the voltage and current measurements in to some string variables. So on each press of a button the values in …

Member Avatar for sknake
0
114
Member Avatar for manutd4life

Am getting problem with this update statement: Here's the code: [code=vb.net]Private Sub cmdUpdate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdUpdate.Click Try Dim com As New OleDbCommand com.Connection = con com.CommandText = "Update Sales set CustomerId='" & txtCustomerId1.Text & "',WatchId='" & txtWatchId1.Text & _ "',Dateofsales='" & txtDate.Text & "',Quantity='" …

Member Avatar for yorro
0
110
Member Avatar for Piya27

Hi All, My update query refuses to update the data in the Excel sheet via OLEDB connection. I am able to insert and retireve the records but could not update. Though my syntax is correct and when I execute the query using ExecuteNonQuery, it shows no error no exceptions but …

Member Avatar for samir_ibrahim
0
253
Member Avatar for fawadkhalil

Hi I have dropdownlist populated from database.My requirement is to count the number of records for each dropdownlist item like: Toyota(15) Honda(10) BMW(20) I have used[CODE] ddlMake.Items.Add(datatable.Rows.Count)[/CODE] but it shows records in below format Toyota Honda BMW (15) (10) (20)

Member Avatar for fawadkhalil
0
147
Member Avatar for perumar

write a windows application that allows the user to enter a seven-digit number in a multiple line textbox when the user clicks the generate words button. example 6392277 = NEWCARS [code] Partial Class Form1 Inherits System.Windows.Forms.Form Public Numbers(7, 3) As String Public Phonenumber As Integer Public output As String Private …

Member Avatar for GeekByChoiCe
-1
123
Member Avatar for dearjee

Hi all, I just started learning Visual Basic. But a friend told me that this language is outdated now, you should learn vb.net or c#.. Is he right? Is vb.net is extended version of vb? I mean if i learn vb then i may easily switch to vb.net?? please anwer …

Member Avatar for vb5prgrmr
0
107
Member Avatar for oualioualou

Hi everybody, I'm new here, I develop in C, C++, VB.Net , C#.net . I hope that I can help some of you and you helping me sometimes ;) See you soon on one of the threads !!

Member Avatar for edhardy
0
16
Member Avatar for nanoh2001

Hello dears in Daniweb, I'm a beginner in vb.net I have a question regarding searching in Access Databases. to illustrate: if I have this table in Access [ATTACH]11292[/ATTACH] which contains the name, mobile, Telephone, address and the area (highlighted in Red) Now if I want to Search for persons who …

Member Avatar for nanoh2001
0
1K
Member Avatar for leroi green

hey all, I have a form where a user selects from a couple radio buttons. once THAT button is selected i want a new form to load where the user has to fill out personal info and submit. what's the best and easiest way to set this up? like: 1) …

Member Avatar for adam1991
0
117
Member Avatar for Atove

Hi all; i'm trying to connect my program to an SQL Server Express database... however i am just getting an error that simply states: "Login failed for user 'sa'." Within my code this appears on: objConnection.Open() my code so far is: [code] Imports System.Data.SqlClient Imports System.Data Private Sub Form1_Load(ByVal sender …

Member Avatar for Atove
0
121
Member Avatar for yorro

How do you set or adjust opacity of controls during runtime? (buttons/textbox/etc) I've tried this [CODE=vb] Public Sub setOpacity(ByVal opacity As Integer) Me.BackColor = Color.FromArgb(opacity, 255, 255, 255) End Sub [/CODE] But error returns that it controls does not support opacity. [B]I want my controls to load on runtime with …

Member Avatar for yorro
0
491
Member Avatar for sandeepjindal

i am using visual studio2008. the submit coding show temporay storage of data on form but it is not inserting into the data base. On the other hand sql server authentication show permanent submission.

Member Avatar for kvprajapati
0
31
Member Avatar for PcPro12

Ok, so I'm kinda new to programming, but I'm quick to grasp it. I like programming. Anyway, I'm trying to write a program that will do this. If a user types in a name in the first line of a textbox and clicks a button, the name will be wrapped …

Member Avatar for PcPro12
0
202
Member Avatar for ggl0rd

from my this code for search record.. what code for update after i search the record? anyone can help me? [CODE]Private Sub btnCari_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCari.Click Dim ConString As String = "Provider=Microsoft.Jet.OLEDB.4.0;Password="""";User ID=Admin;Data Source=""H:\PROJEK\New Sistem\SISTEM_DATABASE.mdb"";" ' string declare connection ke dbase Dim DBCon As …

Member Avatar for kvprajapati
0
85
Member Avatar for milhero

Hi, I have posted about receiving email before and this is a follow up of my progress. I have only one form and it consists of 2 buttons, one for downloading messages from the server, the other, to disconnect the connection. I also have one listview and one textbox to …

Member Avatar for milhero
0
281
Member Avatar for babbu

hie if the user, after working with the form wishes to reset it, how can it be done. will me.refresh() help. wht is it used for?

Member Avatar for sknake
0
2K
Member Avatar for staticvoyager

I'm trying to pull in a file name from another class... I have a three classes... My main class, a class called Transaction, and a class called Account. I have two sequential files. "CHECKING.TXT" or "SAVINGS.TXT" that I have loaded into arrays in my main class. I need to pass …

Member Avatar for staticvoyager
0
140
Member Avatar for staticvoyager

Okay... So I've actually made it to the final project in my Intermediate Visual Basic class. Yet, I'm still feeling stupid - like I've never attempted any project at all. I think my main confusion in this project is that we're using two seperate sequential files. I CAN and HAVE …

Member Avatar for sknake
0
206
Member Avatar for bustanji83
Member Avatar for tripes

hi i want to create a csv file using [B]VB.net 2003 [/B]and save the data from an array in it... i have searched everywhere and i did not find a solution. please help :'(

Member Avatar for sknake
0
992
Member Avatar for happygeek

The race is on to find the best online coder, as registration for the 2006 [URL="http://www.google.com/codejam/"]Google Code Jam [/URL] US heat starts. You have until September 5th to sign up if you want to prove you are king of the American coders by solving a series of problems to test …

Member Avatar for happygeek
0
145
Member Avatar for reena12

''' <summary> ''' FUNCTION TO CALCULATE SUM OF TWO TIME VALUES ''' PASS TWO DATE VALUES AS STRING ''' </summary> Function GetTimeSum(ByVal dt1 As String, ByVal dt2 As String) As String Dim ReturnStr As String = "" If dt1 = "" And dt2 <> "" Then Return dt2 ElseIf dt1 …

Member Avatar for roby22
0
266
Member Avatar for Fungus1487

Below is code i wrote as a wrapper for the microsoft office interops. It provides ways to establish the instance of the application and cleanup any remaining office processes after use. [I]Note the class I use is alot bigger but i have added the basics as a starting point.[/I] This …

Member Avatar for BarbaMariolino
0
985
Member Avatar for jerrydusing

Visal has contributed code for computing a formula. I have updated his code to reflect vb.net coding style. I have also refactored the code, so it is easier to understand. I have not checked the code. The vb.net project files are as attached. Jerry Dusing (email: [email]jerrydusing@yahoo.com[/email])

Member Avatar for paramesh_dreams
0
179
Member Avatar for soumyajit_c`

Connection To Access Database and Save,Retrieve,Update D:\access\try.mdb=The Address of the Access database table 'Try'. Take a module as ModMain(Copy the code) table fields: idno,name,designation.(idno=auto number) textBoxes=TxtName,TxtDesignation And Combobox=CboRetrieve buttons=new,save,retrieve,exit

Member Avatar for bruce2424
0
1K
Member Avatar for meabed

The problem is to find all ways of placing n non-taking queens on a n by n board. A queen attacks all cells in its same row, column, and either diagonal. Therefore, the objective is to place n queens on an n by n board in such a way that …

0
64
Member Avatar for ramabala
Member Avatar for k.vijayakumar
Member Avatar for GeekByChoiCe
0
63
Member Avatar for DGULLIVER

Hello, If a user has a few of my applications open and he/she minimises them I would like to group these in the task bar like MS Word for example. Product Name - Application 1 Product Name - Application 2 Product Name - Application 3 Product Name - Application 4 …

Member Avatar for GeekByChoiCe
0
102
Member Avatar for kcomeby

In notepad (or other textboxes) when you hold down a keyboard key, it writes the first letter, waits a little and then without a break its writes same letter. I mean you're holding down a key but after first letter its just waiting a little (only for first letter) and …

Member Avatar for kvprajapati
0
97
Member Avatar for blackknight469

Ok I am lost on what to do. i see several item on calling word but what is the syntax for using word as the default file extension? i know i need to use a Rich Text Box instead of a Text box, but after that im lost :P also …

Member Avatar for kvprajapati
0
59
Member Avatar for soeppp

How to Show Data record from Database in [B]ListView[/B] from [B]SQL Stored Procedure[/B]..I used google to get the info..but i didn't get it..

Member Avatar for kvprajapati
0
65
Member Avatar for dm_team

I have created the WCF service which will convert the Office document into XPS file. I did using Microsoft Interop assembly Microsoft.Office.Interop.Word.dll Microsoft.Office.Interop.Excel.dll I am using silverlight application to show the XPS file. When i run the silverlight application with WCF is in same solution it is working fine. I …

Member Avatar for kvprajapati
0
90
Member Avatar for hery

This is m y code:: [code] Private Declare Function WritePrivateProfileString Lib "kernel32" Alias "WritePrivateProfileStringA" (ByVal lpApplicationName As String,[B] ByVal lpKeyName As Any[/B], [B]ByVal lpString As Any[/B], ByVal lpFileName As String) As Long Private Declare Function GetPrivateProfileString Lib "kernel32" Alias "GetPrivateProfileStringA" (ByVal lpApplicationName As String, [B]ByVal lpKeyName As Any[/B], ByVal lpDefault …

Member Avatar for kvprajapati
0
3K
Member Avatar for Nada_ward

Hi all How R U I need help , how i can create array inside loop, very time I enter loop I want to create new array .. and enqeue it inside queue ,, the new array every time hide old array ,, please help

Member Avatar for kvprajapati
0
98
Member Avatar for LiBOC

Dear people, Thanks for your time and patience. I wrote a program to calculate Cosine, Sin, Tangent. However, by using the built in math() which are Math.Cos, Math.Sin and Math.Tan It gives inaccurate readings. By default, the math() accepts and calculates in radian form. I had properly converted user inputs …

Member Avatar for TonyTHC
0
395
Member Avatar for hery

This is my code after upgrade vb6 code: [code] Public ReadOnly Property TUJUHResult() As Object Get Dim vrn7Result As Object 'UPGRADE_WARNING: Couldn't resolve default property of object vrn7Result. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="6A50421D-15FE-4896-8A1B-2EC21E9037B2"' 'UPGRADE_WARNING: Couldn't resolve default property of object TUJUHResult. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="6A50421D-15FE-4896-8A1B-2EC21E9037B2"' TUJUHResult = vrn7Result End Get End …

Member Avatar for GeekByChoiCe
0
109
Member Avatar for hery

This is my code in vb6. How to in vb.net??? Please tell me. I'm stuck in here.. [code] Public Function LookUpST(ByRef adcCON As ADODB.Connection, strSTT As String, Optional vntHasil As Variant, Optional vntRETURN As Variant, Optional vntNEXT As Variant, Optional vntNEXT_TO As Variant) As Boolean On Error GoTo ErrHndl Dim …

Member Avatar for GeekByChoiCe
0
460
Member Avatar for arkaitsolutions

I'm using mysql as database . I use odbc connector to use the database , it's working fine with select statements ,but when I use insert statement with parameter it is not working. may I know if the command parameter property works with mysql or it only works with mssql.

Member Avatar for samir_ibrahim
0
368
Member Avatar for tjfitz68

I have been googling for quite a while but I just can't seem to find a precise answer to my question. I'm able to create the setup project and the installation works fine. Included in my application is a .MDB file. What I would like to do, during the installation, …

Member Avatar for tjfitz68
0
142
Member Avatar for darcee

im an intern student and my task is to make a popup message every 30 minutes to remind my boss about his task its like an alrm clock so i look on to the net and ive downloaded a file called PopupMessage Form and I want it to run it …

Member Avatar for ahj9999
0
106

The End.