20,899 Topics
![]() | |
Hello! Yes, This is my first post. And it might seem a little selfish that i just joined to ask a question, so don't worry, i'm not gonna ask and run, i'll stick around. So my problem, what im trying to do is using regex i'm pulling information from a … | |
Hello All, I need to create a new DateTimePicker control supporting the Hijri and Hebrew calendars I tried the DateTimePicker on "windows server 2008" and it was working very fine without any code change for Hijri and Hebrew calendars but on "windows XP" it works only with Grgorian calendar so … | |
Hello! Anyone could tell me how to set the limit of a certain column to accept 10 the same inputs only. I have a table named Date and I want to limit its content for the same inputs to 10 only cause 10 person only can have the same date. … | |
Hello, I have just started using databases, but I am totally stuck. I made a database and table using MS Access. The table has three columns. ID, Code, and Letter. Basically, the Code column stores a number for each letter (eg. 1 = A, 2 = B, 3 = C, … | |
hi friends i m using datetimepicker for date, i want whenever the month in date is 3,4 etc. then combobox should add the month in words ie. march,april etc. automitically. for eg. if todays date is 16-1-2011 then combobox should add item jan only or if already added 12th month … | |
hav developed an application using vb.net 2005. i want to create an asp.net form which if i click a button on the asp.net form, i launch the login form for the vb.net application. i dont have any idea. please help. | |
i'm using checklistbox, i want to display data from sql database in checklistbox with check when particular id number inputted in textbox. Please Help...I'm new with visual basic... thanks.. | |
Hello members of CodeProject, I have a project, a database with employee information (name, town, birthday, HireDate, etc). I have add custom TextBox (on fly), and on that TextBox a code: [CODE]TexBox1.text = DateDiff("d", HireDateDateTimePicker.value, Now) [/CODE] which is calculating how many days worker is working in company from HireDate, … | |
hi friends... i want to link a buuton to an html page. i knx there is its control in the toolbox bt i don't know how to use it.. need help plzz | |
I have created one application which have one mdi parent foem and after that i have designed 3 more forms. now from solution wxplorer whenever i click in mdi parent form i doesont show its design pane.. how can i see the design view of mdi parent form. | |
I have a data in list at vb.net and i want export to Excell. I have tried the code from Jx_man in thread "Export Data from listbox to Excel" , but it can't worked. Dim MsExcel As Excel.Application ---> Error Statement is not valid in a namespace I use Microsoft … | |
Hi All First time I've posted but have done lots of reading on here as it's an amazing resource. I am busy writing a program that is going to read data from 2 serial devices. One being a scale and the other being a "load testing" machine. Currently im working … | |
Hi All, Hope evryone is well. I have a program I have created for booking out conference rooms, I want to code a print button so the user can print the booking they have created on the booking form. I have been stuck on this for about a week and … | |
I've noticed running in a PE environment and seeing the "Nerd Herd" MRI software, I was wondering if anyone can tell me now to recreate this using VB.NET. I want to show the system info over the background if possible. You can see an example at this address [URL="http://maddtechwf.com/gsmri.jpg"]here[/URL]. | |
i have a problem while updating specific records in datagridview.. i want to update specific records on my datagridview.. but only the first records are updating.. LVLStat name of column Sections name of table [code] Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Try ds.Tables(0).Rows(0).Item("LVLStat") = … | |
Hi, I have to insert fields in a table. I am using VB.net & SQL Server database. The code is: Dim userid As Int32 = Me.classname.UserID Dim strSQLD As String = "Insert into table1 (userid) values (Me.classname.UserID)" userid is of type int While debugging, i can see that variable userid … | |
Hello Everyone, I'm still new at programming, and im having problems with the project i was assign, so im supposed to make like a retail store POS, where i look for the articule and add how much did they take and the price. [B]SORRY IF ITS IN SPANISH[/B] So this … | |
Dear Experts. I have a DLL , written in VB.Net. This DLL has a below Function: [code] [COLOR="red"]Public Shared Function CreateApplication(ByVal aobj As Object) As Object[/COLOR] [/code] When i Try to call this function by exe application with below routin i get "Parameters count mismach" Error. [code] Public Function loadDllAndRunMethod(ByVal … | |
Does anyone know how to send a message to another computer in my companys network using visual studio 2008...I would like to be able to list all the computer names on the network and select certain ones and send them a message that would pop up on their screen PLEASE … | |
Hi Everyone, I'm looking at using ews to move new emails to a sub folder and download attachments to a network drive. I was wondering if anyone had any experience with this particually using VB.net but all and any advice, tips and ideas would be gratefully recieved. Thanks in advance … | |
Hi guys, can you pls help me what is the vb code in retrieving my data in the database? my code is this. [CODE] Dim SandLine As String SandLine = txt1S.Text & "," & txt2S.Text & "," & txt3S.Text _ & "," & txt4S.Text & "," & txt5S.Text & "," … | |
I have the folloing code using OleDB to manipulate an Access database: [CODE] Dim adpMasterRecipe As OleDb.OleDbDataAdapter Dim dsMasterRecipe As New System.Data.DataSet adpMasterRecipe = New OleDb.OleDbDataAdapter("SELECT * FROM tblMasterRecipe WHERE MasterID = @MasterID", My.Settings.RecipesConnectionString) adpMasterRecipe.SelectCommand.Parameters.AddWithValue("@MasterID", iRecipeNumber) adpMasterRecipe.Fill(dsMasterRecipe) If dsMasterRecipe.Tables(0).Rows.Count > 0 Then dsMasterRecipe.Tables(0).Rows(0).Delete() dsMasterRecipe.AcceptChanges() adpMasterRecipe.Update(dsMasterRecipe) End If [/CODE] The problem … ![]() | |
hi guys. i want to give a button a text but i dont want to write button1.text = 'blabla' becuase i dont know the button name. is there anyway to to call the button by a string for example "button"&I.text = 'blabla' | |
does anyone has a sample code or it it possible to fix error in this code I appreciate any advice the error i get : There was an error parsing the query. [ Token line number = 1,Token line offset = 13,Token in error = user ] cmd.ExecuteNonQuery() [code] Imports … | |
Hi, I have a Windows Form frmMain() holding seven more-or-less unrelated UserControls, "ucFlopsy", "ucMopsy", "ucCottontail", etc... I say "more-or-less" because each of the seven UC has three similar public read/write properties: IsLocked (a boolean indicating if the following two properties are "Locked") IsLockedID (if IsLocked=True then IsLockedID is an integer) … | |
this code works well but somehow it is giving me a warning saying: "Variable 'str1' is used before it has been assigned a value. A null reference exception could result at runtime."How can i remove the warning. [CODE] Public Shared Function getAllColumnNames(ByVal tblname As String) As String() Dim com As … | |
Hi there, I'll be dropping in quick: I'm trying to pull four <t> nodes from a XML file, eg. [CODE='XML']<?xml version="1.0" encoding="UTF-8"?> <tasks tid="TERMINAL012345"> <t> <reqs>keuringen/bammens3h.xml</reqs> <deadline>200120111600</deadline> <desc>WML keuring BAMMENS-3H</desc> <loc>Danzigerbocht 87 AMSTERDAM</loc> <ocode>TEST1234567890</ocode> <form>quiz</form> <sn>0000000001</sn> </t> <t> <reqs></reqs> <deadline>200120111630</deadline> <desc>Vulgraad meting</desc> <loc>Danzigerbocht 87 AMSTERDAM</loc> <ocode>TEST1234567890</ocode> <form>quiz</form> <sn>0000000002</sn> </t> <t> … | |
I have an application X version 1.0 in Visual Basic 2008 and forwarded through setup installed on a user's PC. In this application was in these settings: Imports System Imports MySql.Data.MySqlClient Now you have a link to webshop and uses HttpWebRequest. There fore I added the following settings : Imports … | |
[CODE] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click OvalShape1.BringToFront() Timer1.Enabled = True End Sub Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick OvalShape1.Anchor = AnchorStyles.None OvalShape1.Width = Val(OvalShape1.Width) - 1 'OK,Ovalshape decreases when timer enabled OvalShape1.Height = Val(OvalShape1.Height) - 1 'OK … | |
i recently posted a code that i had that i needed assistance for and it was solved it was for displaying all tables in a database.but now i have this code for showing all column names in a table i was in the process of turning it from oledb to … | |
I am trying to create an automated word document where a user have to fill some textbox and then he click a button to submit it Can I add those tools to the word document? Please help.. | |
hi, now i'm hving problem to show card number that is not currently in used. let me give the example. I have 3 card numbers (A, B and C). A & B are user card number while C is temporary card number. I want to attached C to A. so … | |
i have corrected my conn string i am now using sql connection but now when i run the code it gives me he error Object reference not set to an instance of an object. [CODE] 'I put this code in the load event ListBox1.Items.Add(CType(GetTables().ToString, String)) [/CODE] [CODE] Public Shared Function … | |
plz help me to make media player in vb6 or vb2010.. not using windows media player.. need in my finals project plz help me... thank you.. | |
hello i am using sql as backend and vb.net as front and in my particular field i want it 2 b autogenerated..bt i dont knw exactly how 2 do it..m a beginner and i need help urgently | |
I've got a simple string problem I can't seem to fix. The string itself contains things like "random" & random.next(1,3) & "random2" etc. The string registers all of this as a string and doesn't actually calculate random numbers. Is there any way to fix this? I know that was confusing, … | |
Advice on vb graphics By john g in VB.NET Hi I have been searching the internet for some time but am none the wiser reguarding my problem. I am trying to build a drawing application The idea is to use mouse down, mouse move, mouse up events On mouse down … | |
Hello everyone. I am working on a simple program called "Who's Connected?" where it runs a command (netstat -aon) and then displays the results in a multi-lined textbox. However, when I press the button that will run the command, it tells me that it can't convert the string to an … | |
Hi, I m usng Ms-Access 2007 with vb.net. My problem is that I have a table with column name strval which has following values: 2,3,43,5,6 etc in each row. Now I want to search for that row which contains e.g 2 in cloumn strval . i use SELECT * FROM … | |
hello i used the code..bt m gettin the same value of 1 aftr the form loads.. the value is not being incremented.. and m a beginner so dis is d overall code and i have done d module part too..plz help | |
All, I am trying to build a simple event driven program to monitor a com port until there is data and then respond. The basic serial IO is working, but I can't figure out how to make it event driven. Specifically, how do detect when there is data ready to … | |
Hi All, I'm doing some serial I/O in VB.NET for a project at work. I'm new to VB.NET so I'm not sure if I'm doing this correctly. I need to determine what ports are free and which ones are in use. Presently, I try to open the port and if … | |
Hi, My code is: [CODE] sqlsub = "SELECT distinct field1, field2" sqlsub += " FROM tbl I Dim da As OleDbDataAdapter Dim lsdataset As New DataSet 'populate data adapter da = New OleDbDataAdapter(sqlsub, conn) da.Fill(lsdataset, "tbl") thpr = Gettheoprac(lsdataset.Tables(0).Rows(0).Item(1).ToString, "shortform") subcombo.DataSource = lsdataset.Tables("tblname").DefaultView subcombo.DisplayMember = "snshort" + "(" + thpr … | |
Please can u tel me how to take backup of database from sql server2005 using vb.net with the help of code | |
hi guys, i am using vb.net 2005 and i want to know the event name for a listview that happens every time an item is added. thank you. | |
Hi there More noob questions from yours truly! As part of the application I'm writing in Visual Basic, I have written code to display records in text boxes and cycle through each of them one record at a time. I'm having trouble getting the code I've written to update records … | |
I was browsing the internet for different method to find Pi and I finally found a pretty good one. The only issue is, when you give it a very large number, it slows down tremendously. Would it be possible to make it find 2500 digits a at a time instead … | |
if i select any row in DataGridview its displaying its value in Texboxes.Now what i want if i change that anytextbox value then its automatically comes to datagridviewand the Datagridrow status should be in update mode. | |
I am having problems making the right parts of my MDI Child background image transparent. I have set the background and Transparency keys to several corresponding colors and nothing works, is this a problem with MDI? I have a background set for the MDI parent. |
The End.