VS 2008 - Setting Password On Folders Running In Background?
May 23, 2009
Is it possible to make a program, that can set passwords on folders if it is running in the background? If now I open I my schoolprojectfolder, there will come a box, where you must type in a username and password. If the username or password is wrong, det folder wont open?
View 2 Replies
ADVERTISEMENT
Oct 12, 2011
I have a picturebox image for the form and added a label on top of the image, i have it set the background on the label to transparent but its not transparent. How do i fix this ?
View 2 Replies
Jun 29, 2010
I am connecting to a Microsoft Active Directory server in a DMZ from my .net application (asp.net VB .net 4.0). I need to create a new "inetorgperson" in an orgunit called "SingleCustomerAccount".
I have had to use the System.DirectoryServices.Protocols namespace for all the work, because the ADSI classes (System.DirectoryServices namespace) wouldn't work across the DMZ properly.
Anyway it's been working fine connecting to Active Directory on Windows Server 2003 R2; however we're running tests against Active Directory on Windows Server 2008 R2 (2008r2 in native mode for forest and domain) in order to upgrade.
My existing code to create a user does not work.
System.DirectoryServices.Protocols.DirectoryOperationException: The server cannot handle directory requests.
at System.DirectoryServices.Protocols.LdapConnection.ConstructResponse(Int32
[Code].....
View 2 Replies
Jun 6, 2009
the user of my application is able to run a diagnostic tool which is part of my application. This diagnostic tool searches every file on the computer, logs the names, and if the my program is able to then the file will be read.
My program has other uses as well. If the user wants to do something else in my program then i want the diagnostic code to run in the background. I don't want this code to prevent users from using other features of my application since the diagnostic search does take time.
How do i do this? Threading? A background worker? If the anwser is Threading which i am pretty sure it is, how do i set up a thread? My computer has 4 GB of RAM - 2GB & 2GB so i know i am able to do this smoothly.
View 2 Replies
Jun 30, 2009
When you click a button, the program should start op everytime your computer starts, but it must be in the background, so that you wont notice it.
View 4 Replies
Jun 9, 2009
Im trying to run a thread in the background. The sub would take a string as as input and the text to speech object would read the string.
1st problem is: How do I pass my value strIn to my sub SpeekEventWorker when im calling it like this
[code]...
View 10 Replies
Feb 4, 2010
I think it's because I have a background image. For example when I maximize the program it lags. I mean big software companies have programs that have more pixel images and are much more colorful then my program is but never lag why. AVG has nice look but the program never lag. But the code runs fine so that is a good thing. How can I stop the lag with background image?
View 1 Replies
Jan 7, 2011
is it possible to set pen drive as boot device through vb.net
View 9 Replies
Feb 1, 2010
It appears that when IO.Directory.GetFiles tries to read a folder that it doesn't have access to it throws an exception & stops reading. Is there any way to have skip those folders & continue reading the rest of the folders?
View 1 Replies
Jan 27, 2010
how to add the Uninstall option in the Start--> Programs, during setup and deployment of an application?
View 4 Replies
Mar 11, 2010
i'm trying to set a password in my database using vb.net.here's my codes..
Private Sub btn_ok_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_ok.Click
Dim chkpass As Integer
Dim strsql As String
[code]....
View 1 Replies
Aug 13, 2009
I want to set a password to my database..I used DAO to access a database..It is MS-Access 7.0 Database..I searched lot of forums, but i found only with ADO..I tried this concept with DAO.. But i couldn't get.
View 1 Replies
May 17, 2011
I have an existing zip file. I would like to set a password to my existing zip file. I know how to zip, unzip using SharpZipLib. I am wondering, Is there a way to set a password without extracting and re-creating the zip file with password?
View 3 Replies
Dec 11, 2009
Im trying to set a background image for my Form. The problem is that the form contains textboxes, groupboxes, labels and panels, so I have to manually set the picture for each type of objects. That looks weird though because you can tell that the same picture has been placed a lot of times for each object. Is there a solution to this?
View 4 Replies
Jul 14, 2010
[code]How can I set the BackColor of the form? How can I use an RGB value?
View 3 Replies
Aug 25, 2009
in vb.net 2008 express, is it possible me to specify an image that would be in the background of a taskbar?
View 1 Replies
May 12, 2011
So I have this in my coding:
vb Code:
file = My.Computer.FileSystem.OpenTextFileWriter("c:command.bat", False)
file.WriteLine("@echo off")
[code].....
View 7 Replies
Nov 15, 2010
In the UI of my winForm I ask the user for a user name and password. I store this password as text in the Settings (the .settings file) of my project. The app is a visual Studio Add-in How can I encrypt and decrypt the password before and after I enter it into the Settings file? I don't really need anything fancy. It's just a little in-house app. But I'd like to know all my options
View 3 Replies
Mar 5, 2012
MVC3 VB.NET application using Itextsharp. I have a section of code that generates a pdf file everything looks great but I would like to alternate the line colors in that pdf file between 2 color so that the values are easy to follow for the person looking at it. Is there a way to set the background color of a whole line based on font size to a set color? A function I would be using this in is below:
[Code]...
I thought about just setting the background color of the line by using the y_line1 and using a modulus to determine if the color should be grey or white. But I have found no code samples anywhere about how to set a whole line background color..
View 1 Replies
Nov 11, 2009
I have a problem when i opened a picture that
size image < size picture box
How can make the background of the picture box become an image too because my coding was to get the pixel from width and height picture box.. When I found the none image property, vb will show the error.. said coordinate(x,y) was null. It can be illustrated like on the picture above.
Sometimes I will used it when:
picture properties - size mode = center image
So the picture will found at center height and width.. and the background will surround it. Sometimes I used it after rotating the picture.. The problem occur when the picture get rotate for 45 degree. I am taking all point corners of the image and rotating it. So the picture will create 4 triangle at the corners..
View 2 Replies
Apr 24, 2010
Is it possible to have code running in the background and still be able to use other parts of the program (i.e. firing other events).For example I have a instant messaging chat in my program and when the user has a new message then the display flashes from green to red as seen below
[code]...
But I still want to be able to continue using the other functions in my program despite having this code running in the background (which highlights to the user that he has a new instant message by changing the display background colour)How can I overcome this?
View 6 Replies
Mar 20, 2010
Is it possible to run my application in the background so there is no minimised window on the bottom bar and, if possible, so an icon appears in the taskbar? If so, how would I do it?
View 2 Replies
Mar 16, 2009
I'd like to create an application that will run on the background. Any sites that I can refer to or idea?
View 3 Replies
Aug 2, 2010
I have an application where some data is stored automatically to Excel. However during the storage of data, the Excel spreadsheet is visible to the user. I need to know if there is any way to make the Excel run at the background.
View 1 Replies
Jul 20, 2010
I have a class that wraps up a few methods (e.g. OpenPort, SendMessage etc.). Some of the methods accept a number of parameters and return a value (e.g. SendMessage accepts port and a string that is the message to be sent and returns true or false depending on whether the mesage was sent successfully or not). I create an instance of my class when my form loads and I call the various methods throughout the lifetime of the app.In my SendMessage method there is actually a few steps that involves a delay as I send commands to an instrument and wait for a response. I'm using the AutoResetEvent class to synchronize things. Whilst this works ok I've noted that the UI is unresponsive during the wait period.
Public Class MyClass
Private _receiveNow As AutoResetEvent
Public Function OpenPort(ByVal portName As String, _
[code].....
View 2 Replies
Dec 31, 2011
I have very new to VB. I was just fiddling and ran into this. I cant set the text alignment of a text box twice with the focus events as well as cant set or reset the password char property. The code is given below:
Private Sub tbxLogin_LostFocus(ByVal sender As Object, ByVal e As System.EventArgs) Handles tbxLogin.LostFocus
If tbxLogin.Text = String.Empty Then
'tbxLogin.ResetText()
tbxLogin.ForeColor = Color.Gray
'tbxLogin.TextAlign = HorizontalAlignment.Center
'trying to align the tbx gives it focus
[Code] .....
View 1 Replies
Jul 26, 2011
I am trying to write up a program that has a few forms that you interact with and do various things with but I also need to have a TCP/IP client/server running in the background to handle a automated connection to a PLC. Is there anyway to have the TCP connection open and receiving/sending in the background even when the operator is doing something else?
View 1 Replies
Nov 10, 2010
I am working on a project and i have come to designing my splash screen... i dont want a useless one what just shows a loading bar what does nothing, im trying to make it useful and show while the main form is loading however this is proving to be a pain in the backside.. i can make the splash screen load when the exe is executed then close when the form is ready but i want to add an animation to the form (just a moving logo) this is just done by me running an timer what changes the location at each tick.. i can get it to work well on its own but when i add frmMain.show() to the code to load the program the animation will not work... i only get this when i ask the program to load the main form..
View 2 Replies
Sep 21, 2010
I m developing an application in vb 2008, and using background worker to copy file(s). I have my own designed form which plays an animationon on the top of the form along with copy. For playing animation i m using "AxMSComCtl2.AxAnimation", on execution i get
"ActiveX control '' cannot be instantiated because the current thread is not in a single-threaded apartment." On search i found a link :Forum Link
But still in this link Firstly i dont understand where to insert this snippet and secondly how to implement the idea on background worker.
View 2 Replies
Jun 2, 2011
Is it possible to start an application not being visible? This application is a batch application and my application would look way better if I could hide this batch.
View 2 Replies