20,285 Topics
![]() | |
Hi everyone, In a nutshell...I have developed a site in ASP.Net and VB.Net which allows a user to create an order and submit it to a SQL Server backend database. When the order is placed...an xml file is also produced, showing the items that have been ordered...which is then loaded … | |
hello ! this is my code , i am writing a text file form the datagrid, but this code is very slow , please check it out and give me some advice how i can make my code fast , If IO.File.Exists("C:\Customers.txt") = False Then IO.File.Create("C:\Customers.txt") End If Dim FILE_NAME … | |
Hi Trying to login to google accounts this is the code that I created but I get this error: Your browsers cookie functionality is turned off. Please turn it on. I dont want to use there api too as this is a learning for me thought I had it nailed … | |
Here's the error : "A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - … | |
I cannot connect to SQL server heres the code Dim conn As New SqlClient.SqlConnection conn.ConnectionString = "Data Source=|DataDirectory|\Books.sdf" conn.Open() '\\ Error Comes here Dim sqlcomm As SqlCommand = New SqlCommand(("SELECT MAX(ID) FROM Books"), conn) maxid = sqlcomm.ExecuteNonQuery() Error Prompts me as > A network-related or instance-specific error occurred while establishing … | |
Hi, I have designed a windows form(to act as a messagebox) with Label and OK, Cancel buttons. I'm on form1 and call this messagebox form in the closing event. If I debug the showdialog of the messagebox form the custom text is displayed on the Label, however if the application … | |
I have an mdi parent and 2 child forms. Both are opened. Now When I try to pass a value, it gives me nullexception value. Heres how I created MDI child forms: Dim _a As New a _a.MdiParent = Me _a.Show() Dim _b As New b _b.MdiParent = Me _b.Show() … | |
Hello kindly help me to solve my problem to check item listview to avoid duplicate item in database. I have 1 listview, my plan the listview checking each item from database before insert to database. and item in listview obtained from opendialog excel this is my code : when items … | |
hi! im currently creating a payroll system for my project and part of it is a time calculator. but my problem sir is that i don't know how to deduct lates on there daily hour .. its goes this way sir, it has a textbox that has their schedule that … | |
hi all can someone tell how i can multiply the items of combobox to onther one using vb.net , plz | |
I've been trying to use different methods to insert buttons into a treeview control. But I couldn't figure it out. Someone told me it was not worth the hassle. Im new to vb and im trying yo figure out how to prepare a collapsible listview which shows links to different … | |
how to get the current row after save and editing row. what code should be addded after this code below con.Open() a = strn.ExecuteNonQuery MsgBox("Updated") adap = New OleDbDataAdapter("select * from Parcel", con) adap.Fill(ds, "1") ParcelDataGridView.DataSource = ds.Tables("1") | |
i have a big problem here when i want to insert 6 data into 6 different row in 1 click. in field @ form it have name, staff no.,items, quantity and date. We can select 6 items to insert which i use ComboBox for save the data in form. In … | |
So i made a Login Form Which i type in to a 2 textbox a value and it will login to the site now here is where im stuck > Lets Say i want to know my balance of $ in a site i want to Auto Login to the … ![]() | |
I need help on a printing problem in MS Reporting Services. It has to do with page advancement. I have a code snippet below that I think should work. But, it doesn't. I think this should be a three page report with a person's name at the top of each … ![]() | |
My Project is Hair Sytle simulator all I need is to transparent the BG of the Panel Thx | |
I am new to software development and need to develop a VB software for one of my projects. **I want to know how can I copy a form created in a project to another. ** I have copied the form from the old project and tried to paste it in … ![]() | |
I have finished my deployment process for my project in vb.net,but i didn't know how to protect my project. I request you to please tell me the way of serial key setting while installing my project in clients system. Also i have to faced one problem while serial key setting, … | |
*hello, *Please, i would like some help with how to start with my FINAL YEAR project work dubbed "SCHOOL TRACKING SYSTEM" . I am so much lost on how it shoud be like and what to actually do . Some support would be very much appreciated and am so much … | |
Hello, I am working on desktop application. I had created number of dynamic textbox and label and I want to save that data on clicking the save button. If any question, if you did not get my point clear than please ask. Its urgent. Please Help!!! Please give me suggestion … ![]() | |
I would like to invoke a click on a link from a link that is generated by an HTML query. I am attempting to program an application that queries a website and am getting hung up where I download the .csv that is loaded by the website. Here is the … | |
How can i check or see the print preview of datagridview where my file is an access file and pls give me sample code. ![]() | |
Is there a way by naming convention say for example to clear all textboxes with a "txt" name prefix in a form that has multiple textboxes? Or, am I going to have to name each textbox individually and use either "" or string.empty? Thank you in advance for any and … | |
SELECT sum(GoodsRcpt.PurchQty) FROM GoodsRcpt where GoodsRcpt.GlsClr=" WHITE"; SELECT count(Prescriptions.SrNo)/2 FROM Prescriptions where Prescriptions.GlsClr=" WHITE"; SELECT sum(GlassDamage.DamageQty) FROM GlassDamage where GlassDamage.GlsClr=" WHITE"; Combine above three query and the equetion should be like, (result of query1) - ( result of query 2 + result of query 3) its urgent... Thank you.... | |
How to update all chekbox value SQL in VB.NET [Dataadapter] | |
Can someone help me to build a Function or Sub using HTTPRequest that makes a multipart post using that info? [CODE]-----------------------------23281168279961 Content-Disposition: form-data; name="ACAO" -----------------------------23281168279961 Content-Disposition: form-data; name="suppressValidation" true -----------------------------23281168279961 Content-Disposition: form-data; name="suppressErrors" true -----------------------------23281168279961 Content-Disposition: form-data; name="unidade" br.fumec.sinef.geral.bean.Unidade[codigounidade=1] -----------------------------23281168279961 Content-Disposition: form-data; name="curso" br.fumec.sinef.geral.bean.Curso[codigocurso=3106] -----------------------------23281168279961 Content-Disposition: form-data; name="epoca" br.fumec.sinef.geral.bean.Epoca[codigoepoca=2223] -----------------------------23281168279961-- … | |
**hello all, i am creating a programme for my institute which helps in their administrative process. i am using visual studio(basic) 2010. which is connected with ms access database (abcdata.accdb) the database is having table called session with columns sessionID,sessioncode,sessionname. * sessionID data = 1,2,3,4 * sessioncode data = 13,14,15,16 … | |
Hello, I am new to asp.net i have had some experience making windows in vb.net (VS2010) I am trying to get my web to query a database then I want to display some of the returned data. the code I have is.. Imports System.Data.OleDb Partial Class Demos_Iain Inherits System.Web.UI.Page Protected … | |
I just created 5 Rich text boxes in runtime through a subroutine as: Dim c As Control c = New RichTextBox() With c .Name = "VersesRTB" & VerseCount .Location = New Point(70, y) .Height = 100 .Width = 580 .Font = New Font("Microsoft Sans Serif", 12) End With It successfully … | |
Sorry if this is not the right place to post this but i really need help I'm trying to upload a file to a remote server by using vbscript below is a code : Dim fso, f, myFile Set fso = CreateObject("Scripting.FileSystemObject") myFile =$URL Set f = fso.GetFile (myFile) Dim … | |
Anybody please help me to put delay in vb.net without freezing form | |
Hi, I am looking for some help with a few things, and I am not sure if they are difficult to do or even possible? 1. I need to be able to open a selected file (upon the user selecting it from his/her computer) in different browsers (CHROME, FIREFOX etc) … | |
Hi to all I used standard item in binding navigator such as add and save button. How can I modified the code for add records button like if the user press this button then insert to my database and for the save button to save in my database. I already … | |
![]() | Hi, i'm trying to get the following data from within the html tages <td class="colRight">CWCH60</td> where CWCH60 is the data which changes and needs to be extracted. I have tried the following Regex patterns [^td|<|>|/|class|\s|^="colRight"][A-Z|a-z|0-9]*[^</td>] [^<td][^\s][^class][^="colRight">][A-Z|a-z|0-9]*[^</td>] [^td\sclass=""colRight">][A-Z][a-z][0-9] all work fine in an online regex builder/tester but return WCH60 when executed. … ![]() |
i like to assign html codes to String variable Dim code As String code= " <meta http-equiv="Content-Type" content="text/html; charset=windows-1254"> " i think i am getting this error because of double Quotation marks "character constant must contain exactly one character." how can i assign it to a string? | |
I wanna make some kind of funny application where I write in a textbox "Hay man" then press a button the text change to "man Hay" and so on even with increasing words on the textbox So I need to know how to: 1) make VB see that this is … | |
Hi I have a one form with code that has lots of subs and was wondering if i can shift some of these subs to a class or module to make the main form coding less clutered. Thanks | |
I creating a small program which basically reads Electronic identity cards and stores the information in a SQL database. There is more to the program of course, but this is where i need help with. The EID has a picture from the person also. I decided not to save the … | |
Well, I have managed to create controls during runtime. Dim Rbut As New Button() Dim Lbut As New Button() With Rbut .Location = New Point(590, y + 15) .Text = "Remove" .Name = FontName(ListBoxCount) End With With Lbut .Location = New Point(590, y + 45) .Text = "Lock" .Name = … | |
Situation: need to read a CSV (txt) file that has no header and has 4 fields (all numeric), the number of lines will vary. Sample data: 160827,00003,000000075,0000025 84144,00001,000000050,0000050 161060,00002,000000050,0000025 40015,00002,000000100,0000050 61955,00002,000000100,0000050 etc etc I want to read this file into a DataGridView for proofing and later insert all these lines … | |
Hi, This is pankaj, I am currently working on the printing project. Here I have creating a custom paper(height = 1000mm and width = 800mm) on the printer via code and then trying to print the text on a specific location (for example. top = 1cm and left = 1cm). … | |
![]() | So I'm making a Program to Start/Restart/Stop and running commands from the Console for my Server. Now when someone uses the console, I want to be alerted of it on my Mail. I am using Visual Studio 2010. This is my Code: Dim mail As New MailMessage Dim smtp As … |
![]() | **Synopsis:** I have a report generated from the report wizard in VB that works, but I only want to load data from the same department as the current user. **Details:** The application connects to MySQL using the MySQL Connector/Net. I have a users table in the database, one of the … |
Oky i have a big problem that needs help fixing Here's my code : Private Sub FullLoginTimer_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles FullLoginTimer.Tick Try If MbFacebookBrowser.Document.Url.AbsoluteUri = "http://www.facebook.com/login.php" Then MbFacebookBrowser.Document.GetElementById("email").SetAttribute("value", Emailtxt.Text) MbFacebookBrowser.Document.GetElementById("pass").SetAttribute("value", Passwordtxt.Text) MbFacebookBrowser.Document.GetElementById("Login").InvokeMember("click") End If Catch skipErrors As Exception Try If MbFacebookBrowser.Document.Url.AbsoluteUri = "http://www.facebook.com/login.php" Then MbFacebookBrowser.Document.GetElementById("pass").SetAttribute("value", … ![]() | |
plsss I need help!! I have problem with my insert data into database this is my code Public Sub doSave() Dim con As New OleDb.OleDbConnection(My.Settings.SystemDataConnectionString) Dim cmd As New OleDb.OleDbCommand Dim adap As New OleDb.OleDbDataAdapter Dim ds As New DataSet Dim dr As OleDb.OleDbDataReader con = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=E:\D_S_S - … | |
guys help me with the code for adding items in the combo box but without duplicates. i have an assignment which is a simple web browser. the combo box will be the address bar. and everytime i input an address, it will be added in combo box and should not … | |
Hi All I have a unbound datagridview which i use to enter data. I would like to make calculations using individual cell data as follows:- Datagridview1.rows(0).cells(1).value = datagridview1.rows(1).cells(1).value + datagridview1.rows(1).cells(2).value This works fine but if im using lots of cells it can be quite confusing .I was wondering if there … | |
Hello, please help me. I want to maximize my form size when i maximize my window. means when i double click on window to maximize then my form also get maximize with window, i used dock property bt still not getting proper result. | |
hello ! well i dont have any idea about the socket programming ,i am developing an lan chatting application , i want to add the file transfer functionality in it , now you are thinking that why not i share my folder over network , well i dont want to … | |
Hello Friends, I have a doubt.... Can we set the windows form resolution according to pc screen resolution and even the control should be adjusted....is it possible??? eg. My screen resolution is 1366 X 768 and my form size is 1254, 709....but I want it so set according to the … |
The End.