Can Have Two Copies Of An Executable Communicate With Each Other Over Internet?
Sep 7, 2010
In VB .NET, how can I have two copies of an executable communicate with each other over the internet? For example... similar to how and instant messenger might work.
View 1 Replies
ADVERTISEMENT
Oct 27, 2010
I am developing a solution (VB.NET and Netframework 4.0) with a main executable and several DLLs (VB.NET and Netframework 4.0).The main program, among other things, shows datagriviews with lists of customers, providers, etc. and offers to add or edit them.If the user asks any of these actions in a customer's list, for example, I create a new customer class (which is contained in a DLL called customer) and pass to it the desired action.The DLL creates and shows the form to fill customer data and handles the edition/addition and the database update (add/update records).If a customer was actually added or its information changed, I should refresh the datagridview; if the addition/edition was cancelled there is no need to refresh it.I don't know how to code the DLL to notify the main executable that it needs to refresh the datagridview and I don't want to refresh it always, since there could be thousands of customers.
View 2 Replies
Sep 19, 2011
I have a loop that copies a file from the internet and writes it to disk (using a WebRequest and Response with a Stream and FileStream).Once in the loop if the internet connection breaks, the loop continues but without downloading any content (even if the internet connection is back up). I cant seem to catch this exception. If i check for a valid internet connection within the loop then the speed to download the file is way too slow
View 3 Replies
Apr 17, 2009
I have a problem I have a project that needs to have a communication of asp .net to vb .net my project is i want to access or control(like a remote control) the vb .net application(server) using asp .net(client side) asp .net is like a remote control and the vb .net is the application that needs to control i need to use internet to do that.
View 1 Replies
Aug 2, 2009
am using vb2008, and i was wondering how to to get the content in an input field in a webpage displayed in Internet Explorer, so when i hit a button for example, i get the content of the input field(usually texbox) in a textbox inside my app. note that am not talking about using the web browser component, but a running instance of ie
View 1 Replies
Mar 24, 2012
Can WCF be used communicate through the internet? All the examples I have found show it being used on a local network.
View 10 Replies
Sep 26, 2009
I have started socket programming since last few days. I'm able to communicate when the server and client programs are run on the same computer (by specifying IP as 127.0.0.1) or on different computer which are on LAN(192.168.x.x .... etc.). But the problem is that i'm not able to communicate through internet when i provide Internet IP Address (assigned by my ISP) of computer on which server program is running.
Here's my code :
Server :
Imports System.Net.Sockets
[code].....
View 7 Replies
Dec 4, 2010
Is there a way for 2 programs to communicate over the internet instantly. I have one program were the use enters their email address and when they press submit that email will show up in another programs textbox on a new line.
View 5 Replies
May 28, 2009
how to communicate remote system using win sock control through internet. this is possiple give example or any idea in vb.net 2005
View 1 Replies
Jun 11, 2009
Does anybody know what site has independant ASP.Net consultants that are for hire on an hourly rate and can communicate via the internet? I only need this consultant for a couple hours. I cannot recall the site that I used previously where I would ask questions for a price and get the solutions.
View 2 Replies
May 17, 2012
I have a program that outputs a file. I want the user to be able to just double-click the output file and launch the program, just like Word and Excel. In Word for instance, one doesn't necessarily have to open WORD then click on File--> Open and locate another Word doc. He can just go to the folder and open the Word doc. I want to implement the exact scenario in my program.
So far I have tried creating TextFile and added it to the Resources. On FormLoading, I simply I stream-read the Resouce file, but I can't write to the Resource on FormClosing, since the Resource is ReadOnly. Also, the Resource is built & compiled so I suppose you can't add anything to it at run time.How you lunch an output file without launching the Executable program that created it?
View 1 Replies
Jun 1, 2009
I have an executable that I was able to get working on all XP machines by registering all the .dll's associated with it.On Vista, however, I go through the exact same registration process but right when I open the executable it goes to a "WindowsApplication1 has stopped working" dialog. I registered the DLLs in the SysWOW64 folder. I also ran Dependency Walker which came up with IEFrame.dll as flagged, don't know if that is relevant though.
View 6 Replies
Jul 24, 2011
I Actually want to provide a new service which requires creating executables on the fly from executables generated in vb.net. For example lets say I have a form with a textbox and in that textbox we pass an argument which is for example the serial of the product, then we have a button which once clicked will generate an executable on the fly which has also a textbox requiring that serial to run? That was only an example but the main thing is how to generate that exe on the fly.
View 4 Replies
Jan 31, 2011
I've been looking for a way to do this for like two days now, and no luck.
What I want to do is get into the temporary internet files, find a certain file....
(^^^ I can do that just fine (using specialfolders, etc) ^^^)
and get the internet address associated with it.
See the attachment if you don't get my meaning.
View 1 Replies
Oct 15, 2011
we have our system running but our system needs to be modified because we did something wrong...we are doing an "Internet monitoring System" in our school library where the user can only access the internet 1hr a day, and he/she cannot use the internet within that day if he couldn't buy a time on a serve...every students should only have 20hrs time usage per semester...our problem is every day their 20hrs is being reduced in 1hr.. the rule is the time per semester which is 20hrs that is given to the students was reduced 1hr only if he uses the internet..but our system is reducing their 1hr every day.
View 1 Replies
Nov 22, 2011
I would like to get the number of copies of a job, in the que and limit the users if they print more than selected copies the the queue should pause it. not the number of pages in a job, the number of copies, and the second thing is , this code works on the local machine, how if a print is sent from the network, is there any way that I can pause that print wich is coming from the network or another machine, on the network, most of my printers are connected through ip, and some are shared printers.
View 4 Replies
Jan 9, 2011
An interesting feature, I have seen in jDownloader software is any links I copy in the browser window (i.e., Ctrl+c), the copied content links automatically appears ( i.e., with out me actually pasting it) in their UI and starts downloading the content from the links, if they are valid.I would like to program the same but am puzzled as how to access the variable to which OS copies.
View 3 Replies
Aug 26, 2010
I'm looking for a way to have my code build two copies of itself at once.The program has an "A" and a "B" configuration that need to be compiled as Prog-A.exe and Prog-B.exe every time the code is compiled. I can do this manually, but I assume there's some way to do it in code? What I'd like is to use conditional compilation to have the A configuration compile so that it runs a "setup as A"-type method on load, and the B likewise, and then have it compile both versions each time.
View 1 Replies
Jul 14, 2011
What I mean is, I would like to make an exclusive program, but I don't want it falling into the hands of someone I didn't give permission to.Or perhaps make it require a password to function, and be able to change that password for all copies whenever I want.
View 14 Replies
Aug 29, 2009
I am working with VB2008 sp1 and I want to use some of the Windows API calls. I need a copy of header files so that I can set certain constants to their correct values. Do I have to install sdk 6.1 and will this damage the sdk 6.0A that is already installed. I only use VB and I do not have any other language such as C+ or C# installed
View 6 Replies
Apr 2, 2009
i want to write a program to get nuimber of pages printed from a specific printer. i spent a lot of time for googling and i finally managed to get acode that is posted in this link given below [URl]..the problem with above code is its getting no. of pages printed but not getting no. of copies printed for eg: if no. of pages to print is 2 and no. of copies is 3 the total no. of pages printed will be 6. but im gettin total pages printed is 2 ie no. of copies is not getting
View 5 Replies
Nov 15, 2010
I already have barcode created for each stock. And when user click on the print button, it will prompt user how many copies to be printed out.How to do the print out of barcode?
Question Two How to code something to check how many copies of the current barcode size can fit in A4 paper?
I want to fully utilise an A4 paper size before a new A4 paper is used.
View 4 Replies
Oct 9, 2011
I've a Crystal Report of one page. Only one.
I want to clone that page, so when you print that report, you get 2 copies with the same data.
I know can be done manually, but i want to avoid of setting up the printer and write "Yes!, i want 2 copies of this".
Timelines ->
NOW ->
Use software, generate Crystal, go to in-built crystal viewer print button, write '2' in copies, print.
I WANT ->
Use softwre, generate Crystal, print dialog come up (this is done), you hit 'Enter' and 2 copies will be printed (a.k.a 2 pages which are the sames)
I looked up for sub.reports but i don't want them in the same page.
View 2 Replies
May 3, 2012
I have what I think is impossible to achieve. I am printing labels to a zebra printer. Each label is to be attached to an individual item in a batch. The client wants a separate serial number on each label.
View 2 Replies
Jun 21, 2010
[Code]...
i have 2 listviews in which folder and files are loaded. i'm trying to make a function that, when "Copy" button is pressed copies files/ folders between listviews (between folders "ex: from "D:path" to "E:pathsubpath"). the codes of file copy and folder copy both work but not if add the file.exists / folder.exists lines. if i put a msgbox instead of the filecopy/ foldercopy it displays "file exists" or "folder exist" etc. .. but if add the file copy / folder copy line doens't do nothing.
[Code]...
View 3 Replies
Mar 17, 2010
Basically the assignment says:Create an array that accepts user input. When the user inputs -1, stop the entering process.Check user input to circumvent bad numbers (numbers less than -1)Make two copies of the array (making sure the two new arrays are only as big as the amount of numbers the user input, might need a counter)Sort the first copy using any algorithmSort the second copy using standard array.sort method.Display all three arrays in a form.I have this so far, and I'm stumped as to where to go next.
asdf
Public Class SortingForm
Establishing Module-Level Variables
[code]....
View 2 Replies
Jan 12, 2012
I'm developing an application to monitor print queue and pause it to check some conditions, then resume or cancel print job. I can get total pages for printing document but can't get number of copies, how can i get this parameter.
Ex. If someone print 5 pages document for 2 copies, the total pages i got is 5 not 10 pages. (how can i get the real total pages)
View 1 Replies
Nov 29, 2011
I am Trying to get the exact number of copies of a print job but I can't here is my code, any ref,its urgent. the bellow code returns only one all the time. I am not sure weather is it the correct code I am using or may be something else.
NumericUpDown3.Value = defaultPrintQueue2.UserPrintTicket.CopyCount
View 1 Replies
Jan 15, 2012
I have an external harddrive and I usually backup my desktop with a cleanup folder which I usually move to the external harddrive.
The problem is: when I search for a file (i.e. example.mp3) I will find multiple copies which are taking up way too much space.
Is there an app or some code that can search for an extension (i.e. .mp3) and if it finds more than one copy of the same file, it can delete the extra file?
The reason I ask is: I have around 1300 different mp3s on my external harddrive and most of them are extra copies of the same mp3. When I search for the extension mp3 and I want to move all of the mp3s to a single folder I am prompted way too many times for overwriting or keeping the same mp3 file.
I need an app that can force the move without prompting and delete the extra copies; so, I am left with only one copy of each.
i.e.
mp3 files on external hard drive for backup:
song.mp3 > in one folder
song.mp3 > in another folder
[Code].....
View 12 Replies
Sep 19, 2009
We have a construction company and I am designing a program in Visual basics for it. This program is intended to be installed only on the computers in our office ( its not going to be distributed ). There is always a risk that one of our employees will take our software and distribute it . Is there anyway to prevent this. If not how can we make this as difficult as possible?
View 1 Replies