I have a problem I want to make a server and client where the server is password protected and will make the client display files/folders in a designated folder which will be in the server's current directory and the client will ask what IP and password to connect to and if the password is correct is allows the client to access the files/folders in that folder in C.D. of the server and the client can download any file within the folder by clicking a button, yet don't even know where to start.
I want to transfer a file from one computer to another computer by giving the port number and IP address. There will be an other software waiting for the file to be received.
I have created a simple window forms application which link to microsoft access 2007 database.
I build the application exe file already. The exe file is run well on my computer, but when i transfer it by copy and paste the whole folder to another computer it cannot run. I am wondering why this happen? the error is as below :
"selected collating sequence not supported by the operating system".
Will it cause by the different .NET Framework version? How can i solve this? Or any others way to transfer the exe file to another computer?
i know that integer is a variable to store whole numbers and that a string is a varialbe used to store any text, but what variable type would you use to store a number that has decimals?
I am currently developing an application that will require each end user to specify a rather large set of tabular data specific to his/her own preferences. Each time the user starts the application, it will load this set of data.
what is the best way to store this data locally on the end user's local machine? Should I use XML, Access mdb, flat text files?
I'm using System.Management.ManagementScope to connect to a remote computer and install an MSI package. This works great if the MSI is located on the remote computer, but it fails if I try to use a network location to run the MSI from. The UNC path is correct because if I manually type it from the remote computer it runs fine. There must be a limitation (security I'm thinking) that prevents things from running via WMI if the exe isn't local to the remote machine.My last hope will be to copy the MSI from the network location, store it locally on the remote computer, then run it - but I'd really rather not have to do that.
make a application where I can store a lot of account information in a file on my computer. This is how it works so far.I have a class called "AccountInfo" with some properties such as Account Name, Password, etc... This is bound to a DataGridView via a Bindingsource. So basicaly what I'm asking, is how can I save/load all these accounts in my computer easily in a file or something?
Im using the following code to wrap html tags around text in a texbox and transfer the text to a single multiline textbox from form1 to form2.[code]My problem is that if for example textbox5 and textbox6 are empty i want the program to continue anyway.
I am coding a program that will allow the user to input 5 payrolls for Store 1, Store 2, and Store 3. The total of the 5 payrolls are then added together and shown in the respective Store's labels. A total label is also there to add up all the totals into one number. The numbers in the label must be in currency form. My problem is the numbers don't add correctly when I hit calculate. The first two numbers add together, but then after that the number just seems to subtract a random amount.
So far I have this --
Public Class Form1
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Me.Close() End Sub
I will use the Background Intelligent Transfer Service (BITS) to transfer files from a client (laptop) to a shared folder on a server within our local network.The problem is a very slow network bandwith, if we transfer a file, the other clients canīt work, all requests to other clients (application) or viewing internet pages needs a long time.My idea is to use BITS in my tool to copy/transfer a file from client to server, also I hope to get more performance for the internet requests.
Im brand new programmer and started out with Visual Basic 2010. And Excel 2010. I will probably ask lots of dumb questions, but if I dont ask, I wont learn. I want to know if there is an easy way to transfer text from a VB app to Excel? I made a small program with a few textboxes, and a "Send" button. I have a textbox where I want to put the name of the projekt for example "projekt1" I want my values to go to the excel sheet in specifik cells and then the sheet be saved as "Projekt1" if I named it that.
Next time I open my app I want to load the values or make a new "projekt2" and it will be saved as "projekt2" I know u guys cant give me the code for this but if we take it small part. First, transfer values to Excel, How? Any tuturials on this somewhere.
i want to send a text from my computer to another(1 or more...)remote computer and to receive text from these computers.how can we do that in visual basic express edition 2008. do you have the source code for this...
My scenario is this; I'm doing a project on a vet and I have a form for the vaccinations that can be given. Each vaccine is assigned to a checkbox. What I want to do is, when a checkbox is checked, the required vaccine is added to the listbox. Also when numerous checkboxes are checked, I want all of the values to appear in the list box (the list box then gets saved to a database).
The only thing i've managed to do is; when the checkbox is checked it gets added to the list box. But when another one is checked the 2nd value replaces the first, in the list box.
I'd like to take information from a text file I 've created so as each line in the file corresponds to one cell in a row in a grid using DataGridView. I'm having trouble doing that.[code]....
The feature I'm trying to implement allows the user to press the down-arrow key and "tab" through different features on the form. Is there a way to use the keyPressEventArgs or something similar to catch that? Is it necessary to delve into hooks and processes? And if so, does anyone know a good resource for a beginner?
I'm having problem with keystroke detection, I want to detect only "enter" and "I" keystroke.If you press "enter", it will automatically close the form the datagridview located and send data to other form, I'm using keydown function, but I don't know how to detect only "enter" and "I" keystroke, usually I'm browsing datagrid with tab button, but when I press tab, it also closed down.
I need to stop the keystroke event when I pressed a particular key. E.g.: If press alt+tab key then that keys should not perform that operation, that should operation should be stopped. I captured that particular keystroke, but I want to know how to stop that particular operation.
I'm trying to send a keystroke to a window (of an external executable) but am having problems.
If I launch the exe with a window I can successfully send it a "q" (in order to make it exit) using the follow:
1) AppActivate and SendKeys
2) SendMessage API using WM_KEYDOWN and WM_KEYUP
3) AppActivate and keybd_event or SetForegroundWindow and keybd_event
However, if I launch it without a window, obviously method 1) does not work as SendKeys only work on applications with visible windows, but I thought that method 2) would work. However, it doesn't. Also, using method 3) with SetForegroundWindow as this seems to only work with visible windows, which is not really a surprise I guess, given the name.
Another method I have tried, which won't work is using the RedirectStandardInput - I have this working correctly, but the application is looking for keyboard events, not writes to its StandardInput stream, so this doesn't have any effect.
Finally, I have tried using SendMessage and FindWindowEx, and TranslateMessage, to find any child windows or controls that should be receiving the messages, rather than the main window. However, no child windows or controls are found, and I wouldn't have thought this would be the solution given that, if the window is present, the main window receives the message as it should.
So, I have confirmed that the messages are going to the correct window, as they arrive as they should when the application is launched with a window, but I cannot get the application to receive the message when it is window-less. The solution doesn't have to involve messages, or even be particularly robust, but this is what I have tried so far (all the obvious stuff!)
Problem: Form hasn't fully initialize but shortcut keys can be usedDetails: Launch an mdi child with database access retrieving data, and user is already using the shortcut keys while the data is still been retrieve which results to error since object hasn't fully initialize yet.
Goal: Hinder user from using shortcut keys by disabling the keys at initialization then enabling it after all objects are good to go.
Another Situation is:A form with a gridview and a button.I got a hotkey that when press, handles a gridview getfocus event.
The problem is that the gridview is still making its instance and when press the hotkey, it activates the getfocus property of that gridview(which is still creating its instance).
I've got a very simple screen saver program that displays alot of stuff in pictureboxes and labels...dynamic display. I want to end the program on any keystroke or mouse movement. I've placed the statement "me.close()" in Public Sub Form1_KeyDown routine (Form1/Events). Nothing happens when I type though. I've seached the forums.....keypreview is true....
I'm trying to send a single keystroke to an application that has no window (because I have launched it with StartInfo.CreateNoWindow = True) and therefore I can't use SendKeys. I had a look at SendMessage but this doesn't seem to be quite right as the programme I'm sending it to doesn't process message queues.I would usually use the StartInfo.RedirectStandardInput property and send it via a StreamWriter but this doesn't not work as the application it is being sent to is looking for actual keyboard keystrokes, rather than pulling info from StandardInput (an old C++ programme using getch). Anyone have any ideas how to send a keystoke to an application with no window (FYI I don't need anything back from it, I don't need to wait until it's processed, and I only need to send one letter and no carriage returns or linefeeds, though these wouldn't hurt)
i want to do is i need to store two text box value to single text file..i hav checked other soluttions bt can't figure out wats goin wrong with this code..[code]multiple times in more than one text boxes???? n is it possible to store more than one data in the txt file? for an example i want 2 store phone number, message.