I hate to resurrect an old thread, but I've started fooling with this code again. Pertaining to moving a control within a form, I've noticed that the cursor cannot be moved outside of the client...
Type: Posts; User: arcanine
I hate to resurrect an old thread, but I've started fooling with this code again. Pertaining to moving a control within a form, I've noticed that the cursor cannot be moved outside of the client...
That worked great! Thanks!
According to this and this it should be possible to create custom classes and store them in My.Settings.
I tried doing what those articles recommended, but I can't get the most basic custom class...
Was this issue ever resolved?
I was afraid of that. I'll do some more research and see if I can mix and match higher level .NET "bounds" checks with your API calls. I'll get back to you sometime in the coming week.
The following steps are done within the Designer.
Start with a blank Form or an empty Panel. (I think any container control might yield the same results.)
Add a Label and a Button to the...
Hello,
I've searched in these forums and online, and returned zero results. I'm curious to know if anyone else has experience this problem.
If you have a Control contained within another...
This code is great! It is so much smoother than trying to resize things through code! I have two questions though:
1. Is it possible to get the MoveControl to consistently resize when the...
Well I feel silly. When I changed the MenuStrip from standard to customizable, the MainMenuStrip property of the Parent Form was set to nothing. Setting this property to the CustomizableMenuStrip...
I know I shouldn't post questions in existing threads, but this only applies to the Customizable Strips code.
The problem I'm having pertains to using Customizable Strips and MDI forms. My...
Agreed! I added them manually a couple of times and then started using the controls library method, and it is a whole lot better!
I've had those errors too. The name of the solution that NickThissen used to create the Customizable Strips was named "CustomizableStrips", so when you added them to your project, they are...
I don't have the code on this computer, but I know I didn't change the scope of the OnAppearanceChanged method. Also, I tried using Me.Invalidate within the Set method of the RoundedEdges property. ...
I've probably said this before, but this is great!
Also, it's really minimal, but when you have a CustomizableToolStrip and you change the RoundedEdges property in the designer, it doesn't update....
Hello,
I have been trying to find code that would allow me to access the inline shapes of a Word Document and copy them into my .NET application as bitmaps. Using various websites I've cobbled...
Is it required that the executable reside within the application's startup directory? Otherwise I don't see any difference between your code and mine.
Hello,
I have an executable (EXE) that I would like to run from within my VB.NET program. I've looked into Process.Start("[PATH]\[EXE]"), where PATH is the path to my executable, and EXE is the...
I tried that example, and unless I'm missing something (which is certainly possible), the first method doesn't use the IBindingListView interface, it uses delegates. The other example has the line...
Hello,
I have a custom object that I would like to turn into a Collection that could then be used in a BindingSource. From what I've read, I can Inherit Collection(Of T) where T is my specific...
I need a function that returns a control within a form based on a string name. I've tried Jim's method here, but then found out that it will not work with SplitContainers. Therefore, I feel like I...
I wish I could remember where I read that I needed to do that. Clearly, I don't need to, so I'll make a copy of my project and remove all of the ISerializable interfaces and see what happens...let...
Okay, I've finally figured out how to deserialize my custom collection. I don't know if this is how it's supposed to be done, but it works. Here is the code:
Protected Sub New(ByVal info...
I have found that this only works for serializing the default types/classes. From my experience, if you want to serialize a custom type or class, you're forced to dive into implementing the...
Yes, forget I mentioned calling the New() method. However, I don't understand what you're trying to explain. The tutorials I've read about using binary serialization of custom classes required...
Good question. Yes, it is serializable. Before I implemented the custom collection class, I was using a generic List(Of FGSData), and the serialization for FGSData was working fine.
Also, to be...
I used the ideas from this post to create a custom collection of my custom class, so that I would be able to easily sort my collection. My project uses binary serialization to save everything (well...
I was tasked with upgrading an Access database that didn't have any table relationships (I don't know why you'd go to the trouble of making a completely flat database?) to one that utilized relations...
I've spent approximately three full days (72 hours) looking for an answer like that! I kept wondering why my FKs kept breaking, and deep down I was afraid it was because I'm stuck using Access...
Okay, somewhere (sorry, I've read so many posts about this that I don't remember the link), I read that you must create (and possibly rename) all relations in the DataSet Designer before adding any...
I don't think I'm understanding your response. I don't see how that will filter the rows in a bindingsource, so that my datagridview will only show the rows in the filter result set.
I have a database with a table that is a child to many other tables. I am using this child table as a datasource for a datagridview. I am using comboboxes to display specific fields in any parent...
I don't know how to get the attached demo.
Nonetheless, I figured out where to use the INNER JOIN in my project. When viewing a typed dataset in design view, I can click on the table adapter for...
I was doing it this way, but constantly opening and closing connections across our slow network was a huge performance hit. Right now, unless I don't understand whats happening, I fill all of the...
I knew it was something simple. Thanks for the help...however, where does this command go? Is it a new binding source? Does is go in the .Filter property? Is it a new query in the DataTable? If...
For simplicity, I have a database with two tables, as follows:
/---------------------------------------\
| Table Name: GRADES |
|---------------+---------+-------------|
|...
No, I was not able to get this working. I ended up using a TableLayoutPanel and mimicking the visual style of a DataGridView. For me, everything was ReadOnly, so I didn't have to emulate the...
Got it. Yes, I'm using merged cells. Now it makes sense what it's doing. I actually used the following work-around. It's probably not the most elegant/robust, but it's working so far:
If...
Hello,
I'm trying to determine if the changed cell on a worksheet is blank or not. I use the following code in the worksheet's Change event,
If Target.Value <> "" Then
...
End If
This...
Hello,
I'm trying to take the string names of an enumeration and make them more readable. I've found a regex that adds spaces before capitalized letters (excluding the first letter). However,...
Work-around is great! Also, before I tried your work-around, I discovered that if I added a second wizard page to the control (during design-time), the disappearing control problem went away.
...