Creating An Auto-Run.exe?
Nov 5, 2009I want to create a autorun program that doesn't need a autorun.inf file. Is there any way to do this?
View 3 RepliesI want to create a autorun program that doesn't need a autorun.inf file. Is there any way to do this?
View 3 RepliesI have read through the following page: [URL]
Now I have my application and an installer project, which can install my application. how to make my application auto-update (from my web server) like a smart client. I've looked into ClickOnce, but it does not appear to be suitable as I cannot do any custom installation steps. My application needs to create folders and copy other files from the CD to the hard drive, which I don't believe ClickOnce supports. On the other hand, the Windows Installer does not natively support any sort of auto-updating. So what do I do?
I have read that it is possible to combine both technologies, but all my research into this has turned up nothing of use.
I've looked into the Updater Application Block (Version 2.0), but I'm not sure if this is what I'm looking for? I'm using Visual Basic 2005 and I'm not sure if the Updater Application Block supports .NET v2.0. In fact, when I tried to install the Enterprise Library, it said I need .NET v1.1??? Even if this is a possible path, I'm really quite lost when reading through the documentation as nothing seems to point towards practical examples, especially in Visual Basic.
I've also had a look at the System.Deployment.ApplicationDeployment class, but it seems as though this only works with ClickOnce applications. However, since I can't seems to use ClickOnce in my situation, this does not seem like a viable option. Is it possible to use System.Deployment.ApplicationDeployment outside of a ClickOnce application?
I'm really quite lost as to how other people produce custom installing applications that have auto-updating features. Virtually every modern piece of software does it, but I cannot seem to find anything on the web that points me in the right direction of how to achieve this with Visual Basic 2005.
I want to create hypothetically infinite array lists each that can hold hypothetically infinite items. The name of the array list is "arraycalc". How can I perform a procedure that will create a new array list called "arraycalc1"... the next time after that the procedure is run and a new array list called "arraycalc2"...and so on and so forth.
View 6 RepliesI am trying to get vb 2008 to send an automated Email to a specified Email address with a new password code. Unfortunately one of the final few lines of code creates an error when run and I'm not sure why.I am using a googlemail account to send the email and I'm using the smtp port number for gmail so I don't know whether that will be a problem as I didn't know where to find one for googlemail (got the gmail one off a tutorial).
View 1 Replieshow to create a Auto repeated Mouse movement.I wanna create a Form, with a button "start 01" and "start 02",so if I click on "start 01" button, and i open my other applications, and once I hit the F1 button (on my keyboard) the mouse will auto move from point A to B, and it will keep on repeat until I hit the F12 button, then it will stop auto moving.and if I click on the "start 02" button, and II open my other applications, and once I hit F1 button (on my keyboard) the mouse will now move from D to E, and it will keep on repeating it until I hit the F12 button, then it will stop auto moving.
View 8 RepliesI'm currently housing a ListView on a single form, and then adding buttons to this ListView via code-behind. Everything works wonderfully except the fact that when there are too many items added to the list it doesn't create a vertical scroll bar? I can simply add as many buttons as I want to it without it creating one? Here's the code that adds the button to the list: [Code]
View 2 RepliesI want to create an application similar to "Windows Live Writer"(that is for blogs) but this one is for forums..This application is solely for my personal use only.I would like to have a facility where I have 2 text boxes--> One for username and one for Password along with a submit button.On clicking Submit I need a msgbox to display whether Login Succeeded or Failed, and depending he should be directed to create a new post in any particular section of that forum..Consider for now,the forum I am trying to do this is, vbforums.com..Its just like OFFLINE creating and then posting..I have already created forms,BBCode Editor, GUI for this purpose and want to start with Communication coding.I tried using Http request but based on its response I dont know how to distinguish between valid user and invalid user.
View 2 RepliesMy idea is that i want to create a auto-shutdown app that will allow me to auto-shutdown after downloads have completed using IE6. Third part download managers have these built in for example however i would like to make one for IE download dialog. Any ideas on how do start. Detect when a download is active, set time, autoshutdown etc.
View 3 RepliesI'm writing VB code in Visual Basic 2008 Express and can't seem to figure out how to create a new instance of Excel with VB code. The most common answer appears to be setting an object variable to 'Excel.Application', but that gives an error (Type 'Excel.Application' is not defined).
View 1 RepliesIm trying to create a diary system that on click event of the built in calander in vb.net opens the current diary entry for that day. i am using the my.settings variables to store the entrys the problems i am having is how to create a my.settings variable automaticly if one dosnt exist for that date (will be using the date of the clicked day as the name e.g. 10/5/2011)
So basicly i want the user to be able to click through the dates on the calander and the entry be displayed in a text box next to it, blank if nothing is there and the user can edit/save them after just need the code to auto create and i guess how to search the my.settings im quite new to using this storage, i normally use text files. the pic shows the program so far, it has one diary entry but it has no relation to the date. the label is linked to the calander also , displaying the selected date.
im trying to create a diary system that on click event of the built in calander in vb.net opens the current diary entry for that day.i am using the my.settings variables to store the entrysthe problems i am having is how to create a my.settings variable automaticly if one dosnt exist for that date (will be using the date of the clicked day as the name e.g. 10/5/2011)so basicly i want the user to be able to click through the dates on the calander and the entry be displayed in a text box next to it, blank if nothing is there and the user can edit/save them afterjust need the code to auto create and i guess how to search the my.settingsim quite new to using this storage, i normally use text files.the pic shows the program so far, it has one diary entry but it has no relation to the date.
View 2 RepliesI am trying to just write something to a cell in a sheet and I am getting the error message:
Exception Exception from HRESULT: 0x800A03EC Stack Trace: at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)
[code].....
All functions done, but the main function, the autorun and auto hide didnt work like i wish. for this keylogger, im using checkbox to make it autorun when windows startup and another checkbox to autohide. i already placed the codes but nothing happen. when i tick those checkboxes n restart my pc, nothing happen. is it because im using checkbox?
View 3 RepliesI am new to VB and am trying to get my webbrowser1 auto refresh on a web page every few seconds. Is there a way to program a button to do this? I am also trying to get the browser to auto select "yes" when a radio button is present and then auto click "yes" on a message box when it pops up. Any ideas where to start?
View 2 Repliesplease tell me what is below code doing? is it creating array with two values or its creating to string index which will take value later? [code]
View 4 Replieshow to get all programms autorun in vb.net?
C:Program FilesQuickTimeqttask.exe
C:Program FilesESETESET NOD32 Antivirusegui.exe
...
am using the following code for Auto DSN connection
Dim strdriverodbc As New String(Space(255))
strdriverodbc = "C:WINDOWSSystem32myodbc5.dll"
MakeMySQLDSN("DatabaseEG", "ExampleDSN", "MySql ODBC 5.1 Driver", strdriverodbc, "root",
[code].....
I've seen all the codes to open AutoCAD in VB.Net using InterOp which is in the same line as COM in VB 6.0. I just want to know is there any method to open an AutoCAD drawing in VB.Net using those AcMGD and acdbmgd DLLs.
View 2 Repliesmy problem is how to autorun my program in vbnet.what codes will i use?
View 1 Replieshow i can add a update program in my application so it can be automatically updatted via the internet and can notify users an update is available. i wouls also prefer an auto update application.
View 8 Repliesi'm importing a text file into a access table like this:
vb.net
sql.CommandText = "SELECT * INTO [tblMailList] FROM [Text;DATABASE=" & frmMain.FolderName & ";HDR=NO].[" & frmMain.TextBoxFileName.Text & "]"
sql.ExecuteNonQuery()
my question is what is the best way to add an autonumber to the table? i currently do it like this:
vb.net
sql.CommandText = "ALTER TABLE [tblMailList] ADD COLUMN [ID] AUTOINCREMENT;"
sql.ExecuteNonQuery()
but when the file is too large i get this error: "File sharing lock count exceeded. Increase MaxLocksPerFile registry entry."
and yes, i have tried to change the registry entry and it didn't work:
vb.net
My.Computer.Registry.SetValue("HKEY_LOCAL_MACHINESOFTWAREMicrosoftJet4.0EnginesJet 4.0", "MaxLocksPerFile", "9000000")
I'm a VB.Net newbie and have a question about how to disable this annoying auto-indenting in VB.Net Express 2008:
'POST
If PostData.Length > 0 Then
'GET
Else
Dim Response As HttpWebResponse = Request.GetResponse()
Can the IDE be told to ignore this type of line and leave it as is so I can have "'GET" aligned with the Else block?
I've added the necessary registry key to have my app run when windows loads:Hkey_Local_MachineSoftwareMicrosoftWindowsCurrentVersionRunMyProgram = c:MyDirMyProgram.exe..I've also tryed adding it to the ProgramsStartUp folder.My app still won't load when windows does. Other apps do, and I was wondering what might be preventing my app, and only my app, to not load. Is it Security? Trust Level? or what?
View 3 RepliesMaster page HTML :
<%@ Master Language="VB" AutoEventWireup="false" CodeBehind="PMS.master.vb" Inherits="PMS.PMS" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
[code]....
Note : I am using the AJAX Version 4.1.51116.0 and I have seen this and that and tried to work it out ... but nothing is going on
Using Visaul Basic 2010; the program auto fills a web page displayed in the WebBrowser container on the form (with the value contained within TextBox2) as follows:
[code] WebBrowser1.document.GetElementById("frmLogin:strCustomerLogin_pwd").SetAttribute("Value", TextBox2.Text)[code]
What reference is needed to to replace 'WebBrowser1' so that the Current browser window can be accessed, be it IE or Firefox, so that the same could be achieved?
I am trying to auto fit columns in excel using
Dim objxlrange As Excel.Range
objxlrange.Columns.AutoFit()
I am currently getting this error "object reference not set to an instance of an object" Using the keyword NEW does not work to fix this problem. Is there another way to AutoFit Cells in excel? I will continue to look for the answer and I will post it here if I find it.
Generating item codes for my inventory system became complex when the panel said that this must be the format of the generated ID number: "CATEGORY-ITEMNAME-ITEMINDEX" For example: School Supplies - Coupon Bond short- Second Item in the database would result to an item ID : SCS-CBS-002.
View 2 RepliesI have a datagridview with 3 rows, the first cell being a date. how can auto increment the value of the date in the first cell when I start editing a new row.
View 3 RepliesI I am making an Screen recorder but I want to auto save image that are taken from the screen I already searched for ages but I can't find any tutorial code to auto save files Here is my code:(the color part is the auto save that I tried to make but I get an error (bellow))(Remove "" the by >>HERE<<)
Public Class Rec
Dim location As String = "C:\DONT DELETE ME\"
Dim int As String = 1
[code]....
how can i let RTB autoscroll? and how can i add more than 1 smiley/emotican with this script?
Dim myImage As New Bitmap("C:smile.gif")
'~~~ Check if the RichTextBox has a smiley symbol ":)"
Do While rtbClient.Text.IndexOf(":)") > -1[code].....