o
k
q
u
e
s
t
i
o
n
s
.
c
o
m

Open TXT file in WORDPAD -

hi friends,
As we know whenever we open a .TXT file by double-click, it opens in NOTEPAD, as we have already asked our operating system to do so, now I want to develop a small program, which will make changes in my windows systems, where by if I open a TXT file, it should get open in WORDPAD instead of NOTEPAD.

Thanks in advance,

 

Open TXT file in WORDPAD -
hi friends, As we know whenever we open a .TXT file by double-click, it opens in NOTEPAD, as we have already asked our operating system to do so, now I want to develop a small program, which will make changes in my windows systems, where by if I open a TXT file, it should get open in


Problem with running wordpad from inside of visual basic program -
Hello I have to do such kind of application from inside of vb code; - open an text file which is not recorded in sqeuantial format with wordpad program - replace certain text with a new value - Than save this file's content with using wordpads save facility. I have to use wordpa


How to Save a file in Wordpad using VB -
Hi Friend, I need to open a "a.wif" file in the wordpad then I need to save the same file immediately with out any updation and then I need to close it. For opening a file I used this command: Shell "C:\Program Files\Windows NT\Accessories\wordpad.exe D:sam\a.wif&


using wordpad -
With This code ShellExecute 0, "Open", sFileName, 0, 0, 3 i can open a file using notepad, but if i want to use wordpad? Can anyone help, pls?


Location of WordPad -
Is there somewhere that tells you the location of WordPad on your users harddrive? I want to load my log files into WordPad without having to change the person's file association.


Binary wordpad == URGENT -
Guys, I am not sure whether this question exactly belongs to this forum, but I would very much appreciate it if anyone can answer the question. I have a program that writes its output as a binary file. I opened the file in wordpad. I was not able to read anything. Then I saved t


Using Wordpad with VB Saved Text Files -
I have a program in which I save TXT files using Write (VB 3.0). I then have users connect to Wordpad to avoid a lot of printer issues via a selection in my program which auto opens the file. My problem is twofold. Wordpad doesn't save page attributes for formatting such as margin


wordpad in every win version -
I think wordpad came with every version of windows Yes? Did every wordpad open .rtf files?


Page breaks in Wordpad or Notepad -
Does anyone know how to insert a page break in a text file so that either Wordpad or Notepad will recognize it? I have a program that creates a report file, and this file may sometimes contain more than one page. Adding a form feed character - Chr$(12) doesn't seem to work. It shows


Launch Wordpad from VB6 app -
I need to add a feature to my app allowing the user to launch WordPad. I'd also like it to specify the target directory and "files of type" so that when the users do a file/open in WordPad they will be presented with only the files of specific type and in a specific director


java acting up when switching from notepad to wordpad{resolved} -
I usually use notepad to construct programs. Lately I tried to do one in wordpad and it shows up a bunch of errors. I cannot even compile working source code off the internet that was done in wordpad. I tried a simple hello world program in wordpad and it would not compile. It's do


Can I bring up Wordpad or simulate it using VB -
I want to create a large textbox in a form and have it load information from WordPad or act like WordPad (allowing me to use bold and color formatting). Is this possible? Thank you, Brad


instead of sendkeys -
i've to manipulate with shell in my program(visual basic) and i've use sendkeys but it doesn't work, i've to open a file from edit.com and to print it!!i can do it with wordpad but it doesn't work in edit.com!! the code is like that for wordpad wrdpad = shell("C:\program files


Open a word doc with Wordpad and Save as a text file{Resolved} -
Hello I have a Ton of Word docs that I need to open in Wordpad and then save as a .txt file. I have an app that parses the txt file and loads that data into a DB. If I open .doc file with word and save it as a .txt file it crashes the parser. If I do it with Wordpad it works fine.


Sending text file dot matrix printer directly from vb. -
Please can any one help me in this. I want a text file to be printed directly in dot matrix printer using vb code. This is mainly because I do not want to use any fonts and form feeds and control charcters etc., in text file. Right now I am using note pad to print but when the


Process.Start with spaces in path -
Hello I am trying to get WordPad to open a document. I was simply using Process.Start("wordpad.exe", path) but that gave me an error when the path had spaces in it. WordPad would open saying it couldn't find "C:\Program". I tried doing path = ""&q


WordPad limitations -
Does anyone know if WordPad can only display a certain amount of info? I've got a huge dat file that I need to seperate into smaller dat files in order for this preprocessor to be able to parse them without crashing, so I opened up this 139 mb dat file in word pad, copied and pasted s


send information to edit.com -
i've to manipulate with shell in my program(visual basic) and i've use sendkeys but it doesn't work, i've to open a file from edit.com and to print it!!i can do it with wordpad but it doesn't work in edit.com!! the code is like that for wordpad wrdpad = shell("C:\program files


Saving txt file in ms-dos format -
Hey Im writing some data into a txt file, but i need it to save in Ms-Dos format, and not in the standard format that windows 2k use. I need to do this cuz i have some special signs in danish language, that aint allowed in the txt file. I tryed to do it by opening Wordpad and


Creating a new WordPad -
Hi, I'm new in VB and my lecturer asked us to create a prototype of an improved program. Question : How do we get the .doc file filter in wordpad to be integrated in our project? Thanks


Run Wordpad from a VB app -
Hi all, I have a small Vb application and I want to open Wordpad and transfer the text of a text box when you double click on it. Can anybody please help? Thanks a lot, Chris


wordpad path -
I want to shell "wordpad.exe" from my application. So, in my code I am going to the registry to find path to the "wordpad.exe" and get return from windowsXP as it is in registry: %programfiles%\windowsnt\accessories\wordpad.exe When I put this path into s


How can I let my app know that an external program has ended ** -
Ok, this is what I want to do:[list=1][*]Have a bunch of files on disk and have the user select which file they want to view in a RichTextbox.[*]Have the user choose a menu item and be able to launch WordPad and automatically load the displayed text from the RichTextBox into WordPad re


pass string to wordpad -
How can I open wordpad and pass it text that I have in a table? thanks


Open Paint, wordpad,ie netscape -
How do I open Microsoft Paint, Microsoft wordpad, netscape and Internet Explorer-I want the eaisist weay, like wwith the Shell command?


Wordpad Ruler -
iam creating my own wordpad application. *iam not able to create a ruler as is in Wordpad. HELP ME PLEASE! thanx.


Find path to WordPad -
G'day, My program shells to Wordpad, but WordPad is in a different location in Win98 and XP. How do I let the system find the path?


WordPad and VB -
How do i get/set the text of a wordpad window i opened through OLE? I want to open it and put some text in it... when its closed i want it to send the (changed) RTF-text back to my app, so that i cant save it in an other format (I do not want to use the RTF-Control)


Windows WordPad -
Question: Can WordPad be used for object programming from VB like Word or Excel ?


Wordpad automation -
How to manipulate wordpad ? I don't want to use the shell + sendkeys statements Is there another way to perform it ? like a createobject or whatever... thanks


how do I open a log file thats in use (read is only needed) -
Hello, I need to open a log file, but the files always in use.. no matter what i do I keep getting "An unhandled exception of type 'System.IO.IOException' occurred in mscorlib.dll Additional information: The process cannot access the file "... .log" because it i


How to update this config file for another program -
Hey.. I am stumped.. When I even try to open this file, save (no changes made mind you), then try to open the other program again.. it errors out because the file becomes corrupt.. //edit// I have tracked my vb.net program's problem back to this.. so now I am opening/saving/clo


How to create a colorpicker like the one in wordpad -
Hi people, Does one of you know how to create a "simple" colorpicker like the one in Wordpad? The things i found on the internet are way too big and complicated. That would be overkill. The one like in wordpad would be perfect. I have a Rich TextBox on my form, it would b


Execute code on 3rd party modal form -
Is there a way to have my code continue to execute on WordPad's Page Setup form which is being displayed by WordPad modally? I am shelling out WordPad and printing out the file I pass, but I need to setup the margins, etc. before printing. Does anyone know where WordPad stores


capture form & put into RTF file (GOT IT) -
I'm an experienced VB programmer, but now need to do something I have no idea how to do, which is capture a form and save it in (or as) an RTF file. I can accomplish exactly what I want from the desktop by (1) giving the form the focus and then (2) doing alt-printscreen to capture


Calendar program -
I need someon to write a program for me, I don't have the time to do it myself because I haven't used visual basic in about 3 to 4 months. The program will reside in the system tray and should run on start up(be hidden as well). To launch it I need a menu that pops up when you righ


Opening a program with a nondefault application -
Say i would like to open a .txt file with wordpad instead of the default notepad? how would one go about accomplishing this?


Menu Editor / making own wordpad -
I created a menu thru the editor with File > New, Open, Close, Save, Save As and Exit under File. What I want to do is if it is in intial state then only have the New, Open, Close and Exit enabled. Also, If I click Open or New and a file has been opened, then the Open and New ar


Embedding wordpad -
I was on one of Microsofts sites recently and found a page where they had embedded what appeared to be wordpad in the actual webpage. It had most of the margin/bulleting buttons and had the option to save load etc. Does anyone know how they did this


To read from registry -
I'm opening wordpad through my application. The application is used on multiple platforms. I need to find the path to locate wordpad and store in a variable which I can pass using the shell command. Any help will be appreciated. 'get path and assign to variable 'i = shell(variable,