I am trying to make a program that inserts text into another application. I want the user to be allowed to choose which application they want to put the text into Word, Notepad, WordPad, Firefox, IE, Anything. How do I do this? The user is obviously going to have to input something about the application but what do I need?
I have a richtextbox in a form that opens a text file line by line.
Each line contains texts that is to be imported elsewhere and is delimited by commas.
The first two fields are dates and are fine. The remaining fields are all text and need quotations inserting.
For each line of the richtextbox is count the commas as it works through the string. For the first two nothing needs to happen. for the third comma a quotation mark is needed to the left (",); for count of commas 4 to 7 a mark is needed either side[code]...
I have an SQL database, and 50 text files, and Visual Basic 2010 Premimum,I need to find a specific line of text in the text files and then take the next 37 lines of text and save them in my database. I need advice as to point me in the right direction
The program allows users to insert Documents along with a bunch of their attributes into the program. The documents are stored in a relational database. One of the required functionalities is allowing the user to look for such documents. The User normally search directly for the obvious attributes of the document, like a unique ID, or it's Title. The problem is that from the search parameters is not allways known which ones will the user fill. For example the user inserts the name and version of the deocument, another time the user enters part of the Title and the person that delivered the document, or might just enter the document number and nothing else. Some of the data might even be incomplete, like title, name of the person who created the document and so on. The idea from the person who designed the system (I'm only reimplementing it) was to allow easier searches for the user, and allowing the user to search for more parameters tod with the idea that "the more parameters, the more specific results", since the results are always group of documents instead of single documents.
I believe I need the code for Load Event. I have tried many ideas. I have searched the threads here and also google of course. No luck as of yet. Better description: I have a file named hello.txt. The contents of this text file are "hello". I use my program as the default for .txt files. I dbl click hello.txt. My program loads and the contents are blank and it should have "hello" in it.
I have a program that runs the checked items from a ListView control. These items are self-extracting ZIP .EXE files. Unfortunately, I want them encrypted, and it doesn't seem like WinZip lets you pass the password as a parameter. This means, the user has to input the password (they're all the same for all the .EXE files) over and over again.
Try If Not String.IsNullOrEmpty(TextBox1.Text) Then If Directory.Exists(TextBox1.Text) Then
[Code]....
I've seen some stuff about using Windows APIs but that seems like it could cause some problems since these are external programs not owned by my program.
I want to insert two values into two tables of a sql database which i had created. In my vb.net code my problem is if i insert it get insterted but only in one table else sometimes it's not getting inside.[code]...
ok, trying to put an INSERT query into my program, but not sure the exact sytax, i know the query itself, but not the rest of the code to get it working.
I m using the table adapter in vb for inseting new record in db. but after excutting the button event in which i define the adapter update method or insert method .my db table have no change.either i use commad mathod.then what is advantage or drawbacks
I am looking for some simple help, excel has this command built in but I am trying to recreate it within a Windows form application. One of the shapes available in excel is a process flowchart square......I would like to create an interface for users to be able to insert a flow chart by drawing some basic shapes. what is the VB code to activate the insert shape command but not actually draw the shape, just allow the user to draw it. I know this may not make sense but if I need to try and describe it again let me know.
I've been struggling with this for hours. I'm making a vb program to track volunteer hours. I have some fields that a user can fill in and then click update and it should add the volunteer info to the database. To confirm that it was added I'm using a datagridview that can be updated to show the volunteers in the database. My success msg says that the insert worked, and the information is showing up in the datagridview but when I close the application and go to 'show table data' for the volunteers table there is nothing there. I've tried adding .Update() to my VolunteersTableAdaptor and I've tried resetting my SqlCeCommand after the ExecuteNonQuery() call, but these haven't worked. When I hover over the last word 'Volunteers' in this code:
For where it says integer, I just wanted to know what the 'integer' exactly is. If I want to insert text at the end of the user's text, what should I put?
I have two tables and the form contains a text box so I need to add rows of Table 1 to Table 2 and taking the value in the text box for each row is added to Table 2.[code]...
with vb and iam just trying to learn this one by reading tutorials online. After months o trying, i have created one db which i would like to use at our office. Its a counter Ticketing system. Its fun actually i must say, but its also giving me the headache with the trial and error am doing. Attached is the print screen of my project.I was able to make it work. Yes, it prints the number it needs to print. The problem is, i just dont know how to insert or where to insert the following text.Counter 17 (or whichever counter they have to go)Your number is