20,899 Topics

Member Avatar for
Member Avatar for OldQBasicer

I'm really a novice and I'm trying to draw a thermometer that moves up or down with temp change. I created a second form on my project for the thermometer and access it using Thermometer.Showdialog((). Then on the thermometer form, I'm using this code: [CODE] Private Sub ThermometerForm_Paint(ByVal sender As …

Member Avatar for OldQBasicer
0
186
Member Avatar for buzzykerbox

Hey,just have a problem with some code,just starting out Its basically a guessing game in vb [CODE] Public Class frmMain Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnGuess.Click Dim randNum As Integer Dim guess As Integer = Convert.ToInt32(txtGuess.Text) Randomize() randNum = Int(20 * Rnd()) + 1 …

Member Avatar for buzzykerbox
0
231
Member Avatar for gu0gu0

hi guys, can i ask how do i check for validation for my username field if last letter must be an alphabet? the username is in the format of 7digit + alphabet i had successfully check for the first 7 digit using isnumeric substring 0,7 but i have no idea …

Member Avatar for Ken VB
0
99
Member Avatar for rp_prakash

hi this is my coding when i run this coding for display "Procedure or Function 'sp_developer_display' expects parameter '@developerid', which was not supplied." this error will display my sp in sql express is ALTER PROCEDURE dbo.sp_developer_display ( @developerid int ) AS /* SET NOCOUNT ON */ select developercode,developername,qualification,dateofjoin,designation,experience,knownsoft from tst_m_developermaste …

Member Avatar for ChrisPadgham
0
113
Member Avatar for tqmd1

Dear Experts I have applied following custom Format to DateTimePicker dd-MM-yyyy So now DateTimePicker is displaying data as 15-01-2010 Sql server 2005, table1 has column named Date with datetime type How to store DateTimePicker text into date column of Table1 I want to save only date not time as 15-01-2010 …

Member Avatar for jlego
0
121
Member Avatar for tqmd1

Dear Sir. I use following codes to to convert string to date. In messagebox it displays correct date with format but in textbox it displays only #12:00:00 AM # How to send date to textbox1 from variable mydate Please help [CODE] Dim mydate As Date Dim dateString = "31/12/2009" Dim …

Member Avatar for jlego
0
199
Member Avatar for HarvinderSingh

Hey guys... i am trying to view contents of a text file to a textbox via aid of a button (ViewBtn). i have a treeview(TreeView1) which shows the root folder and displays content in the listview. my query is how do i select a file from listview (ListView1) and display …

Member Avatar for Nokser
0
230
Member Avatar for wasyazwan

How can i extract the information as below from the input file and then show it in the messagebox? and can i show it as center alignment? Adjustment Statistical Summary ============================== Convergence Iterations = 2 Number of Stations = 36 Number of Observations = 128 Number of Unknowns = 70 …

Member Avatar for debasisdas
0
128
Member Avatar for abdalla_92
Member Avatar for debasisdas
0
70
Member Avatar for MondeVB

Hi everyone . can you help me in making a log in form for administrator using the accounts from the MySql database .. i want to know the code in connecting database, because i am new in SQl database Programming.. example there are 2 fields in SQL database the Username …

Member Avatar for debasisdas
0
112
Member Avatar for prakash_rp

hi this is my coding i run no error message but the data is not inserted in the table. i need help what is error in this program Dim MyConnection As New SqlClient.SqlConnection Dim MyCommand As New SqlCommand Dim connstring As String = "Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Documentcreation.mdf;Integrated Security=True;User Instance=True" Dim insstr As …

Member Avatar for MeSampath
0
84
Member Avatar for firebirds98

So I am new to C#, and I am trying to to figure out what the problem is with my code. I know this works in VB.Net just not sure why it doesn't in C# [CODE] private Connection myConnection = new Connection(); private SqlConnection mySqlConnection = new SqlConnection(myConnection.connectionString); [/CODE] I …

Member Avatar for Geekitygeek
0
954
Member Avatar for wasyazwan

I have attached that file. The sample of data are as below: PUBLT 167_89 656 PB -38321.478 6807.984 657 PB DAUD 200005041 278.271074.5150 69.4035 08370074.1830 69.2755 083800254.1925290.4620083900254.5615291.010008400008390098.2710 74.3630 20.3943 278.27100.0211 15.5954 74.3726 278.2748 PUBLT 167_89 656 PB -38321.478 6807.984 657 PB DAUD 200005042 278.271074.4940 68.1425 08430074.1610 68.0010 084400254.1720292.1650084500254.5400292.315508460008450098.2710 74.3418 22.0833 …

Member Avatar for wasyazwan
0
587
Member Avatar for bilaman

hello..im trying to do a student registration system i used access as a database the system must have a search button to search student name then whenever i click the student name it will automatically fill the name in a ready made .doc form any one can help me?? im …

Member Avatar for bilaman
0
67
Member Avatar for fansa

I need some help... i am the beginner vb.net developer, so i need someone correct my coading to insert data from text field into database mssql... below is my coading; Protected Sub btnSimpan_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSimpan.Click Dim dtTemp As New DataSet Dim ddClass As …

Member Avatar for fansa
0
105
Member Avatar for TommyTran

Hi everyone! I have an assign ment that says: create an application to let the user enter his or her name (first and last name), then displays the Initial in Upper Case. FOr example: you enter "John Wow", then the Label will display "JW". I know that I'm supposed to …

Member Avatar for ChrisPadgham
0
104
Member Avatar for networkmancer

How to kill a process? I tried this and gives me an error [code] Dim RunningProcess As System.Diagnostics.Process = Process.GetProcessesByName("explorer.exe")(0) RunningProcess.Kill() [/code] and also Any code for enabling Task Manager, Regedit and Folder Option in VB 8?

Member Avatar for Chrono841
0
210
Member Avatar for tqmd1

Dear Experts Data in Table1 is as follows Code-------product--------weight 1-------------Apple----------2.00 2-------------Mango---------3.25 3-------------Banana---------6.50 Then I have Datagridview with three columns same as Code, procuct, weight I have following codes [CODE]Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click str = "SELECT desc1,weight FROM master where code =" & …

Member Avatar for ChrisPadgham
0
140
Member Avatar for Phen0

Hello all, I am new to VB and need to make a program that does the following: Write a VB.Net program that allows users to enter a series of numbers (separated by a comma) in a text box called series. When the users clicks the command button called Average, the …

Member Avatar for Phen0
0
250
Member Avatar for tqmd1

Dear Experts Sqlserver Table1holds data as follows date---------------sno 01/01/2010-------1 01/01/2010-------2 01/01/2010-------4 01/01/2010-------5 01/01/2010-------7 02/01/2010-------1 02/01/2010-------2 02/01/2010-------6 02/01/2010-------8 How to findout missed sno in 01/01/2010? I want to get this result 3 6 Please help

Member Avatar for padtes
0
105
Member Avatar for tqmd1

Dear Experts On Desktop, I mostly use this erro message What is this, how to get rid of it? --------------------------- Visual Studio Just-In-Time Debugger --------------------------- An unhandled win32 exception occurred in c.exe [5492]. Just-In-Time debugging this exception failed with the following error: No installed debugger has Just-In-Time debugging enabled. In …

0
69
Member Avatar for ALex_ice

I was given an assignment to create a scientific calculator. I have done all of the buttons except for two: Standard Deviation and Deviation. I don't know that difference between the two and I have have no idea how to program them into a button. I Any help would be …

0
34
Member Avatar for ZidaneXero

Hello everyone I've been trying to google this and had no luck with this issue So i have this form where it prints a certain record i search, but im trying to do restaurant form and a print form that it will print the last order done. So I Know …

Member Avatar for ChrisPadgham
0
87
Member Avatar for good_c_ryan_19

Hi, i need to know which is better in vb.net... BindingSource( such table adapter and etch..) or Hardcode( such as parameters,sqlcommand,sqlconnection that all your codes are programatically done)?.. Which is Which?:confused:

Member Avatar for good_c_ryan_19
0
107
Member Avatar for bbxrider

my first asp.net project, using vb, and vs2005. i started a basic web project, added a web form, default.aspx. as the project progressed to keep a reference to how far i got, some samples etc, i would copy the original default to default2.aspx, default3 etc. i got up to default5, …

Member Avatar for bbxrider
0
105
Member Avatar for sk172online

Hi, I am trying to open the Jquery Dialog box using VB.NET. [B]After the data has been saved successfully[/B], I need the dialog box to show up with the message to the user. Also allow user to perform some other actions like clicking the buttons. If I call the same …

0
111
Member Avatar for JAM1011

Hey all, I am a bit lost. I need something tje user can type in data to such a parts QTY cost etc. There are no predefined parts list so the user can enter any part name/Number and there is no limit to amount of parts that can be entered. …

Member Avatar for akulkarni
0
116
Member Avatar for siEricko

Hi I am learning how to use database. I am using sql server 2005. I would like to know how to make an sql query to the database from vb.net. I have tried some code. what i would like to know is, how to make the sqldataadapter statement with 2 …

Member Avatar for siEricko
0
3K
Member Avatar for tqmd1

Dear Experts I use following codes to display data. Next & Back buttons work fine, but when I enter some sno into textbox1 then it displays nothing Codes on textbox1 lostfocus [CODE] Me.ds.Tables("employees").Rows.Find(Me.TextBox1.Text)[/CODE] Codes in Form Load [CODE]Dim sql = "select * from employees" Dim da As New SqlClient.SqlDataAdapter(sql, con) …

Member Avatar for tqmd1
0
86
Member Avatar for sayeedbd

Hello All, I am trying to lock some my video, picture, Excel and Word file in my PC by using Visual Basic. I am using Visual Studio 2008 to develop this application but I am unable to do this job. It'll be something like security utility application. Actually without me, …

Member Avatar for sayeedbd
0
191
Member Avatar for Tschuikow

When I run this Code, the access is denied for all users, my current login too. [CODE] Dim di As New IO.DirectoryInfo("c:\folder") Dim ds As DirectorySecurity = di.GetAccessControl() ds.SetOwner(WindowsIdentity.GetCurrent().User) ds.AddAccessRule(New FileSystemAccessRule(WindowsIdentity.GetCurrent().Name, FileSystemRights.FullControl, AccessControlType.Allow)) ds.AddAccessRule(New FileSystemAccessRule("Everyone", FileSystemRights.FullControl, AccessControlType.Deny)) di.SetAccessControl(ds) [/CODE] How do I deny access for folder for all users, except …

0
63
Member Avatar for jlego

i am trying to test if a form is open or not, i thought the following was working: [code] if frmname.isdiposed = false then call frmname.somefunction [/code] but it doesnt work like i thought it did basically what im trying to do is determine if a form is open or …

Member Avatar for kvprajapati
0
138
Member Avatar for JohnDove

I want to get rid of the "publisher could not be verified..." warning messages that users get when they run my Visual Basic 2008 application, after downloading it from my website. How do I digitally sign it to my company name? My website has a secure area (i.e. SSL certificate). …

Member Avatar for kvprajapati
0
103
Member Avatar for tqmd1

Dear Experts How to apply primary key on sno column in the following dataset [CODE] dim sql = "select * from employees" Dim da As new SqlClient.SqlDataAdapter (sql,con) 'ds.Clear() da.Fill(ds, "employees") TextBox1.DataBindings.Add("text", ds.Tables("employees"), "sno") TextBox2.DataBindings.Add("text", ds.Tables("employees"), "Name") TextBox3.DataBindings.Add("text", ds.Tables("employees"), "City") TextBox4.DataBindings.Add("text", ds.Tables("employees"), "Phone")[/CODE] Please help

Member Avatar for kvprajapati
0
106
Member Avatar for napkinbob

Background: I have a tool that grabs files from a network location based on the file name. There are various files, but the names are all based on the creation date (report052209.txt). What i need to do is take the date selected from a datetimepicker and save a two digit …

Member Avatar for kvprajapati
0
132
Member Avatar for DJAyzed

I have a datagridview on my form called "mainGrid" and im not very good with XML buti found a small example to load but not one to save I wondered if there was a equally simple way to save! Heres the loading code: [code] Private Sub loadGrid() Dim ds As …

Member Avatar for DJAyzed
0
296
Member Avatar for itzshaheer

Dear All I wrote a code to save a data using text box but there are some error like : [B]ArguimentException was unhandled. Cannot bind to the property or column User Privilege on the DataSource.Parameter name: dataMember[/B] My code for saving is : [CODE]Private Sub btnSave_Click(ByVal sender As System.Object, ByVal …

Member Avatar for kvprajapati
0
169
Member Avatar for riahc3

Hey This is going to be hard to explain but oh well.... I have a form with a menu. When I hit option one, it opens another form (form2) inside that same form (mdiparent). When I hit X on form2, then try to open it again from the original form …

Member Avatar for kvprajapati
0
142
Member Avatar for TommyTran

Hello everyone! I have this assignment that says: Create an application to let the user enter a sentence, then calculate how many words there are in that sentence. I know how to count the "Char" in a word (using .Length), but for this assignment, I really have no idea how …

Member Avatar for Stevoni
0
73
Member Avatar for SaintDK

hello guys, i'm just fooling around with vb 2008, and i thought i'd try to make a simple anti virus. my problem is that it only detects and deletes one of the files, i know it's because i use else if, but i don't know what else to use ? …

Member Avatar for SaintDK
0
73
Member Avatar for bcheath_1

I am in the process of developing an MDI application in VB.NET (2005). Anyway, my child form refuses to center the parent forms' bounds. I have tried setting the 'startposition' via the properties menu. I have also tried setting the 'startposition' with code in the parent form's load procedure. Here …

Member Avatar for Mortimern
0
746
Member Avatar for bawa

as i m a new in this field so i hope u all guyss r profeshionalist ......................... so plss guide me that how should i link aur connect one form wid another.............

Member Avatar for good_c_ryan_19
-1
229
Member Avatar for good_c_ryan_19

Help Pro's :'( I am a newbie in VB.NET .....I am using Sql Server Express 2005 as my database... I am currently working with my THESIS... A Human Reources Information System that concerns only with the file and record management of the employees... With two modules. a. Administrator for HR …

Member Avatar for good_c_ryan_19
0
156
Member Avatar for ashukite

I have an invoice form bind to a bindingsource and bindingnavigator. I use the bindingnavigator to add and save records. But I can's save data from an item combobox and total text box. The item combobox's datasource is set from the item table. It's value member is set to item …

0
66
Member Avatar for xfrolox

I'm just trying to add a simple function to the textbox for security that if i only allow 0 - 9 Numbers and i try to put a letter it wont let me i forgot the code so if any can help me ...

Member Avatar for pauldani
0
174
Member Avatar for Ranx

Hi, i'm hoping someone can help with a slightly odd problem i have. I have a piece of code that can create a folder on a sharepoint site from one machine, but not another. [CODE] If Not System.IO.Directory.Exists(strTargetLocation) Then System.IO.Directory.CreateDirectory(strTargetLocation) End If[/CODE] Originally it was because WebDAV was not running …

Member Avatar for Ranx
0
205
Member Avatar for VIPER5646

[QUOTE]Hi I have a datagridview which I would like to change the the color of the text in a cell if the number is negative in the Total column. This is what I have so far. [/QUOTE] [CODE] Dim rowcont As Integer = (TTLGrid.Rows.Count) - 1 For x = 0 …

Member Avatar for kvprajapati
0
110
Member Avatar for xcarbon

Hi, i need help with loggin the process list and saving it as a text file. I need it so that it will log any new program that opens up. Basically monitoring the process list.

Member Avatar for sknake
0
46
Member Avatar for charle2364

HI, im new in using vb.net 2008, and i want to master using it.. i want to create a simple POS system, can you tell me how can i hide group of buttons/ controls on the first load of a form and then group of controls will just show after …

Member Avatar for charle2364
0
102
Member Avatar for Mr.mham

hi all I'm new in vb.net and I would like to get some help in something I'm developing a database application with vb 2008 and my database is MS access 2007 but every time I insert some records , they gone after a few moments . When I insert them …

0
40

The End.