Create Own Project File In Program?
May 12, 2010how to create a own project file in my program?
Like my filetype is "*.test" and if i open it with my program my listview and other things will load info.
how to create a own project file in my program?
Like my filetype is "*.test" and if i open it with my program my listview and other things will load info.
I do one project in visual basic 2010.In visual basic 6 project can be make Package and deployment (setup file or install file) file using Package and deployment wizard.But in visual basic 2010 express edition does not have Package and deployment wizard.how to make Package and deployment (setup file or install file) file in visual basic 2010 project?
View 4 RepliesHow can i create msi installer for my designed project in vb 2008
View 8 RepliesIs that possible to create a class in vb.net that is not in the default namespace of the project?
for example, say you have a project call sample1, then automatially IDE will have everything default to the Sample1 as your namespace root rather than under global, which is find for most case.but I want to create some classes that is directly under global namespace
I want to create a file setup for my project that combine such as sql express,crystal report and .NET framework.
View 5 Repliesany one to make a complete exe file of my vb project its urgent need for me.
View 2 RepliesDo anyone know how to create a .exe file from my vb.net project? I do not want the one in the /bin folder. This is because i want it to be able to run my application from a single EXE file.
View 6 Repliesi develop a project in vb.net using visual studio 2005 professinoal edition at front end and SQL Server 2005 professional edition at back end. now project is complete and i have to give it to customer. so how do i create its exe file now. i mean that how to give it completely to user?
View 6 Repliesi am extremely new to VB and I am trying to create a project that extracts all the pages from a pdf file. I saw stanav's post with code, but i am extremely lost on how to implement.
View 11 RepliesI'm trying to do a setup project with VS2008 for my VB .NET application. I would need to create a text file into the installation directory based on the answers the user who installs the program gives. Idea is that I need to have the installation path variable in a text file so that I can read it. And also some other directory specifications too.
I could do the following:
Write the wanted information to the window registry and after the installation is ready, create another application that is run at the end of the installation to create these files.
I'm wanting to create a .chm file for a large project I've just completed.
Is there a easy way to create one of these? one that has Contents, Index, Search and Favourites section.
I want to create personal folders during installation. I did the following steps:
Right click on your setup project ->
View -> File System
Right click on node "File system on
[Code]....
I know the above steps are correct and should work because i did it in the other application (solution) and worked fine. When i did same exact steps (of course i changed the folder name to be created), the application gets deployed but when i install, i don't get the Personal Folder under Documents? I wonder why did it work with my first solution and didn't work with the current one!
I am running vb.net in visual studio 2005 and i am fairly new to it all, whilst trying to create a windows application i have lost the .vbproj file and am only left with the .vb code that has been created whilst i have been using the toolbox to create the application graphically. Is there anyway for me to recover the .vbproj file without having to redo the whole thing?
View 3 RepliesI am new to VB and Visual Studio. Using VB 2010 express edition. I am making a VB project and from from inside that i want to be able to run a batch file that i already have.
My problem is i am not able to import this in my project. I tried adding it in the project from solution explorer but when i run the program its not able to find it. I am able to execute it when i copy that batch file somewhere on disk and then giving absolute path but not by including it inside my project.
I want my program to be able to create a '.txt' file when it is run for the first time, with the date and time the program was accessed, and to be able to add new 'logs' of program history every time it is accessed. What i mean is that i want my program to be able to create a '.txt' file, and then fill in the dates and times when the program is opened.
View 7 RepliesHow to create a dll file using Visual Basic.net ? I'm using MS Visual Studio 2008.
View 9 RepliesI wanted to create a pdf file and write some repots in that using vb.net. This shld be created on click of a button. i have adobe reader in my machine. Is that enough to create a pdf file using vb.net? please help how to do this programming.
View 2 RepliesIn VB6, my program simply compile to a nice simple .exe file.
However, with vb.net there are things like whatever.vshost.exe, for example.
Then there is AxInterop.MSWinsockLib.dll and so on. Should I upload that into the directory of my customer?
I am trying to create a file association in my program, which requires me to create some keys in the registry. However, when I try to create the keys, I get a System.UnauthorizedAccessException.
I have tried searching for a solution, and the only thing I can find is various examples of passing a boolean value to request write access for the "OpenSubKey" method. My problem currently is not opening the key, it's creating it. I have tried several of the different overloads to no avail.
I am guessing that I will need to temporarily elevate the access of my app to create the registry key. What I don't want to do is permanently raise the access of my app just to accomodate this one, small function, which should only really be needed by the user one time in order to create the file association.
Here is my code in progress:
Private Sub chkSOPAssociation_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles chkSOPAssociation.Click
If chkSOPAssociation.Checked = True Then
[Code]....
I have a checkbox on my form. When the user clicks it, it sets the file association if the checkbox is checked, or else it deletes the association if the checkbox is unchecked.
I want to create a program in vb .net that let me know who is using a specific file? Because I often update an .exe file but if it's in use I can't overwrite it. So if I know who is using the .exe I can call him to tell him o close the app.
View 1 RepliesI was thinking about creating a program that creates an .exe file. (I know that that is very difficult but I have 3 days that I'm not sleeping because i'm thinkin about it)The program should create the .exe file on button clickThe created exe should be in Normal Windows State, it should have only a button that doesn't do anything and it's path should be C:UsersAdministratorDesktop
View 4 RepliesHow would one go about associating a file type with his application? I know how to read the command line arguments but I am not sure how I can "register" the file extension with Windows. Furthermore, my application is a stand-alone executable, so how would I keep Windows up-to-date on the location of my program?
I did a fair amount of searching and all I could find were old articles that didn't explain everything. How can I create file associations to a stand-alone executable in VB.NET?
I've made a program with visual basic and i want to get the textboxs text(textboxes 1-3) to go into the command : System.IO.File.Create("in here") I'v try the & method iand it dosent work
My code in the form is :
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim wholetext1 As String
[CODE]...............................
Has anyone else had issues with Visual Basic 2010?My visual basic program has been running fine for months but recently every time I try and load a project (any project) the program freezes, then I have to close it down and reload, every time I load Visual basic for the second time I get the following error:
HTML
An error was encountered while opening associated documents the last time this solution was loaded. Document load is being skipped during this solution load in order to avoid that error.Plus when trying to run a project in debug it takes ages to load (around 5 minutes) this has only started happening recently, projects were loading in seconds.
I have been doing a lot of searching on the web and cant seem to find a clear way of creating a custom file extentsion. I know to associate the file extension to a certain program, but how do create a format for the custom file extension?
View 1 RepliesI am trying to create a textfile if it doesn't exist or append text to it if exists in vb.net.
For some reason, though it is creating the text file I am getting error saying process cannot access file.
And when I run the program it is writing text but how can I make it write in new line.
Dim strFile As String = "C:ErrorLog_" & DateTime.Today.ToString("dd-MMM-yyyy") & ".txt"[code]...
Its suppose to preview an inf file i create with the program
Code:
Private Sub Button7_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button7.Click
If Not String.IsNullOrEmpty(TextBox1.Text) Then
[CODE]...
I have been searching on the internet but couldn't find anything that would help me. I want my program to be able to create a '.txt' file when it is run for the first time, with the date and time the program was accessed, and to be able to add new 'logs' of program history every time it is accessed. What i mean is that i want my program to be able to create a '.txt' file, and then fill in the dates and times when the program is opened.
View 5 Repliesi have studied very recently that an exe file could be created using "Setup and deployment" project, then by adding the required file to it,thus we can create a 'setup.msi' and 'setup.exe' But i want to know whether, we can create the same exe file , COMPLETELY THROUGH CODING....for example, when i click a button , then an exe file should be created...
View 1 RepliesI am woking on an application in which records of a table are stored in another table. In case of duplicate records they will not wriiten to the table and they should be written in a log file.
View 1 Replies