20,284 Topics

Member Avatar for
Member Avatar for MarkGia

I was wondering how can i make a working login form What have i to put for user nae and password Thanks in advanced Mark

Member Avatar for MarkGia
0
495
Member Avatar for XEN0

Im using Microsoft Visual Studio 2010 Microsoft Acess 2010 This is for practice Lets See First off i was able to get to insert records(Code Below) Now im trying to get the program to prompt a message when the id or field exists on the key down event and not …

Member Avatar for XEN0
0
1K
Member Avatar for wannasee

I wanted to simply on click a button to add those newly created textboxes to an array of textboxes. Starting with those labeled "Address". But I am finding this very difficult. I am able to add those originally on the form into the array very easily. But am unable to …

Member Avatar for wannasee
0
155
Member Avatar for shivya jain

[CODE] Sub auto() c.con.Open() Dim j As Integer = 0 Dim cmd As New SqlCommand("select staffid from staff order by staffid", c.con) Dim dr As SqlDataReader() dr = cmd.ExecuteReader() While (dr.read()) txtstaff_id.Text = dr("staffid").ToString() End While j = Convert.ToInt32("txtstaff_id.text").ToString() j = j + 1 txtstaff_id.Text = j.ToString() dr.close() c.con.Close() End …

Member Avatar for kingsonprisonic
0
111
Member Avatar for bettybarnes

hi guys just want to ask a simple question about listview im making a POS program.. when i click Enter button the items on textbox and comboboxes should be placed inside my listview here is my screenshot [URL="http://i43.photobucket.com/albums/e355/bettybarnes/pos.jpg"]http://i43.photobucket.com/albums/e355/bettybarnes/pos.jpg[/URL] my problem is i dont know how to put the correct codes …

Member Avatar for Ramesh Genwa
0
159
Member Avatar for ktimov1

I have an XML file that is displayed on a DataGridView driven by a dataset. I am having trouble setting up a filter where a user can enter information in a textBox then have the DataGridView filter to find results. The XML File is displayed on the DataGridView using this …

Member Avatar for rakesh_pooja
0
540
Member Avatar for bklynman01

I have began building a piece of software that needs to collect a series of information from the user. This information will all be based on what has already been entered. I would like to create a window that has a "NEXT" button in it. As they enter information, they …

Member Avatar for codeorder
0
311
Member Avatar for mikejs

Hi I have several panels in my app is there a simple way to switch between the panels without dragging them off the screen so I can see the ones bellow if I need to edit the first panel I have to move 8 panels to see it :-( thanks …

Member Avatar for codeorder
0
107
Member Avatar for mikejs

Hi I am using the following to get the system sound question but it doesn't populate ? [CODE] Public Class SystemSoundItem Dim sound As SystemSound, soundName As String End Class Public Property SoundToPlay As SystemSound Set(ByVal value As SystemSound) End Set Get SoundToPlay = SystemSounds.Question End Get End Property[/CODE]

Member Avatar for mikejs
0
341
Member Avatar for Vaikkundhnaair

I would like to create a login screen with username/password. Can anyone help me? The login screen should validate username/password before the user is redirected to the next screen. thank u

Member Avatar for codeorder
0
838
Member Avatar for Mike Bishop

can someone help a newbie with .net the code i have is working fine to pass one parameter to crystal, can someone help me pass a second parameter called "line"? [CODE]Imports System.Windows.Forms Imports System.Data.SqlClient Imports OEE_NEW.Module1 Imports System.Data Imports System.IO Imports System.Data.SqlTypes Imports System.Windows.Forms.DataVisualization.Charting Imports CrystalDecisions.CrystalReports.Engine Imports CrystalDecisions.ReportSource Imports CrystalDecisions.Shared …

Member Avatar for bklynman01
0
221
Member Avatar for ntagrafix

hi, I worked around to modifying regular expression below but i could't get what I need. I google it, many things found but not for what i want. [CODE] Dim valid AS Boolean = Regex.IsMatch(TextBox1.Text, "^(,?\d+){0,20}$") [/CODE] Allow numbers exactly like 32,1,6,32,12,21,21,54,675,8,4,3,2,9,0,21,21,21,43,744 in TextBox1. Perfect. NOW i want 20 numbers …

Member Avatar for ntagrafix
0
214
Member Avatar for lolsn0r

Ok i have made a picture ;) That will explain it a lil better. I just need to add that certain code ***|*** to textbox2.text but * can be 1 2 3 4 5 6 7 8 9 button2_click: if textbox1.text.contains("***|***") then ... Picture: [URL="http://imageshack.us/photo/my-images/43/naamlooses.jpg/"]http://imageshack.us/photo/my-images/43/naamlooses.jpg/[/URL]

Member Avatar for codeorder
0
168
Member Avatar for mikejs

I seem to have broken something I get this error Unable to cast object of type 'System.EventArgs' to type 'System.Windows.Forms.KeyPressEventArgs'. my code: [CODE] Private Sub ListControl_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ListControl.SelectedIndexChanged Dim connString As String = My.Settings.strConn Dim conn As New SqlConnection(connString) If ListControl.SelectedIndex > -1 …

Member Avatar for mikejs
0
239
Member Avatar for newsguy

Software from boffins who used to work at the [URL="http://spacetech.dundee.ac.uk/"]Space Technology Centre[/URL] at the University of Dundee promises to reveal secrets of legacy code. Founded in September 2009, [URL="http://www.rapidqualitysystems.com"]Rapid Quality Systems[/URL] is a software development outfit that was 'spun out' of the Dundee University Space Technology Centre, and is still …

Member Avatar for jbennet
0
363
Member Avatar for klenne

Hi, Actually I don't know if my question belongs in this topic or in the mysql topic. But I'm making a VB.net application with a mysql database and i have to make a trigger but I don't know where I have to use or implement it in my application. I …

Member Avatar for klenne
0
718
Member Avatar for khentz

Below is my code connection to my database..I highlight with red color my target database. And I would like to ask, what is the safest way to target the database. Because Im thinking, what if my database is change to another directory. If that happens, it will cause trouble to …

Member Avatar for gearup4it
0
135
Member Avatar for Jake.20

Greetings expert programmers, Can someone guide me on how i will connect my vb.net 2008 to ms sql 2008 r2? I already installed mssql 2008 r2, and when i try to add the connection it says i need to call the administator something like that even though i checked all …

Member Avatar for Oxiegen
0
99
Member Avatar for kylelendo

Hii I have been converting a file into its hex value.But cannot convert it back into same exe value Let me get in detail Here is the code [ICODE] Imports System.IO Sub Main() Dim fileName As String = "ABC.exe" Dim data As Byte() = File.ReadAllBytes(fileName) Dim fs As FileStream = …

Member Avatar for thines01
0
788
Member Avatar for mikejs

I am going mad trying to sort this logic out lol [CODE] Public Sub Panels() If RadPanelSearchCur.Visible = True Then RadPanelTenant.Visible = False 'RadPanelProp.Visible = False RadPanelTenantEdit.Visible = False ElseIf RadPanelTenant.Visible = True Then RadPanelSearchCur.Visible = False 'RadPanelProp.Visible = False RadPanelTenantEdit.Visible = False ElseIf RadPanelAddTenant.Visible = True Then RadPanelSearchCur.Visible = …

Member Avatar for codeorder
0
146
Member Avatar for jigarsangoi

I wrote the following code for inserting the value in table company_db & database is Company_DB but the value are not inserted into the table table shows null values the code is below: [CODE]Imports System.Data.OleDb Imports System.Data.OleDb.OleDbConnection Imports System.Data.OleDb.OleDbCommand Public Class Newcompany Inherits System.Windows.Forms.Form Private Sub Button1_Click(ByVal sender As System.Object, …

Member Avatar for debasisdas
0
131
Member Avatar for Junzification

good day!. i have a assignment given by my prof in vb.net subject, but i cant program it well.. so, i need help also in equation and the codes.. please help me. here, Create a java class that will accept in coin(peso) as integer input and will segregate it in …

Member Avatar for GeekByChoiCe
-3
143
Member Avatar for ceal21c

Hello, I am trying to bind an Access database to a MSChart control in VB Net 2008. I have a test database populated with four fields SAMPLE-Date\Time, Values-Number, MAX-Number and MIN-Number. I'd like to only display the rows that fall within a specific date range but I'm running into a …

Member Avatar for Upoma
0
81
Member Avatar for zoraster01

can you help me to code a vb.net program.. i want to have a button that if i click it will add a table in the sql server database.. tnx :)) i really really need this code i only have 1 week to finish dis project :))

Member Avatar for shivya jain
0
129
Member Avatar for johmolan

Hi, I have a windowsform in visual studio 2008, I connect to a ms sql-server On my form I have a datagridview who I use to enter data etc and save them to the database. I then have textboxes who shows the sum of the columns etc in the table …

Member Avatar for johmolan
-1
72
Member Avatar for mikejs

Hi I am trying to save settings on close I have the following code [CODE] Private Sub MainSystem_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing My.Settings.firstRun = Me.RadCheckBoxFirstLoad.Checked = True End Sub[/CODE] and on form load [CODE] If My.Settings.firstRun = False Then RadPanelWelcome.Show() Else RadPanelWelcome.Hide() End If[/CODE] I …

Member Avatar for mikejs
0
141
Member Avatar for discovery-power

Hi All, I am writing a program that saves quotes for writers to an xml file. Well I save my data to the xml file, but when I go to load the document I get this exception thrown at runtime. System.Xml.Xsl.XslLoadException was unhandled LineNumber=2 LinePosition=1 Message="Stylesheet must start either with …

Member Avatar for lolafuertes
0
265
Member Avatar for ninjatalon

I've created this application for some clients and for some odd reason it is not working for 1 of my clients. its seems to download a file no problem using this code [CODE] Dim request As FtpWebRequest = Nothing Dim response As FtpWebResponse = Nothing Dim respstrm As Stream = …

Member Avatar for ninjatalon
0
174
Member Avatar for SANJAY26

[CODE]Imports System.Data.OleDb Public Class Form1 Public con As New OleDbConnection Public cmd As New OleDbCommand Public da As New OleDbDataAdapter Public dr As OleDbDataReader Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim oOLE As String Try con.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=E:\BOND\BOND\bin\database\RBIBOND.mdb;Persist security info=False;" con.Open() oOLE = …

Member Avatar for SANJAY26
0
110
Member Avatar for Vaspar

[IMG]http://i25.lulzimg.com/29b7c6.png[/IMG] I used transparent panel and labels... used paint method to round corners... b4 using paint method panels were transparent but now one panel is transparent others are white... in properties it still transparent [url]http://www.mediafire.com/?l7tbtsh00w97pyn[/url] if i select wordpress category panel become transparent.. how i can solve this problem and …

Member Avatar for Vaspar
0
100

The End.