12 Archived Topics

Remove Filter
Member Avatar for Smith5646

As I dig deeper into the capabilities of Visual Studio, I have seen that you can have multiple projects in a single solution. I must be missing something because I can't come up with a reason to ever do this? My guess is that I don't understand the benefit. So, …

Member Avatar for Bryan Anthony
1
2K
Member Avatar for Smith5646

I have written a REST API using C# that runs on my server. When it is started, I want to preload some data from the database based on the organization that has purchased it (name, address, etc). However, I can't seem to figure out the name of the initial program …

Member Avatar for KushMishra
0
431
Member Avatar for Smith5646

I am trying to find an efficient way to build a cross reference in C# and I am at a loss so I thought I would ask for ideas. I have tried using a list view, concatenating the source and associated values into a single dimension array, and several other …

Member Avatar for tinstaafl
0
294
Member Avatar for Smith5646

I am trying to find information on best practices for json data. I am working on a client server app that will contain family information. For purposed of this question, this is an oversimplification of the database. I have a family table, an address table, and a family members table. …

Member Avatar for AleMonteiro
0
290
Member Avatar for Smith5646

I'm looking for some ideas on a direction to take on a project. I have a software package that I want to develop. When I discussed the software with a potential customer, the first question I got was does it run on a mac? The second question was does it …

Member Avatar for Smith5646
0
377
Member Avatar for Smith5646

I have a menustrip with several levels of submenus as in below Client 1 [INDENT]Project 1[/INDENT] [INDENT][INDENT]Project 1 Task 1[/INDENT][/INDENT] [INDENT][INDENT]Project 1 Task 2[/INDENT][/INDENT] [INDENT]Project 2[/INDENT] [INDENT][INDENT]Project 2 Task 1[/INDENT][/INDENT] [INDENT][INDENT]Project 2 Task 2[/INDENT][/INDENT] Each entry is clickable, even if it has children. In the above example, I can select …

Member Avatar for Smith5646
0
164
Member Avatar for Smith5646

I am working on an app that is an MDI. When the user clicks a button on an MDI child, I want to "disable" the current MDI child (and only the current child window), open a new window that has control, and then re-enable the child window when the new …

Member Avatar for Netcode
0
233
Member Avatar for Smith5646

I have a program that adds controls on the fly to an auto-scroll panel. When the panel is scrolled (viewing the bottom of the panel for example) and a control is added, it looks like it is added assuming the top left corner of the panel is still at 0,0 …

Member Avatar for Smith5646
0
813
Member Avatar for Smith5646

In my program, I want the user to be able to move an MDI child window anywhere inside the MDI container but I need it to be kept completely inside the container boundary. For example, the upper left corner should never be at a location less than 0,0 when moved …

Member Avatar for Smith5646
0
685
Member Avatar for Smith5646

I have a main form that has IsMdiContainer = true. I have a second form (FamilyForm) that is to be the MDI child. Using the code below, when the line TempForm.MdiParent = Me is executed, the FamilyForm window size, font, and all controls are larger than shown in Visual Studio, …

Member Avatar for Smith5646
0
118
Member Avatar for Smith5646

I wanted to delete all of the TextBoxes that I put on a form that start with "tbx". The below code only deleted some of them. [CODE] For Each ctl As Control In Panel1.Controls If ctl.Name.StartsWith("tbx") Then ctl.Dispose() End If Next [/CODE] So, I took it a step further in …

Member Avatar for L0u3
0
360
Member Avatar for Smith5646

I have a program that allows the user to add steps to a process (tabpages in a control). All tabpages are generated on the fly by duplicating a "template" tabpage and consequently have the same control names such as textboxStepDesc. Here is the hierarchy of the controls to get to …

Member Avatar for kvprajapati
0
157