Here is a small extention of the Panel class that allows you to 'collapse' it. So far, the user can place a control on the parent form and perform a collapse/expantion by: 'Where cpNew is a Collapsible Panel If Not cpNew.PanelCollapsed Then cpNew.Collapse() 'or If cpNew.PanelCollapsed Then cpNew.Expand() I will be changing/improving the control as much as possible. If anyone has any suggestions/tips they would greatly be appreciated!

Member Avatar
Member Avatar
+0 forum 1

If the schools that my kids attend are anything to go by, it seems that high on Santa's list this Xmas just gone was an iTouch, iPhone or iPad depending how well off the parents were. That's understandable, they are just as attractive as gadgets for kids as they are to adults. But along with the never ending supply of free games, educational apps and the like comes the small problem of unfettered access to the Internet and all that brings with it. While adults may well have the family PC protected by parental control software to filter unsuitable content …

Member Avatar
Member Avatar
+0 forum 23

hi all i am looking for free window controls like dev express ,infragistic whith which i can create rich looking application in C# Any body having knowlage please revert Thank you in advance

Member Avatar
+0 forum 0

Hi al you wonderful daniweb peoplez :) I am currently on a mission to write some cool javascript / jquery / ajax controls and now i realised that if I call the control multiple times it seems to lose scope. I realise that this is a small design flaw, and would lie to know how I can correct this? I would like to create new instances for each call. Here is the javascript that would create the control: var testProperties = { testControlId: '', defaultText: 'Hello World', }; $.fn.watermarkInput = function watermarkInput(newProperties) { // Make sure that all settings have …

Member Avatar
+0 forum 0

Well I done it! Got bored after the holidays and bought a Raspberry Pi credit card sized computer ($35), the least expensive LED TV and a Logitech wireless Keyboard/Mouse combo. The way I ordered the kit it cost almost twice as much, but it came with a good 2.5A powersupply, a pinout strip, a solderless breadboard, parts to play with and a wireless dongle. Brings back memories of process automation in my past. My first Raspberry project was to get introduced to Linux again, actually a very good OS. It came with Python27, Python32, C, C++, Ruby and Java preinstalled. …

Member Avatar
Member Avatar
+0 forum 16

I have used .net's webbrowser control. Unfortunately, it is not supporting HTML5 or Complete JavaScript. When I googled, many said that the control depends on IE version installed in the machine. I have installed IE10. Though it supports HTML5 (Even I checked the same webpage in IE10 and it worked), the webbrowser control in my application doesn't. In some forums, they recommended to tweak the registry. How can I do it in every Clients machine? Is there anything that can I do?

Member Avatar
Member Avatar
+0 forum 4

hello good people, i have created atab control and added a gridview in it. When i run it this is how it shows: ![42e98ae1ab28208a1d5964503f00cecd](/attachments/large/4/42e98ae1ab28208a1d5964503f00cecd.png "42e98ae1ab28208a1d5964503f00cecd") i have tried adjusting the heights and widths of both but tono avail. here is my code: <ajaxToolkit:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="0" Height="421px" style="z-index: 1; left: 212px; top: 271px; position: absolute" Width="933px"> <ajaxToolkit:TabPanel ID="TabPanel1" runat="server" HeaderText="Neurology"> <ContentTemplate> <asp:GridView ID="GridView1" runat="server" AllowSorting="True" AutoGenerateColumns="False" DataSourceID="Neuro" style="z-index: 1; left: 242px; top: 367px; position: absolute; height: 309px; width: 870px"> <Columns> <asp:BoundField DataField="Name" HeaderText="Name" SortExpression="Name" /> <asp:BoundField DataField="Designation" HeaderText="Designation" SortExpression="Designation" /> <asp:BoundField DataField="Qualification" HeaderText="Qualification" SortExpression="Qualification" /> <asp:BoundField DataField="Shift" HeaderText="Shift" SortExpression="Shift" /> …

Member Avatar
Member Avatar
+0 forum 2

Hello everyone, So I have a quick question. Back when there was something written by BoFen and it was called codegenie and I have a copy of it and i've been using it with some success. What I'd like to know is are there any good api spies that generate information like this: ShellTrayWnd& = FindWindow("Shell_TrayWnd", vbNullString) Button& = FindWindowEx(ShellTrayWnd&, 0&, "Button", vbNullString) because I'm not too sure, how you could determine the buttons. For instance. The run dialog, it has 3 buttons. OK, CANCEL and Browse. If i'm dealing with multiple buttons, lets say 7 buttons as follows: OK, …

Member Avatar
Member Avatar
+0 forum 2

Hello, This is the first time I've attempted creating controls at runtime, and I'm not sure why the following code isn't working; private void Popup_Load(object sender, EventArgs e) { Panel panel2 = new Panel(); panel2.Size = new Size(1280, 720); panel2.Location = new Point(20, 20); panel2.BackColor = Color.Red; this.Size = new Size(1280, 720); this.Controls.Add(panel2); } I'm also trying to draw a string to the screen, but figured that wasn't working for what's probably the same reason as why the above code isn't working. Any help is appreciated, Thanks.

Member Avatar
Member Avatar
+0 forum 10

Hi every body can i transfer my logs in kerio control to another kerio control? i export my configurations of kerio and then import to another,but I connot see logs in user Interface (browser) from new kerio!

Member Avatar
+0 forum 0

Dear members please help me in understanding the control flow in the following code, thanks #include <iostream> class constructs #include <iostream> class constructs { char inp; public: void acceptCharacter() { cout<<"Enter a character: "; cin>>inp; if(inp>='A') //ASCII value of A = 65 if(intp<='Z') //ASCII value of Z = 90 cout<<endl<<"Uppercase"; else if (inp>='a') //ASCII value of a = 97 if(inp<='z') //ASCII value of z = 122 cout<<endl<<"Lowercase"; else cout<<endl<<"Input character>z"; else cout<<endl<<"Input character>Z but lessthan a"; else cout<<endl<<"Input character less than A"; }; int main() { constructs c1; c1.acceptCharacter(); return 0; } Suppose if I key in + whose ASCII …

Member Avatar
Member Avatar
+0 forum 6

Hello, I have my VB 6.0 Application and make a Exe and I hosted it on my windows server 2000 it gives me error 'Could not access network location \\mynetworkpath'. earlier when there was Datepicker control was used then also there was error coming but I had registered MSCOMCTL2.dll and that issue was resolved. One thing I have noticed that when I use Datagrid in my application then I am getting error. I have also tried with creating a fresh VB application with only one form having ONLY DATAGRID control with no back side code and made exe and hosted …

Member Avatar
+0 forum 0

i have problems with the application that i currently develop. I use tab control, and to access tab pages(page 1 , page 2, etc) i use link label. Now my question is, how can i remove the WHITE BORDER of my tab control?? I tried using panel to hide the border but it did'nt work. pls help me.. here is the screenshot of my application ![505a5e60929407b6c0ec839f82e1fb50](/attachments/small/4/505a5e60929407b6c0ec839f82e1fb50.png "align-left")

Member Avatar
Member Avatar
+0 forum 1

hey,I have two buttons Start button and Stop button .I run my program by clicking on start button. I want to stop the program during the start button . But the program will not responde until the start buttun finish its job. How i can do check the stop buttun during the start. i heard about threading but i do not know how i can do it. Please Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click, Button3.Click //my code //check always if the user push stop if no continue if yes go to this sub //my …

Member Avatar
Member Avatar
+0 forum 2

Hi all, I have a TabControl into which, at runtime, add a tabpage and a control to the tabpage created. I know how to create a tabpage. But I cant figure out a way how to create both at runtime. Thanks in advance, Yuvjeeth

Member Avatar
Member Avatar
+0 forum 3

Hello all, I am pretty new to ASP and we are using ASP for logins for our PHP projects, we are using Active Directory LDAP. We can only connect to one container at a time. I have managed to create some code so switch containers but I cannot log in using this script. Using multiple memberships with no default provider throws an error. We are using the visual studio login object. Is my code correct? if (!isNumeric){ //if login name has IS/ if(Login1.UserName.Contains("IS/")){ //remove IS/(not part of the username Login1.UserName.Replace("IS/", ""); //switch to IS container Login1.MembershipProvider = "ADldap3"; }else{ //switch …

Member Avatar
Member Avatar
+0 forum 1

I's like to simulate the behaviour of Dynamixel Pro's robot actuator, including the control table, please see [it here](http://support.robotis.com/en/product/dynamixel_pro/control_table.htm). I can simulate the robot actuator fine, but simulating the control table is a bit puzzling for me. The control table has address from 0 - 892. One way I can think of doing this is to setup variables from _0 - _892, and populate them with corresponding values. Bt requires a large amount of getters and setters. Another way is to use array address[892], and populate the corresponding values. But with array, I'm not sure if it is possible to …

Member Avatar
Member Avatar
+0 forum 1

Hi Guys I have a user control created , when i drag and drop it to the form designer, it gets this (error redering control, the file was not found)but it is inside the same project, how to avoid this ? thanks regards sumith

Member Avatar
+0 forum 0

Hi, for the life of me, I am unable to get my program to drag/drop to a textbox. Elsewhere in my program i am dragging to a panel just fine however I always get the "drag not allowed" mouse symbol when attempting to drag to my text box. I HAVE set the AllowDrop Property of the text box to True and have verified that the DragEnter event is fired and detects the proper data. Here is my code: Private Const EM_CHARFROMPOS As Int32 = &HD7 Private Structure POINTAPI Public X As Integer Public Y As Integer End Structure Private Declare …

Member Avatar
Member Avatar
+0 forum 10

I have a tab panel on form1 and on the 1st tab there's a button and when i click this button it will enable a function. what i want to do is to work on other tabs while the function on the 1st tab is still executing. is there anyway i can do this? or should i use another form? thanks

Member Avatar
Member Avatar
+0 forum 3

How to use commandName in hyperlink control similar to Link button for some backend process. I want Text of Hyperlink Which is clicked From a group of Hyperlinks to identify which hyperlink is clicked and based on it some backend code should be executed.How to retrieve the Text of Hyperlink when clicked. Thanks, A.Sushmaja

Member Avatar
Member Avatar
+0 forum 4

I am building a winform Application. I have to create buttons dynamically based on data fetched from database. I followed following steps Created UserControl On UserControl_Load event I fetched data from database. I populated the UserControl with buttons based on number of rows i get from the database. The above approach proved too slow. The form loads slowly. It takes time to populate buttons. So Which is the best and optimised way to load controls dynamically in C# winforms? here is my code public ucFileCategoryPane() { InitializeComponent(); PopulateNavPane(); } public void PopulateNavPane() { tblFileController f = new tblFileController(); List<tblFile> lfile …

Member Avatar
Member Avatar
+0 forum 3

Hello everyone, In my wpf application i have user conrtols like button,rectangle,image etc.. in one side of the window(whole window is divided into 2 canvas panels) i need to implement the functionality where, if i drag any user control and drop it in other area of the window, a new instance of that user control has to be created (put simply, duplicate it). Please help me with the code if possible. thanks in advance.

Member Avatar
Member Avatar
+0 forum 1

I'm trying to iterate through the controls on a form and set the tabIndex to 0 for all labels. I copped the following code from google but it doesn't work for me and I'm pretty certain it's because all of my controls are on a panel and not on the form. Does anyone know how I can modify this code to work if the controls are on a panel. I've tried lots of things with no success. Private Sub setControls() Dim cControl as control For each cControl in me.controls If (Typeof cControl is Label) then cControl.tabIndex = 0 end if …

Member Avatar
Member Avatar
+0 forum 5

I would like to convert Control objects wich are in my array to progress bar Objects if possible. I know that the reverse conversion can be done explicitly without a problem but this one seems tricky. If impossible then please suggest something else instead. TNX

Member Avatar
Member Avatar
+0 forum 2

Hello everyone, I am making a custom control which inherits the standard windows Panel object. My control has the ability to align all of the controls in the panel to the left by their index in the Controls array. I am trying to add a method which swaps the location of two controls in the collection so that when the controls are aligned again, those two controls switch their locations. The issue is, the Controls array is Readonly and I am unable to override the Control property to allow it to be Read/Write because it is not declared as overridable. …

Member Avatar
Member Avatar
+0 forum 4

Hello, I am making a custom control which will serve as a "timeline". An integrated timer moves a line along the control to display where the time is currently. I am inheriting a Panel control for the timeline. When I draw my line, it constantly appears below the controls in the panel. I would like the line to be visible above all of the controls in the panel. Is this possible? Thanks in advance

Member Avatar
Member Avatar
+0 forum 8

I've started using Bitbucket recently for version control and I have to say I like it a lot. I've only been using it for HTML/CSS development. I would really like to use it for when I convert those page from html to a Wordpress template. Is there any way to write changes to my repository and then have a "post" run and update my theme on a wordpress site? I want to start tracking my changes a little better whithout having to copy down a local copy of a website to my machine and update that way.

Member Avatar
Member Avatar
+0 forum 1

Hi, I have a table view controll whihc has 3 views. in one view I have a button. When the button is pressed another differnt view is loaded. This works fine, but when I go back and try to click the one of the main view the view from the button loads. Does anyone know why is this happenning. Appreciate a reply thanks

Member Avatar
+0 forum 0

Hi Dw I'm working with permissions in my program I want it to protect the chosen file by permissions and now what I want is how can I make these permissions unchanged by a user? Or if not possible because I don't want even the administrator to change these permission for the security of the file or contents it will be holding, or maybe after I protected the file with the permission and it a user or a program want to modify or open the folder the system not just only my program request an access password which will be …

Member Avatar
Member Avatar
+0 forum 7

The End.