Search:
Type: Posts; User: CrystalAnnoysMe
Search:
Search took 0.06 seconds.
-
October 7th, 2010, 03:09 PM
Got a little issue with a small program I'm writing. I'm attempting to run different tasks in there own processes, waiting until each is done while keeping the UI responsive. So far it works...
-
August 12th, 2010, 09:22 AM
No idea...sorry. As someone else suggested you might want to jsut start a new thread for that.
-
August 10th, 2010, 09:03 AM
Here's my WriteRegistryValue function:
''' <summary>
''' Writes a value to the registry.
''' </summary>
''' <param name="MainKey">Main key to reach as a registry key such...
-
August 9th, 2010, 02:45 PM
1) Are you using my code sample above? If so then no it probably isn't working....the WriteRegistryValue() I have above is my own function for writting registry settings.
2) Fixing the above will...
-
Ran into a slight issue...its working but sometimes, and I'm assuming its a side effect of the show dialog, the calling form gets pushed beneath my main form. I changed the code around so I don't...
-
The WaitingForm is always 34 x 34....it will not change as my icon is 32x32 and the extra 1 on all sides is the border. So the way I have done it gives the same results as your code but not as...
-
Yeah, I can't do things on the form activate as it my repopulate things so I'm working on that. And yes teh .ShowDialog works well since it's on it's own thread which forces it in from of...
-
See attached...it's more complicated but a lot cleaner and easier to call as you dont ahve to recreate the form on each data screen. I'm looking at 20 some forms so I need reusability.
Just...
-
Found a decent work around. I'm putting the waiting from on it's own thread and just killing the thread when I don't want it displayed. No timers, no global variables back and forth, call it with...
-
Here is how I want this to work. I call something simple like "Call DisplayWaitingForm(me)" at the begining of a form load statement, the waiting form pops up, and at the end of the load statement I...
-
Maybe someone with more VB.Net knowledge can answer the .ShowDialog question but here is what happens:
WaitXtraForm is set to TopMost and CenterOnParent. If called with a .Show it will ignore the...
-
Think this will work.
Module WaitingFormModule
Friend myTimeInTenthOfASecond As Integer
Friend LeftEdge As Integer
Friend TopEdge As Integer
-
This doesn't seem to work well either as I want the aiting form to "Center On Parent" of the new form being created. I WANT the new form behind the waiting screen. I.e.
MainForm calls the...
-
No, that's not doing it at all. For example
MainForm calls DataForm. In Dataform's load even we have something that takes 5 seconds. I want to do this:
Private Sub DataForm_Load(ByVal sender...
-
I have a large VB.Net 2008 rich client database app and in it some screens take a bit to load, 1 - 5 seconds and two of them take up to 15 seconds. Right now I have a me.hide in my form load, I do...
-
January 22nd, 2010, 09:42 AM
http://msdn.microsoft.com/en-us/library/b9z4eyh8.aspx - My.Application.StartupNextInstance Event
In my ApplicationEvents.vb:
Private Sub MyApplication_StartupNextInstance(ByVal sender...
-
January 22nd, 2010, 08:22 AM
Yeah I suppose I could do something like that...I guess the question is how far the second app gets into loading before it's killed for a single instance app. I'll have to play with that to find...
-
January 21st, 2010, 08:53 AM
It's a basic database app. VB.net 2008 SP1 / .Net 2.0 interfacing to a SQL 2005 database. There is nothing in the program currently that "listens" for messages and if a solution isn't that easy to...
-
January 21st, 2010, 08:00 AM
Creating my own service is a bit beyond what I want to do. This is a little ClickOnce app and I'd like to contain everything it needs to do within itself.
I thought there was a way to do this, I...
-
January 19th, 2010, 11:37 AM
Here's what I'm looking to do. I have a single instance database app that emails out notifications. I would like to add a link in the emails that when clicked would open up the app and go to the...
-
January 4th, 2010, 05:11 PM
Hrm...to search for a user? I suppose you would pass the part to search for to the same directory searcher with a * for the wild part then get the results back. If the results are 0 then no match,...
-
January 4th, 2010, 11:22 AM
Sure. I setup a user in Active Directory that I delegated to manage the user OU. In this example I'm calling the user "MyDelegateAdmin", my domain is "MyDomain" and this users password is...
-
September 25th, 2009, 12:32 PM
NM....finally found a answer here: http://social.msdn.microsoft.com/Forums/en-US/vblanguage/thread/89564a1a-a96c-4b44-8030-8c0898a8f0f8
And I was doing my ParameterizedThreadStart wrong which I...
-
September 25th, 2009, 11:26 AM
I have used delegates multiple times over the years but for some reason this very simple code isn't working:
Form has one button and on textbox. Simply trying to update the textbox from another...
-
August 24th, 2009, 07:29 AM
Imports System.Runtime.InteropServices
Module GeneralFunctions
<DllImport("UxTheme.DLL", BestFitMapping:=False, CallingConvention:=CallingConvention.Winapi, CharSet:=CharSet.Unicode,...
|
Click Here to Expand Forum to Full Width
|