20,899 Topics
![]() | |
I Recently Tried To get An App To copy itself To startup folder [CODE] My.Computer.Filesystem.Copyfile(application.executeablepath(),"C:\Documents and Settings\All Users\Start Menu\Programs\Startup") [/CODE] But It Wont Work, A possible solution i thought up is getting the app to place a [I]Shortcut[/I] of itself there, but i do not know how to create shortcuts … | |
Hello in the ping app i am using this code [CODE] try Dim ping As New System.Net.NetworkInformation.Ping Return ping.Send(hostNameOrAddress,5000,300).RoundtripTime Catch ex As Exception MsgBox("Computer Ping Could Not Be Called") End Try [/CODE] but my app will not accept 300 as a amount of bytes, Help! | |
[code=vb.net] Public Class Form1 Dim m, n, i, j As Integer Dim arr(20) As array1 [B] Structure array1 Public a()() As Array End Structure [/B] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Button1.Enabled = True Button2.Enabled = True Button3.Enabled = True Button4.Enabled = True End … | |
hi.. i m new to vb.net ... can u tell how to pass array of value from one class to another calss | |
today i was trying to make an alarm for my Pocket pc so that i can select the sound of the alarm and set it as one of my mp3 files... but in vb .net for pda i realised there is no FileDialog ready to use... any ideas... i need … | |
Hi, I'm currently working on a group project that involves an address book (working in VisualBasic.Net 2003). I have one form (frmData) in which the user enters data. I want to transfer it to a label on my other form (frmAddress). Currently, on frmAddress: [code] Public strName As String Public … | |
I have a web browser object in my VB .NET project, and it's supposed to link to a site with an iframe and a dropdown menu. The iframe holds the SWF video files that will be played, and the dropdown menu allows the user to choose what he/she wants to … | |
In one of my C# books, this is written: [quote] "if you write this application in VB.NET or any other language compliant with the .NET CLS, you will have compiled it into more or less the same MSIL. By design, IL code created from different languages is virtually indistinguishable"[/quote] I … | |
Hi all in my appliction i want to send the document through mail i.e: outlook here is my code Dim myWS As Object Dim RegKey As String Dim Key As String Key = "HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\" 'access Windows scripting myWS = CreateObject("WScript.Shell") 'read key from registry RegKey = myWS.RegRead(Key) If RegKey = … | |
Hi Friends I am working in vb.net,i have a form in that, which windows state is normal & it starts on normal position but if another form is open on that application which windows state is maximize,& then if i open that form so that also become maximize, But I … | |
Hi everyone, I was wondering if anyone can help me. I got two forms I can send data from one form to the other one when I press the SEND button. I’m trying to get data from one form to the other when I press the ‘GET’ button, to get … | |
got two quests>> 1)in my application,i have crated a notify icon...so now i want to do is that when the user click the close button,i want my app to minimize to system tray...how to do that?? 2)how to add your own items in the windows shell context menu..like an anti … | |
Hi Fiends, How can i add new rows in datagridview on run time. accualy I have a table, in which i have Many records But i want some specific records on datagridview .& for that I am using If condition , & whic records are correct accoding to that if … | |
Hi Does anyone know why there should be a problem with using the AxWebBrowser control with a networked path, with IE7. If the file is local no problem, and using IE6 no problem. | |
Hello sir, I am having 3 linklabels on the form and 1 button. Consider these are the linklabels. a b c When "a" is clicked, button is visible on the form and when i click the button HTML output is displayed (i had already attached HTML pages to my project … | |
Hi, I am very much a novice in .Net.. I started doing an application which uses reports. I am using report viewer control.My database is a .mdb(access) file. i just want add parameters to the report. The problem starts here. Through some browsing I found that Local Reports does not … | |
Hello sir, I am using VS2005. I am designing an application for my college project. Its an basic tutorial application of some languages. Can anyone help me what are the basic and advanced things does a tutorial application might have? | |
Hello, Where can i find the complete reference book for Visual Studio 2005 | |
Hi, I am a full time freelancer who works primarily in Visual Basic 2008 using the Express Edition. I love the fact that it is free, but I find it slow and somewhat quirky, even buggy in some frustrating cases. I guess I am asking for opinions on what your … | |
Dear IT Gurus, I am having a number of browsers (IE, Mozailla etc) connecting to a server. What i would like to have is some sort of unique way of identifying the machines from which the users are connecting (not the browser identification but machine identification). The server has a … | |
hello everyone, i need to make a program that will show/load the images stored in mysql database, i've already created the database and my problem is i can't load it in my vb code.... here's my code below Dim conn As MySqlConnection 'connect to database conn = New MySqlConnection() conn.ConnectionString … | |
way back 2006 when im interested in programming, but sad to say i wasnt able to pursue , I work in Hardware and now im in Software Company, and I need to Gain my Knowledge in Programming.. Who is outhere that can help me gain back my skills in Programming … | |
Hello, Firstly your forum has solved many of my questions in the past, I have had to register to find the solution to this one. The current application I am working on is multi-threaded and I am really getting confused with VB.NET's way of doing things (ex Java programmer). Basically, … | |
Hi friends, could anybody guide me , how to find that a date exists in between two dates ? For example : 23/09/2008 -- 28/09/2008 - I'am on leave. When a attendence is entered for the date 24/09/2008 , then i should get a msg saying, that the given date … | |
Hi Friends I am working in vb.net & ms access, i have a table in which i am saving leave detail means leavefrom & leaveto, records are like 05/12/08 & 10/12/08 I have to controls in front end from where i am passing the value for leavefrom & leaveto i … | |
reading a specific data in .txt file to put in specific tag in xml in vb.net..pls help.. sample: BL% PHP 103025 and so on... NL% .. .. BL% and NL% are indicators where data should be placed in a specific segment in xml PHP must be placed inside <currency></currency> tag.. … | |
Hi, I am getting a BUILD FAILED error as such: Error 1 Comma, ')', or a valid expression continuation referring to code: Private Sub Crawler_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load This just suddenly started happening. Any advice? Thanks, Bill P. | |
Hi, I’m currently doing some coursework and have hit a point now that I’m completely stuck, Basically I have, A class diagram with all the get//set properties in it, And a form with an array list in it, When the user enters some details in different text boxes and clicks … | |
I need to display a DAG (directed acyclic graph), which is basically a Treeview, except children can have multiple parents. Any clue on a control or method to implement this in Visual Basic 2008? | |
Hi Folks, I'm Darryl from Tn. I've been an automated machine builder for almost 20 years now.(wow time goes by fast) and love my work. I've recently found myself pulled out of my nice comfortable PLC,CNC world to design some new machines. PC based machines. I was guided into the … | |
I need a code for vb.net which helps to search for entries on a search engine in a database and shows it on a form. For instance, I enter first year students in a search engine, and it brings out a list of students on a form from a database. | |
Hello all, I'm new to VB .Net, I found this open source file editor. Its can read unicode text fine, but its doesn't save unicode and its read only ITST01 and not QEST01. How to make its detect both and save as unicode? Here is the file format. [CODE] BSTR … | |
Hello sir, I am using visual studio 2005. I want to split the form into 2 parts. On the left side i wil give the VB coding. On the right side i want output for that coding. Similar to this link [url]http://www.w3schools.com/html/tryit....ml_paragraphs1[/url] But the link is for HTML coding, But … | |
| |
Using Visual Basic 2008 Express, this has happened to me twice now. I have emailed projects as zipped email attachments, and then when I restore them and open the project, when I click on the VIEW menu, the Designer option does not show up! All I can do is look … | |
Hi friends, I need to create a .exe such that. i need to recognise a msgbox when the user types -99 in keyboard. I have done it with keypress event. it works fine. bnut the problem is i need to activate the form even when the user in other application … | |
Hello, How can I create a multi-field list box like in the picture in the link below in Visual Studio. NEo4 [URL="http://i465.photobucket.com/albums/rr12/black-eagle-bucket/multi-field_listbox.png"]http://i465.photobucket.com/albums/rr12/black-eagle-bucket/multi-field_listbox.png[/URL] | |
Can any body tell me how to display files and folder in vb.net explorer form. Or tell me how can I create form which will be similar to windows explorer.exe which displays My computer,Folders,Files and so on. | |
Hi all, I have a small app in .net 2008, running (in systray), in many computers in my company, that has to alert the user a few times during the day's work, and sometimes ask for their input. The problem is, when, i open a form (show or showdialog), it … | |
Hello sir, I am using Visual studio 2005. i want to split the forms into 2 parts. The coding must be displayed on the left side And the output for that on the right side. Thankyou sir. | |
Hello sir, I am using VS2005. In the form i am having Webbrowser Control. I am viewing many HTML pages on this control. What i need is, with a button click i need to copy the content of textarea in every HTML pages to clipboard. Can anyone help me in … | |
Hello sir, I am using Visual studio 2005. I am having more link labels on a form under a tabbed control. I want to search for certain linklabels in a form. So i used the coding below, But it is displaying the search in the corresponding tabs itself. But i … | |
Hello sir, I am having one HTML page which is viewed in webbrowser control in vs2005. I would like to export that page to pdf with a button click. | |
i am newbie to this could anyone show me how to retrieve the data from sql server and export the data to txt file? in vb.net windows application?? i want the same row and column of data retrieve from sql server to be insert and stored in the text file … | |
hiiiiiiiiiiiiiiii I'm going to store a selected image from fileupload and save the image in a array of byte in a file [COLOR="Red"]"the code" [/COLOR] Dim _fileName As String = Request.PhysicalApplicationPath & FileUpload1.FileName Dim _byte() As Byte = FileUpload1.FileBytes() Dim _file As New IO.FileStream(_fileName, IO.FileMode.Create) For _i As Integer = … | |
Please review the code below, I'm not able to determine why I'm receiving the error message: " Conversion from DBNull to type String is valid. Any help is appreciated. Private Sub txtSearch_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles txtSearch.TextChanged If txtSearch.Text = "" Then lblAdvice.Text = "Enter characters … | |
I am getting the following error “The ConnectionString property has not been initialized’, while executing the below portion of code.checked that the below connection string is having value and not null. (Data Source=NAWINSQL050;Initial Catalog=AlbatrossDB; Integrated Security=true) objFormatOut = FormatDepartment.Format.FormatSelectById(m_intOutputFormat, oConn)<—--error occurs(The ConnectionString property has not been initialized’) in the below … | |
I am writing a project that stores vehicle information such as the model,manuf., year, etc. I have to create a second project that loads the data from the file into memory and loads a drop down combo box with the VIN numbers. When the number is selected from the box, … | |
I have to delete the records in a ms access table using vb.net when i click on a button. | |
I'm receiving error message "Syntax error missing operator in query expression" any help you can provide is appreciated. Private Sub btnEmailCat_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnEmailCat.Click Dim SQLStmt, EmailAddress, SubjectLine, BodyText, CATDateString, DollarsAndCents, NoDecimal As String Dim CATCounter As Integer Dim GSIdNum, GSIdHash As Long Dim … |
The End.