This is probably basic but...
I'm creating a class that I only want certain values passed to it.
For example in the MsgBox class:
msgbox("Prompt",button) where the button can only be certain types.
I would like to do the same thing:
className("Value1","Value2",something.Yes {or...
I've been tasked with creating a login control for the toolbox so that the rest of the developers can use the same control for apps that require logins.
I've never creted a control that would be put into the toolbox nor have I ever created a control that would store a response.
I need to...
I feel like an idiot.
Of course I wasn't doing anything in the DoWork method. Why would I? grrrrrr...
Works perfectly now.
Thank you for your patience.
Ron
Here's my code:
Private sub MyApplication_Load(ByVal sender as Object, ByVal e as System.EventArgs) Handles Me.Load
' This shows the form
ShowProgressForm()
BackgroundWorker1.RunWorkerAsync()
' This does all the stuff in the background
StartMyLongCalculation()
End...
Maybe I'm just not understanding but...
What I'm trying to do is show a form while a background process is running. Similar to a progress bar but not a progress bar. We have a form that has an animated gif (customer request) and that's it. no other controls. They want this form to show...
I'm using the sample Screensaver in VS2005 and I want to alter it to do 1 thing and I cant figure it out.
If the screensaver has been on for more than 2 minutes, I want it to do a forced logoff on the computer.
Any direction would be helpful
Thank you
Ron
I have a small app that creates users in bulk in AD.
Everything works beautifully except...
The FullName appears as the sAMAccountName.
When you open AD Users and computers, the samaccountname is what appears in the name column.
How can I get the First Name and Last Name to appear as the...
Thank you.
I've tried that. Here's what my problem is:
I have a project called PROJECT1
The Path is: MyDocuments\Visual Studio 2005\Projects\PROJECT1
Inside is another folder called PROJECT1 and the SLN and SUO files
If I rename the project to PROJECT2 I can change EVERYTHING from the 1st...
I have a project that I want to copy to a different folder on the same machine.
I want to have both projects. I'm at a point where I'm not sure which "Path" to take and want to try both.
How can I safely and completely copy a project? I want to change the names of the folders, project...
I have an MSI that was supplied to me by a vendor. In order to install it I need to use command line switches.
Is there a way I can create a new MSI that runs the old MSI with the switches?
I need to use Group Policy to deploy the MSI and GP does not allow switches.
Thank you for your...
This is probably a strange request, but....
I created a fairly large Wizard. I have literally hundreds of objects in it. In VS 2003 I could print part of the code behind page that defines the objects so I can search through it for issues (naming convention, etc...). But in 2005 they are...
Repost: I put it in the wrong forum first.
I need to search LDAP for user accounts that have been added or changed.
I think I need to search for the whenCreated and whenChanged attributes.
When I search for these on a specific user I return a Date/Time value. Now I need to return all users...
If you add an App.Config File and put in the following line in the configuration section then compile the app in Debug mode, when you run the app and it crashes you get the option of debugging it. It opens the app in VS.NET and shows where it is crashing.
<system.windows.forms...
go ahead. it's ok.
Nothing changed. I run it in debug mode then build the project, install it and run it. Works in debug for large databases but not in production.
I'm about to give up. It's really frustrating me. I can't believe I've spent all this time and I'm not even getting paid for...
AARGH!!!!!!!!!
It works in DEBUG but not in PRODUCTION!!!!!!!!
What gives?
I install the finished product on my machine and I get the timeout errors again. I know it's got to do with the SQL object.
Why would it lose it's connection when in production but not in debug?
GRRRRRRR!!!
Ron
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.