Search:
Type: Posts; User: conipto
Search:
Search took 0.04 seconds.
-
It's essentially 4 integers. Let the GC handle it. If this is causing memory leaks for you, you might want to reevaluate your logic a bit.
-
There's a few things I see wrong off the top of my head. First, you should start by passing in the type of the parameter as a string (I would assume string), then, you need to rethink your split...
-
Are they dynamically generated, or static on your form? If the first, you can dynamically add the event handler when creating the controls, if the second, select them all in the designer, go to the...
-
So, let's say I have sites.sitegenerator.com which is the root application of a .net based CMS system. I have several other websites pointing to the same server with different url's (site343.com,...
-
http://www.codinghorror.com/blog/archives/001016.html
That was a decent discussion on sanitizing HTML inputs. Doesn't really give a "here's how to do it" but some good food for thought -...
-
http://www.webservicex.net/whois.asmx
That was the first hit on google for whois web service.. any reason it won't work for you?
-
An hour. Also, the machine is set up with VS 03, VS 05, SSMS 05, pre-installed database, etc.. all IIS config done already, etc.
-
I'm trying to find some entry-mid level .net developers with some SQL experience. I have given them this practical test as a screener, but my HR person thinks it might be too hard. For an entry-mid...
-
You shouldn't be using response to generate asp.net controls. Let the framework do it for you with the controls collection of the page.
http://support.microsoft.com/kb/317515
if you need them...
-
I think you're building your SQL string wrong
try changing:
sql=sql & "MM_tableValues='" & MM_dbValues & "',"
to
-
Well, that would work, except I need the user to be able to undo deletions. Say for instance on load I read a set of records for this user from the database. The user can edit them and delete, but...
-
I am having trouble wrapping my head around the viewstate usage. Let's say I have a dataset I need to keep between various postbacks, why would this not work?
Assuming a gridview set up as such:...
-
Just do something like..
Me.BackGroundColor = Color.FromARGB(255,255,255,255)
Bill
-
Ah. Makes sense enough. It's ok that the keyboard doesn't work, since it's for a touchscreen app anyway. I dunno why I wasn't looking at the TabControl itself... I got rusty ;)
Bill
-
Hi,
I'm wondering if anyone can give me some suggestions on how to immediately give focus to a combobox on display of a tabpage. I tried setting it in the TabPage.Enter event, but it appears that...
-
The union all and the sum worked out well. Seems a bit wasteful to have to use two queries and so much "fake" zero data, but this app will never feel it, so thanks, that'll do :)
Bill
-
I am using Access, unfortunately, which means it won't allow me to use a Full Join. And though it doesn't support derived tables, I can just query a query and get the same result, I suppose. I'll...
-
Hey guys,
Suppose I have two tables with the same schema, and using one field of each, can I easily get the difference from both tables with a single query?
Something like
'Table A
ID qty...
-
Isn't the OSK a little small for a touch screen?
Bill
-
Does your database code work correctly? If so, then validating the input is easy. before you do anything else in the sub, just use the length property of the textboxes Text property before you do...
-
Using that overload will only work if you want to specify a point to search. In this case, if nothing is currently hilighted, the value will be the cursor. If you use
Private Sub...
-
Check out the Navigating event of the WebBrowserControl. It fires before a page is loaded.
Bill
-
Also, you can use the /C switch of cmd.exe to exit upon completion..
Process.Start("cmd", "/C " + "your command here");
Bill
-
You can handle the KeyDown event of the form and test for the A character like this..
Private Sub Form1_KeyDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyEventArgs)...
-
I really HATE that Option Strict is off by default. I just reinstalled a few days ago.
Bill
-
Dim I As Integer = 0
While I < ListBox1.Items.Count
For j As Integer = ListBox1.Items.Count - 1 To 0 Step -1
If ListBox1.Items(j) = ListBox1.Items(I) AndAlso I...
-
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vboriintroductiontoapplicationsettingstorage.asp
Here is an article on using Dynamic Properties. It should do what you...
-
Unless I'm totally misunderstanding you, you would just add event handlers for the events you want to handle after you instantiate the classes. For example, you might create a TCP received event (I'm...
-
Are you sure you didn't make that up ;)
Bill
-
What version are you using? In 2003 you could modify the Main() method like Kleinma says, but in 2005, they seem to object to even overloading the constructor because of the "my" namespace..
Bill
-
http://www.vbforums.com/showthread.php?t=399477&highlight=Wizard
Some of the discussion in that thread might be relevant. Essentially you would just use panels or some other type of containers...
-
First off, look at the post times, I was typing mine while you replied ;)
Secondly, I think "using" is a matter of personal preference. It causes more execution and the extra declaration of a...
-
I'm not sure what the point of having them in classes is, since nothing there really needs to be instantiated. I can tell you that ReadToEnd() creates a StringBuilder as it reads the file, and I...
-
I think your memory leak comes from this:
fileArrayList.CopyTo(outputArray);
Because arralists can also contain reference types, it's possible the compiler doesn't know to destory that...
-
This is going to be an inherant problem with any method you use when copying the screen. Some users may even have some type of Top-most app running like Office toolbar or something and that would...
-
Protected Overrides Sub WndProc(ByRef m As System.Windows.Forms.Message)
Console.WriteLine(m.ToString)
MyBase.WndProc(m)
End Sub
Would dump all the windows messages to...
-
Don't forget, when you set Landscape on that printer setting, your zero position may be off the paper. I assume like most printers, your small index card is centered when you print.. THe printer...
-
I don't believe any event is raised when a new line is added, however, there is a Lines() array in the RichTextBox control, so perhaps you could keep track of the number of lines and check it every...
-
Sparrow, I think it's bad practice to replace the users clipboard data..
Bill
-
I looked at your project, and none of your problem is with the listbox code or the refresh code. It's simply that in your second form that adds the entry, you create a new form1 object, do all your...
|
Click Here to Expand Forum to Full Width
|