20,899 Topics

Member Avatar for
Member Avatar for soeppp

Hi.. i have a little homework from my school my lecture want me to create a little program in VB.NET he wanted if i pressed Ctrl + S in ...it will appears msgbox.... and one more...if i click button...it like i press Ctrl + S Can u help me.... thx …

Member Avatar for Stevoni
0
2K
Member Avatar for staticvoyager

Okay, I've tried my professor, and he's impossible to get timely feedback from... When he has responded, he has sent me coding - most not even close to containing the proper elements to complete the assignments, and he isn't much for explaning. Although I could copy and paste all my …

Member Avatar for fuego2008
0
84
Member Avatar for macupryk

I have declared the following variables in the form transoverride.vb Dim Account_Name, PolicyNumber, TransCodeOrig, TransEffDate, Override_Action, Override_New_Renewal, Override_Transaction_Code, ModifiedDate, ModifiedUID, Plan_Year As String Dim RowNum As Integer The goal of this question is that I want to pass the above variables to a dialog form called edittransoverride. Public Sub DoModify() …

Member Avatar for arunkp
0
940
Member Avatar for 123divy

Object reference not set to an instance of an object. 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.NullReferenceException: Object reference not set to an …

Member Avatar for 123divy
0
126
Member Avatar for s1504975

Hi all, I'm loooking for somebody willing to write complete working example for: - connection to access database - show one table form mdb in datagridview - implement code for 4 buttons (Add, Update, Delete, Refresh) - every press to buttons reflects to mdb database and datagridview This will help …

Member Avatar for ggl0rd
0
142
Member Avatar for soeppp
Member Avatar for tmantix

I'm trying to get a picture box to load a new picture every second with a timer. Heres my code. [code] Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick Do While Timer1.Enabled = True frame = frame + 1 frame1 = 'Picture Location frame2 = 'Picture …

Member Avatar for tmantix
0
97
Member Avatar for tmantix

Hi, Look I'm new to C# and I have a working knowledge of VB .Net. I would like to learn C# but I'm having a problem. It's probably a basic problem but, for a console program how to I check what someone has typed in so that the console can …

Member Avatar for tmantix
0
159
Member Avatar for Tschuikow

Hello, Is there something similar like this: ? [ICODE]If (obj isSubclassOf(Enum)) Then End If[/ICODE] This is always false: [ICODE]obj.GetType Is GetType([Enum])[/ICODE] I need this for reflection.

Member Avatar for GeekByChoiCe
0
74
Member Avatar for saj_amo

hi guys, in asp.net page i have designed a registration page few textbox are in that page i have set field validators on them but problem is that there are two buttons one is for register and the other is to go back to main page when i am clicking …

Member Avatar for saj_amo
0
162
Member Avatar for Jostra

Hi! everyone can some one share a piece of light with me is it possible to manipulate database access inside a class constructor.Cause i can create a connection but don't know how i'm going to things like data adapter an data set since.Any link Any Help Is appreciated.thanks

Member Avatar for Jostra
0
147
Member Avatar for babbu

hie i have 3 columns in the data table. id, name, telno. i want to display only specific names and telno. depending on the charactes the users inputs in the text box. this part has been taken care of. wht i need to do now is, i want to display …

Member Avatar for kvprajapati
0
67
Member Avatar for Bei_Mu_tian

hellooooo People! well I have the following problem: I want to recreate something like the Office-"adressbook" in my application, so the user can search through his/her outlook contacts directly, without first opening the outlook adressbook dialogue. That means that I have to search through my contacts in a Datagrid...but I …

Member Avatar for Bei_Mu_tian
0
117
Member Avatar for hjdaniel.sun

Hi all, I am writing a program which needs to connect to a mysql server I have set up. I use the proxy server at school to access internet. I found that my program cannot connect to the database. So how do I connect to mysql through the proxy server? …

Member Avatar for kvprajapati
0
67
Member Avatar for Piya27

Hi All, I want to update a row in existing excel sheet using vb.net where the row identification is according to the textbox text and the first column entry of that row in the excel. I just can't find a starting hint. Any Help?

Member Avatar for kvprajapati
0
100
Member Avatar for staticvoyager

My first task in this assignment is to create a datagrid view that can be used to fill in grades for students after each exam.... This is what I've coded so far - no Visual Studio assist used in this - and it works until I go to save the …

Member Avatar for staticvoyager
0
139
Member Avatar for daviddoria

I have an abstract class NetworkTest and some derived classes PingTest, SMTPTest, and POP3Test. Each Test class overrides a Run() function and has it's own private member variables. I have a txt file for each type of test - ping.txt, pop3.txt, smtp.txt that defines the tests that should be run, …

Member Avatar for daviddoria
0
69
Member Avatar for smileyc

Hi, sorry to ask this, I know it has been asked before but despite reading the answers I still dont get it. I am using visual studio 2008, vb.net. I have a lable, label1. I want it to display the results of a calculation, a/b. The answer is a number …

Member Avatar for emint
-1
4K
Member Avatar for manutd4life

hello press save, i got and error and said ExecuteNonQuery: Connection property has not been initialized. Here's the code: [code=vb.net]Private Sub cmdSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdSave.Click Dim com As New OleDbCommand com.Connection = con com.CommandText = "insert into Sales values('" & txtSalesId.Text & "','" & …

Member Avatar for manutd4life
0
109
Member Avatar for daviddoria

I have a superclass NetworkTest and 3 derived classes PingTest, Pop3Test, SMTPTest. I want to create a big list of all the tests, like this: [code] Dim Tests As New List(Of NetworkTest) Dim PingTests As List(Of PingTest) = ReadPingTestsFromFile(PingFile) Tests.AddRange(PingTests) Dim Pop3TestResults As List(Of Pop3Test) = ReadPOP3TestsFromFile(POP3File) Tests.AddRange(Pop3TestResults) Dim SMPTTests …

Member Avatar for daviddoria
0
126
Member Avatar for .netidiot

Hi, I have been using asp.net for a short period of time now and really enjoy the functionality offered by visual studio. However I see there is no automated way of generating a search of a datagrid. What i want to do is simple take the string from a textbot …

Member Avatar for kvprajapati
0
144
Member Avatar for pepemiso

please help me how to use the printform in vb.net 2008 i need it for my project please help me. thanks

Member Avatar for kvprajapati
0
241
Member Avatar for GIGAM25

hi guys! i generated a report using crystal report on vb.net 2003 from a dataset. there are 2 columns in it. name and amount. like this one, name amount gigam 100.00 hershey 300.00 tony 97.00 my concern is: i want to have a total below the amount. like this: name …

Member Avatar for kvprajapati
0
108
Member Avatar for Nicholas Ng

i want to ask some question ??? [code] Dim conConnection As New ADODB.Connection Dim cmdCommand As New ADODB.Command Dim rstRecordSet As New ADODB.Recordset conConnection.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source="D:\Documents\Visual Studio 2008\Projects\trial database\Microsoft Office Access 2007 Database.accdb"" conConnection.CursorLocation = ADODB.CursorLocationEnum.adUseClient conConnection.Open()[/code] im using visual studio 2008 ,i want to access to mirosoft access …

Member Avatar for kvprajapati
1
84
Member Avatar for nejoj

We are going to create a compiler like program where when we inputed character or multicharacter it will retrieve to the database the equivalent symbol of that character and place it to another textbox.. Example input: (1sttextbox) Line1: main() Line2: { the output is: (2nd textbox) Line1: WordSymbol, SpecialSymbol,ProgramParameter, OpenParenthesis, …

Member Avatar for babbu
0
108
Member Avatar for ggl0rd

i got create combobox and i want show item at combobox from my database data. i set datasource from properties.. but for displaymember i try to use coding. [CODE]cmbPelan.DisplayMember = "Pelan" cmbPelan.SelectedIndex = -1[/CODE] but result like image me attach. i want my combobox show item like 1 2 3 …

Member Avatar for ggl0rd
0
342
Member Avatar for Prato95

Im trying to make tabbed webrowser with history and bookmarks. But when i press f5, it works, but when i try to add new tab it crashes heres code: [code=vbnet] Public Class Form1 Dim int As Integer = 0 Private Sub Loading(ByVal sender As Object, ByVal e As Windows.Forms.WebBrowserProgressChangedEventArgs) ToolStripProgressBar1.Maximum …

0
51
Member Avatar for mansi sharma

I want to get the width & height of the image file.. Mine code is currently getting the file size, I also want to get the width & height.How to get width & height,kindly help me. [code] Imports System.IO Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e …

Member Avatar for mansi sharma
0
487
Member Avatar for chanlichin

hi,i am new to vb 8 and i am now facing the problem to write sql statement. i want to retrieved data from MS Access by select the date using date time picker. so my problem is how to write the sql statement. My code is as below: sql = …

Member Avatar for chanlichin
0
83
Member Avatar for pepemiso

will you please help me in my problem.. when ever i am triggering a button I can display it on the list view.. but my problem is that i need to clear the item in list view after triggering the button. example i have a search button. when i click …

Member Avatar for GeekByChoiCe
0
98
Member Avatar for headworth

Please may i have some to help to convert excel workbook code vba to vb.net code? This is the start of my buttoncommand Dim Count As Long Count = 1 For i = 2 To 65536 If Cells(i, 1) <> "" Then Count = Count + 1 End If Next …

0
45
Member Avatar for manutd4life

Ok i have a button on MDI parent form and i need to disable it when closing a child form. When writing the button name (cmdmenu) in the child form, it says that the cmdmenu is not declared please help

Member Avatar for manutd4life
0
208
Member Avatar for babbu

[code] frmColourName.ShowDialog() 'adding a customer m_Customercount = m_Customercount + 1 Dim drNewRow As DataRow = m_CustomerDataTable.NewRow() drNewRow("CustID") = m_Customercount drNewRow("Company") = txtCompName.Text.Trim drNewRow("Address") = txtAddress.Text.Trim drNewRow("Telephone") = txtContact.Text.Trim drNewRow("Address") = txtAddress.Text.Trim drNewRow("Email") = btnEmail.Text.Trim Dim counter As Integer = 0 While counter < m_CustomerDataTable.Rows.Count If m_CustomerDataTable.Rows(counter)("Company") = txtCompName.Text.Trim Then MessageBox.Show("This …

Member Avatar for babbu
0
142
Member Avatar for DAWNIE

Hi guy, I currently having problem saving my drawing into the sql database. Can I get some help here pls. my current codes: [CODE] Imports System.Data Imports System.Data.SqlClient Imports System.IO Imports System.Drawing Imports System.Drawing.Drawing2D Public Class Page_2 ' for GCS TABLE Private value_GCS As Integer = 0 Dim value_Eyes As …

Member Avatar for DAWNIE
0
2K
Member Avatar for Nicholas Ng

Hi ,im new to vb...mine 1 is visual studio 2008 ,hope anyone can help me TT my problem is.. i got two form .. 1 is the login form 1 is the register form i need to code ,when the user is register and types in the detail..it will automatiic …

Member Avatar for babbu
0
102
Member Avatar for sam1

hi, I am trying to display a decimal in a textbox as 10.23. right now it is shown as 10.2333. i have created a function that removes the last two digits of the number but sometimes the number is 10.23 so when using this function it will remove the two …

Member Avatar for almostbob
0
89
Member Avatar for HookDevil

Hi, First of all... Yeah, I know that there WAS and still IS a lot of discussions and arguing about this particular topic (actually the main reason why I opened a new "Global Hook vb.net" topic is because I couldn't find any answers to my questions as a lot of …

Member Avatar for HookDevil
0
141
Member Avatar for Adeel89

Hi, I am trying to wrap a simple C++ class called math and export it to VB.NET using a DLL made in VC++ 2008. The implementation for the wrapper functions is as follows: [code=CPP] void * _stdcall CreateMath() { return new math; } void _stdcall DestroyMath( void *Math ) { …

Member Avatar for Adeel89
0
470
Member Avatar for Zack Richards

Hello, i am currently developing a new OpenSource project. I will release it to the public this week. :-) [B]Let's get to my question(s) then[/B]: [LIST] [*]I have a Rich Text Box, and i want to save that text into a default extension. [*]I want the default name to be …

Member Avatar for Zack Richards
0
137
Member Avatar for itshibu

Dear Friends, I would like to know how to find exact word from a text data available in SQL String. I mean, Suppose I have a string available in Table1; ie , "My latest activities" I want to search the word like test. Currently I am using query select * …

Member Avatar for Kids
0
111
Member Avatar for zuve_fox

Hi.. I build Scanner Application using WIA vb.net windows. Could everybody help me how to convert WIA.Imagefile to image so I can display on picturebox thanx

0
57
Member Avatar for Robtyketto

Greetings, I'm a newbie and cannot fathom the deployment process. I noticed WITHOUT a Setup project/Setup wizard project in my solution (desktop application) when publishing creates a setup.exe which runs an installer of a kind. Not a typical windows installer with welcome, installation folder screens etc.., I added a setup …

Member Avatar for GeekByChoiCe
0
124
Member Avatar for vaq

Here's the .dll for RunPE I'll be compiling in VB6: [url]http://4a0z9.pastebin.com/m24240ac9[/url] I was just wondering how I'll be able to use that to run an exe in memory by importing it to my VB.NET application? I can provide extra info if necessary, but some help would be awesome. Thanks, vaq.

0
63
Member Avatar for milhero

Hi Professionals, I am currently working on a mass emailing system. I am using Microsoft Visual Studio 2005. With windows IIS in Windows XP SP3. My program can send mass emails using System.Net.Mail namespace found in .NET 2.0 but i have no idea on how to implement the receiving emails …

Member Avatar for milhero
0
351
Member Avatar for Ana D.

Hi, For the page I'm developing I need a DropDownList with CheckBoxes on it, so that the users can choose more than one option without having to use the Ctrl key (and it's more intuitive). Because my options are being retrieved from the Database, the list of option can be …

0
55
Member Avatar for Ana D.

Hi, For the page I'm developing I need a DropDownList with CheckBoxes on it, so that the users can choose more than one option without having to use the Ctrl key (and it's more intuitive). Because my options are being retrieved from the Database, the list of option can be …

0
50
Member Avatar for Piya27

Hi All, I need to change the style of the first row in an excel sheet(that is created dynamically) in VS 2008. I tried using Excel.Style in vb.net but cudn't seem it working. any help?

0
72
Member Avatar for Ana D.

Hi, In the page I'm developing, I need a DropDownList where the items have CheckBoxes beside them. I found a lot of different suggestions on the internet about how to do it. Some suggest to use a ChebkBoxList, javascript and css and make the CBL looks like a DDL (a …

Member Avatar for Ana D.
0
80
Member Avatar for Ana D.

Hi, I'm trying to bind a DropDownList in the code behind using the following code: [CODE]Dim DatabaseConnection As New SqlConnection(ConfigurationManager.ConnectionStrings("myServer").ConnectionString) Dim selectCMD As String = “SELECT name, id FROM Clients WHERE name LIKE @name + ‘%’” Dim selectCMD As New SqlCommand(selectSQL, DatabaseConnection) selectCMD.Parameters.Add(New SqlParameter("@name", SqlDbType.VarChar)) selectCMD.Parameters("@name").Value = name Dim adapter …

Member Avatar for Ana D.
0
86
Member Avatar for ms_junie

Hey guys I'm a newbie =) I was wondering if it was possible to bound 2 combo boxes to each other. the first combo box with a set of information. Based on what the user selects, the second combo box changes. this involves 2 tables. table 1 dept id department …

Member Avatar for ggl0rd
0
100

The End.