20,284 Topics

Member Avatar for
Member Avatar for perryg30313

I have a vb .NET 2005 form that needs to load data based on a selected month by the user. Because there is a large amount of data in the table (60k+ records per month) it is taking the query a long time to pull the dataset back and populate …

Member Avatar for perryg30313
0
127
Member Avatar for Kingcoder210

I know how to make grand total in crystal report. But I dont know how to get grand result. For example my crystal report will show student`s result. Let me make it clear to you. [Code] STUDENT ID SUBJECT ORAL MARK WRITTEN MARK TOTAL MARK RESULT DEN10101 ENGLISH 40 40 …

0
74
Member Avatar for Shaggy19

I am currently having a few issues saving new information to a dataset. I could update the set, but on exiting and reopening the data all updates were gone. I found a few tips online but now get error messages when running the update command. Any help would be greatly …

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

In a Visual Basic 2008 windows application + MySQL database. I have a MaskedEdit field used for phone numbers, the mask is (###) ### - #### In my [COLOR="Green"]Table1[/COLOR] , i have a record with two fields: 1. Field Name (string 15)Data "andre" 2. Field Phonenr (string 25)Data " " …

0
38
Member Avatar for JOSheaIV

Okay so I feel stupid for asking this and I feel like i am overlooking something, but how do retrieve the value of a datagridview cell as an int. I have used this code to change the column to type int [CODE]dataGridView1.Columns[0].CellTemplate.ValueType = typeof(int);[/CODE] I haven't really had a chance …

Member Avatar for Geekitygeek
0
3K
Member Avatar for qiera

i am new with vb and this is my code that i work with.. there are errors in my code to view data from ms access into data grid.. can anyone help me to solve this problem? thanks... Imports System.Data.OleDb Public Class frmView Inherits System.Windows.Forms.Form Dim DB As OleDb.OleDbConnection Dim …

0
30
Member Avatar for UWILL

Hey what's up. How would I save a file to the application resources? Like I would be able to save text files using the GUI and then when I re-open the application I'd be able to access them again.

Member Avatar for codeorder
0
100
Member Avatar for ninjaimp

Hi Im trying to position a window with MoveWindow() API but it just keeps hiding the window and it has to be maximised to be able to see it. The code im using is [CODE] Public Declare Function MoveWindow Lib "user32" _ (ByVal hwnd As Long, _ ByVal x As …

Member Avatar for JohnTheGrateful
0
233
Member Avatar for deven_a76

Hello friends, I have some weired problem. Basically, I have developed one form which is generic and display different views. On that form I have used Close button. Alphabet E is short-cut for closing the form (i.e. mnemonic functionality). During execution of the form, when I press "E" on that …

Member Avatar for JohnTheGrateful
0
92
Member Avatar for manoyanx

hello, i'm new here and i'm also new in VB.Net and SQL Server 2008. I just got this error while creating my own login form. It generates an error "Invalid Column name manoyanx" where 'manoyanx' is the string i am querying in the database. Here is my snippet : [CODE]Dim …

Member Avatar for jbisono
0
183
Member Avatar for ninjaimp

Hi Im trying to to simply list all security groups from active directory as i will then be doing checks on folders with the mathcing security group. I can list all the users from active directory with this: [CODE] Dim myDirectoryEntry As DirectoryEntry = New DirectoryEntry(String.Format("LDAP://DC=domain,DC=org")) Dim mySearcher As DirectorySearcher …

Member Avatar for master0418
0
496
Member Avatar for W1ND0W5

Me and a friend are making an app which we need to play a sound when Form1 is started. How do we do this? I don't mind code.

Member Avatar for W1ND0W5
0
249
Member Avatar for judithSampathwa

Hey I have a question in datagridview resize columns in visual studio C#. I made the datagridview “AllowUserToResizeColumn” false from the properties window in the interface. But when I run the project, some of the columns can be resized Why is this. How can I make all the columns to …

0
66
Member Avatar for ehrendreich

I am working on validating a combo box. This does have a list of possible values but also allows for editing. So for example if the user does not select one of the available cities in the list they can type it in. I have tried using the validation event …

Member Avatar for ehrendreich
0
158
Member Avatar for stm4

how to create a login in vb.net 2005. the user name and password are stored in sql server 2005. Thanks

Member Avatar for tonyfonseca
0
77
Member Avatar for dsul

I'd like to have a windows forms application execute a command line instruction similar in structure to the following: ProcessText file1 file2 where ProcessText is a working console tool for automated text processing, file1 is the text I need processed, and file2 is the created text output. From the command …

Member Avatar for PsychoCoder
0
202
Member Avatar for SMG_

Right, so for a project at my work experience placement, I have to make in vb.net a game in the style of the classic "Lights Out" ([url]www.ebaumsworld.com/games/play/1111[/url]). I'm still getting used to vb.net, and I've come across a very basic problem that I need a bit of help with, I'm …

Member Avatar for codeorder
0
352
Member Avatar for Bold Eagle

I have an old exe(PGSXF6WN.exe) that works great under DOS. I would like to be able to run it in Visual Studio 2008 windows program. I do not have time now to rewrite it into a vs program. Does any one have a suggestion on now to do this?

Member Avatar for Bold Eagle
0
98
Member Avatar for OldManStarting

Hi; I have a question regarding my curent use of datasets and classes. I currently have a class with public properties of connectionstring sqlcommand Im setting the 2 properties from my main form and then calling a public sub within the class, this sub reads the connectionstring, connects to my …

0
62
Member Avatar for xfrolox

To make it quick, i have a webbrowser1 which cannot navigate from the link it is set up to, and cannot open new links in other windows, i need something like if get the URL Google.com when it clicked a link on the current site, then Form2.Show() Link here <-- …

Member Avatar for codeorder
0
70
Member Avatar for Hisham-Usif

I'm wondering whether it is possible to declare a global variable in a click event. I need to declare an array of a specific size. The specific size is generated using a series of IF statements. I only need to know how to declare it. Thanks in advance I'm using …

Member Avatar for peter_budo
0
159
Member Avatar for judithSampathwa

hey, i am using a datagrid view calender column in a form, i add all the details of it to the database.(such as the due date as 08/20/2010) and then when i come and open it in the next day try to edit it, it gives an error saying "Argument …

Member Avatar for Geekitygeek
0
137
Member Avatar for judithSampathwa

hi there, i have a datagrid view which has a calender column. in the datagridview row the calender column icon in the datagridview cell does not show, it appears as a datagridview text box,when you double click on the datagridview calender column cell,the datagridview calender column will display the calender …

Member Avatar for Geekitygeek
0
216
Member Avatar for judithSampathwa

hi there, how can i assign a calender control to datagrid view cell by C# code.(like assigning values to a combobox in C# codeas below) [CODE] DataGridViewComboBoxColumn combobox = (DataGridViewComboBoxColumn)dgvActions.Rows[r].Cells[3].OwningColumn; combobox.Items.Clear(); combobox.Items.AddRange(u.LoadUSEmp()); [/CODE] thankxxx

Member Avatar for Geekitygeek
1
174
Member Avatar for Naveed_786

Hi guys, I want to search a customer when i press an alphabet 'a' it should search and show drop down list of all customer those name start with 'a'. Please please help thanks in advance.

Member Avatar for Naveed_786
0
125
Member Avatar for g(valve)

Visual Basic 2008 Hey i was wondering if it was possilbe to change the colour of text in a textbox through a button in a simple text editor that i am working on any help would be appreciated. cheers

Member Avatar for g(valve)
0
120
Member Avatar for zil

Hi.. I am trying to change the button colors, in different group boxes,(Buttons and group boxes are in the same form). How can I change it?

Member Avatar for Luc001
0
118
Member Avatar for ukfreak

Hi, I need a very urgent help. My requirements is, I need to display my data in a datagriedview on monthly basis only. I have done the retrieving of the data from sql server to the datagriedview. But how do i show it only on monthly basis? Regards, Malini Imports …

0
59
Member Avatar for GrimR7529

Hi all, I have a problem displaying some text in a RTF box. What I have done (as I dont know c# well) is converted the code from the Matrix Library developed by Anas Abidi to vb.net. [URL="http://www.codeproject.com/KB/recipes/AdvancedMatrixLibrary.aspx"]http://www.codeproject.com/KB/recipes/AdvancedMatrixLibrary.aspx[/URL] The code converts fine and somewhat works but cant seem to display …

0
68
Member Avatar for ndeniche

Hello mates I've got a database with tables for Job Department and Job position. Every Positions has a respective Department assigned by the id. So, when the user selects a Department, the program deploys into the combobox the values of the Positions assigned to that department. The thing is, the …

0
117

The End.