Search:
Type: Posts; User: digioz
Search:
Search took 0.03 seconds.
-
Can you show with an example the prefered way of terminating the thread in this case?
Pete
-
Hello All,
I have a threading related question as follows.
This works:
Public Class Class1
Sub New()
End Sub
-
Ok, I found the final answer to this problem. Here it is:
Here is the first solution:
Try
For Each tempControl As Control In Me.Panel1.Controls
...
-
Ok, after much testing I determined the cause of the problem in the above code to be the following. When a custom control is dynamically loaded and added to a Panel, it is assigned a semi-sequential...
-
Thank you mendhak. I tried the following using the "FindControl" method:
Dim ctlWebUserControl1 As WebUserControl1
ctlWebUserControl1 = Panel1.FindControl("WebUserControl1")
...
-
Thank you Harsh. I am getting the following error with your code though:
'Value 1' is not a member of 'System.Web.UI.Control
The other issue I noticed is that even if I take that line out,...
-
Hello all,
I have a custom control which I am loading dynamically at runtime and adding to a standard panel like this:
Public ctlCustomControl As Control
ctlCustomControl =...
-
Oh, and I should also add that the instance of the control populates a panel (similar to forms populating panels).
Pete
-
Hello Nick, and thank you for your feedback. The actual custom control in question is a custom tab control that consists of a single panel, and 2 buttons on each side (one on the very left and one on...
-
Normally I would agree with you. But in this case the "ClientSize" property shows the exact same value on both XP and Vista! Which is why I decided to make it theme specific. It would seem that the...
-
Found the answer. You can fingure that by reading keys from a location in the registry.
The location is:
"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ThemeManager"
...
-
Hello All,
I am having some issues with the border thickness of Windows Forms on Windows XP vs Windows Vista:
66699
As you can see with Windows Vista Basic Theme the border thickness is...
-
Well right now it is not even ordering the resultset at all! It just displays the resultset in ASC order of ID (exactly as it shows in the excel sheet. :(
Here is the function I am using to get...
-
I actually already have that in there, but still no luck. :(
Yep. It's actually a date type field in the Excel Sheet.
Pete
-
Hi,
I need to order an ADODB recordset result read in from Excel by an Excel Date Column. Here is the Query I am using:
SELECT * FROM [Sheet1$] ORDER BY [Date Field] DESC;
But it is...
-
Yeah, that would be my last resort. :sick:
A co-worker said something about "Signal Interrupt" and "Signal Handling" that may be able to do something along the lines of what I need. Anyone know...
-
That's kind of what my original question was, to either do something from the connection object or the parent portal form to the subforms to stop them from continuing to execute. The problem is I...
-
I didn't explain it well. Your suggestion would work well if all I wanted to do was to break out of the while loop. Here is what the overall layout of the application is:
1- Sub Main initializes a...
-
Basically the form uses a class which establishes a TCP socket connection to the server. Sometimes due to "hickups" in the connection, during the send routine the "WaitOne()" call goes into an...
-
Hi,
I am looking for a way to stop / interrupt the execution of a subroutine on a form, based on an even that fires. So basically:
1. User clicks on a button.
2. Button calls a function or...
-
It looks like the issue was being caused by any new Windows Forms that are added to the project using VS 2005! If I simply copy an existing VS 2003 created form, rename all reference to it in both...
-
Does anyone have any idea what could be wrong with this? Anyone?
Pete
-
Hello all,
I am trying to compile a simple VB.NET Windows Form project which was converted from VS 2003 to VS 2005 using the .NET 1.1 framework from VS 2005 by utilizing MSBee. Based on the...
-
I see the initial key names and values in the app.config under "userSettings". But when a user changes the default value for the keys, it doesn't save the value back to that file (it keeps a seperate...
-
Thanks for the useful hint Atheist. I wasn't aware of this feature. Does anyone know where in the registry the setting name and value are stored. They must both be encrypted, because a regular string...
-
Thank you very much for your help. I will have to spend some time on both those ideas to see if I can make them work, but either way, you have been very helpful.
-
That's a nice trick! I never even though of that one. :)
I do get a permission denied error when I try to run the above though:
Error Type:
Microsoft VBScript runtime (0x800A0046)...
-
Actually I tried to print to a printer on the client side first. But the problem is it prompts the user to select the printer (where I wanted to print to the client side printer directly). So that...
-
Hello Everyone,
I am looking for a way to send a string or document directly from the server to the local printer (sort of a print without prompt), when a visitor visits an ASP page. I have...
-
Yes, you would have to type it exactly as show bellow including the single quotes:
Username: ' OR ''='
Password: ' OR ''='
What this will do is to alter the SQL query string by "injecting" the...
-
I just want to post a WARNING to anyone that intends to use the code in its current condition, as it is vulnerable to SQL injection in its current state.
To demonstrate what I mean, try entering...
-
Hey Pirate,
I hope you don't mind. I made a few changes to your login screen:
1- The actual password textbox is now masked by a " * " when you are entering it.
2- I password protected the...
-
Here is the same thing in zip format. Great code by the way. :)
|
Click Here to Expand Forum to Full Width
|