how to create an exe file in vb.net 2005. i need to run this exe file into another system. is this possible. I created an exe file and shortcut also. but now i want to run that exe file with database into another client system. In client system, it does not installed .NET2005 and SQL 2000.
I just need to know how to create a temporary file for each line of a file when it is selected in a listbox, so that i can split it and assign each part to textboxes.
1) create temporary file from variable for each line of a current file (each line represents a contact, and temporary file's name is the contact's fullname(variable as string))
3) split the content of the fullname.dat file and assign each part to display in textboxes the only thing i got a problem with is creating the temporary file.
i 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?
I need to have some of my columns in an integer value not string.So from I can tell so far and I am extremely limited, if I use WriteXml this should write the schema and the data and the readxml will read the schema and the data, although I dont see the schema in my xml file that gets created from my oDS.WriteXml/if I use oDs.WriteSchema I can view the schema file that is created. Thats how I determined the schema is creating all string vlaues for each column..All the fields are of String value as was pointed out, so how do i create my own schema file? or rewrite the one that is created.[code]
I need a bit of advice. I am working on my project with the listbox. I know how to create a source to get the strings from the text file using ReadLine method, but I have no idea how to split the strings in the text file by on the third commas and ignore the other strings while select with the matched strings on the listbox for each row.Here it is an example listbox Here it is an example items on the listbox
random item 1 random item 2 random item 3 random item 4 random item 5
And here it is an example text file.
example strings one, any strings 1, any random strings 1, other strings 1, final end of strings 1 example strings two, any strings 2, any random strings 2, other strings 2, final end of strings 2 example strings three, any strings 3, any random strings 3, other strings 3, final end of strings 3 example strings four, any strings 4, any random strings 4, other strings 4, final end of strings 4 example strings five, any strings 5, any random strings 5, other strings 5, final end of strings 5
The listbox is display the list of an example items, so if I select the "random item 1" item on the listbox, it read the strings through in the text file on the first line to get the strings on the third commas in the same line which it is (any random strings 1) to split it while ignore the other strings (other strings 1, final end of strings 1) that come fourth and fifth commas. So, if I select the "random item 2" item on the listbox, it read the the strings through in the text file on the second line to get the strings on the third commas in the same line which it is (any random strings 2) to split it while ignore the other strings (other strings 2, final end of strings 2) that come fourth and fifth commas and so on...That is what I am trying to achieve by select the each listbox item to get the correct strings for each line in the text file that come on the third commas while to ignore the other strings.
i need to create an application(VB.net or VBA) which will convert text file contents into excel. u the contents fromt he text file have delimiters(special characters).The condition is while converting it should remove all the delimiters and paste teh content between two delimiters in to one cell.For Eg:
I am attempting to have my program select a file, create DataTables and then perform some other functions. I want to be able to open another file and re-do the same steps.The problem I am having is that I add columns to my Datatables and when I try and to open another file while one is already open I get a message that a column of xyz is already added how do I properly "clear my datatable" or perhaps that isnt even the correct approach? Here is the code I have that Opens a File
HTML Private Sub OpenToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OpenToolStripMenuItem.Click
[code]....
This was working at one time but after adding to my project I must have placed something in the wrong place inadvertantly or it has soemthing to do with adding columns,?
I am currently working with VB.net 2005. I am trying to create a login form and use a text file as a database to login. The part login form is fine but i can't connected to the text file. When i use my coding with a database such as access or mysql is work fine.
i have installed visual studio 2005 in my computer i want to create a sql server 2005 file i saw a sql server 2005 option in my installed components i want to know how to create a sql server 2005 from my visual studio 2005 it is possible or not.
I am using memorystream to get and store images into sqlserver 2005 table image field. This process is working and I am able to display image in picture box. I need to be able to store PDF files into the same field and be able to display in a picture box.
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?
I am trying to create a log file which I am going to use to populate some controls (DataGridView or Treeview). I am trying to figure out if should use text files or XML files to do so. Effectively the log will highlight multiple phases in a client-side app. The log will be written to at various phases when the project is running. The user will always have the options move on to the next phase or save progress and exit the project. As such, I want the log file to highlight how far the user has progressed throught the various phases AND I want the log to highlight varous information from each phase. Whenever the user starts the project, they will be given the option to load existing log files. So the project will have to read these log files and append them where necessary as the user progresses.
I am not sure what the best way to do this is and below is a rudimentary approach using text files. As you can see, the top of the file would have a summary of all the phases and whether or not the user completed each phase. Next each phase would have a data section highlighting what data was stored along the way. I have used a ":" to denote each section. Then within each section I would obviously need to use a delimeter for all my data. So if Phase1 = True, then I would load all the pertinent data from "Phase1:" into the desired control. Can anyone provide an efficient way of doing this and provide some insight as to whether I should use XML instead. The phases my change during development and I am not sure yet which controls I will be using. Does XML provide more flexibility.
In summary I am looking to create, read/write and append log files and populate controls with the data in varous sections of the log file. Example:
Tell & interduce a pdf the full explain about file programming in vb.net(such as create , open in binary and .... , explain file stracutre and all)? a full article (most of the ways about file in vb.net)?
How can I create a new directory on the FTP server ... ? ftp://www.mysite.com is the target site ... I want to create a folder/dir named 'new' on this site (ftp://www.mysite.com/new/) ... How can I do this in Microsoft Visual Basic 2005 ... ?
Normally when I want to create a new row I first do a select statement and populate a dataset. Is there a way to assign the schema of a table to a dataset so I can still add a new row or do I have to select the data first?
I have one problem in which i simply want to know how i can create a table that can easily Used as a back end for my solution that is in Vb 2010.
I also want to know that when we choose a data source in a vb.net that is for sql server Which we want to choose....simply which can be used Because there is 2 or 3 with little different name...
I am doing Windows applications in VB.NET 2005. I want to use chart in my project. I already asked this question in this site. But viewers said the solution to use "MSChartControl" (but this is for Visual Studio 2008.).
I am currently using visual basic 2005 and i am wondering if it is possilbe to create a line graph using data similar to for example Week 1 = 40, Week 2 = 40, etc....and the Weeks as cross the X axis and the numbers from 1 to 100 on the Y axis....is this possible to implement in visual basic?
I created a DLL with VB6 which registered OK as it contained DllRegisterServer and DllUnregisterServer - these seemed to have been automatically put in place.I upgraded the source code to VB 2005 and built the DLL but now it will not register itself as the DllRegisterServer and DllUnregisterServer elements have not been created in this new DLL. How can I instruct VB 2005 to include these elements?
Is there a any code to create the windows service in VB.net 2005 that you can pass on. I am actually trying to make a Windows service which will query SQL as well as Oracle database using procedures. This service will keep running until it is manually shutdown. This is my first windows Service I am writing in VB.net.
I'm obviously looking for the wrong thing, every reference I find points me back to VB scripting.I want to be able to create a set of shortcuts to various files, within a user selected folder, programatically in VB 2005.
Searching on "links", "shorcuts" all take me in circular fashion back to WshShell ... can someone please point me toward some VB / .NET code
I want to create my own toolbar/band for IE. I've searched all over and can only find a few small C++ or C# references but nothing in VB 2005. How to create this.