Coding Programs That Interacted With Other Programs?
Feb 2, 2010
I started with VB 6.0 back when i was 14, I was mostly into coding programs that interacted with other programs. Recently I installed VB.net 2005 pro i got from school, and i grabbed few source codes that teach show interaction, I feel so dumb, i dont remember anything lol. It be great if you guys can share some source codes and other stuff in this field. also other day i was in dream spark and i am able to get copy of VS.net 2010 ultimate edition, are there a lot of major changes, cause i got 2 thick book for VB.net 2005..
I am sure this can be done, as Visual Studio is basically built this way. What I want to do is simply make a class that my other workmates can use. But rather than have it in a code form, I want to build it (partially), and then my workmate can add it into their programs (sort of, like the add reference for the .NET stuff).
When you've finished a program and you're trying to distribute it to the mass public. How is the best way to go about doing this? What sites would you post your program on and getting the word out that there is a new program on the block and it does xyz. This is directed to freeware so there wouldn't be any advertising.
Sorry for not explaining it very well the first time.
I've spent the best part of the week learning about TCP/IP and sockets but it's really draining my enthusiasm for my project. The basics are simple enough and the MSDN examples are fine and I can put together a simple server/client easily now, but once I start getting into asynchronous connections, threading and all the other stuff, I'm getting bogged down and frustrated. I've followed a dozen tutorials and examples now and they're all too confusing and half of them simply don't work.
I think what's most frustrating is that I really don't wish to become an expert on sockets or TCP, which seems to be the advice on most forum replies. I really want to be getting on with my project which has ground to a halt since I started looking into this. Yes, I know the world isn't always that simple.
So, what I'm looking for is a 3rd party app or some working code that will let me set up a server and multiple clients. All I really want them to be able to do is to send strings to each other, without blocking the application. Really, that's it, just the ability to pass strings back and forth between server and client, preferably in as simple a format as possible - e.g SendMessage(Client,String).
I am relatively new to Visual Basic so this may seem like a simple question. I was wondering I anybody knew how to add music to a visual basic program. Just one want a song to start playing upon the loading
I searched around the web for some tutorials and code examples, but couldn't find anything up to date. For example if i wanted to hit the "+" button on the windows calculator using an application i made what would be the best route to do so?
I am making a 2.5D rendering engine. I assume (with the knowledge that I've gotten from reading online) that doing the rendering work using the GPU will be faster than using the CPU.
Is this possible with .net? If so, is this a correct situation to utilize the GPU?
I'm also using VB.net, however all .net examples will apply.
I have a few questions regarding getting information from other programs.
For instance, once i launch a console application i want my other program to read it's output. If my build.exe reads whats printed in cmd.exe and then outputs it live on a textbox <--- How do i do that?/Is it possible? Im sure it is. And then i want to know how much % of CPU is used by the program and how much memory are used.
am new to programming just finishes reading book step by step by microsoft, it doesnt teach me how to link 2 programs together, at work we have program made by an outsider company in it spreadsheet with over 500,000+ names, each day we have to pick random names from the list and print them out to make files for them(i work at social security), picking the names is daunting task and the program they made is pretty slow when you scroll around, am assuming they saved all the number in string variables, so i want to make program to sort and let the user type the number they need to pick from the large spreadsheet, then my program would choose all those number from other program
i have made some apps text bomber a couple games i am a pretty good programmer but now i want to put it online and i am running in to some problems its says it dose not have ever thing and can install or it is not formatted right it works on my pc but not on others pc. i am trying to put it on my web site rangercomputers.webs.com you can try.
I currently have one VB 2010 express program that runs on my machine,It tracks machine run-times so I can't shut it down. The problem is now I have a new project to write and when I go to debug it, the currently running program pops up and I cannot debug the new project. Is there something I am doing wrong, or does the VB express environment prevent more than one instance of the runtimes from running?
There is a program I puchased from out side for Data Entry purpose, I have to enter Postal code to one field (Textbox), This program do not have the list of postal codes to select.I develop vb.net program to find postal code by giving the area name or part of it, I have to copy the generated postal code and paste it into the other programs text box or type as it is.I want to know a method to do this as follows.1.Press some key combination and activate my program (Eg. Ctrl+Alt+A)
I was wondering if someone could help. I have a little vb.net program, an exe, a pdf and a pps all burned on a DVD.My vb.net program will autorun and I have command buttons to open each of the other items from the DVD.I can open all items if I use the proper path but not all rom drives are the same. I have searched for this a lot and there are a lot of inguiries regarding the same but none of the solutions seem to work.I have a work around for D:\ and E:\ drives:
Try Process.Start("D:\MyPresentation\BHW.pps") Catch Process.Start("E:\MyPresentation\BHW.pps") End Try
I use this for each command button.I have tried Process.Start(Application.Startuppath & "\MyPresentation\BHW.pps") to no avail.
Is it possible to link two programs with each other. Like one that can control the other one. Because Ive got a cousin and he is living too far away. I created an application that should do his work on his computer, but the application needs to be controlled by someone,.. and he kinda cant do it. So I want to make a second application to control the application that is on his computer.
For example. If I click on button1. The application on his computer clicks on button1 too.
how i would run a program from my application that is in the same folder as my application. E.g C:\install.exe path would not work as each user would have to have this in there c:\ drive for it to run. Rather i want them to be able to click my exe from a network folder, which installs the programs which reside in the same folder.
Dim ExecutablePath As String ExecutablePath = Path.Combine(Application.StartupPath, (c:\Install\Programs\setup.exe")
[Code].....
Basically i want to run my exe, once install is clicked the program finds the install directories in the same folder rather than C
i'm hoping to use a propertygrid in one of my programs.
1/ i'm having difficulty writing a (text) property that will open a multiline editor like the textbox text property in the vb properties window. how would i do that?
2/ i need a way to make either selected properties or preferably entire categories disabled or enabled at runtime.
3/ how can i turn off automatic sorting so my categories + the items they contain are displayed in the order they are in my class?
I'm using Windows 7 Pro (32bit) and have .NET 3.5 and 4 installed.I have written a .NET screensaver and have enabled it to run on the Windows logon screen.[code]BUT when I'm logged in the screensaver works.So it isn't a faulty installation of the .NET framework, or else it wouldn't work fullstop.
I'm working on a program, just to learn a bit more about programming. The program's function (if I manage to do it) will be to accept drag/drop files and create a link to them within the program itself. For example: I drag and drop the .exe to a game I have installed; the program then creates a shortcut within itself; the shortcut is displayed in the program with the name/icon; if I click the icon within the program, game launches.I've already manually coded something to this same effect, but it doesn't automatically add new shortcuts/buttons so I have to keep going back in and reprogramming another button every time I install a new game/program. I'd like to be able to just drag/drop and be ready to go. Any ideas on how I can get this function? I'm using Microsoft Visual Studio 2010.
I'm working with Visual Studio 2008 and trying to copy datas from the clipboard to the notepad. Copying datas is OK, but Sendkeys func. is only works with foreground programs. However I'm trying to paste these datas to the notepad that is working on background. How can I solve this problem?
All of a sudden all vb programs running very slow in XP...... nothing has changed.I took the vb2008 complete out, and reinstalled...... and no difference. other programs like excel run as before, just all my vb2008 programs are really slow.....
These days I'm working on a VB.NET application which can be used to edit, compile and run C programs. how I can call a cl.exe process from within my VB program and also that how do I run the program in the console widow itself.
Presently I have only the editor ready. With that one can type in a program and save it with a ".c" extension. Now there are 2 buttons on my form - "Compile" and "Run". When the user clicks on the "Compile" button, the program should be passed to the cl.exe process and the errors should be displayed in another textbox or the DOS(black screen itself). And when the user clicks on the "Run" button, the ".exe" file which just got created should get executed.
Is there any way to attach some files along with my program so that the people who do not have "C" installed in their computers can also edit, compile and run C programs using my application?
I'm creating a file manager in VB.net. I included some icons in the project resources of my application. I want, my users can change the icons of files on their desktop/documents/etc. with the icons I have included in VB.net.
first, what is the base minimum that windows needs open to run... ex. svchost.exe, explorer, etc.
Second. is there an easier way to close all programs except the ones i want to stay open, i want to keep the needed basics open and my program, which will open other programs, but i want to make sure nothing else is running so that things will go as smoothly and as fast as possible. I just don't want to manually check what processes need killed and place them in the program one by one, i want to kill all but a few.
Extra credit... stopping all unneeded windows services would be nice too, but that would probably be too long of a process to worry about, and not really worth it considering the benefit of speed it would give.
What is an easy to implement way to communicate between 2 vb.net (3.5) form applications that are running on the same machine?
The current problem is that in each program a user needs to be logged into to use. If the user is logged into one, and clicks a button to launch another, it should pass who is logged in so they do not need to log in again in the second program.
I'm trying to connect two programs using winsock, I connected it, but I want to send to the server to do some thing like open the camera . or do any thing .
for example, if i want to create a program that that takes the result of the calculator ( i mean the default calc of the windows ), or the result of any program, and keep these results in my created vb program, or to manipulte these results, is it possible?