Search:
Type: Posts; User: si_the_geek
Search:
Search took 2.96 seconds.
-
It is probably because as moderators we have an extra tickbox at the bottom of the quick-reply area to close a thread, so I'm guessing you accidentally ticked it while posting... I've managed to do...
-
By default a control will only show the selection when the control has focus.
To show the selection even when the control doesn't have focus, simply set the controls HideSelection property to...
-
The quick fix is the one I suggested - simply moving a few lines of code to another event.
Moving the cursor wont actually do any good, as the problem is that you are re-running initialization...
-
The code you show inside ComboBox1_Click shouldn't be there - it is initialization code, so should happen somewhere else (perhaps in the form shown event), so that it will only run once, rather than...
-
That would definitely give different results for a large percentage of computers in the world.
Within SQL statements, database systems interpret using US formatting (mm/dd/yyyy), but lots of...
-
While there are several variations of Basic with a Visual framework included, they are not actually Visual Basic, as that is the name of the Microsoft product.
Those other variations of Basic are...
-
I'm pretty sure Windows 10 dictates that a new style of driver is used, so ones designed for the previous generation of Windows (Vista/7/8) don't work.
Using a separate computer (or a Virtual...
-
Device drivers for Windows have changed significantly a few times over the years, and manufacturers usually don't bother creating a new generation of drivers for devices they don't sell any more - by...
-
I've removed your email address and phone number to protect you from spammers etc.
If people want to contact you via those methods, they can PM you to get the address/number.
-
You should keep track of whether the actions have been performed yet, using a boolean variable (eg: bool pullDone = false), and mark it as done when it is. When checking if the time has been...
-
I think it would be best to add Blazor on to the current list, as that way the existing parts (which I think are still valid) will be noticed by people who want to post questions on those topics.
...
-
As a general rule, you do that by only providing functions for the specific functionality you want - so you create one function that will query a particular table (based on criteria you pass via...
-
Aggregate functions like Max() only apply to the field they are on, they do not affect the other fields.
In order to get just one record you could use various options, including:
SELECT
...
-
String Concatenation should always be & , as that is what that operator means. While using + will sometimes work, at other times give the wrong result or an error (especially likely if the first...
-
The VB6 forum is for VB6 (and earlier).
RadBasic and TwinBasic etc are not VB6, and they are not the same as VB6. They are similar to VB6 in a lot of ways, but there are differences too, so the...
-
The comment will probably be in the code, just before the line of code specified in the error list.
-
That is all correct.
Accessing via the internet (rather than wifi in the office) is a security risk, but I suspect that a web app rather than a mobile app doesn't make it worse in that respect...
-
Ah, it seems I'm a bit behind on the news there... I knew there were Xamarin updates late last year, but didn't know they'd switched paths.
In that case .NET MAUI is probably a more sensible way...
-
Given that you have experience in C#, a good way to go is Xamarin, which uses C# code to create apps (and you can do it in Visual Studio).
You can target Android and/or Apple, but I'd recommend...
-
When it comes to working out how to do things inside Excel via code, let Excel itself help you out... open Excel, and record a Macro of you performing the task manually, then view the code of the...
-
Unfortunately there isn't much you can really do, because each mail client will deal with displaying things differently (eg: different widths for tab), and each font will also display text in...
-
Mulitple threads is definitely a good idea, and moderators including myself have said it multiple times. For now, they should be placed in the "Other Basic" forum, like this thread... when a...
-
Up until about 20 years ago we had a national system here called TeleText (the BBC version was called Ceefax), which was basically the same as your idea but a little simpler and could only be viewed...
-
The way you've phrased things isn't totally clear, are you aiming for something (almost) equivalent to {double}.ToString(strFormat) in C++ ?
-
Re-using the ID numbers is generally not a good idea, as explained in this FAQ article: Database - Why don't AutoNumber/Identity/etc re-use deleted numbers?
If after reading that you still want to...
-
You haven't mentioned which line the error occurs on, but I suspect it might be on the second half of the If statement.
Your If statement checks if the column is "Expand", and whether the value in...
-
A quick web search shows:
So what is happening is that the DateTime value is being converted to a String (to be passed to DateValue), and then DateValue converts it back to a Date... which may...
-
That's a good point, I'd managed to forget about that option.
It should be noted however that it only allows you to read/write the data (not the formatting etc), and that it only works if the data...
-
That is correct I'm afraid.
If you use Late Binding you should be able to use whichever version the user has installed (for most versions anyway), so for the people most likely to want it you can...
-
In order for your code to use .xls files the user must have Excel installed, as it is a proprietary file format. You might be able to make it work for multiple versions of Excel (to allow whichever...
-
It is (or at least has been) possible to use animated GIFs, but there are limitations on the type of animated GIF that can be used.
There were relevant chit-chat threads a few years back where it...
-
I have had similar issues with the XAML designer, for both WPF and Xamarin apps.
The issue can happen due to editing the XAML while it is still rendering the previous change, but that certainly...
-
The last part of the post hints at it:
A Narrowing conversion is going from a "larger" data type to a "smaller" one (eg: from an integer based data type with a maximum value of 2.1 billion to an...
-
In modern versions of VB you don't need to use IIF, you can use IF in the same way instead:
Debug.WriteLine("Proposed = " & If(e.Row.HasVersion(DataRowVersion.Proposed), e.Row.Item(col,...
-
I'm used to spotting that for new users, but wouldn't have looked in your posts (if you had bad intentions, you'd create far bigger issues than links!).
People are very unlikely to click them, I...
-
It looks that way... but they were all in the "Registering" phase, and a check on a few of those names shows that they didn't manage to register.
-
Wildcard characters for various popular systems include these: % * _ @ #
-
I had assumed that Option Infer was On, which would automatically set the data type for you.
You can specify the data type yourself, eg:
Dim walls as PictureBox() = {wall1, wall2, wall3, ...}I...
-
Welcome to VBForums! :wave:
I have moved this thread from our "CodeBank - Visual Basic .NET" forum to our "Visual Basic .NET" forum
-
Welcome to VBForums :wave:
One way to shorten that code is to put the wall objects into an array, then loop over the array, eg:
Dim walls = {wall1, wall2, wall3, ...}
For each wall in...
|
Click Here to Expand Forum to Full Width
|