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?
In the past few weeks, to speed up our database freshening process, I've created a couple of extra programs, basically copies of the exe file. The program itself, accesses web pages, images etc and uses threads to do so. The second program uses LIMIT 300,100 and the third LIMIT 600,100, to make sure they don't work on the same records.
Before the last few weeks, one occurrence of the program used to run without problem, from the task scheduler all through the day. Only one occurrence of each exe can run at a time.Since theres now three programs running, .net 2.0, on xp, the program often seems to get stuck and never ends. I have to kill it from task manager.
It runs fine in the IDE I just wonder if there would be any benefit from upgrading to vb.net 2010 ?
Since ADO.Net uses a 'disconnected' model where the data available to a single program is just a copy of what is in the database, what is the normal way to handle multiple programs needing to update the same table in a database? The problem I see is that a program can't update unless his copy of the data is the most up-to-date. Are we supposed to read before updating and hope that the update occurs before someone else changes the data?
I have a program that, at present, reads a set of global variables from a text file. The program is on the client machines (around 100 clients). My problem is that when it comes to the update of the variables within the client program an error sometimes appears stating that the text file could not be read as it is already open (by one of the other machines). Currently I am cutting it down so that only 30 machines read from the single text file, although I am still going to get the error occasionally. Any ideas (apart from catching the error, and trying to read again until it works). Maybe another way to store the variables?
I'm planning to make multiple projects, which could connect (or comminicate) together. It's like a designing Network Program. There'll be a main program and some sub programs. These sub programs will send the informations about other computers which is on my network to the main program. If you ask "Why do you need to get infos about other computers?" ,then let me explain. I'm using limited internet connection and I'm not the only one who's using this wireless network. If I get over the limit, I'm paying some limit-upper fee. So, I've to control others internet usage to not to get over the limit. I've just made a small download counter program for my pc, but as I said, I want to convert it to a bigger project, with network solution. Could anyone refer me any resource, or show me any starting point?
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).
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..
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.
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.