VS 2008 How To Block The Computer During A Save
Aug 2, 2010How can i make the computer to block while the user is doing a save to the application i'm building?
View 5 RepliesHow can i make the computer to block while the user is doing a save to the application i'm building?
View 5 RepliesI am trying to block for the user who click save without choosing a picture image for the picturebox. Below is my current code.
Private Sub Button_Save_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button_Save.Click
''/*##########
'' Do something for empty image is provided. If it is null, then .
'' #########*/
[code]....
Problem:When my computer restarts my mapped drive appears under My Computer. When I try to use it from code I get errors. If I open the mapped drive by double clicking it, and then try the code, it works. What I discovered is that when my computer starts the status, using net use, is
[code]...
How do you share files from one computer to another that are connected in one wireless internet connection? I mean, it's possible using shared folders this means it could be possible in vb.net too..
View 1 Repliesi am making a program that saves and loads simple RTF files from my computer to others, i am woundering how to do this. The thing i was worried about was the seccurity but i think i have it now, im using a program called Hamachi that gives you a IP through them that links to ur computer w/o accually giving out your IP. So is there anyway that i can do this? here is what i have now:
If EmailTxt.Text = "" Or PassTxt.Text = "" Then
StatusText.Text = "You cannot leave anything blank!"
ElseIf Directory.Exists("C:MJA" + EmailTxt.Text) = True Then
[code]....
I want to download from the web a xml and save it into my computer. How can I do this?
View 1 RepliesI have webbrowser1 whihc is used to download files on my server in the background (invisible)but when its an external link (which could be any filesharing site eg, rapidshare, mediafire etc)a new tab shows called "external link" with the webbrowser1 visible, and of course mediafire, rapidshare visible/navigated.how can i close this "external" tab when "save as" has popped up from computer?i cannot do it any other way as all filesharing sites are different.i already know how to close the tab, just need some sort of event handling on this part.
View 1 Repliesim doing a login i have finish it but you can close it by using alt+f4 so i need to block the alt key im using vb 2008
View 2 RepliesI'm making a program but I don't want people to abuse it, it loads a site and then refreshes it. People can abuse this by getting views for a game and what-not. What code can I use so that the webbrowser only loads the homepage and not some thing like
View 4 RepliesI have a block of code in an application I have written. I have tried two different variations.Below are examples of the method I used: [code]
The second example adds only three more lines of code. Yet, the app would run at about 10% of the speed as it would in the first sample.
I have this block of code that splits txt/csv files. It is working just fine but its a but "ghetto"
[Code]...
I want to create a block list for my web browser project. I want to create a listbox that the user can add websites to then when the web browser is ran on the main page if the web browser try's to connect to a web page that's in the list box it will be redirected? I've tried using this code :
[Code]....
When I exclude a block using #if #endif in VB.Net there is no visual evidence that the block has actually been excluded unless I indent the block and it does not return to the left margin. I checked the active settings for Fonts and the Excluded Code colorization is identical to that of C# and C++. However, the block is not colorized at all. VB clearly knows the block has been excluded, but I cannot figure out how to get the block highlighted as it is in C# and C++.
View 3 RepliesDo both of these algorithm work only with a 128bit size block size?
View 3 RepliesSometimes my MySQL-commands hangs forever without throwing any exception. I've tried setting both command- and connection timeout for my connector, but it still hangs sometimes.Does it exist some kind of timeout block? Like, if the command hasn't been executed within X seconds, then continue.
View 2 RepliesIs it possible to start a timer on a separate thread so it doesn't block the user interface, or do I have to make a thread that I call from the timer?
View 2 Repliesi have a favourites drop down butten, when i use the webrowser it doesn't save the "favourites" onto my computer, how can this be done?I like.....
Understandable Answers
1 2 3 4 5
- - - - - Rate yourself And Have A Kitkat
5 5 5 5 5
I'm trying to make it so the the images will save to the folder that you selected in the textbox1.text from the folderbrowser this is the code's I have tried
[Code]...
so i have a quite huge program. but lets say i have one label. and i want to save that. i have the code and everything for saving the text of the label. now i want to assign ctrl+s to automatically save the labels text once pressed instead of going through a menu to choose save.this is like a regular texteditor where u press ctrl+s and it saves.
ive used this
If (e.KeyCode = e.Control & Keys.S) Then
MessageBox.Show("Ctrl+S pressed")
End If
and
[code]....
but it doesn't do anything once pressed.im also using the keydown declaration for the form.
I have researched the net, youtube, and the msdn DB, and still can not find the working answer I am looking for. I would like someone to show me how you would save the contents of "Listbox1" to a .txt file using the "Save As" Option. I know how to hardcode a savepoint in, but since there will be multiple users I would like the option to be up to the end-user.
View 4 RepliesI want to make a save button to save to a new text file with the data in the text box if modified. Currently the program just opens Data.txt and displays a sentence in the text box.
Public Class frmAddress
Private Sub btnDisplay_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDisplay.Click
[Code]....
My question is simple (the answer may not be...), What I am looking for is a way to save a file as an encrypted file (so know one can open it except in visual basic or a way to save it with a unique ending that only visual basic will recognize. I will also need to know of a way to open or load the file to.
This is going to be used in a game I am working on (and yes...I know visual basic isn't really meant for games, but it is coming together pretty well). I was originally going to have it save as a text file, but then everyone could open, read it and even change there stats. That is what this file will contain, the stats for their character, and when they load it, it will place the values into the correct spot.
I am a partial beginner or intermediate coder, I can understand code, I just don't know all there is, like saving and loading, and this is probably a little harder.
I am working on a form that save contents of a TextBox as a txt file, but I want to make my own file type, with the extension .rcp. How do I get my save Button to save as .rcp by default? [code]
View 2 Repliesi have a task to create a TCP Server (a program that is listening on its network card interfaces for incoming data stream).I have search on the internet and i found that i can use two methods : Socket or TCPListener class.I have created an example for Socket class, but i wondering how could i test it? I need to check that if another computer in the network send some string data to the listener computer , then this message should be displayed.Here is the example from microsoft that i am using for TCP Server using Socket:
Public Shared Sub Main()
' Data buffer for incoming data.
Dim data = nothingc[code]....
But it does not work because of the PORT setting.If in the TCP Server i have "Dim localEndPoint As New IPEndPoint(ipAddress, 0)" the client crashes, but if i change the port from any (0) to 11000 for example,the client works fine.Do you know why?
Later edit2:Maybe i should have started with this question:Which method is recommended for my scope?asynchronous or synchronous method ?
I am developing a computer application designed to monitor the network and CPU statistics on a computer remotely. The monitored computer would have my program installed and the monitoring computer would display, in a form, the information being sent from the remote client.The application does not send any information regarding packets, user names, passwords, etc. It is solely meant for monitoring CPU performance and Network resources remotely.
What would be the best method to send this information over to my host machine?I am programing in Visual Studio 2008 on windows XP. The client machine is also XP. I know this sounds a little shady, but it is required for my little business (http://www.iquorum.net) to monitor what and when something happens on our machines when I and my employees are away.
I am trying to dial a computer from another computer using Modem for sending files and messge.Follwoing is the code done in dialing computer
Text1.Text = "Test string from App1 "
Number$ = InputBox$("Enter phone number:", "Number$")
If Number$ = "" Then Exit Sub
Temp$ = Status
[code].....
But after the dial tone, i am getting the exception "CTL_E_GETNOTSUPPORTED " at the line MSComm1.Output = Text1.Text?
i have encountered a problem, i want to access the data coming to the computer from the in-built bluetooth module of a computer on windows platform, this data has been sent by a remote bluetooth module say a by an autonomous device (just like a bluetooth mouse connecting to the computer). The to be sent is in the form of numbers and i need these to manipulate on the computer.
View 6 RepliesI have a desktop computer with a cable connection on the back that allows me to watch TV on the computer using Windows Media Center. I had the idea of writing a program that would access this feed and send it to another computer (laptop) via my network. That way I would be able to watch TV from anywhere that my network spans. I have no idea if this is possible or how I would even do it,
So I have three questions.
1: Is it possible?
2: How would I go about access the feed?
3: How would I send it over the network?
My original thought was doing it in Flash, but I'm not very good at Flash so I wanted to do it in VB.Net.
I need to copy a file from a local computer to a remote computer on the network, if i try to use File.Copy without logon i get the following error:"Logon failure: unknown user name or bad password."How do I provide user name and password for file copy?
View 2 Replieshow can i look up for a specific computer given ip or computer name ...retrieve the user logged on..
View 2 Replies