20,284 Topics
| |
| Hello, I'm having an issue with updating a couple list boxes in the form load procedure. I have an array created from a MySQL database, and when I try to add that array to more than one ListBox, I get: [code]A first chance exception of type 'System.ArgumentNullException' occurred in System.Windows.Forms.dll[/code] … |
[B]Hello guys, I am coding an application for seats reservation and it contains two forms one of the forms contain 32 labels that represent the seat number and when the user wants to reserve that seat, he/she can double click that label to bring up the other form . The … | |
Hi all I have a RDCL Report called Report1.RDCL. In this report I put an image box named logo the select image Source is set to EXTERNAL and in the use this image I have Parameters!LogoPath.Value. I would like the users to be able to pick their own logo. How … | |
Hi guys ok guys this is my problem my DataGridView1 does not show the data on my testdb.mdb i need to fix this first before i continue on adding records on my db i very much appreciate any one who can help me with this. [CODE]Imports System.Data.OleDb Public Class Customer … | |
This question is a bit academic now as my contract at this place is coming rapidly to a close. But for future reference, I'd be very interested in the answer. We're talking about .Net 2.0 and Visual Studio 2005. Don't limit your responses to this platform though; I'm interested in … | |
Hi All I have a load of information on my label in a groupbox on the form there is too much information to be seen in one go so i want to use a vertical scrollbar to move the label up and down inside the groupbox so it can be … | |
I am writing program that should allow the user to hit a browse button and be able to browse in their local directory to select a folder that they will later on save a file to. I know you can do this in windows forms but since I am using … | |
Ok, So i wrote this basic program that takes a map file as an input, and parses it and then draws the map. Its sort of like VERY BASIC tile mapping. The problem is, I cant think of a way to loop it so that no matter how many map … | |
I need to output "Exceptional Innovation" <div id="basic-info"> <h1 class="fn org"> <span> Exceptional Innovation </span> Here's my Code [CODE] RichTextBox1.Text = htmlsource Dim myMatch As New System.Text.RegularExpressions.Regex("(?<=<div id=""basic-info""> <h1 class=""fn org""> <span>).+?(?<=</span>)", RegexOptions.IgnoreCase Or RegexOptions.Compiled) Dim matches As MatchCollection = myMatch.Matches(RichTextBox1.Text) For Each itemcode As Match In matches Dim output … | |
Hi guys just made account in hopes to learn and get help from you C# programmers. Digging the design of this website. Anyways to my question: I want to create a lets a Datagrid that displays info from a table and allow the user to update info on the table. … | |
[CODE]Process.Start(Path.GetDirectoryName(xsM)) [/CODE] [ICODE]xsM = String[/ICODE] with a [ICODE]FullPath[/ICODE] of a .File. .i would like to load win.explorer with [ICODE]that.File.Selected=True[/ICODE]. .thanx.in.advance. | |
Hello all! I am getting errors when I try to use this adodb.connection and command in my code. The error I am getting is saying that the connection and command are not defined. I read online that depending on your version of vb that you might use the "OLE" connection … | |
how can i view my installed program list and uninstall program from the list using vb.net 2008. | |
im creating a custom User Control. its a custom picture box . i want to user to select the picture file from file system. so i use following code(i found it on a forum) . but vb says that code has a error . help me :'( [CODE] <EditorAttribute(GetType(System.Windows.Forms.Design.FileNameEditor), _ … | |
Hi, Im trapped into a silly issue,I have a datagridView,which is filled with the Click of the Button.My Issue is i can see the data only when i select a row.When no row is selected by mouse then its just showing blank cell,whereas data is actually there in the datagridView.I … | |
hi all I have created a web application and have a number of textboxes on a web page. I have created a new class with carries out a number of calculations and if there is no text in the box it enters 0.00 so I dont get a null exception. … | |
Hey, I have an website with dynamic text on it, i want to transfer the text to an textbox, and the text is between this tags: <pre> </pre> How do i do this? | |
Hi, I have richtextbox control in datagridview Column. i am adding it manually but runtime unable to add in datagridview column it gives me an error like 'PRJNAME.richtextboxcolumn can not converted to system.windows.forms.richtextboxcolumn' [URL="http://www.codeproject.com/KB/grid/RtfInDataGridView.aspx"] Here [/URL] i found the Richtextbox contorl I am add the code like this on form … | |
how to add parameter in microsoft reportviewer plz give me sum code sample | |
Hi, Can anybody help me, I have an tabcontrol which has dynamically added the tabpages now i want to add datagridview controls in each tab pages how i can do this.I am written the code like[CODE] For i = TabControl1.TabPages.Count - 1 To 0 Step -1 Dim dtg As New … | |
Dear All, I am working on CE5 device and developing my application on .net Compact Framework 2. While using threads I am facing a strange problem - My thread terminates unexpectedly when I call a function from it which does a serial communication. Any suggestions why this might be happening? … | |
i have a code. i just want to save listview data to database. the title is the error that pops out here is my code [CODE] Public Sub ConnectDatabase() conn.ConnectionString = "SERVER=localhost;User id=root;database=test" Try conn.Open() MessageBox.Show("Connected") With mycommand .CommandText = "Select * from wer" '.ExecuteNonQuery() End With Catch ex As … | |
Can someone please help me on getting a formula round off to the next highest .25. example: 2.35->2.50 2.26->2.50 2.24->2.25 2.51->2.75 I can't use the Round function because if I have 2.26 then it will round off to 2.25 which is unacceptable. I have been using the Ceiling function but … | |
I have another problem if you can help: How to move label caption with clicking VScrollbar.Label value changes with VSCrollbar according to the code: label1.caption=vscrllbar1.value But I need the position of the label caption changes with changing the scrollbar either up or down? | |
Hi All I am writing an import program to import data from an access database to a SQL database. The table structure in the SQL and Access are the exact same with the same field names. I was wondering if there was a quick way to get the data into … | |
I have a stored procedure that creates temporary table to populate return table. It works perfectly fine when I execute it on SQL management studio but when I try to import this sttored procedure, it give me an error Invalid object name '#TOTAL' which #TOTAL is the temp table that … | |
I am trying to write a windows application in vb.net to import data from excel to sql server. I got "object not set to an instance of an object" error. The data actually have been inserted into the sql. The following is my code. I have a button when the … | |
I am trying to create keypress handler that will execute a line of code when Tab, Space, or Enter key is pressed or passed by the scanner gun while the control is in focus. I got it to work with space and enter key but with tab key, the cursor … | |
Color custom cursor appears to be black when I run the program. The color custom cursor is imported from desktop by using Resources in vb.net. When I run the program the cursor turns out to be black. HOW DO I FIX IT? [CODE]Dim ms As New System.IO.MemoryStream(My.Resources.Cursor1) Button1.Cursor = New … | |
| I would like to start this post off with, I am not looking for someone to do my homework for me. If I was looking for someone to "do it for me", I would go to one of the sites where you can pay someone to do your work for … |
The End.