48 Solved Topics
Remove Filter
|
|
I want to determine if the mouse cursor is above a Windows Form and if so, change its color, but I'm kind of new to this and C# also. I was thinking of something like this: public Form1() { InitializeComponent(); if (Control.MousePosition.Y >= 0 && Control.MousePosition.Y <= 499 && Control.MousePosition.X … |
|
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: … |
|
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"; … |
|
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 |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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 |
|
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 … |
|
Hi, I have one form with multiple controls (e.g. Button,Textbox, RadioButton, ComboBox, etc.). I want to set the focus dynamically on a control using key F4 to highlight that control. Scenario: 1.Suppose the user clicks on any control 2.Press Key F4 to highlight that control so that the user will … |
|
Hey guys, I've been tearing my hair out for some time trying to figure out why my jquery has suddenly stopped working. The jquery script that I have written is fairly simple: $(document).ready(function () { $("#pTab").addClass("active"); $("#pBtn").click(function () { $("#pTab").addClass("active"); $("#gTab").removeClass("active"); }); $("#gBtn").click(function () { $("#gTab").addClass("active"); $("#pTab").removeClass("active"); }); }); I … |
|
i am doing a windows application program and these are the code inside System.Diagnostics.Process.Start("ConsoleApplication1.exe"); Thread.Sleep(500); System.Diagnostics.Process.Start("ConsoleApplication2.exe"); Thread.Sleep(500); System.Diagnostics.Process.Start("ConsoleApplication3.exe"); as if one of the console application program face error it will show in the cmd, so how would i going to capture those error in cmd and show in the message … |
|
Hello, I develop a simple script that capture the product using .net WebBrowser control. this is the link http://www.groupon.cl/descuentos/multiple-locations/desde-39900-por-8-sesiones-de-depilacion-ipl-en-axila-rebaje-de-bikini-con-opcion-a-zona-facial-en-estetica-carola-rodriguez-hasta-90-off I have a problem in getting the time in jquery count donw control. Please help me to find a solution. Regards, jeffrey |
|
I have one problem at the line 20-23. What I need is when the blue box touches the red rectangle, the blue box gets resetted (it goes back to where it starts). However, the problem is, it doesn't touch the red rectangle area properly. Any suggestions? Thanks in advance. float … |
|
Hi, I have a bar chart to display information. I also have a vertical line indicate the limit of Y-value. For example, I set the limit to 25. So now I want the color of column bar to change to red color if the column exceed the limit. I tried … |
|
Hello Daniwebbers I have a 2 dimentional control array which gets added to it programatically. There's a lot to add to it but i have already stumbled at the first hurdle. I keep getting the standard "Object reference not set to an instance of an object." error when the first … |
|
Can someone please tell me how to control a windows form from another form? I have one form (form2) which has a button. When this button is clicked, I need my other form (Form1) to hide a button. I know all the code except for how to make form2 access … |
|
Hello everyone, im currently stuck because i'm not sure how to start on this part of my program. What i'll need help is controlling another application, my program is suppose to run another application, and be able to hide it, show it, verify that is running, it also needs to … |
|
Hi, I just have a program that needs a dialog box, but I have problem since I want the dialog box to do something. for example, I have a javascript dialog box that would create a message "You have an error, Do you want to save the Log File", Then … |
|
im creating a custom User Control. its a custom picture box . i want to user to select the picture file from file system. so i use following code(i found it on a forum) . but vb says that code has a error . help me :'( [CODE] <EditorAttribute(GetType(System.Windows.Forms.Design.FileNameEditor), _ … |
|
[CODE] With bulbPrgSave1, bulbPrgSave2 .Value = 50 End Wit[/CODE] What would I need to create something as the above and set values to 2+ ProgressBars? A Structure? Property? |
|
Hi I want to style a horizontal navigation bar so that the current tab, in this case linking to a different webpage is selected, highlighted. I thought that Focus would work but that only works for keyboard navigation. Update: [I] found this, but not during my intial search but in … |
|
Hi I need help its actually working fine but i don't know how to put a control structure in knowing whether the input is wrong, example when i instruct user to input number it must be less than 100 if not error will show up that is only the last … |
|
I have a textbox, and it's set to multiline, so a user can enter a few sentences. The problem is, if the user hits the enter button while in the textbox, it's starting a new line. This data is being saved as a text file, and it's causing problems when … |
|
I am developing a network chat application, I am using Winapi, my main window is a dialog (created from a .rc file). I am looking into a way of doing an text box where my outuput text can be like this: [QUOTE] [COLOR="Green"]Welcome to ##### chat server![/COLOR] [COLOR="Red"]Person1[/COLOR] says: Hi … |
|
Hey all, I am trying to make a form that is blank and will add in 2 comboboxes, a textbox, 2 buttons and a checkbox next to each other in a row. I want the controls to be part of an array, so that all controls on a row are … |
|
Hi. This is probably too easy, but... Can anyone tell me how to add or remove a checkbox from a panel by using the Designer? The only samples I could find online had the code nside an arbitrary method called CreateMyPanel(). I'm looking at a file called MyControl.Designer.cs, and inside … |
The End.