Search:
Type: Posts; User: ForumAccount
Search:
Search took 0.09 seconds; generated 59 minute(s) ago.
-
There are too many different permutations of behavior for what the developer might want with a file/folder list retrieval. This is why most of the time they expect the developer to write their own...
-
If you want to be able to get a list of files from a folder, and skip folders/files where you don't have access (or some other exception), then you'll have to write your own recursive or queue based...
-
How to use:
1. Add Dbscan.vb to your project.
2. Add Dbscan.txt to your project, set the Copy to Output Directory property to Copy always on it.
3. Add a chart (from the...
-
How to use:
1. Add Dbscan.cs to your project.
2. Add Dbscan.txt to your project, set the Copy to Output Directory property to Copy always on it.
3. Add a chart (from the...
-
An alternative is to return an empty array:
Return New Byte() {}
But this really depends on how the function will be used.
-
Check out BackgroundWorker components. They provide support for cancellation and you can easily find some documentation and examples that will show you how to properly implement it.
-
1. Turn Option Strict On for all your future projects.
2. It's actually not TextBox3, it looks like it is Label3:
Label3.Text += String.Concat(userInput1, operatorSymboladd, userInput2)
-
Yes, you could do this with a regex. In general, it would work fine. The only issue I see would be if you nest classes inside a class. All methods inside that nested class would get pulled out but...
-
To answer a couple of your side questions:
1) I (personally) wouldn't use MS Access. MySQL is compatible with the Entity Framework.
2) I'd probably use the Entity Framework for this application....
-
MAX(AutoNumberColumn) should work. I know that (unless it has changed) there is no @@IDENTITY or SCOPE_IDENTITY() equivalent in Access, however the seed used by the table should always increase and...
-
Every file is just binary, that means you can represent all of them in .NET using a byte array. Sounds like you've already setup the SQL column to be varbinary, perfect, that is what you need. You...
-
"SomeAPICall" would be where you pass in the address of your now pinned bitmap to whatever API you wanted to use it with. It is not crucial to the pinning process, it's merely showing that you can...
-
Formatting Axes
98433
98435
98437
98439
Controlling Scaling
98433
98435
-
No, wrap the code in a Try Catch Block and place a breakpoint on the Catch clause. Drill into the exception properties (View Details) and retrieve that stacktrace. You can also go to Debug >...
-
Please provide the stack trace of the error message.
-
You can call EnumerateFiles with a DirectoryInfo. All this information is in the documentation, I know that Stanav could have figured it out.
-
I would suggest not using GetFiles, it will have to populate the entire array before the function returns, the EnumerateFiles is a much better choice for large file sets - this is mentioned in the...
-
Right off the top I can suggest Directory.EnumerateFiles. The following is a quote from the documentation for the method:
This will basically mean that the EnumerateFiles will have deferred...
-
Hate the new look. You would think as programmers we would understand "don't fix what ain't broke" the best. I am not an old-timer like some of the posters that have mentioned that should make their...
-
Set the timer interval to whatever internal you want, store the previous date and do a comparison of the .Day property of the previous date to the current date.
-
There is a Bookmarks property on the DocumentClass, my guess is that you would loop through that to get what you need. Relevant information here: DocumentClass.Bookmarks Property
-
Just add a reference to the System.Drawing library under the .NET tab.
-
A DataGridView will supply scrollbars if the content does not fit entirely on the screen. If you want actual controls, such as buttons or comboboxes to appear 'off screen' so the user has to scroll...
-
Currently working on a hack for Shaggy's mind, will post source code when done. Preliminary results show that Shaggy's thought distribution is:
80% Llamas
15% How to feed Llamas
5% What was I...
-
There is no image, as for an answer, I do not know. Maybe with WMI but I haven't checked - that's your job.
-
FolderBrowserDialog lets you browse for a directory. For some advanced Vista/Windows 7 dialogs (such as a folder browser dialog that looks like the Open/SaveFileDialog) you can check out this link:...
-
It is possible to merge PDFs, however there is no managed way to do it. You will have to look at third party libraries such as iTextSharp and see if they support that functionality.
-
This completely depends on the scope of the class. Will you be actually accessing resources (such as streams) in the class that will require it to be disposed and release objects properly? If yes,...
-
First, a memory leak pertains to objects not getting disposed properly. The actual memory usage of the application will go up in this case. You mentioned CPU, this is something different. I glanced...
-
Check your insert statement and verify that the correct columns are mapping to the correct parameters.
-
As Shaggy said, what is happening is that you are encountering Option Strict. This should have been on from the beginning because it's clear that you don't see what is happening. Going forward, you...
-
I see a few problems with your code:
If you want to loop through the selected rows of the DataGridView, you should be using the .SelectedRows collection.
You declare a new report at the top of...
-
This won't affect anything.
Go to where you are adding the value for 'CCAF', make sure that you are indexing the row with that column name and not just passing that column name (sneaking...
-
Paul, what unit of weight are you using?!
-
Nothing is secure in this day and age, but for the sake of the thread did you look at .netshrink?
Pick any language you want, it won't be secure. If it were, don't you think software giants such...
-
Unless the user want's to copy the text from said text box... Then the label is the frustrating part.
-
Set the ReadOnly property to true.
-
Yes it is a typo. The Office libraries are COM and not .NET. Use the COM one.
-
In the first post you are accessing the values from the row. That is how you should still be doing it. Specify the value from the row (index with your column names) as the Value for your AddWithValue...
-
The next parameter is the value, what value do you want? Where does it come from? Fill it in there.
|
Click Here to Expand Forum to Full Width
|