Search:
Type: Posts; User: jmcilhinney
Search:
Search took 2.60 seconds; generated 14 minute(s) ago.
-
If you wrote them to one line then they're in one line. If a particular application doesn't display them in one line then it's probably because it has word wrap turned on in its settings.
BTW,...
-
Note that controls in WinForms are drawn using GDI+ too, which is why you can draw on them that way. If you create a custom control then you determine how it is drawn so you could give it the...
-
You don't rotate controls. Rotating the Image within the control is what you do. Either rotate the Image itself or else draw on the PictureBox in its Paint event handler and use RotateTransform to...
-
If they are text to begin with and you're writing them as text then it may be that Excel is interpreting them as numbers because they look like numbers and leading zeroes are not displayed for...
-
Over complicating things is par for the course for a beginner. We pretty much all do it to begin with. One of the keys to progressing is recognising how to break a problem down into its simple parts....
-
If the grid cells contain DateTime values then caling ToString with no arguments will use the system default format. If you want a specific format then pass an appropriate format specifier when...
-
I said this:
Have you assigned the menu to a field? If you added the menu in the designer then it's done automatically, just as you have ListBox1 automatically referring to your ListBox control....
-
Of course it's Nothing. You specifically set it to Nothing, as you should have. Go back and read post #2 again.
-
Have you tested to see whether there is any sort of pattern to it not displaying? Can you create another project with a form designed the same way and see the same behaviour?
-
I was saying that you could do that if you needed to. I already explained that setting that property has the effect of displaying the menu any time the control is right-clicked and I was indicating...
-
Tabs don't magically line up text of arbitrary length. Tabs may be variable length but they are still measured from the end of the preceding text. You should read this.
-
I already told you what to do differently.
DO NOT assign the ContextMenuStrip object to the ConextMenuStrip property of the control, for the reason I already provided in post #2.
-
This is not VB.NET code. Thread moved to Office Development forum, which is where VBA questions belong. Even VB.NET code that is Office-specific can be posted in Office Development.
-
Also, why are you creating the menu in code? Was that just for our benefit? If not, don't. Add it to the form in the designer. You can create the event handlers in the designer too and, if you wanted...
-
Don't do this:
ListBox1.ContextMenuStrip = contextMenuStrip1
Just assign the ContetxMenuStrip to a field and then use that field here:
ListBox1.ContextMenuStrip.Show(ListBox1, e.Location)
The...
-
Unless you're talking about large amounts of data or very complex queries, the amount of time the user spends waiting for the data to load will be relatively insignificant anyway, so there's little...
-
You read my replies but then chose to do something other than what I told you to do and got the same error. No surprise then. Now do what I did tell you to do and see the error disappear.
If your...
-
Why is it that I already replied to this exact same question in a different forum under a different account?
-
If you've read the documentation for the SqlDataAdapter class or any tutorials on its use then you know that you have to call its Fill method to populate the DataTable with the result set. That...
-
I just had a quick look at your code and the issue seems fairly obvious and you should have already seen what it is for yourself because you should have already debugged the code. You have this:
...
-
The direct cause is obviously in the VB code. As with any run-time exception. You need to actually debug your code to see what the immediate issue is. The error message is telling you that an index...
-
That's not an answer to the question that was asked. You weren't asked whether you're able to access the resource successfully in IE. You were asked whether accessing the resource in IE is what...
-
Anonymous types can generally only be used in the same context in which they are created, because only that context knows what properties they have and can thus access those properties at compile...
-
A better way than what? We don't know what you're doing so we can't know what you might be doing wrong. Also, a crash is an unhandled exception so it's important that we know what that exception is...
-
If you want to parse text into a DateTime then you should have read the documentation for the DateTime type. Had you done that, you'd have seen that it has a TryParseExact method that allows you to...
-
Almost certainly for the purposes of future spam, given that it also adds no programming value. Post deleted.
-
Moved from VB6 CodeBank forum, which is for sharing working code samples.
-
Do you actually mean that you want to make one for both, i.e. one in total, or one for each, i.e. two in total? You can't do the former because the NumberFormatInfo class only has one...
-
Don't forget to use the Thread Tools menu to mark the thread Resolved if you issue has been resolved.
-
Given that the member who created that original thread is still very active on the site, you probably should have posted to that thread, rather than creating a new thread. I would suggest that you...
-
This is not a project request so does not belong in the Project Requests forum. It's just a regular VB6 question. Thread moved.
-
We can't even test your code because we don't have access to those DrawCircle or DrawLine methods. Come on, man! You didn't show us what happens and we can't test for ourselves because your code is...
-
This seems like the sort of question that would have benefitted from a screenshot or two. Also, maybe explain exactly what you expect to see and what you actually see. What you've provided is rather...
-
OT: NEVER use End in VB.NET. Replace that with Application.Exit.
-
If you don't need or want an answer to your question, please use the Report Post icon to ask the mods to delete it. Otherwise, please post your solution so that it might help others with a similar...
-
Firstly, there's no point calling Close when you have set the DialogResult. Once Dialogresult is set to anything but None, the form is closing. In fact, if you want to set the DialogResult when a...
-
C# is a language, not a technology. You still have to choose what technology you're going to use to build the app. If you want a GUI app for Windows then WinForms is the oldest tech, then came WPF...
-
I don't know what you're trying to say. As I already requested, please provide a FULL and CLEAR explanation of the problem. I suspect that English is not your first language so I appreciate that it...
-
Assuming that that DAL is calling ExecuteNonQuery on a command object, that method returns the number of records affected. Of course, if the OP wanted to know how to do something inside that method,...
-
When you want to do something IF a particular condition is true then obviously you need an if statement, when means that you need a Boolean expression to evaluate. How you get that expression is...
|
Click Here to Expand Forum to Full Width
|