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

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 wordpads save

facility because if I use temp file solution (which is reading from source file and replace the

certain text into new value and save this information on a new file.) the organization of file

damages and it affects my automatic import specifications.

Anyway as a summary, is it possible to open this file with wordpad program and save it with this

program's save facility.

I mean after using;

Shell ("C:\Program Files\Windows NT\Accessories\wordpad.exe filename") command is it possible to make active wordpad window to save and close this document with code?


Regards,

 

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


Executing DTS package from Visual Basic -
I am automating some database file processing and I am attempting to kick off a DTS package from inside a Visual Basic program. I tried saving the DTS package as a Visual Basic file and add the module to my program, but I still couldn't get it to work. It throws tons of errors.


Easy question.. please help! -
I have a rich text box in my project and i want it to always use my standardized font, size, color ect...... but right now if you perform and Ctrl+C inside another rtf app like wordpad then ctrl+v into my app it shows up as it did inside wordpad. How do i prevent this from happening?


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


Embedding VB.Net form inside a visual basic form -
Hi Everyone, We are trying to do something which I am not sure could be done in visual basic. In a form, if we click on a tab, we want to show an embedded visual basic.net form object. Is there a way we can embed a visual basic.net object inside visual basic using hwnd or any oth


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


Visual Basic & Visual C++ "what the difference" -
Visual basic might be easier to learn then Visual C++, but isn't the end product that makes all the difference, as in Visual C++ you would have a faster running program. What sort of applications would you write in Visual C++ or Visual Basic


Running an External PROGRAM using visual basic 5.0 -
I was wondering if it was possible to run an external program using visual basic 5.0 code. exp. I click a command button in my visual basic program, and it opens windows media player. Any help would be appreciated! Thanks Tyler Shillig


Making A Program able to be distributed!!PLEASE HELP -
I have made a program on my computer in Visual Basic form, I dont know if this can be done, but, I want to run the program on another computer but that computer does not have Visual Basic. PLEASE HELP!!! I have tried running the program but i get a message saying, This applicati


Problem with .exe visual basic -
I have an .exe visual basic running an network windows 2000 and sometimes the program show this error: an error had ocurred and the program will close. Please help me.


Running an application INSIDE a form -
Hi, I want to run a program inside my my VB program. I actually want to run a computer game inside a form to make it easier for me to minimise the screen. If you dont know what the feck im on about its like opening a program like MSN Messenger inside a form, not making a form open MSN


sound files in visual basic -
Hello. Is it possible to add a wav file inside visual basic program and then made it extract it to hard disk and play it when the program is executed?


VB with VC++ -
Is there a way that I can use the Visual C++ Debugger for C++ COM objects when running a Visual Basic GUI Inside(or outside) of the Visual Basic Debugger?


Why Visual Basic 6 -
Visual Basic .NET has come to earth for years already. But I found out until today still many of us still sticking with Visual Basic 6. This can be proved from this site and many other Visual Basic website, where Visual Basic 6 is more active than the .NET. I never use the .NET bef


Is it possible to store files inside my program -
I want to put files inside of my program so that I can use them. So, 1. Is this possible with Visual Basic? 2. How do I do it? 3. How do I access the files? (What path, etc) Specifically, I am wanting to package a few small exe's inside my program.


Visual basic 3 to visual basic 5 -
I write program(not complete) in visual basic 3 and now i wont to open it in visual basic 5 or 6.But i have problems cause form files are binary and i can not open it in newer versions. Anyone can help me about this problem?


.net: Internet Information -
I am using Visual Basic.net (I think it is edition 2002) and Windows XP. 1) I want to create a program that searches websites on the internet, pulls just the information that I want, and puts it into the Visual Basic program that I am running. For example, a site may have up to t


VBA calls VB6 -
Dear all, I have an application which is running in VBA environment (it is an automated machine). I try to control it with the command that use internal . The problem i am dealing with is that i need to execute my program and at the same time i would like to see the original progra


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?


My Programs are not running on other systems -
i have created a simple program in visual basic.net and makes it's .exe . the .exe runs fine on my computer but when i try this software on my friends computer the program did not run. i want to ask that is it necessary to have .NET Framework installed on user's system to run software


Visual Basic and SQL or Access -
I have been reading "Visual Basic Database How to from Sam's" it is a PDF ebook given to me by a friend. I am confused on setting up the database because the CD is not with it. Would it be better to set up the database in Access first then use Visual Basic? Or using SQL i


Visual Basic 6 and Webservices -
Hi there, I writing a webservice using visual basic .net that returning a dataset type to return some data and i write a visual basic 6 client to call the web services using the SOAP. The problem here is, i do not know how to accept the dataset on my visual basic 6 client program,


vb problem yet to be solved -
vb problem not solved for days hello all, I've a visual basic problem and that is to cutoff the input from a keyboard for the entire operating system using a visual basic program. N.B. Not disable the keyboard for the currently executing vb application but for the entire Operating


Embedding vb.net form object(s) in a visual basic form -
Hi Everyone, We are trying to do something which I am not sure could be done in visual basic. In a form, if we click on a tab, we want to show an embedded visual basic.net form object. Is there a way we can embed a visual basic.net object inside visual basic using hwnd or any oth


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


vb problem not solved for days -
hello all, I've a visual basic problem and that is to cutoff the input from a keyboard for the entire operating system using a visual basic program. N.B. Not disable the keyboard for the currently executing vb application but for the entire Operating System. I've tried using various


Starting Visual Basic 6 Enterprise Edition -
Hi, After formatting my hard disk, I have had to re-install Visual Basic 6 EE. After I had installed it, I went to open the program. However, as soon as the splash screen appeared, I had an error message with the message, "Can't find file DAO350.DLL". I was puzzled by thi


Visual Basic.net help/reference (or lack thereof...) -
After having programmed in Visual Basic 5 (Visual Basic 3.0 and Quick Basic before that) for several years, I decided to give Visual Basic.net a look. One of the first things that I noticed is that just like Visual Basic 6 it doesn't come with its own help files making me have to rely


VB General Question -
I'm running Windows XP Professional and using Visual Basic 6.0: Professional Edition (from Visual Studio 6.0) to create my program. I've got two questions: why has the interface of VB not been converted to the new look of XP? It's still the same old Win 98 boring greyish 'button color'


Visual Basic 2008 versus Visual Basic 6 -
I just have experience with Visual Basic.NET 2003, 2005 and 2008. I don't have any experience with Visual Basic 6 and before. I've experienced a lot of slowness in running a lot of the graphics screens in an application I've been working on for more than 2 years now. I moved to a new c


How do I run a program I made in Visual Basic on a computer without Visual Basic -
I created a program in Visual Basic and I was curious at what I needed to do to be able to install or use this program on a computer without Visual Basic. Any help would be great! Thanks in advance.


Visual basic shortcomings -
I recently recieved a review from my boss and everything was fine except he said I should learn more C (I'm assuming he means C, C++, and C#) and be less dependent on Visual Basic. I was wondering what type of program would require more than what Visual Basic has or when Visual Basic


Getting an old .exe in Visual Basic again -
Hello everybody, I've made a program a long time ago, and made a .exe out of it, but I need to edit a little piece of the code again. Is it possible to get the old .exe in Visual Basic again? Because I don't have the Visual Basic file anymore. Problem solved!


Relocating Visual Basic -
I have Visual Basic .NET 2003 and I cannot bear having this program installed on one of my drives and am looking for a utility that helps one relocate VBNET. All I need to do is relocate Visual Basic onto another drive on my computer without reinstalling. Anyone have an idea of how to


Unix Text Files -
I'm sure that, at least once, you downloaded a text file that was written in Unix environment and had those nasty black boxes instead of line brakes. This isn't so bad when you need to read the file as you can manually press enter every time you encounter one or simply open it in wordp


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.


setting focus to child windows using api -
I have done a program with text boxes which is inside the picture box using visual basic and I have compiled to an exe file. Now I have to send focus to the text boxes using another visual basic program. Please help me.


Inet problems (Follow up to failure to exit program) -
Earlier I posted about a problem with my program continually freezing during its unloading. Thanks to some good responses, I've narrowed the problem down to the Inet control. Here is my new dilemna, I can't seem to fix this. According the Microsoft Knowledge Base, this problem was k


Visual Basic Express and Web Devel. Express sharing database -
Hi all, I have a project where I have a website that allows users to edit data in a sql database. I am then trying to use this same database in a visual basic program. In my visual basic program I added the connection from the database in the web developer. Database connected, all


Converting Microsoft Office VBA Macros to Visual Basic .NET -
i have build the code in vb.net. the program is running fine . now the problem is am facing problem in conversion. nuthing is chnaging at all. i had used the msdn code freely distributed in the microsoft website . it says to upload a word file and an excel file (containing the macro